-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: postcss plugin updates and fixes (#3502)
- Loading branch information
1 parent
c8194b0
commit 562396e
Showing
330 changed files
with
2,562 additions
and
3,937 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
"@spectrum-tools/stylelint-no-unknown-custom-properties": patch | ||
"@spectrum-tools/stylelint-no-unused-custom-properties": patch | ||
--- | ||
|
||
Update package dependencies. | ||
|
||
Specific to `stylelint-no-unknown-custom-properties`, the assumption that only CSS files will be parsed is removed to allow support for JSON assets as well. Additionally, this package will now evaluate dependencies beyond just `@spectrum-css`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@spectrum-tools/postcss-add-theming-layer": major | ||
--- | ||
|
||
The PostCSS plugin previously published as `postcss-splitinator`. This new package creates a polyfill for style queries by creating a layer of `--system` prefixed custom properties to be loaded by attaching a unique selector. This allows the toggling of component-level property definitions by theme or context. There are many options available to customize the output that are documented in the package [README](plugins/postcss-add-theming-layer/README.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@spectrum-tools/stylelint-theme-alignment": minor | ||
--- | ||
|
||
Fixes a bug where the source file is expected to be "spectrum-two" instead of "spectrum". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
--- | ||
"@spectrum-css/floatingactionbutton": major | ||
"@spectrum-css/opacitycheckerboard": major | ||
"@spectrum-css/illustratedmessage": major | ||
"@spectrum-css/coachindicator": major | ||
"@spectrum-css/contextualhelp": major | ||
"@spectrum-css/progresscircle": major | ||
"@spectrum-css/dropindicator": major | ||
"@spectrum-css/alertdialog": major | ||
"@spectrum-css/buttongroup": major | ||
"@spectrum-css/colorhandle": major | ||
"@spectrum-css/colorslider": major | ||
"@spectrum-css/inlinealert": major | ||
"@spectrum-css/logicbutton": major | ||
"@spectrum-css/progressbar": major | ||
"@spectrum-css/statuslight": major | ||
"@spectrum-css/swatchgroup": major | ||
"@spectrum-css/breadcrumb": major | ||
"@spectrum-css/colorloupe": major | ||
"@spectrum-css/colorwheel": major | ||
"@spectrum-css/fieldgroup": major | ||
"@spectrum-css/fieldlabel": major | ||
"@spectrum-css/pagination": major | ||
"@spectrum-css/typography": major | ||
"@spectrum-css/accordion": major | ||
"@spectrum-css/actionbar": major | ||
"@spectrum-css/assetlist": major | ||
"@spectrum-css/coachmark": major | ||
"@spectrum-css/colorarea": major | ||
"@spectrum-css/splitview": major | ||
"@spectrum-css/thumbnail": major | ||
"@spectrum-css/calendar": major | ||
"@spectrum-css/dropzone": major | ||
"@spectrum-css/helptext": major | ||
"@spectrum-css/steplist": major | ||
"@spectrum-css/taggroup": major | ||
"@spectrum-css/treeview": major | ||
"@spectrum-css/underlay": major | ||
"@spectrum-css/divider": major | ||
"@spectrum-css/sidenav": major | ||
"@spectrum-css/avatar": major | ||
"@spectrum-css/dialog": major | ||
"@spectrum-css/miller": major | ||
"@spectrum-css/swatch": major | ||
"@spectrum-css/asset": major | ||
"@spectrum-css/badge": major | ||
"@spectrum-css/modal": major | ||
"@spectrum-css/table": major | ||
"@spectrum-css/card": major | ||
"@spectrum-css/dial": major | ||
"@spectrum-css/icon": major | ||
"@spectrum-css/link": major | ||
"@spectrum-css/menu": major | ||
"@spectrum-css/tray": major | ||
"@spectrum-css/well": major | ||
--- | ||
|
||
Remove empty theme references to reduce complexity for components that don't need to define any mappings. This involves removing the source `themes` directories with the empty `spectrum.css` and `express.com` files as well as removing the following empty or unnecessary exports: | ||
|
||
- `index-base.css` | ||
- `index-theme.css` | ||
- `themes/spectrum.css` | ||
- `themes/express.css` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@spectrum-tools/postcss-rgb-mapping": major | ||
--- | ||
|
||
Migrated the `postcss-rgb-mapping` package into the new `@spectrum-tools` namespace so updates may shipped and shared among other projects. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
"@spectrum-css/infieldbutton": minor | ||
"@spectrum-css/actionbutton": minor | ||
"@spectrum-css/pickerbutton": minor | ||
"@spectrum-css/actiongroup": minor | ||
"@spectrum-css/alertbanner": minor | ||
"@spectrum-css/clearbutton": minor | ||
"@spectrum-css/closebutton": minor | ||
"@spectrum-css/datepicker": minor | ||
"@spectrum-css/assetcard": minor | ||
"@spectrum-css/textfield": minor | ||
"@spectrum-css/checkbox": minor | ||
"@spectrum-css/combobox": minor | ||
"@spectrum-css/popover": minor | ||
"@spectrum-css/stepper": minor | ||
"@spectrum-css/tooltip": minor | ||
"@spectrum-css/button": minor | ||
"@spectrum-css/picker": minor | ||
"@spectrum-css/rating": minor | ||
"@spectrum-css/search": minor | ||
"@spectrum-css/slider": minor | ||
"@spectrum-css/switch": minor | ||
"@spectrum-css/radio": minor | ||
"@spectrum-css/toast": minor | ||
"@spectrum-css/tabs": minor | ||
"@spectrum-css/tag": minor | ||
--- | ||
|
||
Simplify how the `--system` properties are mapped. By updating the logic in the `postcss-add-theming-layer`, we are now shipping cleaner, more readable `--system` property names. These custom properties are documented as _NOT_ a part of the component API so although these result in a change to the custom property names, it does not impact the properties that are in the API and so do not constitute a breaking change. Expect to see no change to how component theming works or any visual regressions as a result of this change. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.