Skip to content

Commit

Permalink
build: optimize and harden css token imports
Browse files Browse the repository at this point in the history
  • Loading branch information
castastrophe committed Jan 3, 2025
1 parent 5b674b4 commit 6bb929e
Show file tree
Hide file tree
Showing 223 changed files with 15,044 additions and 25,752 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
"@custom-elements-manifest/analyzer": "^0.9.0",
"@geometricpanda/storybook-addon-badges": "^2.0.2",
"@lit/react": "^1.0.4",
"@netlify/build": "^29.17.3",
"@netlify/build": "^29.58.1",
"@open-wc/dev-server-hmr": "^0.2.0",
"@open-wc/testing": "^4.0.0",
"@playwright/test": "^1.44.0",
Expand Down Expand Up @@ -143,7 +143,7 @@
"@webcomponents/webcomponentsjs": "^2.8.0",
"alex": "^11.0.1",
"cem-plugin-module-file-extensions": "^0.0.5",
"chalk": "^5.0.1",
"colors": "^1.4.0",
"chromatic": "^11.20.0",
"chromedriver": "^130.0.1",
"common-tags": "^1.8.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/accordion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"@spectrum-web-components/shared": "^1.0.1"
},
"devDependencies": {
"@spectrum-css/accordion": "^6.0.0-s2-foundations.16"
"@spectrum-css/accordion": "6.0.0-s2-foundations.16"
},
"types": "./src/index.d.ts",
"customElements": "custom-elements.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/accordion/src/accordion-item-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
Expand Down
2 changes: 1 addition & 1 deletion packages/accordion/src/accordion-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
Expand Down
2 changes: 1 addition & 1 deletion packages/action-bar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"@spectrum-web-components/popover": "^1.0.3"
},
"devDependencies": {
"@spectrum-css/actionbar": "^9.0.0-s2-foundations.16"
"@spectrum-css/actionbar": "9.0.0-s2-foundations.16"
},
"types": "./src/index.d.ts",
"customElements": "custom-elements.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/action-bar/src/action-bar-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
Expand Down
2 changes: 1 addition & 1 deletion packages/action-button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"@spectrum-web-components/shared": "^1.0.1"
},
"devDependencies": {
"@spectrum-css/actionbutton": "^7.0.0-s2-foundations.22"
"@spectrum-css/actionbutton": "7.0.0-s2-foundations.22"
},
"types": "./src/index.d.ts",
"customElements": "custom-elements.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/action-button/src/action-button-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
Expand Down
2 changes: 1 addition & 1 deletion packages/action-group/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"@spectrum-web-components/reactive-controllers": "^1.0.3"
},
"devDependencies": {
"@spectrum-css/actiongroup": "^6.0.0-s2-foundations.15"
"@spectrum-css/actiongroup": "6.0.0-s2-foundations.15"
},
"types": "./src/index.d.ts",
"customElements": "custom-elements.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/action-group/src/action-group-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
Expand Down
2 changes: 1 addition & 1 deletion packages/action-menu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"@spectrum-web-components/shared": "^1.0.1"
},
"devDependencies": {
"@spectrum-css/actionmenu": "^7.0.0-s2-foundations.15"
"@spectrum-css/actionmenu": "7.0.0-s2-foundations.15"
},
"types": "./src/index.d.ts",
"customElements": "custom-elements.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/alert-banner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@spectrum-web-components/icons-workflow": "^1.0.3"
},
"devDependencies": {
"@spectrum-css/alertbanner": "^3.0.0-s2-foundations.16"
"@spectrum-css/alertbanner": "3.0.0-s2-foundations.16"
},
"types": "./src/index.d.ts",
"customElements": "custom-elements.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/alert-banner/src/alert-banner-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
Expand Down
2 changes: 1 addition & 1 deletion packages/alert-dialog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"@spectrum-web-components/shared": "^1.0.1"
},
"devDependencies": {
"@spectrum-css/alertdialog": "^3.0.0-s2-foundations.15"
"@spectrum-css/alertdialog": "3.0.0-s2-foundations.15"
},
"types": "./src/index.d.ts",
"customElements": "custom-elements.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/alert-dialog/src/alert-dialog-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
Expand Down
2 changes: 1 addition & 1 deletion packages/asset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"@spectrum-web-components/base": "^1.0.1"
},
"devDependencies": {
"@spectrum-css/asset": "^6.0.0-s2-foundations.15"
"@spectrum-css/asset": "6.0.0-s2-foundations.15"
},
"types": "./src/index.d.ts",
"customElements": "custom-elements.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/asset/src/asset-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
Expand Down
2 changes: 1 addition & 1 deletion packages/avatar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"@spectrum-web-components/shared": "^1.0.1"
},
"devDependencies": {
"@spectrum-css/avatar": "^8.0.0-s2-foundations.15"
"@spectrum-css/avatar": "8.0.0-s2-foundations.15"
},
"types": "./src/index.d.ts",
"customElements": "custom-elements.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/avatar/src/avatar-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
Expand Down
2 changes: 1 addition & 1 deletion packages/badge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"@spectrum-web-components/shared": "^1.0.1"
},
"devDependencies": {
"@spectrum-css/badge": "^5.0.0-s2-foundations.15"
"@spectrum-css/badge": "5.0.0-s2-foundations.15"
},
"types": "./src/index.d.ts",
"customElements": "custom-elements.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/badge/src/badge-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
Expand Down
2 changes: 1 addition & 1 deletion packages/breadcrumbs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"@spectrum-web-components/menu": "^1.0.3"
},
"devDependencies": {
"@spectrum-css/breadcrumb": "^10.0.0-s2-foundations.15"
"@spectrum-css/breadcrumb": "10.0.0-s2-foundations.15"
},
"types": "./src/index.d.ts",
"customElements": "custom-elements.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/breadcrumbs/src/breadcrumbs-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
Expand Down
2 changes: 1 addition & 1 deletion packages/button-group/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"@spectrum-web-components/button": "^1.0.3"
},
"devDependencies": {
"@spectrum-css/buttongroup": "^8.0.0-s2-foundations.15"
"@spectrum-css/buttongroup": "8.0.0-s2-foundations.15"
},
"types": "./src/index.d.ts",
"customElements": "custom-elements.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/button-group/src/button-group-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
Expand Down
2 changes: 1 addition & 1 deletion packages/button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"@spectrum-web-components/shared": "^1.0.1"
},
"devDependencies": {
"@spectrum-css/button": "^14.0.0-s2-foundations.18"
"@spectrum-css/button": "14.0.0-s2-foundations.18"
},
"types": "./src/index.d.ts",
"customElements": "custom-elements.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/button/src/button-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
Expand Down
2 changes: 1 addition & 1 deletion packages/card/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"@spectrum-web-components/styles": "^1.0.3"
},
"devDependencies": {
"@spectrum-css/card": "^10.0.0-s2-foundations.20"
"@spectrum-css/card": "10.0.0-s2-foundations.20"
},
"types": "./src/index.d.ts",
"customElements": "custom-elements.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/card/src/card-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
Expand Down
2 changes: 1 addition & 1 deletion packages/checkbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"@spectrum-web-components/shared": "^1.0.1"
},
"devDependencies": {
"@spectrum-css/checkbox": "^10.0.0-s2-foundations.18"
"@spectrum-css/checkbox": "10.0.0-s2-foundations.18"
},
"types": "./src/index.d.ts",
"customElements": "custom-elements.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/checkbox/src/checkbox-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
Expand Down
2 changes: 1 addition & 1 deletion packages/clear-button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@spectrum-web-components/base": "^1.0.1"
},
"devDependencies": {
"@spectrum-css/clearbutton": "^7.0.0-s2-foundations.16"
"@spectrum-css/clearbutton": "7.0.0-s2-foundations.16"
},
"types": "./src/index.d.ts",
"customElements": "custom-elements.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/clear-button/src/clear-button-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
Expand Down
2 changes: 1 addition & 1 deletion packages/close-button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@spectrum-web-components/base": "^1.0.1"
},
"devDependencies": {
"@spectrum-css/closebutton": "^6.0.0-s2-foundations.16"
"@spectrum-css/closebutton": "6.0.0-s2-foundations.16"
},
"types": "./src/index.d.ts",
"customElements": "custom-elements.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/close-button/src/close-button-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
Expand Down
4 changes: 2 additions & 2 deletions packages/coachmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@
"@spectrum-web-components/shared": "^1.0.1"
},
"devDependencies": {
"@spectrum-css/coachindicator": "^3.0.0-s2-foundations.16",
"@spectrum-css/coachmark": "^8.0.0-s2-foundations.17"
"@spectrum-css/coachindicator": "3.0.0-s2-foundations.16",
"@spectrum-css/coachmark": "8.0.0-s2-foundations.17"
},
"types": "./src/index.d.ts",
"customElements": "custom-elements.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/coachmark/src/coach-indicator-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
Expand Down
2 changes: 1 addition & 1 deletion packages/coachmark/src/coachmark-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
Expand Down
2 changes: 1 addition & 1 deletion packages/color-area/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"@spectrum-web-components/shared": "^1.0.1"
},
"devDependencies": {
"@spectrum-css/colorarea": "^6.0.0-s2-foundations.15"
"@spectrum-css/colorarea": "6.0.0-s2-foundations.15"
},
"types": "./src/index.d.ts",
"customElements": "custom-elements.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/color-area/src/color-area-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
Expand Down
2 changes: 1 addition & 1 deletion packages/color-handle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@spectrum-web-components/opacity-checkerboard": "^1.0.1"
},
"devDependencies": {
"@spectrum-css/colorhandle": "^9.0.0-s2-foundations.16"
"@spectrum-css/colorhandle": "9.0.0-s2-foundations.16"
},
"types": "./src/index.d.ts",
"customElements": "custom-elements.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/color-handle/src/color-handle-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
Expand Down
2 changes: 1 addition & 1 deletion packages/color-loupe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"@spectrum-web-components/opacity-checkerboard": "^1.0.1"
},
"devDependencies": {
"@spectrum-css/colorloupe": "^6.0.0-s2-foundations.15"
"@spectrum-css/colorloupe": "6.0.0-s2-foundations.15"
},
"types": "./src/index.d.ts",
"customElements": "custom-elements.json",
Expand Down
Loading

0 comments on commit 6bb929e

Please sign in to comment.