Skip to content

Commit

Permalink
Merge pull request #479 from coopdigital/upgrade-shared-components
Browse files Browse the repository at this point in the history
Upgrade shared components to use new foundations package
  • Loading branch information
MBLHarrison committed Feb 17, 2022
2 parents 1b246f2 + 07e61d4 commit b377579
Show file tree
Hide file tree
Showing 61 changed files with 87 additions and 108 deletions.
2 changes: 1 addition & 1 deletion packages/shared-component--app/dist/app-download.css.map

Large diffs are not rendered by default.

10 changes: 3 additions & 7 deletions packages/shared-component--app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,12 @@
"directory": "packages/shared-component--app"
},
"devDependencies": {
"@coopdigital/foundations-buttons": "^2.7.0",
"@coopdigital/foundations-layout": "^3.3.6",
"@coopdigital/foundations-typography": "^4.2.7",
"@coopdigital/foundations-vars": "^3.8.2"
"@coopdigital/foundations-buttons": "^2.6.0",
"@coopdigital/foundations": "^1.2.1"
},
"peerDependencies": {
"@coopdigital/foundations-buttons": ">= 2.1.14 < 3",
"@coopdigital/foundations-layout": ">= 3.1.13 < 4",
"@coopdigital/foundations-typography": ">= 4.0.0 < 5",
"@coopdigital/foundations-vars": ">= 3.3.0 < 4"
"@coopdigital/foundations": ">= 1.2.0 < 2"
},
"bugs": {
"url": "https://github.com/coopdigital/coop-frontend/issues"
Expand Down
2 changes: 1 addition & 1 deletion packages/shared-component--app/src/app-download.pcss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "@coopdigital/foundations-vars";
@import "@coopdigital/foundations/dist/vars/vars.css";

.coop-c-app-download {
position: relative;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/shared-component--breadcrumbs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
"directory": "packages/shared-component--breadcrumbs"
},
"devDependencies": {
"@coopdigital/foundations-vars": "^3.8.2"
"@coopdigital/foundations": "^1.2.1"
},
"peerDependencies": {
"@coopdigital/foundations-vars": ">= 3.1.8 < 4"
"@coopdigital/foundations": ">= 1.2.0 < 2"
},
"bugs": {
"url": "https://github.com/coopdigital/coop-frontend/issues"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "@coopdigital/foundations-vars";
@import "@coopdigital/foundations/dist/vars/vars.css";

.coop-c-breadcrumbs {
display: none;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions packages/shared-component--cooperate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,12 @@
"directory": "packages/shared-component--cooperate"
},
"devDependencies": {
"@coopdigital/foundations-grid": "^2.1.5",
"@coopdigital/foundations-vars": "^3.8.2",
"@coopdigital/foundations": "^1.2.1",
"@coopdigital/shared-component--signpost": "^2.6.4",
"@coopdigital/shared-component--signpostlist": "^1.5.5"
},
"peerDependencies": {
"@coopdigital/foundations-grid": ">= 2.0.7 < 3",
"@coopdigital/foundations-vars": ">= 3.3.0 < 4",
"@coopdigital/foundations": ">= 1.2.0 < 2",
"@coopdigital/shared-component--signpost": ">= 2.1.17 < 3",
"@coopdigital/shared-component--signpostlist": ">= 1.0.4 < 2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/shared-component--cooperate/src/cooperate.pcss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Co-operate explainer */

@import "@coopdigital/foundations-vars";
@import "@coopdigital/foundations/dist/vars/vars.css";

.coop-c-cooperate-explainer__title {
font-size: var(--type-h3-s);
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/shared-component--editorialCard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
"directory": "packages/shared-component--editorialCard"
},
"devDependencies": {
"@coopdigital/foundations-vars": "^3.8.2"
"@coopdigital/foundations": "^1.2.1"
},
"peerDependencies": {
"@coopdigital/foundations-vars": ">= 3.1.2 < 4"
"@coopdigital/foundations": ">= 1.2.0 < 2"
},
"bugs": {
"url": "https://github.com/coopdigital/coop-frontend/issues"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Editorial Card */

@import "@coopdigital/foundations-vars";
@import "@coopdigital/foundations/dist/vars/vars.css";

.coop-c-editorialcard {
display: flex;
Expand Down
Loading

0 comments on commit b377579

Please sign in to comment.