Releases: adobe/spectrum-css
@spectrum-css/[email protected]
Major Changes
-
#3458
e1b7102
Thanks @castastrophe! - Update the Chromatic add-on to the currently maintained package:- from "@chromaui/addon-visual-tests": "^1.0.0"
- to "@chromatic-com/storybook": "^3.2.3"
This requires an update to the chromatic.config.json settings, removal of the generic argTypesRegex from the preview config, and a stricter import in the doc blocks.
To support a successful build, our test command must maintain the autodocs and mdx syntax.
@spectrum-css/[email protected]
Patch Changes
- #3440
6808c85
Thanks @castastrophe! - Fix an issue where "show code" was blocking loading in Storybook docs pages [CSS-1070]
@spectrum-css/[email protected]
Major Changes
-
#3488
40c1954
Thanks @castastrophe! - ### Breaking changeThis update removes the compiled
components
directory from the token output. Instead, customers are asked to source the theming data from the component'stheme/(express,spectrum,spectrum-two).css
andindex-theme.css
. For example:import "@spectrum-css/actionbutton/dist/index-base.css"; import "@spectrum-css/actionbutton/dist/index-theme.css"; import "@spectrum-css/actionbutton/dist/themes/express.css";
In addition, the
custom-*-vars.css
files previously shipped in thespectrum
andexpress
folders will no longer be shipped separately. This data already exists in the*-vars.css
file with a matching name. For example,spectrum/custom-large-vars.css
already exists withinspectrum/large-vars.css
, concatenated with the token-generated output.Minor
Whitespace has been cleaned up in the exported content for readability.
@spectrum-css/[email protected]
Minor Changes
- #3477
d52c701
Thanks @castastrophe! - Update Storybook to leverage the new CSS bundled assets.
Patch Changes
- Updated dependencies [
d52c701
]:- @spectrum-css/[email protected]
@spectrum-css/[email protected]
Patch Changes
- Updated dependencies [
40c1954
]:- @spectrum-css/[email protected]
@spectrum-css/[email protected]
Major Changes
- #3477
d52c701
Thanks @castastrophe! - Resurrecting the CSS bundle for development use. Excellent resource for generating quick demo pages by loading all the CSS components in the library in a pre-bundled package with tokens pre-loaded and minified to remove unused tokens.
@spectrum-css/[email protected]
Minor Changes
- #3453
8d2d269
Thanks @marissahuysentruyt! - Color loupes should not be displayed when their color handle is disabled, so this work adds the.is-disabled
selector to color loupe's CSS, withopacity: 0
.