diff --git a/.changeset/angry-needles-behave.md b/.changeset/angry-needles-behave.md
new file mode 100644
index 00000000000..04a4512d138
--- /dev/null
+++ b/.changeset/angry-needles-behave.md
@@ -0,0 +1,23 @@
+---
+"@spectrum-css/radio": major
+---
+
+# Radio S2 Migration
+
+Updates:
+
+- High contrast tokens have been modified
+- Typography tokens modified
+
+## New tokens
+
+`--spectrum-radio-border-width`
+`--spectrum-radio-text-font-weight`
+`--spectrum-radio-text-font-style`
+
+## Modified tokens
+
+`--spectrum-radio-emphasized-accent-color`
+`--spectrum-radio-emphasized-accent-color-hover`
+`--spectrum-radio-emphasized-accent-color-down`
+`--spectrum-radio-emphasized-accent-color-focus`
diff --git a/.changeset/beige-dragons-tickle.md b/.changeset/beige-dragons-tickle.md
new file mode 100644
index 00000000000..1f5e66fd674
--- /dev/null
+++ b/.changeset/beige-dragons-tickle.md
@@ -0,0 +1,49 @@
+---
+"@spectrum-css/illustratedmessage": major
+"@spectrum-css/dropzone": major
+---
+
+# S2 Illustrated Message Migration
+
+This migration contains new tokens for t-shirt sizes (S, M, L), vertical and horizontal orientation along with their maximum width, illustration sizes, and content spacing. Dropzone `--mod` names are renamed to match the semantic tokens in illustrated message.
+
+## Illustrated Message
+
+New properties
+`--spectrum-illustrated-message-heading-to-description`
+`--spectrum-illustrated-message-illustration-to-heading`
+`--spectrum-illustrated-message-illustration-to-content`
+`--spectrum-illustrated-message-description-to-action`
+`--spectrum-illustrated-message-illustration-color`
+`--spectrum-illustrated-message-illustration-size`
+`--spectrum-illustrated-message-small-cjk-title-font-size`
+`--spectrum-illustrated-message-large-cjk-title-font-size`
+`--spectrum-illustrated-message-large-body-font-size`
+`--spectrum-illustrated-message-horizontal-maximum-width`
+
+New mods
+`--mod-illustrated-message-description-to-action`
+`--mod-illustrated-message-heading-to-description`
+`--mod-illustrated-message-illustration-to-content`
+`--mod-illustrated-message-horizontal-maximum-width`
+
+Removed properties
+`--spectrum-illustrated-message-title-to-heading`
+`--spectrum-illustrated-message-description-max-inline-size`
+`--spectrum-illustrated-message-heading-max-inline-size`
+`--spectrum-illustrated-message-illustration-accent-color`
+`--mod-illustrated-message-illustration-accent-color`
+`--highcontrast-illustrated-message-illustration-accent-color`
+
+## Dropzone
+
+New mods
+`--mod-drop-zone-body-to-action`
+`--mod-drop-zone-illustration-to-title`
+
+## Dropzone nested mods
+
+Renamed mods
+`--mod-illustrated-message-title-to-heading` > `--mod-illustrated-message-illustration-to-heading`
+`--mod-illustrated-message-heading-to-body` > `--mod-illustrated-message-heading-to-description`
+`--mod-illustrated-message-content-maximum-width` > `--mod-illustrated-message-vertical-maximum-width`
diff --git a/.changeset/big-beds-care.md b/.changeset/big-beds-care.md
new file mode 100644
index 00000000000..4ec2dc05693
--- /dev/null
+++ b/.changeset/big-beds-care.md
@@ -0,0 +1,39 @@
+---
+"@spectrum-css/dropzone": major
+---
+
+## Dropzone S2 Migration
+
+Since dropzone shares a lot of illustrated message's new content tokens (typography and spacing), tons of unused`--mods` were removed.
+
+The component reflects the [new design](https://www.figma.com/design/eoZHKJH9a3LJkHYCGt60Vb/S2-token-specs?node-id=10141-2822&m=dev) of the borders that includes dash length and dash gap.
+
+### SVG Border
+
+To support the intention of the design, an SVG element is used. There are custom `--mod` tokens to adjust the length of dashed lines and the gap between them. It's understood it may be too much to consume an additional element so there's a fallback where the SVG element is not necessary - dropzone will use the standard `border` CSS property.
+
+### New mods
+
+`--mod-drop-zone-content-height`
+`--mod-drop-zone-edge-to-text`
+`--mod-drop-zone-title-line-height`
+`--mod-drop-zone-border-dash-length`
+`--mod-drop-zone-border-dash-gap`
+
+### Removed mods
+
+`--mod-drop-zone-body-color`
+`--mod-drop-zone-body-font-family`
+`--mod-drop-zone-body-font-style`
+`--mod-drop-zone-body-font-weight`
+`--mod-drop-zone-body-line-height`
+`--mod-drop-zone-content-color`
+`--mod-drop-zone-content-edge-to-text`
+`--mod-drop-zone-content-font-size`
+`--mod-drop-zone-heading-color`
+`--mod-drop-zone-heading-font-family`
+`--mod-drop-zone-heading-font-size`
+`--mod-drop-zone-heading-font-style`
+`--mod-drop-zone-heading-font-weight`
+`--mod-drop-zone-heading-line-height`
+`--mod-drop-zone-heading-to-body` `--mod-drop-zone-illustration-to-heading` `--mod-drop-zone-illustration-to-title`
diff --git a/.changeset/chilled-peaches-enjoy.md b/.changeset/chilled-peaches-enjoy.md
new file mode 100644
index 00000000000..f7a8def296a
--- /dev/null
+++ b/.changeset/chilled-peaches-enjoy.md
@@ -0,0 +1,27 @@
+---
+"@spectrum-css/actionbutton": major
+---
+
+Action button now uses Spectrum 2 tokens and design specifications. A few notable changes:
+
+- Medium is now the default size and `.spectrum-ActionButton--sizeM` has been removed.
+- Includes the Spectrum 2 down state transform.
+- The component border was not removed and its color was changed to `transparent` in order to continue support for Windows High Contrast / forced colors, which still shows a border. The mod custom properties for border were removed to avoid interference with Windows High Contrast / forced colors accessibility.
+- Some selectors to target the icon + text button and the icon-only button have been simplified using `:has`. This removes some overly complex `calc()` functions used for inline spacing, uses the design tokens more directly, and removes the previously documented need for the component's child elements to use a specific source order.
+- Background and content colors were updated.
+- Mod custom properties have been adjusted:
+ - Renamed:
+ - `--mod-line-height-100` renamed to `--mod-actionbutton-line-height`.
+ - `--mod-sans-font-family-stack` renamed to `--mod-button-font-family`.
+ - `--mod-animation-duration-100` renamed to `--mod-button-animation-duration`.
+ - Removed:
+ - `--mod-actionbutton-border-color-default`
+ - `--mod-actionbutton-border-color-disabled`
+ - `--mod-actionbutton-border-color-down`
+ - `--mod-actionbutton-border-color-focus`
+ - `--mod-actionbutton-border-color-hover`
+ - `--mod-actionbutton-border-width`
+ - `--mod-actionbutton-static-content-color`
+ - New:
+ - `--mod-actionbutton-font-weight`
+ - `--mod-actionbutton-font-style`
diff --git a/.changeset/chilly-peaches-sniff.md b/.changeset/chilly-peaches-sniff.md
new file mode 100644
index 00000000000..e432e437d28
--- /dev/null
+++ b/.changeset/chilly-peaches-sniff.md
@@ -0,0 +1,21 @@
+---
+"@spectrum-css/statuslight": major
+---
+
+## Spectrum 2 migration
+
+New non-semantic colors were added to the variants list, while the `accent` semantic variant was removed. There were also some new and updated color and text-to-visual tokens used to match the designs, along with normalizing font family, font style, and font weight.
+
+New mods added:
+
+- `--mod-statuslight-font-family`
+- `--mod-statuslight-font-style`
+- `--mod-statuslight-nonsemantic-brown-color`
+- `--mod-statuslight-nonsemantic-cinnamon-color`
+- `--mod-statuslight-nonsemantic-pink-color`
+- `--mod-statuslight-nonsemantic-silver-color`
+- `--mod-statuslight-nonsemantic-turquoise-color`
+
+Removed mods:
+
+- `--mod-statuslight-semantic-accent-color`
diff --git a/.changeset/clean-oranges-smell.md b/.changeset/clean-oranges-smell.md
new file mode 100644
index 00000000000..3deb7bdb737
--- /dev/null
+++ b/.changeset/clean-oranges-smell.md
@@ -0,0 +1,11 @@
+---
+"@spectrum-css/preview": major
+---
+
+Updates Storybook to use the latest icon sets for Spectrum 2. Includes changes to the directories that
+are used for loading in the sprite sheet and the individual icons, as they have moved.
+
+The global Icon Loader has been updated to apply the existing key name renaming from file names to icon
+names. This is now done once at the loader step, rather than each time within the Icon component template.
+The loader also now excludes the handful of 22x20 workflow icons, as these are not yet handled within the
+design system.
diff --git a/.changeset/few-doors-smile.md b/.changeset/few-doors-smile.md
new file mode 100644
index 00000000000..872a7c98e6d
--- /dev/null
+++ b/.changeset/few-doors-smile.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/buttongroup": patch
+---
+
+Adds a new `--mod-buttongroup-flex-wrap` custom property to leverage if a user wishes to customize the `flex-wrap` property.
diff --git a/.changeset/flat-snails-admire.md b/.changeset/flat-snails-admire.md
new file mode 100644
index 00000000000..fa25475ac25
--- /dev/null
+++ b/.changeset/flat-snails-admire.md
@@ -0,0 +1,7 @@
+---
+"@spectrum-css/infieldprogresscircle": major
+---
+
+## Infield Progresscircle S2 Migration
+
+In-field progress circle is a new component created to replace progress circle (size S) in t-shirt size components. The button, textfield, combo box, and picker `template.js` files have all been updated to call for infield progress circles. This component comes in four sizes: (S, M, L, XL), has updated color variants (default, white, black), and has a unified track thickness.
diff --git a/.changeset/fresh-crabs-deliver.md b/.changeset/fresh-crabs-deliver.md
new file mode 100644
index 00000000000..8197b9cc588
--- /dev/null
+++ b/.changeset/fresh-crabs-deliver.md
@@ -0,0 +1,16 @@
+---
+"@spectrum-css/breadcrumb": major
+---
+
+#### Spectrum 2 Migration
+
+The breadcrumbs component is now updated to use the S2 specs and tokens. This includes updated spacing, heights, colors, font sizes, etc.
+
+There has been a major design change to the variant classes related to density and sizing, to align their terminology better with t-shirt sizes:
+
+- The "compact" variant no longer exists. The `spectrum-Breadcrumbs--compact` class and associated custom properties are removed. The default (medium) breadcrumbs are now sized similar to what was previously called compact.
+- There is a new "large" variant, which uses the `spectrum-Breadcrumbs--sizeL` class. This is sized similarly to what was previously the default.
+
+In the multiline variant, the size of the title item can optionally be customized using an additional child heading element that applies one of the
+typography component's `spectrum-Heading--size*` classes. The preferred sizes specified in the design spec are small, medium, large (default), and
+extra-large. If an additional heading element is not used within the title item, the text will still be sized correctly to the default.
diff --git a/.changeset/fresh-seahorses-join.md b/.changeset/fresh-seahorses-join.md
new file mode 100644
index 00000000000..34f9fb60e01
--- /dev/null
+++ b/.changeset/fresh-seahorses-join.md
@@ -0,0 +1,8 @@
+---
+"@spectrum-css/button": patch
+---
+
+#### refactor: remove spectrum-ButtonWithFocusRing placeholder class extend
+
+Removes the need for the extend from this placeholder class, as the styles it provides have diverged slightly from what is in button and it was causing some unnecessary CSS to override.
+This should not result in any changed visuals or behavior, as the same CSS has been integrated.
\ No newline at end of file
diff --git a/.changeset/friendly-dolls-raise.md b/.changeset/friendly-dolls-raise.md
new file mode 100644
index 00000000000..e8504c217f4
--- /dev/null
+++ b/.changeset/friendly-dolls-raise.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/avatar": major
+---
+
+Adds support for new avatar-size tokens (avatar-size-800 to avatar-size-1500). Updates avatar component story to support new sizes. Adds support for avatar-border-color and avatar-border-thickness.
diff --git a/.changeset/giant-windows-smoke.md b/.changeset/giant-windows-smoke.md
new file mode 100644
index 00000000000..7ae3bdf3b4c
--- /dev/null
+++ b/.changeset/giant-windows-smoke.md
@@ -0,0 +1,26 @@
+---
+"@spectrum-css/colorwheel": major
+---
+
+# colorwheel S2 migration
+
+This change migrates the colorwheel component to S2. It adds the `--spectrum-colorwheel-border-color-rgb` and `--spectrum-colorwheel-border-opacity` custom properties. It updates `--spectrum-colorwheel-border-color` to leverage these tokens in an `rgba(...)` function.
+
+This removes the `spectrum-ColorWheel-border` and associated template DOM node as the outside/underlying border are no longer present in the S2 designs. `::before` and `::after` pseudo elements are now used to draw the exterior and interior borders that overlay the exterior and interior edges of the color wheel.
+
+Support is provided for the `240px` and `192px` sizes outlined in the design requirements.
+
+The `forced-colors` media query has been moved to the bottom of the file consistent with our other component implementations.
+
+Stories, tests and documentation have been updated to be consistent with these changes.
+
+The following mods have been removed:
+
+```css
+--mod-colorwheel-height
+--mod-colorwheel-width
+--mod-colorwheel-min-width
+--mod-colorwheel-path-borders
+--mod-colorwheel-colorarea-margin
+--mod-colorwheel-border-width
+```
diff --git a/.changeset/hot-books-fail.md b/.changeset/hot-books-fail.md
new file mode 100644
index 00000000000..4c71ab8b722
--- /dev/null
+++ b/.changeset/hot-books-fail.md
@@ -0,0 +1,13 @@
+---
+"@spectrum-css/picker": major
+---
+
+#### Spectrum 2 migration
+
+Picker now uses Spectrum 2 tokens and specifications. A few notable changes:
+
+- The mod custom property `--mod-line-height-100` has been renamed to `--mod-button-line-height`.
+- The mod custom property `--mod-sans-font-family-stack` has been renamed to `--mod-button-font-family`.
+- The mod custom property `--mod-animation-duration-100` has been renamed to `--mod-button-animation-duration`.
+- The mod custom property `--mod-picker-spacing-text-to-alert-icon-inline-start` has been renamed to `--mod-picker-spacing-text-to-icon-inline-end`. This removed the fallback that was marked as deprecated in a previous version.
+- The mod custom property `--mod-picker-spacing-text-to-icon` has been removed. Use `--mod-picker-spacing-text-to-icon-inline-end` for the spacing between text and visual (indicator or disclosure), or `--mod-picker-spacing-starting-icon-to-text` for the space between the optional workflow icon and the text.
diff --git a/.changeset/itchy-kids-travel.md b/.changeset/itchy-kids-travel.md
new file mode 100644
index 00000000000..06e87f65e00
--- /dev/null
+++ b/.changeset/itchy-kids-travel.md
@@ -0,0 +1,24 @@
+---
+"@spectrum-css/progresscircle": major
+---
+
+## Progress circle S2 migration
+
+This is the S2 migration of the progress circle. The original markup has changed to an svg and circle element to allow CSS styles such as `stroke-linecap`. This was necessary to match the design. The `--small/--medium/--large` sizing classes have been deprecated in favor of t-shirt classes `--sizeS/--sizeM/--sizeL`
+
+### Animation
+
+`@keyframes spectrum-dashoffset-animation`:
+This animation was created by React Spectrum and used to keep the same speed and bezier curve.
+
+### Added tokens
+
+### Removed styles & mods
+
+`--spectrum-progress-circle-track-border-color-over-background`
+`--spectrum-progress-circle-fill-border-color-over-background`
+`--spectrum-progress-circle-track-border-style`
+`--spectrum-progress-circle-track-border-style`
+`--highcontrast-progress-circle-track-border-style`
+`--mod-progress-circle-track-border-style`
+`--spectrum-progress-circle-track-border-style`
diff --git a/.changeset/itchy-shrimps-help.md b/.changeset/itchy-shrimps-help.md
new file mode 100644
index 00000000000..68598dd4f7c
--- /dev/null
+++ b/.changeset/itchy-shrimps-help.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/picker": patch
+---
+
+S2 Popover has an updated default position, bottom-start. The correct `.spectrum-Popover--bottom-start` class was added to the open popover selector blocks for picker so that the spacing from the picker to the popover is correctly adjusted.
diff --git a/.changeset/light-years-speak.md b/.changeset/light-years-speak.md
new file mode 100644
index 00000000000..908577e5562
--- /dev/null
+++ b/.changeset/light-years-speak.md
@@ -0,0 +1,23 @@
+---
+"@spectrum-css/tooltip": major
+---
+
+## Spectrum 2 migration
+
+This migration includes updated colors, rounding, a bigger tip, and the removal of variants (only neutral is available in Spectrum 2). As a result of the deprecation of variants, icons have also been removed.
+
+The redesign of the tip, specifically the rounding, required a reworking of how we use clip-path and transform.
+
+Some custom property mods have been removed:
+
+- `--mod-tooltip-background-color-informative`
+- `--mod-tooltip-background-color-negative`
+- `--mod-tooltip-background-color-positive`
+- `--mod-tooltip-icon-spacing-block-start`
+- `--mod-tooltip-icon-spacing-inline-end`
+- `--mod-tooltip-icon-spacing-inline-start`
+- `--mod-tooltip-icon-width`
+
+And one mod has been added:
+
+- `--mod-tooltip-tip-corner-radius`
diff --git a/.changeset/mean-eggs-learn.md b/.changeset/mean-eggs-learn.md
new file mode 100644
index 00000000000..9302a1872d2
--- /dev/null
+++ b/.changeset/mean-eggs-learn.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/thumbnail": minor
+---
+
+Replaces corner-radius-75 with thumbnail-corner-radius.
diff --git a/.changeset/metal-fireants-switch.md b/.changeset/metal-fireants-switch.md
new file mode 100644
index 00000000000..ff03fe24d56
--- /dev/null
+++ b/.changeset/metal-fireants-switch.md
@@ -0,0 +1,52 @@
+---
+"@spectrum-css/dialog": major
+"@spectrum-css/modal": patch
+"@spectrum-css/underlay": patch
+---
+
+## Spectrum 2 Standard Dialog Migration
+
+This is the migration for standard dialog. The Divider component is no longer supported in S2 dialogs. In addition, some new and updated tokens are in place to update dialog corner rounding, font treatments, spacing/padding, and maximum/minimum widths. There were several new elements implemented as well, including optional header and footer content, hero/cover images, checkbox and text-only options in the footer content area.
+
+The `.spectrum-Dialog--small`, `.spectrum-Dialog--medium`, and `.spectrum-Dialog--large` sizing classes were deprecated and removed from the CSS in favor of the t-shirt sizes. Additionally, the spelling of the `.spectrum-Dialog--dismissable` class was corrected to `.spectrum-Dialog--dismissible`.
+
+Mod properties are either "new," have been renamed to reflect the respective dialog language, or were removed:
+
+_New Mods_
+`--mod-standard-dialog-spacing-title-to-header-content`
+`--mod-standard-dialog-spacing-title-to-description`
+`--mod-standard-dialog-header-content-font-size`
+
+_Renamed Mods_
+`--mod-dialog-confirm-small-width` > `--mod-standard-dialog-max-width-small`
+`--mod-dialog-confirm-medium-width` > `--mod-standard-dialog-max-width`
+`--mod-dialog-confirm-large-width` > `--mod-standard-dialog-max-width-large`
+`--mod-dialog-confirm-border-radius` > `--mod-standard-dialog-border-radius`
+`--mod-dialog-confirm-description-text-size` > `--mod-standard-dialog-description-font-size`
+`--mod-dialog-confirm-description-text-line-height` > `--mod-standard-dialog-description-line-height`
+`--mod-dialog-confirm-description-text-color` > `--mod-standard-dialog-description-text-color`
+`--mod-dialog-confirm-description-font-weight` > `--mod-standard-dialog-description-font-weight`
+`--mod-dialog-heading-font-weight` > `--mod-standard-dialog-heading-font-weight`
+`--mod-dialog-confirm-title-text-line-height` > `--mod-standard-dialog-heading-line-height`
+`--mod-dialog-confirm-title-text-color` > `--mod-standard-dialog-heading-text-color`
+`--mod-dialog-confirm-title-text-size` > `--mod-standard-dialog-heading-font-size`
+`--mod-dialog-confirm-hero-height` > `--mod-standard-dialog-hero-block-size`
+`--mod-dialog-min-inline-size` > `--mod-standard-dialog-min-inline-size`
+`--mod-dialog-confirm-padding-grid` > `--mod-standard-dialog-spacing-grid-padding`
+`--mod-dialog-confirm-footer-padding-top` > `--mod-standard-dialog-spacing-description-to-footer`
+`--mod-dialog-confirm-close-button-padding` > `--mod-standard-dialog-spacing-edge-to-close-button`
+`--mod-dialog-confirm-gap-size` > `--mod-standard-dialog-spacing-footer-to-button-group`
+
+_Removed Mods_
+`--mod-dialog-confirm-buttongroup-padding-top`
+`--mod-dialog-confirm-close-button-size`
+`--mod-dialog-confirm-description-margin`
+`--mod-dialog-confirm-description-padding`
+`--mod-dialog-confirm-divider-block-spacing-end`
+`--mod-dialog-confirm-divider-block-spacing-start`
+`--mod-dialog-confirm-divider-height`
+
+Modal and underlay updates
+
+- Modal component now uses the updated corner rounding.
+- Underlay has an updated comment that addresses the overlay-color/overlay-opacity tokens.
diff --git a/.changeset/modern-chairs-sit.md b/.changeset/modern-chairs-sit.md
new file mode 100644
index 00000000000..e7294a8b4b4
--- /dev/null
+++ b/.changeset/modern-chairs-sit.md
@@ -0,0 +1,23 @@
+---
+"@spectrum-css/dialog": major
+"@spectrum-css/modal": minor
+---
+
+## S2 Takeover dialog
+
+This is the migration for the fullscreen/fullscreenTakeover dialog stories (these stories correspond to the "takeover dialog" in Figma). The Divider component support was removed in S2 standard dialog migration ([#2860](https://github.com/adobe/spectrum-css/pull/2860)). New and updated tokens are in place to update fullscreen/fullscreenTakeover dialog sizing, grid spacing, spacing in the header, and font sizes. Fullscreen/fullscreenTakeover dialogs do not support additional footer content or checkboxes (in comparison to the standard dialog).
+
+Takeover dialogs also support replacing text in the header and body areas with other components. This required an additional `.spectrum-Dialog-headerContentWrapper` element that should center whatever component/content within.
+
+Class names updated to match naming convention (remove hyphens and capitalize second word):
+`.spectrum-Dialog-header-content` > `.spectrum-Dialog-headerContent`
+`.spectrum-Dialog-footer-content` > `.spectrum-Dialog-footerContent`
+
+_New Mods_
+`--mod-takeover-dialog-grid-spacing`
+`--mod-takeover-dialog-spacing-header-content-gap`
+`--mod-takeover-dialog-title-font-size`
+
+Modal updates
+
+- Modal component now uses the updated margin token (`window-to-edge`) found in the takeover dialog design specs. This work also introduced `--spectrum-modal-takeover-window-to-edge`
diff --git a/.changeset/nine-kings-repair.md b/.changeset/nine-kings-repair.md
new file mode 100644
index 00000000000..eee7910997a
--- /dev/null
+++ b/.changeset/nine-kings-repair.md
@@ -0,0 +1,18 @@
+---
+"@spectrum-css/button": major
+---
+
+#### Spectrum 2 migration
+
+Button now uses Spectrum 2 tokens and specifications, which includes many color changes to all variants. A few other notable changes:
+
+- Outline buttons are no longer available in accent and negative options — use the filled variant instead.
+- Medium size is now the default. The class `.spectrum-Button--sizeM` is now unnecessary for this size, and has been removed.
+- The `.spectrum-Button--fill` class is no longer needed and has been removed.
+
+The following `--mod` custom properties have been renamed:
+
+- `--mod-line-height-100` has been renamed to `--mod-button-line-height`
+- `--mod-sans-font-family-stack` has been renamed to `--mod-button-font-family`
+- `--mod-animation-duration-100` has been renamed to `--mod-button-animation-duration`
+- `--mod-bold-font-weight` has been renamed to `--mod-button-font-weight`
diff --git a/.changeset/olive-tools-hang.md b/.changeset/olive-tools-hang.md
new file mode 100644
index 00000000000..fe513013a5c
--- /dev/null
+++ b/.changeset/olive-tools-hang.md
@@ -0,0 +1,59 @@
+---
+"@spectrum-css/ui-icons": major
+---
+
+# Breaking change
+
+Iconography in v1 inclued 2 sizes, `medium` and `large`, as well as a single SVG asset that included both versions to be toggled with classes via CSS (found in folder`combined`). Icons in v2 no longer have multiple sizes and all assets are sourced from a single folder`svg` which can be found in the `dist` directory of this workspace. **Raw SVG assets can no longer be sourced from the top-level of the workspace and must be loaded from `@spectrum-css/ui-icons/dist/svg/*.svg` instead.** Please find below an outline of the new, deprecated, and unchanged icons.
+
+| Icon name | Migration notes |
+| ----------------- | --------------- |
+| Arrow75 | Deprecated |
+| Arrow100 | - |
+| Arrow200 | Deprecated |
+| Arrow300 | Deprecated |
+| Arrow400 | - |
+| Arrow500 | Deprecated |
+| Arrow600 | Deprecated |
+| Asterisk75 | Deprecated |
+| Asterisk100 | - |
+| Asterisk200 | - |
+| Asterisk300 | - |
+| Checkmark50 | - |
+| Checkmark75 | - |
+| Checkmark100 | - |
+| Checkmark200 | - |
+| Checkmark300 | - |
+| Checkmark400 | - |
+| Checkmark500 | Deprecated |
+| Checkmark600 | Deprecated |
+| Chevron50 | - |
+| Chevron75 | - |
+| Chevron100 | - |
+| Chevron200 | - |
+| Chevron300 | - |
+| Chevron400 | - |
+| Chevron500 | Deprecated |
+| Chevron600 | Deprecated |
+| CornerTriangle75 | - |
+| CornerTriangle100 | - |
+| CornerTriangle200 | - |
+| CornerTriangle300 | - |
+| Cross75 | - |
+| Cross100 | - |
+| Cross200 | - |
+| Cross300 | - |
+| Cross400 | - |
+| Cross500 | - |
+| Cross600 | - |
+| Dash50 | - |
+| Dash75 | - |
+| Dash100 | - |
+| Dash200 | - |
+| Dash300 | - |
+| Dash400 | Deprecated |
+| Dash500 | Deprecated |
+| Dash600 | Deprecated |
+| SingleGripper | Deprecated |
+| DoubleGripper | Deprecated |
+| TripleGripper | Deprecated |
diff --git a/.changeset/polite-moments-stay.md b/.changeset/polite-moments-stay.md
new file mode 100644
index 00000000000..38fb80afbed
--- /dev/null
+++ b/.changeset/polite-moments-stay.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/modal": patch
+---
+
+In Spectrum 2, elements that would typically be children of a modal (like dialogs, alert dialogs, and tray) have background-color token specs defined. Because modal _also_ had a defined background color, there was some antialiasing bleed-through happening on the corners, since both the modal and its child now had background colors on top of each other. `--spectrum-modal-background-color` is now redefined as `transparent` to avoid these conflicts in S2. `--mod-modal-background-color` is still available to consumers.
diff --git a/.changeset/pre.json b/.changeset/pre.json
new file mode 100644
index 00000000000..5ea547da095
--- /dev/null
+++ b/.changeset/pre.json
@@ -0,0 +1,137 @@
+{
+ "mode": "pre",
+ "tag": "next",
+ "initialVersions": {
+ "@spectrum-tools/gh-action-file-diff": "2.1.0",
+ "@spectrum-css/preview": "11.0.1-next.2",
+ "@spectrum-css/accordion": "7.0.1",
+ "@spectrum-css/actionbar": "10.0.1",
+ "@spectrum-css/actionbutton": "7.0.1",
+ "@spectrum-css/actiongroup": "6.0.1",
+ "@spectrum-css/actionmenu": "7.0.0",
+ "@spectrum-css/alertbanner": "3.0.1",
+ "@spectrum-css/alertdialog": "4.0.1",
+ "@spectrum-css/asset": "7.0.1",
+ "@spectrum-css/assetcard": "5.0.1",
+ "@spectrum-css/assetlist": "8.0.1",
+ "@spectrum-css/avatar": "9.0.1",
+ "@spectrum-css/badge": "6.0.1",
+ "@spectrum-css/breadcrumb": "11.0.1",
+ "@spectrum-css/button": "14.0.1",
+ "@spectrum-css/buttongroup": "9.0.1",
+ "@spectrum-css/calendar": "7.0.1",
+ "@spectrum-css/card": "11.0.1",
+ "@spectrum-css/checkbox": "10.0.1",
+ "@spectrum-css/clearbutton": "7.0.1",
+ "@spectrum-css/closebutton": "6.0.1",
+ "@spectrum-css/coachindicator": "4.0.1",
+ "@spectrum-css/coachmark": "9.0.1",
+ "@spectrum-css/colorarea": "7.0.1",
+ "@spectrum-css/colorhandle": "10.0.1",
+ "@spectrum-css/colorloupe": "7.0.1",
+ "@spectrum-css/colorslider": "8.0.1",
+ "@spectrum-css/colorwheel": "6.0.1",
+ "@spectrum-css/combobox": "4.0.1",
+ "@spectrum-css/commons": "11.0.0",
+ "@spectrum-css/contextualhelp": "5.0.1",
+ "@spectrum-css/datepicker": "4.0.1",
+ "@spectrum-css/dial": "5.0.1",
+ "@spectrum-css/dialog": "12.0.1",
+ "@spectrum-css/divider": "5.0.1",
+ "@spectrum-css/dropindicator": "7.0.1",
+ "@spectrum-css/dropzone": "8.0.1",
+ "@spectrum-css/fieldgroup": "7.0.1",
+ "@spectrum-css/fieldlabel": "10.0.1",
+ "@spectrum-css/floatingactionbutton": "4.0.1",
+ "@spectrum-css/form": "1.0.1",
+ "@spectrum-css/helptext": "7.0.1",
+ "@spectrum-css/icon": "9.0.1",
+ "@spectrum-css/illustratedmessage": "9.0.1",
+ "@spectrum-css/infieldbutton": "6.0.1",
+ "@spectrum-css/inlinealert": "10.0.1",
+ "@spectrum-css/link": "7.0.1",
+ "@spectrum-css/logicbutton": "6.0.1",
+ "@spectrum-css/menu": "9.0.1",
+ "@spectrum-css/meter": "1.0.1",
+ "@spectrum-css/miller": "8.0.1",
+ "@spectrum-css/modal": "7.0.1",
+ "@spectrum-css/opacitycheckerboard": "4.0.1",
+ "@spectrum-css/page": "9.0.1",
+ "@spectrum-css/pagination": "10.0.1",
+ "@spectrum-css/picker": "9.0.1",
+ "@spectrum-css/pickerbutton": "6.0.1",
+ "@spectrum-css/popover": "8.0.1",
+ "@spectrum-css/progressbar": "6.0.1",
+ "@spectrum-css/progresscircle": "5.0.1",
+ "@spectrum-css/radio": "10.0.1",
+ "@spectrum-css/rating": "6.0.1",
+ "@spectrum-css/search": "8.0.1",
+ "@spectrum-css/sidenav": "7.0.1",
+ "@spectrum-css/slider": "6.0.1",
+ "@spectrum-css/splitview": "7.0.1",
+ "@spectrum-css/statuslight": "9.0.1",
+ "@spectrum-css/steplist": "7.0.1",
+ "@spectrum-css/stepper": "7.0.1",
+ "@spectrum-css/swatch": "8.0.1",
+ "@spectrum-css/swatchgroup": "5.0.1",
+ "@spectrum-css/switch": "6.0.1",
+ "@spectrum-css/table": "8.0.1",
+ "@spectrum-css/tabs": "6.0.1",
+ "@spectrum-css/tag": "10.0.1",
+ "@spectrum-css/taggroup": "7.0.1",
+ "@spectrum-css/textfield": "8.0.1",
+ "@spectrum-css/thumbnail": "8.0.1",
+ "@spectrum-css/toast": "11.0.1",
+ "@spectrum-css/tooltip": "7.0.1",
+ "@spectrum-css/tray": "5.0.1",
+ "@spectrum-css/treeview": "12.0.1",
+ "@spectrum-css/typography": "8.0.1",
+ "@spectrum-css/underlay": "6.0.1",
+ "@spectrum-css/well": "7.0.1",
+ "@spectrum-tools/postcss-rgb-mapping": "1.0.0",
+ "@spectrum-tools/stylelint-no-missing-var": "2.0.1",
+ "@spectrum-tools/stylelint-no-unknown-custom-properties": "2.0.2",
+ "@spectrum-tools/stylelint-no-unused-custom-properties": "2.0.3",
+ "@spectrum-css/tokens": "16.0.0",
+ "@spectrum-css/bundle": "1.0.0",
+ "@spectrum-css/generator": "4.1.0",
+ "@spectrum-css/ui-icons": "1.1.2",
+ "@spectrum-css/infieldprogresscircle": "0.0.0"
+ },
+ "changesets": [
+ "angry-needles-behave",
+ "beige-dragons-tickle",
+ "big-beds-care",
+ "chilled-peaches-enjoy",
+ "chilly-peaches-sniff",
+ "clean-oranges-smell",
+ "few-doors-smile",
+ "flat-snails-admire",
+ "fresh-crabs-deliver",
+ "fresh-seahorses-join",
+ "friendly-dolls-raise",
+ "giant-windows-smoke",
+ "hot-books-fail",
+ "itchy-kids-travel",
+ "itchy-shrimps-help",
+ "light-years-speak",
+ "mean-eggs-learn",
+ "metal-fireants-switch",
+ "modern-chairs-sit",
+ "nine-kings-repair",
+ "olive-tools-hang",
+ "polite-moments-stay",
+ "proud-jokes-rule",
+ "rotten-meals-share",
+ "serious-clouds-jam",
+ "slow-eyes-lay",
+ "small-impalas-search",
+ "spotty-onions-study",
+ "strange-glasses-allow",
+ "tame-bobcats-beam",
+ "tame-knives-train",
+ "tasty-eagles-draw",
+ "twenty-ravens-divide",
+ "twenty-tables-know"
+ ]
+}
diff --git a/.changeset/proud-jokes-rule.md b/.changeset/proud-jokes-rule.md
new file mode 100644
index 00000000000..23bfe575805
--- /dev/null
+++ b/.changeset/proud-jokes-rule.md
@@ -0,0 +1,7 @@
+---
+"@spectrum-css/progressbar": major
+---
+
+## S2 migration
+
+Progress bar now uses Spectrum 2 tokens and specifications. This migration includes updated colors, font sizes, and spacing. No mods were harmed in the migration of this component (all `--mod` properties remain the same).
diff --git a/.changeset/rotten-meals-share.md b/.changeset/rotten-meals-share.md
new file mode 100644
index 00000000000..f61652384af
--- /dev/null
+++ b/.changeset/rotten-meals-share.md
@@ -0,0 +1,17 @@
+---
+"@spectrum-css/popover": major
+---
+
+## S2 Popover Migration
+
+The S2 popover using new tokens for border color, padding, corner radius and elevation/drop shadows.
+
+Renamed Mods
+
+| Old mod | New mod |
+| --------------------------------------------- | ------------------------------------ |
+| `--mod-popover-shadow-blur` | `--mod-popover-drop-shadow-blur` |
+| `--mod-popover-shadow-color` | `--mod-popover-drop-shadow-color` |
+| `--mod-popover-shadow-horizontal` | `--mod-popover-drop-shadow-x` |
+| `--mod-popover-shadow-vertical` | `--mod-popover-drop-shadow-y` |
+| `--mod-popover-content-area-spacing-vertical` | `--mod-popover-content-area-spacing` |
diff --git a/.changeset/serious-clouds-jam.md b/.changeset/serious-clouds-jam.md
new file mode 100644
index 00000000000..1c68dc92f32
--- /dev/null
+++ b/.changeset/serious-clouds-jam.md
@@ -0,0 +1,11 @@
+---
+"@spectrum-css/colorslider": minor
+---
+
+## S2 colorslider migration
+
+This migrates the `colorslider` component to S2. Custom properties have been remapped per the design spec.
+
+| Before | After |
+| ------------------------- | -------------------------- |
+| `--spectrum-gray-900-rgb` | `--spectrum-gray-1000-rgb` |
diff --git a/.changeset/slow-eyes-lay.md b/.changeset/slow-eyes-lay.md
new file mode 100644
index 00000000000..f9db30ddad7
--- /dev/null
+++ b/.changeset/slow-eyes-lay.md
@@ -0,0 +1,38 @@
+---
+"@spectrum-css/divider": major
+---
+
+# S2 divider migration
+
+This migrates the `divider` component to S2. Custom properties have been remapped and updated per the design spec.
+
+### New properties
+
+```css
+--spectrum-divider-horizontal-minimum-width
+--spectrum-divider-vertical-minimum-height
+```
+
+### New mods
+
+```css
+--mod-divider-inline-minimum-size
+--mod-divider-block-minimum-size
+```
+
+### Removed mods
+
+```css
+--mod-divider-background-color-large-static-black
+--mod-divider-background-color-large-static-white
+--mod-divider-background-color-medium-static-black
+--mod-divider-background-color-medium-static-white
+--mod-divider-background-color-small-static-black
+--mod-divider-background-color-small-static-white
+```
+
+### Additions
+
+This adds new minimum width and height tokens for the divider and the `minDimensionValues` arg has been removed in favor of these tokens and the rules with which they're applied.
+
+The default size for the Storybook control has been changed to `medium` (the new default size for the component). All sizes are now displayed for the static color variants in the docs.
diff --git a/.changeset/small-impalas-search.md b/.changeset/small-impalas-search.md
new file mode 100644
index 00000000000..53317c408e0
--- /dev/null
+++ b/.changeset/small-impalas-search.md
@@ -0,0 +1,10 @@
+---
+"@spectrum-css/statuslight": patch
+---
+
+Removes references to the accent variant, since the accent status light was deprecated in S2.
+
+Removed variant:
+
+`.spectrum-StatusLight--accent`
+`--spectrum-statuslight-semantic-accent-color`
diff --git a/.changeset/spotty-onions-study.md b/.changeset/spotty-onions-study.md
new file mode 100644
index 00000000000..40bed0dd1dd
--- /dev/null
+++ b/.changeset/spotty-onions-study.md
@@ -0,0 +1,7 @@
+---
+"@spectrum-css/colorarea": major
+---
+
+# S2 migration
+
+This change migrates the `colorarea` component to S2. It leverages updated tokens and the `rgba(...)` color function, replacing the existing `TODO` and hardcoded values.
diff --git a/.changeset/strange-glasses-allow.md b/.changeset/strange-glasses-allow.md
new file mode 100644
index 00000000000..941d18b4417
--- /dev/null
+++ b/.changeset/strange-glasses-allow.md
@@ -0,0 +1,7 @@
+---
+"@spectrum-css/colorloupe": major
+---
+
+## Spectrum 2 migration
+
+Migrates color loupe to Spectrum 2 tokens. Color loupe now uses the new drop shadow tokens `--spectrum-drop-shadow-elevated-x`, `--spectrum-drop-shadow-elevated-y`, `--spectrum-drop-shadow-elevated-blur`, and `--spectrum-drop-shadow-elevated-color` rather than specific color loupe tokens.
diff --git a/.changeset/tame-bobcats-beam.md b/.changeset/tame-bobcats-beam.md
new file mode 100644
index 00000000000..aec1388e32f
--- /dev/null
+++ b/.changeset/tame-bobcats-beam.md
@@ -0,0 +1,19 @@
+---
+"@spectrum-css/alertbanner": major
+---
+
+## Spectrum 2 migration
+
+Alert banner now uses Spectrum 2 tokens and specifications. In this new design, the divider has been removed.
+
+The following changes have been made to the mod custom properties:
+
+- `--mod-alert-banner-size` was renamed to `--mod-alert-banner-inline-size`
+- `--mod-alert-banner-neutral-background` was previously misspelled. The mod `--mod-alert-banner-background` was also added, which will take precendence over the variant background mods.
+- `--mod-alert-banner-top-text` was renamed to `--mod-alert-banner-top-to-text`
+- `--mod-alert-banner-top-icon` was renamed to `--mod-alert-banner-top-to-icon`
+- `--mod-alert-banner-bottom-text` was renamed to `--mod-alert-banner-bottom-to-text`
+- `--mod-alert-banner-start-edge` was renamed to `--mod-alert-banner-inline-start-to-content`
+- `--mod-alert-banner-edge-to-button` was renamed to `--mod-alert-banner-block-edge-to-button`
+- The spacing on either side of the close button is now controlled by two separate mods; `--mod-alert-banner-close-button-to-inline-end` and `--mod-alert-banner-close-button-to-content`. The previous `--mod-alert-banner-close-button-spacing` has been removed.
+- A new mod `--mod-alert-banner-inline-end-to-content` was added, which handles the inline end spacing when the alert banner does not have a close button. Or when there is neither a close button or an action button.
diff --git a/.changeset/tame-knives-train.md b/.changeset/tame-knives-train.md
new file mode 100644
index 00000000000..2c774a96d25
--- /dev/null
+++ b/.changeset/tame-knives-train.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/icon": major
+---
+
+Updates the icon component to use the new Spectrum 2 icon sets. The `.spectrum-UIIcon--medium` and `.spectrum-UIIcon--large` classes have been removed, as UI icons are now delivered with a single SVG. The color property also now makes use of the `--iconPrimary` custom property that is defined in some of the SVG files. Storybook has been updated to use and load the new SVGs, whose name format and directories have changed.
diff --git a/.changeset/tasty-eagles-draw.md b/.changeset/tasty-eagles-draw.md
new file mode 100644
index 00000000000..95a768f410e
--- /dev/null
+++ b/.changeset/tasty-eagles-draw.md
@@ -0,0 +1,31 @@
+---
+"@spectrum-css/link": major
+---
+
+### Link S2 migration
+
+The link component is updated with S2 specifications, colors, and typography. There is a new inline variant which uses the `.spectrum-Link--inline` modifier class and the default is the standalone variant.
+
+#### Note
+
+- Quiet styling does not apply to the inline variant so that it is distinguishable from the surrounding text and the underline indicator is clear
+- `--mod-spectrum-link-font-weight` can be used to adjust inline variant to match surrounding text. Apply font weights to this mod `inherit` does not apply.
+
+## New tokens
+
+### Color
+
+`spectrum-link-focus-indicator-color`
+`spectrum-link-focus-indicator-thickness`
+`spectrum-link-focus-indicator-gap`
+`spectrum-link-corner-radius`
+
+### Typography
+
+`spectrum-link-line-height`
+`spectrum-link-line-height-cjk-100`
+`spectrum-link-font-size`
+`spectrum-link-font-style`
+`spectrum-link-font-weight`
+`spectrum-link-text-underline-thickness`
+`spectrum-link-text-underline-gap`
diff --git a/.changeset/twenty-ravens-divide.md b/.changeset/twenty-ravens-divide.md
new file mode 100644
index 00000000000..01f7271a5fe
--- /dev/null
+++ b/.changeset/twenty-ravens-divide.md
@@ -0,0 +1,8 @@
+---
+"@spectrum-css/coachmark": minor
+---
+
+CSS references to popover custom properties/tokens were updated to reflect some mod name changes in the S2 popover (#3365). The corner radius token was updated to correspond to the new S2 popover corner radius, as well as some updated popover mod names:
+
+- `--mod-popover-content-area-spacing-vertical` was updated to `--mod-popover-content-area-spacing`.
+- `--spectrum-border-width-100` was updated to `--spectrum-corner-radius-large-default`
diff --git a/.changeset/twenty-tables-know.md b/.changeset/twenty-tables-know.md
new file mode 100644
index 00000000000..9f18ef93a5f
--- /dev/null
+++ b/.changeset/twenty-tables-know.md
@@ -0,0 +1,10 @@
+---
+"@spectrum-css/opacitycheckerboard": major
+"@spectrum-css/thumbnail": minor
+---
+
+# S2 migration
+
+Adds thumbnail specific `thumbnail-opacity-checkerboard-square-size` token aliased to `--spectrum-opacity-checkerboard-size`. This impacts the display of the `opacity-checkerboard` when used within the `thumbnail` component.
+
+This also corrects an issue with a token name in the `thumbnail` component by renaming `--spectrum-thumbnail-border-color-opacity` to `--spectrum-thumbnail-border-opacity`.
diff --git a/.env.example b/.env.example
index b8c80f47bb1..86a0b5a23fd 100644
--- a/.env.example
+++ b/.env.example
@@ -20,3 +20,6 @@ WATCH_MODE=true
NX_VERBOSE_LOGGING=false
NX_SKIP_NX_CACHE=false
NX_PERF_LOGGING=false
+
+ARTIFACTORY_API_KEY=
+ARTIFACTORY_API_TOKEN=
diff --git a/.github/QUICK-START.md b/.github/QUICK-START.md
index 963eb0580fb..4b97fcab7e8 100644
--- a/.github/QUICK-START.md
+++ b/.github/QUICK-START.md
@@ -3,6 +3,7 @@
This guide will show you how to quickly install Spectrum CSS and use it to display the Button component.
## Install using Node/yarn
+
Install the components you want along with their dependencies. Here's an example:
```shell
@@ -12,26 +13,34 @@ yarn add -DW @spectrum-css/tokens @spectrum-css/typography @spectrum-css/page @s
Spectrum CSS components utilize custom properties in order to change themes and scales. For these to apply, a couple of classes need to be added to the document’s `` tag based on the [visual language](https://github.com/adobe/spectrum-css?tab=readme-ov-file#visual-language), [scale](https://github.com/adobe/spectrum-css?tab=readme-ov-file#scales), and [theme](https://github.com/adobe/spectrum-css?tab=readme-ov-file#themes-colorstops) you wish to use. For example, the following code snippet will display styling for the default Spectrum visual language using medium scale and light color theme:
```html
-
+
```
-Use the `index.css` files in your project to include component and global styles ([Spectrum and Express contexts](https://github.com/adobe/spectrum-css?tab=readme-ov-file#visual-language), [background theme/colorstop](https://github.com/adobe/spectrum-css?tab=readme-ov-file#themes-colorstops), [platform scaling](https://github.com/adobe/spectrum-css?tab=readme-ov-file#scales), etc.) for the component. If you don't need all of the global styles, peek at the docs for [including assets](https://github.com/adobe/spectrum-css?tab=readme-ov-file#including-assets)). Use this file by including the stylesheet (plus stylesheets for dependencies) in the `
` tag:
+Use the `index.css` files in your project to include component and global styles ([background theme/colorstop](https://github.com/adobe/spectrum-css?tab=readme-ov-file#themes-colorstops), [platform scaling](https://github.com/adobe/spectrum-css?tab=readme-ov-file#scales), etc.) for the component. If you don't need all of the global styles, peek at the docs for [including assets](https://github.com/adobe/spectrum-css?tab=readme-ov-file#including-assets)). Use this file by including the stylesheet (plus stylesheets for dependencies) in the `` tag:
```html
-
-
+
+
-
-
+
+
```
Inside the `` tag, add the markup for your component (Spectrum button in our example). The example also includes the CSS class names `spectrum-Button--fill` and `spectrum-Button--accent`, to use the accent variant:
```html
-
- Button
+
+ Button
```
@@ -39,18 +48,26 @@ To put it all together, your final html file will look like this:
```html
-
-
-
-
-
-
-
- Button
-
-
+
+
+
+
+
+
+ Button
+
+
```
## Include files from a CDN
+
Another way to include Spectrum CSS components in your project is to use a CDN to link to the components you want, plus their dependencies, in the `` tag of your HTML. If you choose to use a CDN, please note that Spectrum CSS doesn't manage a CDN, cannot confirm the availability or up-time of external CDNs, and doesn't recommend using a CDN for Spectrum CSS in a production environment.
diff --git a/.github/actions/file-diff/README.md b/.github/actions/file-diff/README.md
index 69ee1c91426..e20ef0d7b0b 100644
--- a/.github/actions/file-diff/README.md
+++ b/.github/actions/file-diff/README.md
@@ -44,9 +44,8 @@ Total size of all files for this branch in bytes.
name: Compare compiled output file size
uses: "spectrum-tools/gh-action-file-diff"
with:
- head-path: ${{ github.workspace }}/pull-request
- base-path: ${{ github.workspace }}/base-branch
- file-glob-pattern: |
- components/*/dist/*.{css,json}
- components/*/dist/themes/*.css
+ head-path: ${{ github.workspace }}/pull-request
+ base-path: ${{ github.workspace }}/base-branch
+ file-glob-pattern: |
+ components/*/dist/*.{css,json}
```
diff --git a/.github/workflows/development.yml b/.github/workflows/development.yml
index 6924bb4dfbc..34cc8ee981b 100644
--- a/.github/workflows/development.yml
+++ b/.github/workflows/development.yml
@@ -100,8 +100,6 @@ jobs:
files_yaml: |
styles:
- components/*/index.css
- - components/*/themes/spectrum.css
- - components/*/themes/express.css
eslint:
- components/*/stories/*.js
mdlint:
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 94e49aeea96..e5a9977ce0f 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -102,9 +102,10 @@ jobs:
filter_mode: diff_context
level: error
reporter: github-pr-review
- # stylelint_input: "components/*/index.css components/*/themes/*.css"
+ # stylelint_input: "components/*/index.css"
stylelint_input: "${{ inputs.styles_added_files }} ${{ inputs.styles_modified_files }}"
stylelint_config: "${{ github.workspace }}/stylelint.config.js"
+ packages: 'stylelint-header stylelint-config-standard stylelint-selector-bem-pattern stylelint-order stylelint-use-logical'
- name: Run eslint on packages and stories
uses: reviewdog/action-eslint@v1.33.0
diff --git a/.github/workflows/vrt.yml b/.github/workflows/vrt.yml
index a8944aeecd4..d90c0d89a3d 100644
--- a/.github/workflows/vrt.yml
+++ b/.github/workflows/vrt.yml
@@ -4,6 +4,7 @@ on:
push:
branches:
- main
+ - spectrum-two
- "!changeset-release/**"
- "!dependabot/**"
workflow_dispatch:
diff --git a/.gitignore b/.gitignore
index 28c3ba85761..ced1b16e59f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,7 @@
**/dist/*
!components/*/dist/metadata.json
!tokens/dist/json/*
+!ui-icons/dist
# Not committing the map assets, these are dev-only
*.map
diff --git a/.storybook/CHANGELOG.md b/.storybook/CHANGELOG.md
index 0f4df6cc862..1538bb14d04 100644
--- a/.storybook/CHANGELOG.md
+++ b/.storybook/CHANGELOG.md
@@ -503,7 +503,6 @@ This component has been deprecated. Use an action bar to allow users to perform
### 🛑 BREAKING CHANGE
- @spectrum-css/icon will no longer contain SVG assets; it will be a purely CSS package with all SVG assets migrated to the new @spectrum-css/ui-icons package.
-
- NEW: @spectrum-css/ui-icons package for all SVG icons in the UI set.
## 6.0.1
diff --git a/.storybook/assets/base.css b/.storybook/assets/base.css
index fbf3f32e582..e5886de13ec 100644
--- a/.storybook/assets/base.css
+++ b/.storybook/assets/base.css
@@ -34,9 +34,12 @@ body {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0%);
}
-.spectrum.spectrum--legacy {
- color: var(--spectrum-neutral-content-color-default);
- background-color: var(--spectrum-background-layer-1-color);
+.spectrum .spectrum-examples-static-black {
+ background: var(--spectrum-examples-gradient-static-black);
+}
+
+.spectrum .spectrum-examples-static-white {
+ background: var(--spectrum-examples-gradient-static-white);
}
/* Hide the SVG elements that only include references */
diff --git a/.storybook/assets/images/dropzone-illustration.png b/.storybook/assets/images/dropzone-illustration.png
new file mode 100644
index 00000000000..dcc34b9f97b
Binary files /dev/null and b/.storybook/assets/images/dropzone-illustration.png differ
diff --git a/.storybook/assets/index.css b/.storybook/assets/index.css
index 95b4d83897d..b18c09d34ce 100644
--- a/.storybook/assets/index.css
+++ b/.storybook/assets/index.css
@@ -119,4 +119,11 @@ select:focus,
border-color: rgb(2, 101, 220) !important;
box-shadow: rgb(2, 101, 220) 0 0 0 1px inset !important;
}
+
+nav.sidebar-container,
+div.sb-bar {
+ color: var(--spectrum-neutral-content-color-default) !important;
+ background-color: var(--spectrum-background-layer-2-color) !important;
+}
+
/* stylelint-enable selector-class-pattern */
diff --git a/.storybook/blocks/utilities.js b/.storybook/blocks/utilities.js
index 204cb83a2e6..40c67f4d4cc 100644
--- a/.storybook/blocks/utilities.js
+++ b/.storybook/blocks/utilities.js
@@ -1,4 +1,3 @@
-import legacy from "@spectrum-css/tokens-legacy/dist/json/tokens.json";
import spectrum from "@spectrum-css/tokens/dist/json/tokens.json";
import { useTheme } from "@storybook/theming";
@@ -50,15 +49,10 @@ function parseData(data, { key, color, platform }) {
* @param {string} context.context - The theme context set globally for the page
* @returns {{ color: string, scale: string, context: string, platform: "desktop"|"mobile" }} - An object containing the calculated theme context
*/
-function fetchTheme({ color, scale, context } = {}) {
+function fetchTheme({ color, scale } = {}) {
// Fetch the theme if it exists; this data exists if wrapped in a ThemeProvider
const theme = useTheme() ?? {};
- // If the context is not provided, use the theme value or a fallback
- if (typeof context !== "string" && typeof theme.context == "string")
- context = theme.context;
- else if (!context) context = "spectrum";
-
// If the color or scale is not provided, use the theme values or a fallback
if (typeof color !== "string" && typeof theme.color == "string")
color = theme.color;
@@ -70,9 +64,8 @@ function fetchTheme({ color, scale, context } = {}) {
// Create a platform context based on the scale (platform used in the token data)
const platform = scale === "medium" ? "desktop" : "mobile";
- const tokens = context === "spectrum" ? spectrum : legacy;
- return { color, scale, context, platform, tokens };
+ return { color, scale, platform, tokens: (spectrum ?? {}) };
}
/**
@@ -110,7 +103,7 @@ export function fetchTokenSet(key, presets = {}) {
}
// Fetch the theme if it exists; this data exists if wrapped in a ThemeProvider
- const { color, platform, tokens } = fetchTheme(presets);
+ const { color, platform, tokens = {} } = fetchTheme(presets);
// Check the token data for a set of tokens matching the provided regex
const tokenSet = Object.keys(tokens)
diff --git a/.storybook/decorators/context.js b/.storybook/decorators/context.js
index 0ad4bb758aa..cc147ee10cd 100644
--- a/.storybook/decorators/context.js
+++ b/.storybook/decorators/context.js
@@ -1,7 +1,6 @@
import { makeDecorator, useEffect } from "@storybook/preview-api";
import { fetchContainers, toggleStyles } from "./helpers.js";
-import legacyTokens from "@spectrum-css/tokens-legacy/dist/index.css?inline";
import tokens from "@spectrum-css/tokens/dist/css/index.css?inline";
/**
@@ -19,7 +18,6 @@ export const withContextWrapper = makeDecorator({
} = {},
globals: {
color = "light",
- context = "spectrum",
scale = "medium",
} = {},
parameters: {
@@ -31,35 +29,26 @@ export const withContextWrapper = makeDecorator({
const staticColorSettings = {
"black": {
- background: "var(--spectrum-docs-static-black-background-color)",
+ background: "var(--spectrum-examples-gradient-static-black)",
color: "light"
},
"white": {
- background: "var(--spectrum-docs-static-white-background-color)",
+ background: "var(--spectrum-examples-gradient-static-white)",
color: "dark"
},
};
- const original = {
- color,
- context,
- scale,
- };
+ const original = { color, scale };
useEffect(() => {
const isDocs = viewMode === "docs";
const isTesting = showTestingGrid;
- const isRaw = Boolean(context === "raw");
- const isModern = Boolean(context === "spectrum");
- const isExpress = Boolean(context === "express");
-
- if (!isRaw) {
- // add the default classes to the body to ensure labels, headings, and borders are styled correctly
- document.body.classList.add("spectrum", "spectrum--light", "spectrum--medium");
- }
// Start by attaching the appropriate tokens to the container
- toggleStyles(document.body, "tokens", isModern ? tokens : legacyTokens, !isRaw, context);
+ toggleStyles(document.body, "tokens", tokens, true);
+
+ // add the default classes to the body to ensure labels, headings, and borders are styled correctly
+ document.body.classList.add("spectrum", "spectrum--light", "spectrum--medium");
for (const container of fetchContainers(id, isDocs, isTesting)) {
// Check if the container is a testing wrapper to prevent applying colors around the testing grid
@@ -69,7 +58,6 @@ export const withContextWrapper = makeDecorator({
// Reset the context to the original values
color = original.color;
- context = original.context;
scale = original.scale;
let staticKey = staticColor;
@@ -84,20 +72,7 @@ export const withContextWrapper = makeDecorator({
if (!staticKey) hasStaticElement = false;
// Every container gets the spectrum class
- container.classList.toggle("spectrum", !isRaw);
-
- // S1 and S1 Express get the legacy class
- container.classList.toggle("spectrum--legacy", !isModern && !isRaw);
-
- // Express only gets the express class
- container.classList.toggle("spectrum--express", isExpress && !isRaw);
-
- // Darkest is deprecated in Spectrum 2
- if (isModern && color === "darkest") {
- /* eslint-disable no-console -- notify that darkest was deprecated in S2 */
- console.warn("The 'darkest' color is deprecated in Spectrum 2. Please use 'dark' instead.");
- color = "dark";
- }
+ container.classList.toggle("spectrum", true);
// Let the static color override the color if it's set
if (!isTestingWrapper && hasStaticElement && staticColorSettings[staticKey]?.color) {
@@ -110,12 +85,12 @@ export const withContextWrapper = makeDecorator({
color = "light";
}
- for (let c of ["light", "dark", "darkest"]) {
- container.classList.toggle(`spectrum--${c}`, c === color && !isRaw);
+ for (let c of ["light", "dark"]) {
+ container.classList.toggle(`spectrum--${c}`, c === color);
}
for (const s of ["medium", "large"]) {
- container.classList.toggle(`spectrum--${s}`, s === scale && !isRaw);
+ container.classList.toggle(`spectrum--${s}`, s === scale);
}
if (!isTestingWrapper) {
@@ -129,7 +104,7 @@ export const withContextWrapper = makeDecorator({
}
}
- }, [context, color, scale, viewMode, original, staticColor, rootClass, tokens, legacyTokens, staticColorSettings, showTestingGrid]);
+ }, [viewMode, original, staticColor, color, scale, rootClass, tokens, staticColorSettings, showTestingGrid]);
return StoryFn(data);
},
diff --git a/.storybook/decorators/down-state.js b/.storybook/decorators/down-state.js
new file mode 100644
index 00000000000..31ba5ed5133
--- /dev/null
+++ b/.storybook/decorators/down-state.js
@@ -0,0 +1,40 @@
+import { makeDecorator, useEffect } from "@storybook/preview-api";
+import { fetchContainers } from "./helpers.js";
+
+export const withDownStateDimensionCapture = makeDecorator({
+ name: "withDownStateDimensionCapture",
+ parameterName: "downState",
+ wrapper: (StoryFn, context) => {
+ const { args = {}, parameters = {}, viewMode, id } = context;
+
+ /* Selectors are defined in the downState parameter */
+ const {
+ // Fall back to the rootClass if no selectors are provided
+ selectors = args.rootClass ? [ args.rootClass ] : []
+ } = parameters.downState ?? {};
+
+ /**
+ * This effect will run after the component is rendered and will capture the dimensions of the
+ * components that are specified in the selectors array. It will then set the custom properties
+ * --spectrum-downstate-width and --spectrum-downstate-height on the component to the width and
+ * height of the component respectively. This will allow the downstate to be calculated correctly
+ * in the CSS.
+ */
+ useEffect(() => {
+ if (selectors.length === 0) return;
+
+ for (const container of fetchContainers(id, viewMode === "docs")) {
+ for (const selector of selectors) {
+ const components = [...container.querySelectorAll(selector)];
+ for (const component of components) {
+ const { width, height } = component.getBoundingClientRect();
+ component.style.setProperty("--spectrum-downstate-width", `${width}px`);
+ component.style.setProperty("--spectrum-downstate-height", `${height}px`);
+ }
+ }
+ }
+ }, [selectors]);
+
+ return StoryFn(context);
+ },
+});
diff --git a/.storybook/decorators/icon-sprites.js b/.storybook/decorators/icon-sprites.js
index 48f045eea8a..b576632bcab 100644
--- a/.storybook/decorators/icon-sprites.js
+++ b/.storybook/decorators/icon-sprites.js
@@ -1,5 +1,5 @@
// Used in the icon sprite decorator to inject the sprite sheets into the document
-import workflowSprite from "@adobe/spectrum-css-workflow-icons/dist/spectrum-icons.svg?raw";
+import workflowSprite from "@adobe/spectrum-css-workflow-icons/dist/assets/svg-spriteSheet/icons.svg?raw";
import uiSprite from "@spectrum-css/ui-icons/dist/spectrum-css-icons.svg?raw";
import { makeDecorator, useEffect } from "@storybook/preview-api";
@@ -14,9 +14,6 @@ export const withIconSpriteSheet = makeDecorator({
loaded = {},
} = context;
- // Load the icons into the window object
- if (loaded.icons) window.icons = loaded.icons;
-
useEffect(() => {
// Inject the sprite sheets into the document
let sprite = document.getElementById("spritesheets");
diff --git a/.storybook/decorators/index.js b/.storybook/decorators/index.js
index 059919173ba..f44d173b22a 100644
--- a/.storybook/decorators/index.js
+++ b/.storybook/decorators/index.js
@@ -13,6 +13,7 @@
export { withArgEvents } from "./arg-events.js";
export { withContextWrapper } from "./context.js";
+export { withDownStateDimensionCapture } from "./down-state.js";
export { withIconSpriteSheet } from "./icon-sprites.js";
export { withLanguageWrapper } from "./language.js";
export { withReducedMotionWrapper } from "./reduce-motion.js";
diff --git a/.storybook/foundations/corner-rounding/action-button-corner-rounding.stories.js b/.storybook/foundations/corner-rounding/action-button-corner-rounding.stories.js
new file mode 100644
index 00000000000..c944ca467ab
--- /dev/null
+++ b/.storybook/foundations/corner-rounding/action-button-corner-rounding.stories.js
@@ -0,0 +1,98 @@
+import { Template } from "@spectrum-css/actionbutton/stories/template.js";
+import { html } from "lit";
+
+export default {
+ title: "Corner rounding",
+ description:
+ "The action button component represents an action a user can take.",
+ component: "ActionButton",
+ args: {
+ rootClass: "spectrum-ActionButton",
+ },
+ parameters: {
+ actions: {
+ handles: ["click .spectrum-ActionButton:not([disabled])"],
+ },
+ },
+ tags: ['!dev'],
+};
+
+const ActionButton = (args, context) => html`
+
+ ${Template({ ...args, iconName: undefined }, context)}
+
+`;
+
+const ActionButtonTable = (args, context) => {
+ return html`
+
+
+
+ Token
+ Value
+ Medium example
+
+
+
+
+ --spectrum-corner-radius-medium-size-extra-small
+ 6px
+
+ ${ActionButton({
+ ...args,
+ label: "Extra Small",
+ size: "xs"
+ }, context)}
+
+
+
+ --spectrum-corner-radius-medium-size-small
+ 7px
+
+ ${ActionButton({
+ ...args,
+ label: "Small",
+ size: "s"
+ }, context)}
+
+
+
+ --spectrum-corner-radius-medium-size-medium
+ 8px
+
+ ${ActionButton({
+ ...args,
+ label: "Medium",
+ size: "m"
+ }, context)}
+
+
+
+ --spectrum-corner-radius-medium-size-large
+ 9px
+
+ ${ActionButton({
+ ...args,
+ label: "Large",
+ size: "l"
+ }, context)}
+
+
+
+ --spectrum-corner-radius-medium-size-extra-large
+ 10px
+
+ ${ActionButton({
+ ...args,
+ label: "Extra Large",
+ size: "xl"
+ }, context)}
+
+
+
+
+ `;
+};
+
+export const ActionButtonExamples = ActionButtonTable.bind({});
+ActionButtonExamples.args = {};
diff --git a/.storybook/foundations/corner-rounding/checkbox-corner-rounding.stories.js b/.storybook/foundations/corner-rounding/checkbox-corner-rounding.stories.js
new file mode 100644
index 00000000000..96aa3ce69c4
--- /dev/null
+++ b/.storybook/foundations/corner-rounding/checkbox-corner-rounding.stories.js
@@ -0,0 +1,88 @@
+// Import the component markup template
+import { Template } from "@spectrum-css/checkbox/stories/template.js";
+import { html } from "lit";
+
+export default {
+ title: "Corner rounding",
+ description:
+ "Checkboxes allow users to select multiple items from a list of individual items, or mark one individual item as selected.",
+ component: "Checkbox",
+ args: {
+ rootClass: "spectrum-Checkbox",
+ },
+ parameters: {
+ actions: {
+ handles: ['click input[type="checkbox"]'],
+ },
+ },
+ tags: ['!dev'],
+};
+
+const Checkbox = (args = {}, context = {}) => html`
+
+ ${Template({ ...args, iconName: undefined }, context)}
+
+`;
+
+const CheckboxTable = (args, context) => {
+ return html`
+
+
+
+ Token
+ Value
+ Small example
+
+
+
+
+ --spectrum-corner-radius-small-size-small
+ 3px
+
+ ${Checkbox({
+ ...args,
+ label: "Small",
+ size: "s"
+ }, context)}
+
+
+
+ --spectrum-corner-radius-small-size-medium
+ 4px
+
+ ${Checkbox({
+ ...args,
+ label: "Medium",
+ size: "m"
+ }, context)}
+
+
+
+ --spectrum-corner-radius-small-size-large
+ 5px
+
+ ${Checkbox({
+ ...args,
+ label: "Large",
+ size: "l"
+ }, context)}
+
+
+
+ --spectrum-corner-radius-small-size-extra-large
+ 6px
+
+ ${Checkbox({
+ ...args,
+ label: "Extra Large",
+ size: "xl"
+ }, context)}
+
+
+
+
+ `;
+}
+
+export const CheckboxExamples = CheckboxTable.bind({});
+CheckboxExamples.args = {};
diff --git a/.storybook/foundations/corner-rounding/component-size-tokens-medium.md b/.storybook/foundations/corner-rounding/component-size-tokens-medium.md
new file mode 100644
index 00000000000..f2201667866
--- /dev/null
+++ b/.storybook/foundations/corner-rounding/component-size-tokens-medium.md
@@ -0,0 +1,7 @@
+| Component size token | Alias token (if available) | Global token | Value |
+| ------------------------------------------------ | --------------------------------------- | ---------------------------- | ----- |
+| --spectrum-corner-radius-medium-size-extra-small | | --spectrum-corner-radius-300 | 6px |
+| --spectrum-corner-radius-medium-size-small | | --spectrum-corner-radius-400 | 7px |
+| --spectrum-corner-radius-medium-size-medium | --spectrum-corner-radius-medium-default | --spectrum-corner-radius-500 | 8px |
+| --spectrum-corner-radius-medium-size-large | | --spectrum-corner-radius-600 | 9px |
+| --spectrum-corner-radius-medium-size-extra-large | --spectrum-corner-radius-large-default | --spectrum-corner-radius-700 | 10px |
diff --git a/.storybook/foundations/corner-rounding/component-size-tokens-small.md b/.storybook/foundations/corner-rounding/component-size-tokens-small.md
new file mode 100644
index 00000000000..1fdcae6ad6d
--- /dev/null
+++ b/.storybook/foundations/corner-rounding/component-size-tokens-small.md
@@ -0,0 +1,6 @@
+| Component size token | Alias token (if available) | Global token | Value |
+|---------------------------------------------------|-------------------------------|------------------------------|-------|
+| --spectrum-corner-radius-small-size-small | | --spectrum-corner-radius-75 | 3px |
+| --spectrum-corner-radius-small-size-medium | --spectrum-corner-radius-small-default | --spectrum-corner-radius-100 | 4px |
+| --spectrum-corner-radius-small-size-large | | --spectrum-corner-radius-200 | 5px |
+| --spectrum-corner-radius-small-size-extra-large | | --spectrum-corner-radius-300 | 6px |
diff --git a/.storybook/foundations/corner-rounding/corner-rounding.mdx b/.storybook/foundations/corner-rounding/corner-rounding.mdx
new file mode 100644
index 00000000000..0af56f6e446
--- /dev/null
+++ b/.storybook/foundations/corner-rounding/corner-rounding.mdx
@@ -0,0 +1,26 @@
+import { Meta, Canvas, Story, Title, Unstyled } from '@storybook/blocks';
+import * as CornerRoundingStories from './corner-rounding.stories.js';
+import * as CheckboxStories from './checkbox-corner-rounding.stories.js';
+import * as ActionButtonStories from './action-button-corner-rounding.stories.js';
+
+
+
+
+
+## Default values
+
+
+
+## Component examples
+
+### Small tokens
+
+Checkbox includes small component size tokens to scale corner rounding.
+
+
+
+### Medium tokens
+
+Action button includes medium component size tokens to scale corner rounding.
+
+
diff --git a/.storybook/foundations/corner-rounding/corner-rounding.stories.js b/.storybook/foundations/corner-rounding/corner-rounding.stories.js
new file mode 100644
index 00000000000..1080abdf4d3
--- /dev/null
+++ b/.storybook/foundations/corner-rounding/corner-rounding.stories.js
@@ -0,0 +1,88 @@
+// Import the component markup template
+import { html } from "lit";
+import { Template } from "./template.js";
+
+export default {
+ title: "Corner rounding",
+ description:
+ "Corner rounding is a foundation that shows the different border-radius tokens that can be applied to a component.",
+ component: "Corner rounding",
+ args: {
+ rootClass: "spectrum-Foundations-Example-CornerRounding",
+ },
+ tags: ["!dev"],
+};
+
+const CornerRadiusGroup = (args = {}, context = {}) => html`
+
+
+
+
+ Token
+ Value
+ Example (No Border)
+ Example (Border)
+
+
+
+ ${Template(
+ {
+ ...args,
+ label: "--spectrum-corner-radius-none",
+ size: "none",
+ value: "0px",
+ },
+ context,
+ )}
+ ${Template(
+ {
+ ...args,
+ label: "--spectrum-corner-radius-small-default",
+ size: "s",
+ value: "4px",
+ },
+ context,
+ )}
+ ${Template(
+ {
+ ...args,
+ label: "--spectrum-corner-radius-medium-default",
+ size: "m",
+ value: "8px",
+ },
+ context,
+ )}
+ ${Template(
+ {
+ ...args,
+ label: "--spectrum-corner-radius-large-default",
+ size: "l",
+ value: "10px",
+ },
+ context,
+ )}
+ ${Template(
+ {
+ ...args,
+ label: "--spectrum-corner-radius-extra-large-default",
+ size: "xl",
+ value: "16px",
+ },
+ context,
+ )}
+ ${Template(
+ {
+ ...args,
+ label: "--spectrum-corner-radius-full",
+ size: "full",
+ value: "9999px",
+ },
+ context,
+ )}
+
+
+
+`;
+
+export const CornerRounding = CornerRadiusGroup.bind({});
+CornerRounding.args = {};
diff --git a/.storybook/foundations/corner-rounding/index.css b/.storybook/foundations/corner-rounding/index.css
new file mode 100644
index 00000000000..d11cbe7823d
--- /dev/null
+++ b/.storybook/foundations/corner-rounding/index.css
@@ -0,0 +1,57 @@
+/*!
+ * Copyright 2024 Adobe. All rights reserved.
+ *
+ * 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
+ *
+ * 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
+ * governing permissions and limitations under the License.
+ */
+
+.spectrum-Foundations-Example-CornerRounding-table {
+ border-spacing: 1rem 0;
+ margin-inline-start: -1rem;
+}
+
+.spectrum-Foundations-Example-CornerRounding-table th {
+ text-align: start;
+}
+
+.spectrum-Foundations-Example-CornerRounding {
+ inline-size: 3rem;
+ block-size: 3rem;
+ margin: 0.5rem;
+ background-color: var(--spectrum-gray-500);
+}
+
+.spectrum-Foundations-Example-CornerRounding--border {
+ background-color: var(--spectrum-gray-25);
+ border: var(--spectrum-border-width-200) solid var(--spectrum-gray-700);
+}
+
+.spectrum-Foundations-Example-CornerRounding--none {
+ border-radius: var(--spectrum-corner-radius-none);
+}
+
+.spectrum-Foundations-Example-CornerRounding--sizeS {
+ border-radius: var(--spectrum-corner-radius-small-default);
+}
+
+.spectrum-Foundations-Example-CornerRounding--sizeM {
+ border-radius: var(--spectrum-corner-radius-medium-default);
+}
+
+.spectrum-Foundations-Example-CornerRounding--sizeL {
+ border-radius: var(--spectrum-corner-radius-large-default);
+}
+
+.spectrum-Foundations-Example-CornerRounding--sizeXL {
+ border-radius: var(--spectrum-corner-radius-extra-large-default);
+}
+
+.spectrum-Foundations-Example-CornerRounding--full {
+ border-radius: var(--spectrum-corner-radius-full);
+}
diff --git a/.storybook/foundations/corner-rounding/template.js b/.storybook/foundations/corner-rounding/template.js
new file mode 100644
index 00000000000..bd000575982
--- /dev/null
+++ b/.storybook/foundations/corner-rounding/template.js
@@ -0,0 +1,40 @@
+import { html } from "lit";
+import { classMap } from "lit/directives/class-map.js";
+
+import "./index.css";
+
+const getSizeModifier = (size) => {
+ if (size === "none" || size === "full") return size;
+ return `size${size.toUpperCase()}`;
+};
+
+export const Template = ({
+ rootClass = "spectrum-Foundations-Example-CornerRounding",
+ size = "none",
+ label,
+ value,
+}) => html`
+
+ ${label}
+ ${value}
+
+
+
+
+
+
+
+`;
diff --git a/.storybook/foundations/down-state/button-down-state.stories.js b/.storybook/foundations/down-state/button-down-state.stories.js
new file mode 100644
index 00000000000..0d85100133e
--- /dev/null
+++ b/.storybook/foundations/down-state/button-down-state.stories.js
@@ -0,0 +1,27 @@
+import { Template } from "@spectrum-css/button/stories/template.js";
+
+export default {
+ title: "Down state",
+ description:
+ "Buttons allow users to perform an action or to navigate to another page. They have multiple styles for various needs, and are ideal for calling attention to where a user needs to do something in order to move forward in a flow.",
+ component: "Button",
+ args: {
+ rootClass: "spectrum-Button",
+ },
+ parameters: {
+ actions: {
+ handles: ["click .spectrum-Button"],
+ },
+ },
+ tags: ["!dev"],
+};
+
+export const ButtonDownState = Template.bind({});
+ButtonDownState.args = {
+ label: "Edit",
+ variant: "accent",
+ customStyles: {
+ "--spectrum-downstate-width": "72px",
+ "--spectrum-downstate-height": "32px"
+ }
+};
diff --git a/.storybook/foundations/down-state/checkbox-down-state.stories.js b/.storybook/foundations/down-state/checkbox-down-state.stories.js
new file mode 100644
index 00000000000..88ca9f3a5d9
--- /dev/null
+++ b/.storybook/foundations/down-state/checkbox-down-state.stories.js
@@ -0,0 +1,22 @@
+import { Template } from "@spectrum-css/checkbox/stories/template.js";
+
+export default {
+ title: "Down state",
+ description:
+ "Checkboxes allow users to select multiple items from a list of individual items, or mark one individual item as selected.",
+ component: "Checkbox",
+ args: {
+ rootClass: "spectrum-Checkbox",
+ },
+ parameters: {
+ actions: {
+ handles: ["click input[type=\"checkbox\"]"],
+ },
+ },
+ tags: ["!dev"],
+};
+
+export const CheckboxDownState = Template.bind({});
+CheckboxDownState.args = {
+ label: "Checkbox",
+};
diff --git a/.storybook/foundations/down-state/down-state.mdx b/.storybook/foundations/down-state/down-state.mdx
new file mode 100644
index 00000000000..5933bff7604
--- /dev/null
+++ b/.storybook/foundations/down-state/down-state.mdx
@@ -0,0 +1,44 @@
+import { Meta, Story } from '@storybook/blocks';
+import * as Checkbox from './checkbox-down-state.stories.js';
+import * as Button from './button-down-state.stories.js';
+
+
+
+# Down state
+
+Down state is a Spectrum 2 feature that creates the illusion of components being pressed-in when active. This functionality is already included in Spectrum 2 components that require down state in this project. It is implemented with a CSS transform. The implementation depends on the size of the interactable element, as shown in the examples below.
+
+## Examples
+
+### Minimum perspective
+
+For elements that have a width of 24px or less, the minimum perspective token is used to apply the down state. One example of a component that uses this token is the checkbox:
+
+
+
+In this case, we use the minimum perspective token:
+
+```
+transform:
+ perspective(var(--spectrum-component-size-minimum-perspective-down))
+ translateZ(var(--spectrum-component-size-difference-down));
+```
+
+### Calculated perspective
+
+For elements that have a width of greater than 24px, we need to use the component's width and height to apply the down state. One example of a component that uses this logic is the button:
+
+
+
+In this case, we use a max formula to calculate the perspective based on component width and height (this helps us account for components that may be very wide):
+
+```
+transform:
+ perspective(max(
+ var(--spectrum-downstate-height),
+ var(--spectrum-downstate-width) * var(--spectrum-component-size-width-ratio-down)
+ ))
+ translateZ(var(--spectrum-component-size-difference-down));
+```
+
+*Note that in this case, users are required to develop an implementation to determine the width and height of the component. Assign these values to the `--spectrum-downstate-width` and `--spectrum-downstate-height` custom properties in a `style` attribute on the HTML element to expose them for use in the CSS.*
diff --git a/.storybook/foundations/drop-shadow/drop-shadow.mdx b/.storybook/foundations/drop-shadow/drop-shadow.mdx
new file mode 100644
index 00000000000..a8d6f298632
--- /dev/null
+++ b/.storybook/foundations/drop-shadow/drop-shadow.mdx
@@ -0,0 +1,86 @@
+import { Meta, Title, Story, Description } from '@storybook/blocks';
+import * as DropShadowStories from './drop-shadow.stories.js';
+
+
+
+
+
+
+
+Drop shadow tokens may be used for box shadows or drop shadows in CSS. Using `box-shadow` is often preferable to using `filter: drop-shadow()`, but in situations where the shadow must be applied to the alpha channel of the content rather than the border box, or if `box-shadow` is already being used for a different purpose, such as a focus outline, `filter: drop-shadow()` may be used. Note that in cases where `filter: drop-shadow()` is used, the shadow may be more blurred than the design spec due to a difference in how the blur parameter is calculated, and an adjustment by half may be needed.
+
+The opacity values in dark shadow colors are 3x the light values.
+
+These single-layer shadows are an interim solution for shadows until complex tokens (additional design data for the Spectrum Tokens system) are available to support multi-layer shadows.
+
+## Emphasized Default
+This shadow is used to provide emphasis to containers within a page.
+
+### `box-shadow`
+
+```
+box-shadow:
+ var(--spectrum-drop-shadow-emphasized-default-x)
+ var(--spectrum-drop-shadow-emphasized-default-y)
+ var(--spectrum-drop-shadow-emphasized-default-blur)
+ var(--spectrum-drop-shadow-emphasized-default-color);
+```
+
+### `filter: drop-shadow()`
+
+```
+filter: drop-shadow(
+ var(--spectrum-drop-shadow-emphasized-default-x)
+ var(--spectrum-drop-shadow-emphasized-default-y)
+ calc(var(--spectrum-drop-shadow-emphasized-default-blur) / 2)
+ var(--spectrum-drop-shadow-emphasized-default-color)
+);
+```
+
+## Emphasized Hover
+If the whole container is interactive, such as in a select box, the shadow becomes elevated on hover.
+
+### `box-shadow`
+
+```
+box-shadow:
+ var(--spectrum-drop-shadow-emphasized-hover-x)
+ var(--spectrum-drop-shadow-emphasized-hover-y)
+ var(--spectrum-drop-shadow-emphasized-hover-blur)
+ var(--spectrum-drop-shadow-emphasized-hover-color);
+```
+
+### `filter: drop-shadow()`
+
+```
+filter: drop-shadow(
+ var(--spectrum-drop-shadow-emphasized-hover-x)
+ var(--spectrum-drop-shadow-emphasized-hover-y)
+ calc(var(--spectrum-drop-shadow-emphasized-hover-blur) / 2)
+ var(--spectrum-drop-shadow-emphasized-hover-color)
+);
+```
+
+## Elevated
+Elevated shadows can be used on containers that appear on top of content, such as menus, coach marks, popovers, and floating bar panels.
+
+### `box-shadow`
+
+```
+box-shadow:
+ var(--spectrum-drop-shadow-elevated-x)
+ var(--spectrum-drop-shadow-elevated-y)
+ var(--spectrum-drop-shadow-elevated-blur)
+ var(--spectrum-drop-shadow-elevated-color);
+```
+
+### `filter: drop-shadow()`
+
+```
+filter: drop-shadow(
+ var(--spectrum-drop-shadow-elevated-x)
+ var(--spectrum-drop-shadow-elevated-y)
+ calc(var(--spectrum-drop-shadow-elevated-blur) / 2)
+ var(--spectrum-drop-shadow-elevated-color)
+);
+```
diff --git a/.storybook/foundations/drop-shadow/drop-shadow.stories.js b/.storybook/foundations/drop-shadow/drop-shadow.stories.js
new file mode 100644
index 00000000000..6d936af9411
--- /dev/null
+++ b/.storybook/foundations/drop-shadow/drop-shadow.stories.js
@@ -0,0 +1,89 @@
+import { html } from "lit";
+import { classMap } from "lit/directives/class-map.js";
+import "./index.css";
+
+export default {
+ title: "Drop shadow",
+ description:
+ "Drop shadows draw attention and give the appearance of depth. By default, this style is used to show elevation, when content appears on top of other content.",
+ component: "Drop shadow",
+ tags: ["!dev"],
+};
+
+const DropShadowSwatch = ({
+ rootClass = "spectrum-Foundations-Example-DropShadow-swatch",
+ variant,
+ isDropShadow,
+}) => html`
+
+`;
+
+const DropShadowBackground = (
+ {
+ rootClass = "spectrum-Foundations-Example-swatch-container",
+ color,
+ ...args
+ },
+ context,
+) => html`
+
+ ${DropShadowSwatch(args, context)}
+
+`;
+
+const DropShadowVariant = (args, context) => html`
+
+ ${DropShadowBackground({ ...args, color: "light" }, context)}
+ ${DropShadowBackground({ ...args, color: "dark" }, context)}
+
+`;
+
+export const DropShadowEmphasizedDefault = DropShadowVariant.bind({});
+DropShadowEmphasizedDefault.args = {
+ variant: "emphasized-default",
+ isDropShadow: true,
+};
+
+export const DropShadowEmphasizedHover = DropShadowVariant.bind({});
+DropShadowEmphasizedHover.args = {
+ variant: "emphasized-hover",
+ isDropShadow: true,
+};
+
+export const DropShadowElevated = DropShadowVariant.bind({});
+DropShadowElevated.args = {
+ variant: "elevated",
+ isDropShadow: true,
+};
+
+export const BoxShadowEmphasizedDefault = DropShadowVariant.bind({});
+BoxShadowEmphasizedDefault.args = {
+ variant: "emphasized-default",
+ isDropShadow: false,
+};
+
+export const BoxShadowEmphasizedHover = DropShadowVariant.bind({});
+BoxShadowEmphasizedHover.args = {
+ variant: "emphasized-hover",
+ isDropShadow: false,
+};
+
+export const BoxShadowElevated = DropShadowVariant.bind({});
+BoxShadowElevated.args = {
+ variant: "elevated",
+ isDropShadow: false,
+};
diff --git a/.storybook/foundations/drop-shadow/index.css b/.storybook/foundations/drop-shadow/index.css
new file mode 100644
index 00000000000..bf54a5ddce9
--- /dev/null
+++ b/.storybook/foundations/drop-shadow/index.css
@@ -0,0 +1,115 @@
+/*!
+Copyright 2024 Adobe. All rights reserved.
+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
+governing permissions and limitations under the License.
+*/
+
+/* stylelint-disable spectrum-tools/no-unknown-custom-properties */
+
+.spectrum-Foundations-Example-DropShadow-swatch {
+ block-size: 150px;
+ inline-size: 150px;
+ background-color: var(--spectrum-gray-25);
+ border-radius: var(--spectrum-corner-radius-large-default);
+ border: transparent;
+}
+
+.spectrum--dark .spectrum-Foundations-Example-DropShadow-swatch {
+ background-color: var(--spectrum-gray-75); /* matches dark mode design spec rgb(34, 34, 34) */
+}
+
+.spectrum-Foundations-Example-DropShadow-swatch--emphasized-default-box-shadow {
+ box-shadow:
+ var(--spectrum-drop-shadow-emphasized-default-x)
+ var(--spectrum-drop-shadow-emphasized-default-y)
+ var(--spectrum-drop-shadow-emphasized-default-blur)
+ var(--mod-drop-shadow-emphasized-default-color, var(--spectrum-drop-shadow-emphasized-default-color));
+}
+
+.spectrum-Foundations-Example-DropShadow-swatch--emphasized-default-drop-shadow {
+ filter: drop-shadow(
+ var(--spectrum-drop-shadow-emphasized-default-x)
+ var(--spectrum-drop-shadow-emphasized-default-y)
+ calc(var(--spectrum-drop-shadow-emphasized-default-blur) / 2) /* adjust blur by half of box-shadow */
+ var(--mod-drop-shadow-emphasized-default-color, var(--spectrum-drop-shadow-emphasized-default-color))
+ );
+}
+
+.spectrum--light .spectrum-Foundations-Example-DropShadow-swatch--emphasized-default-box-shadow,
+.spectrum--dark .spectrum-Foundations-Example-DropShadow-swatch--emphasized-default-box-shadow,
+.spectrum--light .spectrum-Foundations-Example-DropShadow-swatch--emphasized-default-drop-shadow,
+.spectrum--dark .spectrum-Foundations-Example-DropShadow-swatch--emphasized-default-drop-shadow {
+/* adjustment because color tokens do not work properly on foundations pages */
+ --mod-drop-shadow-emphasized-default-color: var(--spectrum-drop-shadow-color-100);
+}
+
+.spectrum-Foundations-Example-DropShadow-swatch--emphasized-hover-box-shadow {
+ box-shadow:
+ var(--spectrum-drop-shadow-emphasized-hover-x)
+ var(--spectrum-drop-shadow-emphasized-hover-y)
+ var(--spectrum-drop-shadow-emphasized-hover-blur)
+ var(--mod-drop-shadow-emphasized-hover-color, var(--spectrum-drop-shadow-emphasized-hover-color));
+}
+
+.spectrum-Foundations-Example-DropShadow-swatch--emphasized-hover-drop-shadow {
+ filter: drop-shadow(
+ var(--spectrum-drop-shadow-emphasized-hover-x)
+ var(--spectrum-drop-shadow-emphasized-hover-y)
+ calc(var(--spectrum-drop-shadow-emphasized-hover-blur) / 2) /* adjust blur by half of box-shadow */
+ var(--mod-drop-shadow-emphasized-hover-color, var(--spectrum-drop-shadow-emphasized-hover-color))
+ );
+}
+
+.spectrum--light .spectrum-Foundations-Example-DropShadow-swatch--emphasized-hover-drop-shadow,
+.spectrum--dark .spectrum-Foundations-Example-DropShadow-swatch--emphasized-hover-drop-shadow,
+.spectrum--light .spectrum-Foundations-Example-DropShadow-swatch--emphasized-hover-box-shadow,
+.spectrum--dark .spectrum-Foundations-Example-DropShadow-swatch--emphasized-hover-box-shadow {
+/* adjustment because color tokens do not work properly on foundations pages */
+ --mod-drop-shadow-emphasized-hover-color: var(--spectrum-drop-shadow-color-200);
+}
+
+.spectrum-Foundations-Example-DropShadow-swatch--elevated-box-shadow {
+ box-shadow:
+ var(--spectrum-drop-shadow-elevated-x)
+ var(--spectrum-drop-shadow-elevated-y)
+ var(--spectrum-drop-shadow-elevated-blur)
+ var(--mod-drop-shadow-elevated-color, var(--spectrum-drop-shadow-elevated-color));
+}
+
+.spectrum-Foundations-Example-DropShadow-swatch--elevated-drop-shadow {
+ filter: drop-shadow(
+ var(--spectrum-drop-shadow-elevated-x)
+ var(--spectrum-drop-shadow-elevated-y)
+ calc(var(--spectrum-drop-shadow-elevated-blur) / 2) /* adjust blur by half of box-shadow */
+ var(--mod-drop-shadow-elevated-color, var(--spectrum-drop-shadow-elevated-color))
+ );
+}
+
+.spectrum--light .spectrum-Foundations-Example-DropShadow-swatch--elevated-drop-shadow,
+.spectrum--dark .spectrum-Foundations-Example-DropShadow-swatch--elevated-drop-shadow,
+.spectrum--light .spectrum-Foundations-Example-DropShadow-swatch--elevated-box-shadow,
+.spectrum--dark .spectrum-Foundations-Example-DropShadow-swatch--elevated-box-shadow {
+/* adjustment because color tokens do not work properly on foundations pages */
+ --mod-drop-shadow-elevated-color: var(--spectrum-drop-shadow-color-200);
+}
+
+.spectrum-Foundations-Example-swatch-container {
+ background-color: var(--spectrum-gray-25);
+ block-size: 200px;
+ inline-size: 300px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
+.spectrum-Foundations-Example-variant-container {
+ background-color: var(--spectrum-gray-25);
+ display: flex;
+ flex-direction: row;
+}
diff --git a/.storybook/guides/develop.mdx b/.storybook/guides/develop.mdx
index d36ba09a9a7..24287b9f371 100644
--- a/.storybook/guides/develop.mdx
+++ b/.storybook/guides/develop.mdx
@@ -31,35 +31,24 @@ For more general information about how to contribute to the Spectrum CSS project
Each component has the following files:
-- `index.css` - The source file for all styles related to the component. This contains all selectors and css properties for the component but specifically lacks any custom properties or variables. These values are sourced from the `themes` directory.
-- `themes/*.css` - The theme-specific, component-level custom properties used to style the component. These files are meant to be loaded with the source styles.
+- `index.css` - The source file for all styles related to the component. This contains all selectors and css properties for the component.
- `stories/*.stories.js` - The storybook file that defines the component's stories and the available knobs for the component.
- `stories/template.js` - The template function that generates the component's mark-up based on the provided settings.
- `stories/*.test.js` - The testing grid for visual regression testing in Chromatic.
-- `stories/*.mdx` - This asset generates the component-specific documentation and is rendered in Storybook as the Docs page.
Each component outputs the following assets to `dist`:
-- `index.css`: This asset includes the base CSS and the `themes/spectrum.css` definitions (without the system mapping layer). This asset is meant to be used in a environment where only the current Spectrum theme is supported.
-- `index-base.css`: This asset includes only the base CSS; that is, the CSS without any custom property definitions. This can be used in conjunction with `index-theme.css` and the desired `themes/*.css` file to render a themed component.
-- `index-theme.css`: This asset includes only the custom property definitions for the component as mapped to the system variables. This can be used in conjunction with `index-base.css` and the desired `themes/*.css` file to render a themed component.
-
-Each component outputs theme-specific assets to `dist/themes`. These assets include the system variables mapped to their global token counterparts. This file is meant to be loaded in conjunction with the `index-base.css` and `index-theme.css` files to render a themed component.
-
-- `themes/spectrum-two.css`: Represents the current Spectrum theme, aka Spectrum 2.
-- `themes/spectrum.css`: Represents the legacy Spectrum theme, aka Spectrum 1. **deprecated**
-- `themes/express.css`: Represents the Express theme. **deprecated**
+- `index.css`: This asset includes the CSS for the component and is meant to be loaded in conjunction with the tokens for your desired color context and scales.
## Adding a new component
1. Generate a new component using the `yarn new component` command. The generator will prompt you to answer questions about your component.
2. Edit the `dependencies` within the `package.json` file to use only the dependencies your component needs. All components rely on `@spectrum-css/tokens`, and most rely on `@spectrum-css/icon`.
3. Once your folder has been generated, you can run `yarn start` in the root of the project to begin developing.
-4. The `index.css` file is where most of your styles will be added. Add any custom property mappings to the global token library in the `themes/spectrum.css` asset.
-5. Inside the `stories` directory you will find a `template.js`, `*.stories.js`, and `*.mdx` file.
+4. The `index.css` file is where all of your styles should be added.
+5. Inside the `stories` directory you will find a `template.js` and `*.stories.js` file.
- In the `*.stories.js` file, define the available knobs and properties for your component, as well as any standard variations you want to surface in [Storybook](https://storybook.js.org/docs/react/writing-stories/introduction).
- Update the `template.js` file with the markup, using [lit-html syntax](https://lit.dev/docs/templates/overview/) to adjust results based on the provided settings from the Storybook knobs.
- - Update the `*.mdx` file with the documentation for your component.
_Note_: Because we use scoped packages, before it can be published, you must manually publish the new component as public:
@@ -116,8 +105,6 @@ CSS assets will be run through their respective postcss configurations. This mea
```js
import "../index.css";
-import "../themes/express.css";
-import "../themes/spectrum.css";
```
We are leaning on Storybook's `@storybook/web-components-vite` framework configuration as our stories rely on lit for dynamic attribute assignment.
@@ -345,8 +332,6 @@ import { ifDefined } from "lit/directives/if-defined.js";
import { when } from "lit/directives/when.js";
import "../index.css";
-import "../themes/express.css";
-import "../themes/spectrum.css";
export const Template = (
{
diff --git a/.storybook/loaders/icon-loader.js b/.storybook/loaders/icon-loader.js
index 07fcd6ff5df..0265335db7c 100644
--- a/.storybook/loaders/icon-loader.js
+++ b/.storybook/loaders/icon-loader.js
@@ -1,16 +1,29 @@
-export const IconLoader = async () => ({
- icons: {
- workflow: {
- medium: await import.meta.glob(
- "/node_modules/@adobe/spectrum-css-workflow-icons/dist/18/*.svg",
+import { cleanUiIconName, cleanWorkflowIconName } from "@spectrum-css/icon/stories/utilities.js";
+
+/**
+ * Loads all SVG files from both icon sets, and stores a string with the SVG markup.
+ *
+ * Excludes "22x20" workflow icons as they are not yet used within the design system.
+ *
+ * @see https://storybook.js.org/docs/writing-stories/loaders
+ * @see https://vite.dev/guide/features#glob-import
+ */
+export const IconLoader = async () => {
+ let iconData = {
+ icons: {
+ workflow: await import.meta.glob(
+ [
+ "/node_modules/@adobe/spectrum-css-workflow-icons/dist/assets/svg/*.svg",
+ "!/node_modules/@adobe/spectrum-css-workflow-icons/dist/assets/svg/*_22x20*.svg",
+ ],
{
eager: true,
query: "?raw",
import: "default",
}
),
- large: await import.meta.glob(
- "/node_modules/@adobe/spectrum-css-workflow-icons/dist/24/*.svg",
+ ui: await import.meta.glob(
+ "/node_modules/@spectrum-css/ui-icons/dist/svg/*.svg",
{
eager: true,
query: "?raw",
@@ -18,23 +31,25 @@ export const IconLoader = async () => ({
}
),
},
- ui: {
- medium: await import.meta.glob(
- "/node_modules/@spectrum-css/ui-icons/dist/medium/*.svg",
- {
- eager: true,
- query: "?raw",
- import: "default",
- }
- ),
- large: await import.meta.glob(
- "/node_modules/@spectrum-css/ui-icons/dist/large/*.svg",
- {
- eager: true,
- query: "?raw",
- import: "default",
- }
- ),
- },
- },
-});
+ };
+
+ /**
+ * Changes all keys in the IconLoader object to be just the cleaned icon name used within our Storybook's Icon component,
+ * instead of the full file name and directory that was loaded.
+ *
+ * E.g. "/node_modules/@adobe/spectrum-css-workflow-icons/dist/assets/svg/S2_Icon_3DAsset_20_N.svg" would become just "3DAsset".
+ */
+ iconData.icons.workflow = Object.fromEntries(
+ Object.entries(iconData.icons.workflow).map(
+ ([key, value]) => [cleanWorkflowIconName(key.split("/").pop()), value]
+ )
+ );
+
+ iconData.icons.ui = Object.fromEntries(
+ Object.entries(iconData.icons.ui).map(
+ ([key, value]) => [cleanUiIconName(key.split("/").pop()), value]
+ )
+ );
+
+ return iconData;
+};
diff --git a/.storybook/main.js b/.storybook/main.js
index ccd00e2f45e..99aeeefa0d7 100644
--- a/.storybook/main.js
+++ b/.storybook/main.js
@@ -20,6 +20,11 @@ export default {
files: "*.@(stories.js|mdx)",
titlePrefix: "Guides",
},
+ {
+ directory: "./foundations",
+ files: "**/*.@(stories.js|mdx)",
+ titlePrefix: "Foundations",
+ },
{
directory: "./deprecated",
files: "**/*.@(stories.js|mdx)",
diff --git a/.storybook/manager.js b/.storybook/manager.js
index 53b86a56602..1e1fe3ef8d1 100644
--- a/.storybook/manager.js
+++ b/.storybook/manager.js
@@ -1,5 +1,6 @@
import { addons } from "@storybook/manager-api";
import { create } from "@storybook/theming";
+import { startCase } from "lodash";
import "./assets/index.css";
@@ -64,5 +65,6 @@ addons.setConfig({
}),
sidebar: {
showRoots: false,
+ renderLabel: ({ name, type }) => (type === 'story' ? name : startCase(name)) + " 📚",
},
});
diff --git a/.storybook/modes/index.js b/.storybook/modes/index.js
index c3b991e5bd7..b4df304251d 100644
--- a/.storybook/modes/index.js
+++ b/.storybook/modes/index.js
@@ -20,16 +20,6 @@ const modes = {
color: "dark",
textDirection: "rtl",
},
- "S1 | Light | LTR": {
- context: "legacy",
- color: "light",
- textDirection: "ltr",
- },
- "Express | Light | LTR": {
- context: "express",
- color: "light",
- textDirection: "ltr",
- },
};
export default modes;
diff --git a/.storybook/package.json b/.storybook/package.json
index 34e088be049..6d2ec63ba42 100644
--- a/.storybook/package.json
+++ b/.storybook/package.json
@@ -39,11 +39,10 @@
"build": "yarn docs:report && cross-env NODE_ENV=development storybook build --stats-json --config-dir ."
},
"dependencies": {
- "@adobe/spectrum-css-workflow-icons": "^1.5.4",
+ "@adobe/spectrum-css-workflow-icons": "^4.0.0",
"@spectrum-css/bundle": "1.0.1",
"@spectrum-css/tokens": "16.0.1",
- "@spectrum-css/tokens-legacy": "npm:@spectrum-css/tokens@^15.0.0",
- "@spectrum-css/ui-icons": "1.1.2"
+ "@spectrum-css/ui-icons": "2.0.0-next.0"
},
"devDependencies": {
"@babel/core": "^7.26.0",
diff --git a/.storybook/preview.js b/.storybook/preview.js
index ff243044967..9f75a7e221f 100644
--- a/.storybook/preview.js
+++ b/.storybook/preview.js
@@ -32,6 +32,8 @@ export const parameters = {
order: [
"Guides",
["Contributing", "*", "Adobe Code of Conduct", "Changelog"],
+ "Foundations",
+ ["*"],
"Components",
["*", ["Docs", "Default", "*"]],
"Deprecated",
@@ -88,7 +90,7 @@ export const parameters = {
// Set an empty object to avoid the "undefined" value in the ComponentDetails doc block
packageJson: {},
// A list of published npm tags that should not appear in the ComponentDetails doc block
- ignoredTags: ["beta", "next"],
+ ignoredTags: ["beta"],
};
export default {
diff --git a/.storybook/types/global.js b/.storybook/types/global.js
index 60a369079e5..55f8c760e4d 100644
--- a/.storybook/types/global.js
+++ b/.storybook/types/global.js
@@ -4,22 +4,6 @@
/** @type import('@storybook/types').GlobalTypes */
export default {
- context: {
- title: "Design context",
- description: "The variation of Spectrum to use in the component",
- defaultValue: "spectrum",
- type: "string",
- showName: true,
- toolbar: {
- items: [
- { value: "spectrum", title: "Spectrum 2", right: "default" },
- { value: "legacy", title: "Spectrum 1", right: "legacy" },
- { value: "express", title: "Express", right: "legacy" },
- { value: "raw", title: "Token-free", right: "raw" },
- ],
- dynamicTitle: true,
- },
- },
color: {
title: "Color",
description: "Controls the color context of the component",
@@ -30,7 +14,6 @@ export default {
items: [
{ value: "light", title: "Light", right: "default" },
{ value: "dark", title: "Dark" },
- { value: "darkest", title: "Darkest", right: "deprecated" },
],
dynamicTitle: true,
},
diff --git a/.vscode/settings.json b/.vscode/settings.json
index c940cee9d9d..0b67eb8639e 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -101,10 +101,8 @@
}
],
"cssVariables.lookupFiles": [
- "${workspaceFolder}/tokens/dist/css/index.css",
- "${workspaceFolder}/tokens/dist/css/*.css",
- "${workspaceFolder}/components/*/index.css",
- "${workspaceFolder}/components/*/themes/*.css"
+ "${workspaceFolder}/tokens/**/*.css",
+ "${workspaceFolder}/components/*/index.css"
],
"docthis.includeDescriptionTag": true,
"docthis.inferTypesFromNames": true,
diff --git a/README.md b/README.md
index 460f5d39631..fd3c0dd4b76 100644
--- a/README.md
+++ b/README.md
@@ -52,17 +52,6 @@ Spectrum CSS components have build output that is designed to be used in a varie
- `index.css` - _Preferred and most commonly used to incorporate Spectrum CSS into a project_. This file includes the component's styles and variable definitions. In this version, token-driven CSS properties[1](#token-footnote) are mapped to empty `--mod` prefixed variables (for customization) with a fallback to variables prefixed with `--spectrum` (sourced from the design tokens).
- - This file loads the `.spectrum`, `.spectrum--legacy`, and `.spectrum--express` contexts which are used to toggle components between different [visual styles](https://github.com/adobe/spectrum-css?tab=readme-ov-file#visual-language). The `.spectrum` context is the default.
-
-- `index-base.css`: This file mimics the `index.css` output, but does not include the `.spectrum` or `.spectrum--express` contexts.
-
- - If your product only requires the `.spectrum` context, you can use `index-base.css` plus `themes/spectrum-two.css` from the `themes` directory to render the default Spectrum visual language.
- - The `.spectrum--legacy` context represents the previous version of Spectrum (also known as Spectrum 1). This means if you only want to use the legacy context, you should load `themes/spectrum.css`. **deprecated**
- - The `.spectrum--express` context represents the subtheme of Spectrum 1 called Express . This means if you only want to use the Express context, you should load `themes/express.css`. **deprecated**
- - This approach can also be used when you have defined and written your own visual language and only need the base component styles from Spectrum CSS. To wire up your own visual language, you would need to define your own custom properties that match those defined in the `themes/spectrum-two.css` assets.
-
-- `index-theme.css`: This file provides only the visual language for a component. It is used in conjunction with `index-base.css` and when loaded together, provides the same result as using `index.css` by itself.
-
1 : Token-driven CSS properties are properties whose values are mapped to a value in the `@spectrum-css/tokens` package. These values represent design-language and are meant to be used across platforms. In contrast, properties specific to web-based implementations will not have a token value assigned, so not all CSS properties will use custom properties.
#### Including assets
@@ -73,29 +62,10 @@ Start by including the base set of variables:
/* Include tokens */
@import "node_modules/@spectrum-css/tokens/dist/index.css";
-/*
- For components with no other contexts available, load the
- index.css file from the component's package. These are components
- that do not have a spectrum or express context available.
-*/
@import "node_modules/@spectrum-css/page/dist/index.css";
@import "node_modules/@spectrum-css/typography/dist/index.css";
@import "node_modules/@spectrum-css/icon/dist/index.css";
-
-/*
- Recommended: For components with multiple contexts available, if you
- want access to all contexts, load the index.css file, which includes
- all contexts and component variables.
-*/
@import "node_modules/@spectrum-css/button/dist/index.css";
-
-/*
- If you only need the spectrum visual context: For components with
- multiple contexts available, load only the spectrum context by sourcing
- index-base.css and the spectrum theme from the themes directory.
-*/
-@import "node_modules/@spectrum-css/button/dist/index-base.css";
-@import "node_modules/@spectrum-css/button/dist/themes/spectrum.css";
```
Tokens values are mapped to context-specific classes which can be applied to the `` element or any place in your DOM where you wish to encapsulate or alter the visual language of your Spectrum components.
@@ -106,9 +76,7 @@ All contexts you want to use must be defined in order to load all the appropriat
##### Visual language
-- `.spectrum` - The default visual language for Spectrum CSS; represents the Spectrum 2 foundations visual language.
-- `.spectrum--legacy` - The legacy Spectrum 1 visual language. _This visual language will be deprecated in Spectrum 2_.
-- `.spectrum--express` - A variant of the standard visual language. _This visual language will be deprecated in Spectrum 2_.
+- `.spectrum` - The default visual language for Spectrum CSS; represents the Spectrum 2 visual language.
##### Scales
@@ -134,16 +102,6 @@ Put together, we would define the context for our application in the following w
```
-To switch to Express, **add** the `.spectrum--express` class to the `` element:
-
-```html
-
-```
-
-Note the `spectrum--legacy` or `spectrum--express` class is added to the existing classes; `spectrum` should always be present to ensure the correct visual language is loaded.
-
Because CSS custom properties honor the cascading nature of CSS, you can infinitely nest different contexts. For example, you could have a `.spectrum--dark` context inside of a `.spectrum--light` context, and components will honor the innermost context.
### Modifying components
@@ -217,6 +175,7 @@ The following tasks are available:
| `clean` | Cleans all output files for the project and all components | `yarn clean` |
| `build` | Performs a build of all components | `yarn build` |
| `bundle` | Creates a bundled asset for use in demos or development environments | `yarn bundle` |
+| `refresh:bundle` | Updates the `tools/bundle/package.json` to accurately reflect the packages in `components/*` and refreshes the `tools/bundle/src/index.css` to include all relevant imports. | `yarn refresh:bundle` |
| `start` | Performs a local development build of Storybook | `yarn start` |
| `compare` | This compares the current version of components with the previous versions published to NPM and output a list of all the changes that have been made. This is useful for reviewing changes before a release. The information is provided in the command-line output as well as in a simple web page that is opened in your default browser upon completion. The web page includes links to the visual diffs for each component when the file sizes have changed. Components with no changes are not included in the output. To run comparisons on one or multiple components, `compare` accepts a list of components as arguments. For example, `yarn compare button` will compare the current version of the button component with the previous version published to NPM. `yarn compare button checkbox` will compare the current version of the button and checkbox components with the previous versions published to NPM. Named components should be space-separated. Running `compare` with no inputs will automatically run against all packages. | `yarn compare` `yarn compare accordion` `yarn compare accordion actionbutton` |
| `lint` | Provides helpful updates and warnings for a component's package.json file. This helps keep all components in alignment. Use `format` to automatically fix any issues that are found. To run on a single component, use `yarn linter accordion` (where `accordion` is the name of the component or components you want to lint). | `yarn lint` `yarn linter accordion` `yarn linter accordion actionbutton` |
diff --git a/components/accordion/CHANGELOG.md b/components/accordion/CHANGELOG.md
index 2923b2e0c6d..2d6c54e9bae 100644
--- a/components/accordion/CHANGELOG.md
+++ b/components/accordion/CHANGELOG.md
@@ -1,5 +1,12 @@
# Change log
+## 8.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+
## 7.1.0
### Minor Changes
diff --git a/components/accordion/dist/metadata.json b/components/accordion/dist/metadata.json
index 3f3e89fbf15..bc3c102ec9b 100644
--- a/components/accordion/dist/metadata.json
+++ b/components/accordion/dist/metadata.json
@@ -198,11 +198,6 @@
"--spectrum-neutral-content-color-key-focus",
"--spectrum-sans-font-family-stack"
],
- "system-theme": [
- "--system-accordion-divider-color",
- "--system-accordion-item-content-color",
- "--system-accordion-item-content-disabled-color"
- ],
"passthroughs": [],
"high-contrast": []
}
diff --git a/components/accordion/index.css b/components/accordion/index.css
index 2e0a7616455..f3b52638318 100644
--- a/components/accordion/index.css
+++ b/components/accordion/index.css
@@ -11,10 +11,12 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
.spectrum-Accordion {
- --spectrum-accordion-item-height: var(--spectrum-component-height-200);
+ --spectrum-accordion-divider-color: var(--mod-accordion-divider-color, var(--spectrum-gray-200));
+ --spectrum-accordion-item-content-disabled-color: var(--mod-accordion-item-content-disabled-color, var(--spectrum-disabled-content-color));
+ --spectrum-accordion-item-content-color: var(--mod-accordion-item-content-color, var(--spectrum-body-color));
+
+ --spectrum-accordion-item-height: var(--mod-accordion-item-height, var(--spectrum-component-height-200));
--spectrum-accordion-item-width: var(--spectrum-accordion-minimum-width);
--spectrum-accordion-disclosure-indicator-height: var(--spectrum-component-height-100);
--spectrum-accordion-disclosure-indicator-to-text-space: var(--spectrum-accordion-disclosure-indicator-to-text);
@@ -61,7 +63,7 @@
--spectrum-accordion-focus-indicator-color: var(--spectrum-focus-indicator-color);
--spectrum-accordion-min-block-size: max(
- var(--mod-accordion-item-height, var(--spectrum-accordion-item-height)),
+ var(--spectrum-accordion-item-height),
calc(var(--mod-accordion-item-header-top-to-text-space, var(--spectrum-accordion-item-header-top-to-text-space)) + var(--mod-accordion-item-header-bottom-to-text-space, var(--spectrum-accordion-item-header-bottom-to-text-space)) + (var(--mod-accordion-item-header-font-size, var(--spectrum-accordion-item-header-font-size)) * var(--mod-accordion-item-header-line-height, var(--spectrum-accordion-item-header-line-height))))
);
@@ -78,24 +80,24 @@
}
.spectrum-Accordion--compact {
- --spectrum-accordion-item-height: var(--spectrum-component-height-100);
+ --spectrum-accordion-item-height: var(--mod-accordion-item-height, var(--spectrum-component-height-100));
--spectrum-accordion-item-header-top-to-text-space: var(--spectrum-accordion-top-to-text-compact-medium);
--spectrum-accordion-item-header-bottom-to-text-space: var(--spectrum-accordion-bottom-to-text-compact-medium);
&.spectrum-Accordion--sizeS {
- --spectrum-accordion-item-height: var(--spectrum-component-height-75);
+ --spectrum-accordion-item-height: var(--mod-accordion-item-height, var(--spectrum-component-height-75));
--spectrum-accordion-item-header-top-to-text-space: var(--spectrum-accordion-top-to-text-compact-small);
--spectrum-accordion-item-header-bottom-to-text-space: var(--spectrum-accordion-bottom-to-text-compact-small);
}
&.spectrum-Accordion--sizeL {
- --spectrum-accordion-item-height: var(--spectrum-component-height-200);
+ --spectrum-accordion-item-height: var(--mod-accordion-item-height, var(--spectrum-component-height-200));
--spectrum-accordion-item-header-top-to-text-space: var(--spectrum-accordion-top-to-text-compact-large);
--spectrum-accordion-item-header-bottom-to-text-space: var(--spectrum-accordion-bottom-to-text-compact-large);
}
&.spectrum-Accordion--sizeXL {
- --spectrum-accordion-item-height: var(--spectrum-component-height-300);
+ --spectrum-accordion-item-height: var(--mod-accordion-item-height, var(--spectrum-component-height-300));
--spectrum-accordion-item-header-top-to-text-space: var(--spectrum-accordion-top-to-text-compact-extra-large);
--spectrum-accordion-item-header-bottom-to-text-space: var(--spectrum-accordion-bottom-to-text-compact-extra-large);
}
@@ -126,7 +128,7 @@
}
.spectrum-Accordion--sizeS {
- --spectrum-accordion-item-height: var(--spectrum-component-height-100);
+ --spectrum-accordion-item-height: var(--mod-accordion-item-height, var(--spectrum-component-height-100));
--spectrum-accordion-disclosure-indicator-height: var(--spectrum-component-height-75);
--spectrum-accordion-component-edge-to-text: var(--spectrum-component-edge-to-text-50);
--spectrum-accordion-item-header-font-size: var(--spectrum-font-size-200);
@@ -136,7 +138,7 @@
}
.spectrum-Accordion--sizeL {
- --spectrum-accordion-item-height: var(--spectrum-component-height-300);
+ --spectrum-accordion-item-height: var(--mod-accordion-item-height, var(--spectrum-component-height-300));
--spectrum-accordion-disclosure-indicator-height: var(--spectrum-component-height-200);
--spectrum-accordion-component-edge-to-text: var(--spectrum-component-edge-to-text-100);
--spectrum-accordion-item-header-font-size: var(--spectrum-font-size-500);
@@ -146,7 +148,7 @@
}
.spectrum-Accordion--sizeXL {
- --spectrum-accordion-item-height: var(--spectrum-component-height-400);
+ --spectrum-accordion-item-height: var(--mod-accordion-item-height, var(--spectrum-component-height-400));
--spectrum-accordion-disclosure-indicator-height: var(--spectrum-component-height-300);
--spectrum-accordion-component-edge-to-text: var(--spectrum-component-edge-to-text-200);
--spectrum-accordion-item-header-font-size: var(--spectrum-font-size-700);
@@ -168,17 +170,17 @@
margin: 0;
- min-block-size: var(--mod-accordion-item-height, var(--spectrum-accordion-item-height));
+ min-block-size: var(--spectrum-accordion-item-height);
min-inline-size: var(--mod-accordion-item-width, var(--spectrum-accordion-item-width));
&:first-child {
border-block-start: 1px solid transparent;
- border-color: var(--mod-accordion-divider-color, var(--spectrum-accordion-divider-color));
+ border-color: var(--spectrum-accordion-divider-color);
border-width: var(--mod-accordion-divider-thickness, var(--spectrum-divider-thickness-small));
}
border-block-end: 1px solid transparent;
- border-color: var(--mod-accordion-divider-color, var(--spectrum-accordion-divider-color));
+ border-color: var(--spectrum-accordion-divider-color);
border-width: var(--mod-accordion-divider-thickness, var(--spectrum-divider-thickness-small));
}
@@ -208,7 +210,7 @@
padding-block: var(--mod-accordion-item-content-area-top-to-content, var(--spectrum-accordion-item-content-area-top-to-content)) var(--mod-accordion-item-content-area-bottom-to-content, var(--spectrum-accordion-item-content-area-bottom-to-content));
padding-inline: var(--mod-accordion-component-edge-to-text, var(--spectrum-accordion-component-edge-to-text)) var(--mod-accordion-component-edge-to-text, var(--spectrum-accordion-component-edge-to-text));
display: none;
- color: var(--mod-accordion-item-content-color, var(--spectrum-accordion-item-content-color));
+ color: var(--spectrum-accordion-item-content-color);
font-weight: var(--mod-accordion-item-content-font-weight, var(--spectrum-accordion-item-content-font-weight));
font-style: var(--mod-accordion-item-content-font-style, var(--spectrum-accordion-item-content-font-style));
font-size: var(--mod-accordion-item-content-font-size, var(--spectrum-accordion-item-content-font-size));
@@ -303,7 +305,7 @@
}
.spectrum-Accordion-itemContent {
- color: var(--mod-accordion-item-content-disabled-color, var(--spectrum-accordion-item-content-disabled-color));
+ color: var(--spectrum-accordion-item-content-disabled-color);
}
}
diff --git a/components/accordion/package.json b/components/accordion/package.json
index 74e0e9bfd1c..0ab07524a04 100644
--- a/components/accordion/package.json
+++ b/components/accordion/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/accordion",
- "version": "7.1.0",
+ "version": "8.0.0-next.0",
"description": "The Spectrum CSS accordion component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -37,7 +37,7 @@
}
},
"devDependencies": {
- "@spectrum-css/icon": "9.1.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/accordion/stories/template.js b/components/accordion/stories/template.js
index 8294f3a4027..79fc3648bf3 100644
--- a/components/accordion/stories/template.js
+++ b/components/accordion/stories/template.js
@@ -7,9 +7,6 @@ import { repeat } from "lit/directives/repeat.js";
import { styleMap } from "lit/directives/style-map.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const AccordionItem = ({
heading,
diff --git a/components/accordion/themes/express.css b/components/accordion/themes/express.css
deleted file mode 100644
index 9fd550418f2..00000000000
--- a/components/accordion/themes/express.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
diff --git a/components/accordion/themes/spectrum-two.css b/components/accordion/themes/spectrum-two.css
deleted file mode 100644
index 7097b1adc62..00000000000
--- a/components/accordion/themes/spectrum-two.css
+++ /dev/null
@@ -1,20 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-Accordion {
- --spectrum-accordion-divider-color: var(--spectrum-gray-200);
- --spectrum-accordion-item-content-disabled-color: var(--spectrum-disabled-content-color);
- --spectrum-accordion-item-content-color: var(--spectrum-body-color);
- }
-}
diff --git a/components/accordion/themes/spectrum.css b/components/accordion/themes/spectrum.css
deleted file mode 100644
index 572d3f1db1b..00000000000
--- a/components/accordion/themes/spectrum.css
+++ /dev/null
@@ -1,24 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-Accordion {
- --spectrum-accordion-divider-color: var(--spectrum-gray-300);
- --spectrum-accordion-item-content-disabled-color: var(--spectrum-gray-400);
- --spectrum-accordion-item-content-color: var(--spectrum-gray-800);
- }
-}
diff --git a/components/actionbar/CHANGELOG.md b/components/actionbar/CHANGELOG.md
index 41dfbaa259f..fdf55b7104f 100644
--- a/components/actionbar/CHANGELOG.md
+++ b/components/actionbar/CHANGELOG.md
@@ -1,5 +1,15 @@
# Change log
+## 11.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @spectrum-css/closebutton@7.0.0-next.0
+ - @spectrum-css/fieldlabel@11.0.0-next.0
+ - @spectrum-css/actiongroup@7.0.0-next.0
+ - @spectrum-css/popover@9.0.0-next.0
+
## 10.1.1
### Patch Changes
diff --git a/components/actionbar/dist/metadata.json b/components/actionbar/dist/metadata.json
index 3632db90bf7..da9142c6fc3 100644
--- a/components/actionbar/dist/metadata.json
+++ b/components/actionbar/dist/metadata.json
@@ -88,10 +88,6 @@
"--spectrum-spacing-75",
"--spectrum-white"
],
- "system-theme": [
- "--system-action-bar-popover-background-color",
- "--system-action-bar-popover-border-color"
- ],
"passthroughs": [],
"high-contrast": ["--highcontrast-actionbar-popover-border-color"]
}
diff --git a/components/actionbar/index.css b/components/actionbar/index.css
index 474499e462f..46d4a86d4a5 100644
--- a/components/actionbar/index.css
+++ b/components/actionbar/index.css
@@ -11,9 +11,10 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
.spectrum-ActionBar {
+ --spectrum-actionbar-popover-background-color: var(--spectrum-gray-25);
+ --spectrum-actionbar-popover-border-color: var(--spectrum-gray-400);
+
--spectrum-actionbar-height: var(--spectrum-action-bar-height);
--spectrum-actionbar-corner-radius: var(--spectrum-corner-radius-100);
diff --git a/components/actionbar/package.json b/components/actionbar/package.json
index 6bbcd38c26f..2a8a23b37dc 100644
--- a/components/actionbar/package.json
+++ b/components/actionbar/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/actionbar",
- "version": "10.1.1",
+ "version": "11.0.0-next.0",
"description": "The Spectrum CSS actionbar component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,10 +25,10 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/actiongroup": ">=6.0.0 <7.0.0",
- "@spectrum-css/closebutton": ">=6.0.0 <7.0.0",
- "@spectrum-css/fieldlabel": ">=10.0.0 <11.0.0",
- "@spectrum-css/popover": ">=8.0.0 <9.0.0",
+ "@spectrum-css/actiongroup": ">=7.0.0-next.0",
+ "@spectrum-css/closebutton": ">=7.0.0-next.0",
+ "@spectrum-css/fieldlabel": ">=11.0.0-next.0",
+ "@spectrum-css/popover": ">=9.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -49,10 +49,10 @@
}
},
"devDependencies": {
- "@spectrum-css/actiongroup": "6.1.0",
- "@spectrum-css/closebutton": "6.1.0",
- "@spectrum-css/fieldlabel": "10.1.0",
- "@spectrum-css/popover": "8.2.0",
+ "@spectrum-css/actiongroup": "7.0.0-next.0",
+ "@spectrum-css/closebutton": "7.0.0-next.0",
+ "@spectrum-css/fieldlabel": "11.0.0-next.0",
+ "@spectrum-css/popover": "9.0.0-next.1",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/actionbar/stories/template.js b/components/actionbar/stories/template.js
index 8b134157bd2..6809e55225e 100644
--- a/components/actionbar/stories/template.js
+++ b/components/actionbar/stories/template.js
@@ -1,16 +1,13 @@
-import { Container } from "@spectrum-css/preview/decorators";
import { Template as ActionGroup } from "@spectrum-css/actiongroup/stories/template.js";
import { Template as CloseButton } from "@spectrum-css/closebutton/stories/template.js";
import { Template as FieldLabel } from "@spectrum-css/fieldlabel/stories/template.js";
import { Template as Popover } from "@spectrum-css/popover/stories/template.js";
+import { Container } from "@spectrum-css/preview/decorators";
import { html } from "lit";
import { classMap } from "lit/directives/class-map.js";
import { styleMap } from "lit/directives/style-map.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-ActionBar",
diff --git a/components/actionbar/themes/express.css b/components/actionbar/themes/express.css
deleted file mode 100644
index 9fd550418f2..00000000000
--- a/components/actionbar/themes/express.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
diff --git a/components/actionbar/themes/spectrum-two.css b/components/actionbar/themes/spectrum-two.css
deleted file mode 100644
index 157c2dc9294..00000000000
--- a/components/actionbar/themes/spectrum-two.css
+++ /dev/null
@@ -1,20 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-ActionBar {
- /* colors - applied to popover */
- --spectrum-actionbar-popover-background-color: var(--spectrum-gray-25);
- --spectrum-actionbar-popover-border-color: var(--spectrum-gray-400);
- }
-}
diff --git a/components/actionbar/themes/spectrum.css b/components/actionbar/themes/spectrum.css
deleted file mode 100644
index 27971810d3d..00000000000
--- a/components/actionbar/themes/spectrum.css
+++ /dev/null
@@ -1,23 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-ActionBar {
- --spectrum-actionbar-popover-background-color: var(--spectrum-gray-50);
- --spectrum-actionbar-popover-border-color: var(--spectrum-gray-400);
- }
-}
diff --git a/components/actionbutton/CHANGELOG.md b/components/actionbutton/CHANGELOG.md
index 73ef86c2d88..54f4a79f824 100644
--- a/components/actionbutton/CHANGELOG.md
+++ b/components/actionbutton/CHANGELOG.md
@@ -1,5 +1,40 @@
# Change log
+## 8.0.0-next.1
+
+### Major Changes
+
+- [#2669](https://github.com/adobe/spectrum-css/pull/2669) [`b2c6357`](https://github.com/adobe/spectrum-css/commit/b2c6357c542737fb996cf8378354f525adde1fc2) Thanks [@mdt2](https://github.com/mdt2)! - Action button now uses Spectrum 2 tokens and design specifications. A few notable changes:
+
+ - Medium is now the default size and `.spectrum-ActionButton--sizeM` has been removed.
+ - Includes the Spectrum 2 down state transform.
+ - The component border was not removed and its color was changed to `transparent` in order to continue support for Windows High Contrast / forced colors, which still shows a border. The mod custom properties for border were removed to avoid interference with Windows High Contrast / forced colors accessibility.
+ - Some selectors to target the icon + text button and the icon-only button have been simplified using `:has`. This removes some overly complex `calc()` functions used for inline spacing, uses the design tokens more directly, and removes the previously documented need for the component's child elements to use a specific source order.
+ - Background and content colors were updated.
+ - Mod custom properties have been adjusted:
+ - Renamed:
+ - `--mod-line-height-100` renamed to `--mod-actionbutton-line-height`.
+ - `--mod-sans-font-family-stack` renamed to `--mod-button-font-family`.
+ - `--mod-animation-duration-100` renamed to `--mod-button-animation-duration`.
+ - Removed:
+ - `--mod-actionbutton-border-color-default`
+ - `--mod-actionbutton-border-color-disabled`
+ - `--mod-actionbutton-border-color-down`
+ - `--mod-actionbutton-border-color-focus`
+ - `--mod-actionbutton-border-color-hover`
+ - `--mod-actionbutton-border-width`
+ - `--mod-actionbutton-static-content-color`
+ - New:
+ - `--mod-actionbutton-font-weight`
+ - `--mod-actionbutton-font-style`
+
+## 8.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+
## 7.1.2
### Patch Changes
diff --git a/components/actionbutton/dist/metadata.json b/components/actionbutton/dist/metadata.json
index 4832d75f498..655e8bdff1f 100644
--- a/components/actionbutton/dist/metadata.json
+++ b/components/actionbutton/dist/metadata.json
@@ -2,29 +2,25 @@
"sourceFile": "index.css",
"selectors": [
".spectrum-ActionButton",
+ ".spectrum-ActionButton .spectrum-ActionButton-hold",
+ ".spectrum-ActionButton .spectrum-ActionButton-icon",
+ ".spectrum-ActionButton .spectrum-ActionButton-label",
".spectrum-ActionButton--sizeL",
- ".spectrum-ActionButton--sizeM",
".spectrum-ActionButton--sizeS",
".spectrum-ActionButton--sizeXL",
".spectrum-ActionButton--sizeXS",
".spectrum-ActionButton-hold",
- ".spectrum-ActionButton-hold + .spectrum-ActionButton-icon",
".spectrum-ActionButton-icon",
- ".spectrum-ActionButton-icon:only-child",
".spectrum-ActionButton-label",
".spectrum-ActionButton-label:empty",
".spectrum-ActionButton.is-disabled",
".spectrum-ActionButton.is-selected",
- ".spectrum-ActionButton.is-selected .spectrum-ActionButton-hold",
- ".spectrum-ActionButton.is-selected .spectrum-ActionButton-icon",
- ".spectrum-ActionButton.is-selected .spectrum-ActionButton-label",
- ".spectrum-ActionButton.spectrum-ActionButton--emphasized:not(.spectrum-ActionButton--staticBlack, .spectrum-ActionButton--staticWhite)",
+ ".spectrum-ActionButton.is-selected.spectrum-ActionButton--emphasized",
+ ".spectrum-ActionButton.is-selected.spectrum-ActionButton--staticBlack",
+ ".spectrum-ActionButton.is-selected.spectrum-ActionButton--staticWhite",
".spectrum-ActionButton.spectrum-ActionButton--quiet",
- ".spectrum-ActionButton.spectrum-ActionButton--sizeL",
- ".spectrum-ActionButton.spectrum-ActionButton--sizeM",
- ".spectrum-ActionButton.spectrum-ActionButton--sizeS",
- ".spectrum-ActionButton.spectrum-ActionButton--sizeXL",
- ".spectrum-ActionButton.spectrum-ActionButton--sizeXS",
+ ".spectrum-ActionButton.spectrum-ActionButton--quiet.is-selected",
+ ".spectrum-ActionButton.spectrum-ActionButton--quiet:disabled:not(.is-selected)",
".spectrum-ActionButton.spectrum-ActionButton--staticBlack",
".spectrum-ActionButton.spectrum-ActionButton--staticBlack.spectrum-ActionButton--quiet",
".spectrum-ActionButton.spectrum-ActionButton--staticWhite",
@@ -37,7 +33,9 @@
".spectrum-ActionButton:focus",
".spectrum-ActionButton:focus-visible",
".spectrum-ActionButton:focus-visible:after",
+ ".spectrum-ActionButton:has(.spectrum-ActionButton-icon)",
".spectrum-ActionButton:hover",
+ ".spectrum-ActionButton:not(:has(.spectrum-ActionButton-label))",
"[dir=\"rtl\"] .spectrum-ActionButton",
"a.spectrum-ActionButton"
],
@@ -56,13 +54,7 @@
"--mod-actionbutton-background-color-hover",
"--mod-actionbutton-background-color-hover-selected",
"--mod-actionbutton-background-color-hover-selected-emphasized",
- "--mod-actionbutton-border-color-default",
- "--mod-actionbutton-border-color-disabled",
- "--mod-actionbutton-border-color-down",
- "--mod-actionbutton-border-color-focus",
- "--mod-actionbutton-border-color-hover",
"--mod-actionbutton-border-radius",
- "--mod-actionbutton-border-width",
"--mod-actionbutton-content-color-default",
"--mod-actionbutton-content-color-default-selected",
"--mod-actionbutton-content-color-default-selected-emphasized",
@@ -85,15 +77,14 @@
"--mod-actionbutton-focus-indicator-gap",
"--mod-actionbutton-focus-indicator-thickness",
"--mod-actionbutton-font-size",
+ "--mod-actionbutton-font-style",
+ "--mod-actionbutton-font-weight",
"--mod-actionbutton-height",
"--mod-actionbutton-icon-size",
"--mod-actionbutton-label-color",
+ "--mod-actionbutton-line-height",
"--mod-actionbutton-min-width",
- "--mod-actionbutton-static-content-color",
- "--mod-actionbutton-text-to-visual",
- "--mod-animation-duration-100",
- "--mod-line-height-100",
- "--mod-sans-font-family-stack"
+ "--mod-actionbutton-text-to-visual"
],
"component": [
"--spectrum-action-button-edge-to-hold-icon-extra-large",
@@ -101,45 +92,36 @@
"--spectrum-action-button-edge-to-hold-icon-large",
"--spectrum-action-button-edge-to-hold-icon-medium",
"--spectrum-action-button-edge-to-hold-icon-small",
- "--spectrum-actionbutton-background-color",
+ "--spectrum-actionbutton-animation-duration",
"--spectrum-actionbutton-background-color-default",
"--spectrum-actionbutton-background-color-disabled",
"--spectrum-actionbutton-background-color-down",
"--spectrum-actionbutton-background-color-focus",
"--spectrum-actionbutton-background-color-hover",
- "--spectrum-actionbutton-background-color-selected",
- "--spectrum-actionbutton-background-color-selected-disabled",
- "--spectrum-actionbutton-background-color-selected-down",
- "--spectrum-actionbutton-background-color-selected-focus",
- "--spectrum-actionbutton-background-color-selected-hover",
"--spectrum-actionbutton-border-color",
- "--spectrum-actionbutton-border-color-default",
- "--spectrum-actionbutton-border-color-disabled",
- "--spectrum-actionbutton-border-color-down",
- "--spectrum-actionbutton-border-color-focus",
- "--spectrum-actionbutton-border-color-hover",
"--spectrum-actionbutton-border-radius",
"--spectrum-actionbutton-border-width",
- "--spectrum-actionbutton-content-color",
- "--spectrum-actionbutton-content-color-selected",
+ "--spectrum-actionbutton-content-color-default",
+ "--spectrum-actionbutton-content-color-disabled",
+ "--spectrum-actionbutton-content-color-down",
+ "--spectrum-actionbutton-content-color-focus",
+ "--spectrum-actionbutton-content-color-hover",
+ "--spectrum-actionbutton-downstate-perspective",
"--spectrum-actionbutton-edge-to-hold-icon",
"--spectrum-actionbutton-edge-to-text",
"--spectrum-actionbutton-edge-to-visual",
"--spectrum-actionbutton-edge-to-visual-only",
+ "--spectrum-actionbutton-focus-indicator-border-radius",
"--spectrum-actionbutton-focus-indicator-color",
"--spectrum-actionbutton-focus-indicator-gap",
"--spectrum-actionbutton-focus-indicator-thickness",
"--spectrum-actionbutton-font-size",
+ "--spectrum-actionbutton-font-style",
+ "--spectrum-actionbutton-font-weight",
"--spectrum-actionbutton-height",
"--spectrum-actionbutton-icon-size",
- "--spectrum-actionbutton-sized-edge-to-hold-icon",
- "--spectrum-actionbutton-sized-edge-to-text",
- "--spectrum-actionbutton-sized-edge-to-visual",
- "--spectrum-actionbutton-sized-edge-to-visual-only",
- "--spectrum-actionbutton-sized-font-size",
- "--spectrum-actionbutton-sized-height",
- "--spectrum-actionbutton-sized-icon-size",
- "--spectrum-actionbutton-sized-text-to-visual",
+ "--spectrum-actionbutton-line-height",
+ "--spectrum-actionbutton-min-width",
"--spectrum-actionbutton-text-to-visual"
],
"global": [
@@ -170,17 +152,23 @@
"--spectrum-component-height-300",
"--spectrum-component-height-50",
"--spectrum-component-height-75",
+ "--spectrum-component-size-difference-down",
+ "--spectrum-component-size-minimum-perspective-down",
+ "--spectrum-component-size-width-ratio-down",
"--spectrum-corner-radius-medium-size-extra-large",
"--spectrum-corner-radius-medium-size-extra-small",
"--spectrum-corner-radius-medium-size-large",
"--spectrum-corner-radius-medium-size-medium",
"--spectrum-corner-radius-medium-size-small",
+ "--spectrum-default-font-style",
"--spectrum-disabled-background-color",
"--spectrum-disabled-content-color",
"--spectrum-disabled-static-black-background-color",
"--spectrum-disabled-static-black-content-color",
"--spectrum-disabled-static-white-background-color",
"--spectrum-disabled-static-white-content-color",
+ "--spectrum-downstate-height",
+ "--spectrum-downstate-width",
"--spectrum-focus-indicator-color",
"--spectrum-focus-indicator-gap",
"--spectrum-focus-indicator-thickness",
@@ -191,9 +179,10 @@
"--spectrum-font-size-75",
"--spectrum-gray-100",
"--spectrum-gray-200",
- "--spectrum-gray-50",
+ "--spectrum-gray-25",
"--spectrum-line-height-100",
"--spectrum-logical-rotation",
+ "--spectrum-medium-font-weight",
"--spectrum-neutral-background-color-selected-default",
"--spectrum-neutral-background-color-selected-down",
"--spectrum-neutral-background-color-selected-hover",
@@ -212,10 +201,12 @@
"--spectrum-text-to-visual-75",
"--spectrum-transparent-black-100",
"--spectrum-transparent-black-200",
+ "--spectrum-transparent-black-25",
"--spectrum-transparent-black-800",
"--spectrum-transparent-black-900",
"--spectrum-transparent-white-100",
"--spectrum-transparent-white-200",
+ "--spectrum-transparent-white-25",
"--spectrum-transparent-white-800",
"--spectrum-transparent-white-900",
"--spectrum-white",
@@ -225,75 +216,18 @@
"--spectrum-workflow-icon-size-50",
"--spectrum-workflow-icon-size-75"
],
- "system-theme": [
- "--system-action-button-background-color-default",
- "--system-action-button-background-color-disabled",
- "--system-action-button-background-color-down",
- "--system-action-button-background-color-focus",
- "--system-action-button-background-color-hover",
- "--system-action-button-background-color-selected",
- "--system-action-button-background-color-selected-down",
- "--system-action-button-background-color-selected-focus",
- "--system-action-button-background-color-selected-hover",
- "--system-action-button-border-color-default",
- "--system-action-button-border-color-disabled",
- "--system-action-button-border-color-down",
- "--system-action-button-border-color-focus",
- "--system-action-button-border-color-hover",
- "--system-action-button-content-color-selected",
- "--system-action-button-quiet-background-color-default",
- "--system-action-button-quiet-background-color-disabled",
- "--system-action-button-quiet-background-color-down",
- "--system-action-button-quiet-background-color-focus",
- "--system-action-button-quiet-background-color-hover",
- "--system-action-button-quiet-background-color-selected-disabled",
- "--system-action-button-size-l-border-radius",
- "--system-action-button-size-m-border-radius",
- "--system-action-button-size-s-border-radius",
- "--system-action-button-size-xl-border-radius",
- "--system-action-button-size-xs-border-radius",
- "--system-action-button-static-black-background-color-default",
- "--system-action-button-static-black-background-color-disabled",
- "--system-action-button-static-black-background-color-down",
- "--system-action-button-static-black-background-color-focus",
- "--system-action-button-static-black-background-color-hover",
- "--system-action-button-static-black-background-color-selected-disabled",
- "--system-action-button-static-black-border-color-default",
- "--system-action-button-static-black-border-color-disabled",
- "--system-action-button-static-black-border-color-down",
- "--system-action-button-static-black-border-color-focus",
- "--system-action-button-static-black-border-color-hover",
- "--system-action-button-static-black-quiet-background-color-default",
- "--system-action-button-static-black-quiet-background-color-disabled",
- "--system-action-button-static-black-quiet-background-color-down",
- "--system-action-button-static-black-quiet-background-color-focus",
- "--system-action-button-static-black-quiet-background-color-hover",
- "--system-action-button-static-white-background-color-default",
- "--system-action-button-static-white-background-color-disabled",
- "--system-action-button-static-white-background-color-down",
- "--system-action-button-static-white-background-color-focus",
- "--system-action-button-static-white-background-color-hover",
- "--system-action-button-static-white-background-color-selected-disabled",
- "--system-action-button-static-white-border-color-default",
- "--system-action-button-static-white-border-color-disabled",
- "--system-action-button-static-white-border-color-down",
- "--system-action-button-static-white-border-color-focus",
- "--system-action-button-static-white-border-color-hover",
- "--system-action-button-static-white-quiet-background-color-default",
- "--system-action-button-static-white-quiet-background-color-disabled",
- "--system-action-button-static-white-quiet-background-color-down",
- "--system-action-button-static-white-quiet-background-color-focus",
- "--system-action-button-static-white-quiet-background-color-hover"
- ],
"passthroughs": [
"--mod-button-animation-duration",
"--mod-button-font-family",
"--mod-button-line-height"
],
"high-contrast": [
- "--highcontrast-actionbutton-background-color",
+ "--highcontrast-actionbutton-animation-duration",
+ "--highcontrast-actionbutton-background-color-default",
+ "--highcontrast-actionbutton-background-color-disabled",
"--highcontrast-actionbutton-border-color",
- "--highcontrast-actionbutton-content-color",
+ "--highcontrast-actionbutton-content-color-default",
+ "--highcontrast-actionbutton-content-color-disabled",
"--highcontrast-actionbutton-focus-indicator-color"
]
}
diff --git a/components/actionbutton/index.css b/components/actionbutton/index.css
index f5dce232230..e08737894eb 100644
--- a/components/actionbutton/index.css
+++ b/components/actionbutton/index.css
@@ -1,283 +1,278 @@
/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
+Copyright 2025 Adobe. All rights reserved.
+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
-@import "@spectrum-css/commons/basebutton.css";
-@import "./themes/spectrum-two.css";
-
-@media (forced-colors: active) {
- .spectrum-ActionButton {
- /* force a more visible focus indicator color */
- --highcontrast-actionbutton-focus-indicator-color: ButtonText;
- --highcontrast-actionbutton-content-color: ButtonText;
-
- &::after {
- /* make sure focus indicator renders */
- forced-color-adjust: none;
- }
+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
+governing permissions and limitations under the License.
+*/
- &.is-selected {
- --highcontrast-actionbutton-background-color: Highlight;
- --highcontrast-actionbutton-border-color: HighlightText;
- --highcontrast-actionbutton-content-color: HighlightText;
-
- .spectrum-ActionButton-icon,
- .spectrum-ActionButton-hold,
- .spectrum-ActionButton-label {
- /* ensure custom text colors from above get applied */
- /* it seems like this shouldn't have to be done, but colors are wrong without it */
- forced-color-adjust: none;
- }
- }
-
- &:disabled,
- &.is-disabled {
- --highcontrast-actionbutton-content-color: GrayText;
- --highcontrast-actionbutton-border-color: GrayText;
- --highcontrast-actionbutton-background-color: ButtonFace;
- }
- }
-}
+@import "@spectrum-css/commons/basebutton.css";
.spectrum-ActionButton {
- --spectrum-actionbutton-background-color: var(--highcontrast-actionbutton-background-color, var(--mod-actionbutton-background-color-default, var(--spectrum-actionbutton-background-color-default)));
- --spectrum-actionbutton-border-color: var(--highcontrast-actionbutton-border-color, var(--mod-actionbutton-border-color-default, var(--spectrum-actionbutton-border-color-default)));
- --spectrum-actionbutton-content-color: var(--highcontrast-actionbutton-content-color, var(--mod-actionbutton-content-color-default, var(--spectrum-neutral-content-color-default)));
-
- --spectrum-actionbutton-border-radius: var(--mod-actionbutton-border-radius, var(--spectrum-actionbutton-border-radius));
- --spectrum-actionbutton-border-width: var(--mod-actionbutton-border-width, var(--spectrum-border-width-100));
-
- --spectrum-actionbutton-focus-indicator-gap: var(--mod-actionbutton-focus-indicator-gap, var(--spectrum-focus-indicator-gap));
- --spectrum-actionbutton-focus-indicator-thickness: var(--mod-actionbutton-focus-indicator-thickness, var(--spectrum-focus-indicator-thickness));
- --spectrum-actionbutton-focus-indicator-color: var(--highcontrast-actionbutton-focus-indicator-color, var(--mod-actionbutton-focus-indicator-color, var(--spectrum-focus-indicator-color)));
+ --spectrum-actionbutton-animation-duration: var(--spectrum-animation-duration-100);
+ --spectrum-actionbutton-border-radius: var(--spectrum-corner-radius-medium-size-medium);
+ --spectrum-actionbutton-border-width: var(--spectrum-border-width-100);
+ --spectrum-actionbutton-border-color: transparent;
+
+ --spectrum-actionbutton-content-color-default: var(--spectrum-neutral-content-color-default);
+ --spectrum-actionbutton-content-color-hover: var(--spectrum-neutral-content-color-hover);
+ --spectrum-actionbutton-content-color-down: var(--spectrum-neutral-content-color-down);
+ --spectrum-actionbutton-content-color-focus: var(--spectrum-neutral-content-color-key-focus);
+ --spectrum-actionbutton-content-color-disabled: var(--spectrum-disabled-content-color);
+
+ --spectrum-actionbutton-background-color-default: var(--spectrum-gray-100);
+ --spectrum-actionbutton-background-color-hover: var(--spectrum-gray-200);
+ --spectrum-actionbutton-background-color-down: var(--spectrum-gray-200);
+ --spectrum-actionbutton-background-color-focus: var(--spectrum-gray-200);
+ --spectrum-actionbutton-background-color-disabled: var(--spectrum-disabled-background-color);
+
+ --spectrum-actionbutton-focus-indicator-gap: var(--spectrum-focus-indicator-gap);
+ --spectrum-actionbutton-focus-indicator-thickness: var(--spectrum-focus-indicator-thickness);
+ --spectrum-actionbutton-focus-indicator-color: var(--spectrum-focus-indicator-color);
+ --spectrum-actionbutton-focus-indicator-border-radius: calc(var(--spectrum-actionbutton-border-radius) + var(--spectrum-actionbutton-focus-indicator-gap));
+
+ --spectrum-actionbutton-min-width: calc((var(--spectrum-component-edge-to-visual-only-100) * 2) + var(--spectrum-workflow-icon-size-100));
+ --spectrum-actionbutton-height: var(--spectrum-component-height-100);
+
+ --spectrum-actionbutton-icon-size: var(--spectrum-workflow-icon-size-100);
+ --spectrum-actionbutton-font-size: var(--spectrum-font-size-100);
+ --spectrum-actionbutton-font-weight: var(--spectrum-medium-font-weight);
+ --spectrum-actionbutton-font-style: var(--spectrum-default-font-style);
+
+ /* Take up full component height for line-height, in order to help prevent characters from being cut off in some languages (e.g. Thai). */
+ --spectrum-actionbutton-line-height: var(--spectrum-actionbutton-height);
+
+ --spectrum-actionbutton-text-to-visual: var(--spectrum-text-to-visual-100);
+ --spectrum-actionbutton-edge-to-hold-icon: var(--spectrum-action-button-edge-to-hold-icon-medium);
+ --spectrum-actionbutton-edge-to-visual: var(--spectrum-component-edge-to-visual-100);
+ --spectrum-actionbutton-edge-to-text: var(--spectrum-component-edge-to-text-100);
+ --spectrum-actionbutton-edge-to-visual-only: var(--spectrum-component-edge-to-visual-only-100);
+
+ /* stylelint-disable-next-line spectrum-tools/no-unknown-custom-properties -- height and width are set by implementations */
+ --spectrum-actionbutton-downstate-perspective: max(var(--spectrum-downstate-height), var(--spectrum-downstate-width) * var(--spectrum-component-size-width-ratio-down));
&:dir(rtl) {
--spectrum-logical-rotation: matrix(-1, 0, 0, 1, 0, 0);
}
&.spectrum-ActionButton--quiet {
- --spectrum-actionbutton-border-color: transparent;
- }
+ --spectrum-actionbutton-background-color-default: transparent;
+ --spectrum-actionbutton-background-color-hover: var(--spectrum-gray-200);
+ --spectrum-actionbutton-background-color-down: var(--spectrum-gray-200);
+ --spectrum-actionbutton-background-color-focus: var(--spectrum-gray-200);
+ --spectrum-actionbutton-background-color-disabled: transparent;
- /* Emphasized styles are only applied to the "selected" state of the button and are not applied in static color modes */
- &.spectrum-ActionButton--emphasized:not(.spectrum-ActionButton--staticBlack, .spectrum-ActionButton--staticWhite) {
- --mod-actionbutton-background-color-default-selected: var(--mod-actionbutton-background-color-default-selected-emphasized, var(--spectrum-accent-background-color-default));
- --mod-actionbutton-background-color-hover-selected: var(--mod-actionbutton-background-color-hover-selected-emphasized, var(--spectrum-accent-background-color-hover));
- --mod-actionbutton-background-color-down-selected: var(--mod-actionbutton-background-color-down-selected-emphasized, var(--spectrum-accent-background-color-down));
- --mod-actionbutton-background-color-focus-selected: var(--mod-actionbutton-background-color-focus-selected-emphasized, var(--spectrum-accent-background-color-key-focus));
-
- --mod-actionbutton-content-color-default-selected: var(--mod-actionbutton-content-color-default-selected-emphasized, var(--spectrum-white));
- --mod-actionbutton-content-color-hover-selected: var(--mod-actionbutton-content-color-hover-selected-emphasized, var(--spectrum-white));
- --mod-actionbutton-content-color-down-selected: var(--mod-actionbutton-content-color-down-selected-emphasized, var(--spectrum-white));
- --mod-actionbutton-content-color-focus-selected: var(--mod-actionbutton-content-color-focus-selected-emphasized, var(--spectrum-white));
+ &.is-selected {
+ --spectrum-actionbutton-background-color-disabled: var(--spectrum-disabled-background-color);
+ }
}
&.spectrum-ActionButton--staticBlack {
- --mod-actionbutton-background-color-default-selected: var(--spectrum-transparent-black-800);
- --mod-actionbutton-background-color-hover-selected: var(--spectrum-transparent-black-900);
- --mod-actionbutton-background-color-down-selected: var(--spectrum-transparent-black-900);
- --mod-actionbutton-background-color-focus-selected: var(--spectrum-transparent-black-900);
-
- --mod-actionbutton-content-color-default: var(--spectrum-black);
- --mod-actionbutton-content-color-hover: var(--spectrum-black);
- --mod-actionbutton-content-color-down: var(--spectrum-black);
- --mod-actionbutton-content-color-focus: var(--spectrum-black);
- --mod-actionbutton-content-color-disabled: var(--spectrum-disabled-static-black-content-color);
-
- --mod-actionbutton-content-color-default-selected: var(--mod-actionbutton-static-content-color, var(--spectrum-white));
- --mod-actionbutton-content-color-hover-selected: var(--mod-actionbutton-static-content-color, var(--spectrum-white));
- --mod-actionbutton-content-color-down-selected: var(--mod-actionbutton-static-content-color, var(--spectrum-white));
- --mod-actionbutton-content-color-focus-selected: var(--mod-actionbutton-static-content-color, var(--spectrum-white));
-
- --mod-actionbutton-focus-indicator-color: var(--spectrum-static-black-focus-indicator-color);
+ --spectrum-actionbutton-background-color-default: var(--spectrum-transparent-black-100);
+ --spectrum-actionbutton-background-color-hover: var(--spectrum-transparent-black-200);
+ --spectrum-actionbutton-background-color-down: var(--spectrum-transparent-black-200);
+ --spectrum-actionbutton-background-color-focus: var(--spectrum-transparent-black-200);
+ --spectrum-actionbutton-background-color-disabled: var(--spectrum-disabled-static-black-background-color);
+
+ --spectrum-actionbutton-content-color-default: var(--spectrum-transparent-black-800);
+ --spectrum-actionbutton-content-color-hover: var(--spectrum-transparent-black-900);
+ --spectrum-actionbutton-content-color-down: var(--spectrum-transparent-black-900);
+ --spectrum-actionbutton-content-color-focus: var(--spectrum-transparent-black-900);
+ --spectrum-actionbutton-content-color-disabled: var(--spectrum-disabled-static-black-content-color);
+
+ --spectrum-actionbutton-focus-indicator-color: var(--spectrum-static-black-focus-indicator-color);
+
+ &.spectrum-ActionButton--quiet {
+ --spectrum-actionbutton-background-color-default: transparent;
+ --spectrum-actionbutton-background-color-hover: var(--spectrum-transparent-black-200);
+ --spectrum-actionbutton-background-color-down: var(--spectrum-transparent-black-200);
+ --spectrum-actionbutton-background-color-focus: var(--spectrum-transparent-black-200);
+ --spectrum-actionbutton-background-color-disabled: var(--spectrum-transparent-black-25);
+ }
}
&.spectrum-ActionButton--staticWhite {
- /* background color _not_ selected is coming from the system theme layer */
- --mod-actionbutton-background-color-default-selected: var(--spectrum-transparent-white-800);
- --mod-actionbutton-background-color-hover-selected: var(--spectrum-transparent-white-900);
- --mod-actionbutton-background-color-down-selected: var(--spectrum-transparent-white-900);
- --mod-actionbutton-background-color-focus-selected: var(--spectrum-transparent-white-900);
-
- --mod-actionbutton-content-color-default: var(--spectrum-white);
- --mod-actionbutton-content-color-hover: var(--spectrum-white);
- --mod-actionbutton-content-color-down: var(--spectrum-white);
- --mod-actionbutton-content-color-focus: var(--spectrum-white);
- --mod-actionbutton-content-color-disabled: var(--spectrum-disabled-static-white-content-color);
-
- --mod-actionbutton-content-color-default-selected: var(--mod-actionbutton-static-content-color, var(--spectrum-black));
- --mod-actionbutton-content-color-hover-selected: var(--mod-actionbutton-static-content-color, var(--spectrum-black));
- --mod-actionbutton-content-color-down-selected: var(--mod-actionbutton-static-content-color, var(--spectrum-black));
- --mod-actionbutton-content-color-focus-selected: var(--mod-actionbutton-static-content-color, var(--spectrum-black));
-
- --mod-actionbutton-focus-indicator-color: var(--spectrum-static-white-focus-indicator-color);
+ --spectrum-actionbutton-background-color-default: var(--spectrum-transparent-white-100);
+ --spectrum-actionbutton-background-color-hover: var(--spectrum-transparent-white-200);
+ --spectrum-actionbutton-background-color-down: var(--spectrum-transparent-white-200);
+ --spectrum-actionbutton-background-color-focus: var(--spectrum-transparent-white-200);
+ --spectrum-actionbutton-background-color-disabled: var(--spectrum-disabled-static-white-background-color);
+
+ --spectrum-actionbutton-content-color-default: var(--spectrum-transparent-white-800);
+ --spectrum-actionbutton-content-color-hover: var(--spectrum-transparent-white-900);
+ --spectrum-actionbutton-content-color-down: var(--spectrum-transparent-white-900);
+ --spectrum-actionbutton-content-color-focus: var(--spectrum-transparent-white-900);
+ --spectrum-actionbutton-content-color-disabled: var(--spectrum-disabled-static-white-content-color);
+
+ --spectrum-actionbutton-focus-indicator-color: var(--spectrum-static-white-focus-indicator-color);
+
+ &.spectrum-ActionButton--quiet {
+ --spectrum-actionbutton-background-color-default: transparent;
+ --spectrum-actionbutton-background-color-hover: var(--spectrum-transparent-white-200);
+ --spectrum-actionbutton-background-color-down: var(--spectrum-transparent-white-200);
+ --spectrum-actionbutton-background-color-focus: var(--spectrum-transparent-white-200);
+ --spectrum-actionbutton-background-color-disabled: var(--spectrum-transparent-white-25);
+ }
}
&.is-selected {
- --mod-actionbutton-background-color-default: var(--mod-actionbutton-background-color-default-selected, var(--spectrum-actionbutton-background-color-selected));
- --mod-actionbutton-background-color-hover: var(--mod-actionbutton-background-color-hover-selected, var(--spectrum-actionbutton-background-color-selected-hover));
- --mod-actionbutton-background-color-down: var(--mod-actionbutton-background-color-down-selected, var(--spectrum-actionbutton-background-color-selected-down));
- --mod-actionbutton-background-color-focus: var(--mod-actionbutton-background-color-focus-selected, var(--spectrum-actionbutton-background-color-selected-focus));
- --mod-actionbutton-background-color-disabled: var(--spectrum-actionbutton-background-color-selected-disabled);
-
- --mod-actionbutton-border-color-default: transparent;
- --mod-actionbutton-border-color-hover: transparent;
- --mod-actionbutton-border-color-down: transparent;
- --mod-actionbutton-border-color-focus: transparent;
- --mod-actionbutton-border-color-disabled: transparent;
-
- --mod-actionbutton-content-color-default: var(--mod-actionbutton-content-color-default-selected, var(--spectrum-actionbutton-content-color-selected));
- --mod-actionbutton-content-color-hover: var(--mod-actionbutton-content-color-hover-selected, var(--spectrum-actionbutton-content-color-selected));
- --mod-actionbutton-content-color-down: var(--mod-actionbutton-content-color-down-selected, var(--spectrum-actionbutton-content-color-selected));
- --mod-actionbutton-content-color-focus: var(--mod-actionbutton-content-color-focus-selected, var(--spectrum-actionbutton-content-color-selected));
- }
+ --mod-actionbutton-background-color-default: var(--mod-actionbutton-background-color-default-selected, var(--spectrum-neutral-background-color-selected-default));
+ --mod-actionbutton-background-color-hover: var(--mod-actionbutton-background-color-hover-selected, var(--spectrum-neutral-background-color-selected-hover));
+ --mod-actionbutton-background-color-down: var(--mod-actionbutton-background-color-down-selected, var(--spectrum-neutral-background-color-selected-down));
+ --mod-actionbutton-background-color-focus: var(--mod-actionbutton-background-color-focus-selected, var(--spectrum-neutral-background-color-selected-key-focus));
+
+ --mod-actionbutton-content-color-default: var(--mod-actionbutton-content-color-default-selected, var(--spectrum-gray-25));
+ --mod-actionbutton-content-color-hover: var(--mod-actionbutton-content-color-hover-selected, var(--spectrum-gray-25));
+ --mod-actionbutton-content-color-down: var(--mod-actionbutton-content-color-down-selected, var(--spectrum-gray-25));
+ --mod-actionbutton-content-color-focus: var(--mod-actionbutton-content-color-focus-selected, var(--spectrum-gray-25));
+
+ &.spectrum-ActionButton--emphasized {
+ --mod-actionbutton-background-color-default: var(--mod-actionbutton-background-color-default-selected-emphasized, var(--spectrum-accent-background-color-default));
+ --mod-actionbutton-background-color-hover: var(--mod-actionbutton-background-color-hover-selected-emphasized, var(--spectrum-accent-background-color-hover));
+ --mod-actionbutton-background-color-down: var(--mod-actionbutton-background-color-down-selected-emphasized, var(--spectrum-accent-background-color-down));
+ --mod-actionbutton-background-color-focus: var(--mod-actionbutton-background-color-focus-selected-emphasized, var(--spectrum-accent-background-color-key-focus));
+
+ --mod-actionbutton-content-color-default: var(--mod-actionbutton-content-color-default-selected-emphasized, var(--spectrum-white));
+ --mod-actionbutton-content-color-hover: var(--mod-actionbutton-content-color-hover-selected-emphasized, var(--spectrum-white));
+ --mod-actionbutton-content-color-down: var(--mod-actionbutton-content-color-down-selected-emphasized, var(--spectrum-white));
+ --mod-actionbutton-content-color-focus: var(--mod-actionbutton-content-color-focus-selected-emphasized, var(--spectrum-white));
+ }
- &:hover {
- --mod-actionbutton-background-color-default: var(--mod-actionbutton-background-color-hover, var(--spectrum-actionbutton-background-color-hover));
- --mod-actionbutton-border-color-default: var(--mod-actionbutton-border-color-hover, var(--spectrum-actionbutton-border-color-hover));
- --mod-actionbutton-content-color-default: var(--mod-actionbutton-content-color-hover, var(--spectrum-neutral-content-color-hover));
- }
+ &.spectrum-ActionButton--staticWhite {
+ --spectrum-actionbutton-background-color-default: var(--spectrum-transparent-white-800);
+ --spectrum-actionbutton-background-color-hover: var(--spectrum-transparent-white-900);
+ --spectrum-actionbutton-background-color-down: var(--spectrum-transparent-white-900);
+ --spectrum-actionbutton-background-color-focus: var(--spectrum-transparent-white-900);
+ --spectrum-actionbutton-background-color-disabled: var(--spectrum-disabled-static-white-background-color);
+
+ --spectrum-actionbutton-content-color-default: var(--spectrum-black);
+ --spectrum-actionbutton-content-color-hover: var(--spectrum-black);
+ --spectrum-actionbutton-content-color-down: var(--spectrum-black);
+ --spectrum-actionbutton-content-color-focus: var(--spectrum-black);
+ }
- &:focus-visible {
- --mod-actionbutton-background-color-default: var(--mod-actionbutton-background-color-focus, var(--spectrum-actionbutton-background-color-focus));
- --mod-actionbutton-border-color-default: var(--mod-actionbutton-border-color-focus, var(--spectrum-actionbutton-border-color-focus));
- --mod-actionbutton-content-color-default: var(--mod-actionbutton-content-color-focus, var(--spectrum-neutral-content-color-key-focus));
+ &.spectrum-ActionButton--staticBlack {
+ --spectrum-actionbutton-background-color-default: var(--spectrum-transparent-black-800);
+ --spectrum-actionbutton-background-color-hover: var(--spectrum-transparent-black-900);
+ --spectrum-actionbutton-background-color-down: var(--spectrum-transparent-black-900);
+ --spectrum-actionbutton-background-color-focus: var(--spectrum-transparent-black-900);
+ --spectrum-actionbutton-background-color-disabled: var(--spectrum-disabled-static-black-background-color);
+
+ --spectrum-actionbutton-content-color-default: var(--spectrum-white);
+ --spectrum-actionbutton-content-color-hover: var(--spectrum-white);
+ --spectrum-actionbutton-content-color-down: var(--spectrum-white);
+ --spectrum-actionbutton-content-color-focus: var(--spectrum-white);
+ }
}
+}
- &:active {
- --mod-actionbutton-background-color-default: var(--mod-actionbutton-background-color-down, var(--spectrum-actionbutton-background-color-down));
- --mod-actionbutton-border-color-default: var(--mod-actionbutton-border-color-down, var(--spectrum-actionbutton-border-color-down));
- --mod-actionbutton-content-color-default: var(--mod-actionbutton-content-color-down, var(--spectrum-neutral-content-color-down));
- }
+.spectrum-ActionButton--sizeXS {
+ --spectrum-actionbutton-border-radius: var(--spectrum-corner-radius-medium-size-extra-small);
- &:disabled,
- &.is-disabled {
- --mod-actionbutton-background-color-default: var(--mod-actionbutton-background-color-disabled, var(--spectrum-actionbutton-background-color-disabled));
- --mod-actionbutton-border-color-default: var(--mod-actionbutton-border-color-disabled, var(--spectrum-actionbutton-border-color-disabled));
- --mod-actionbutton-content-color-default: var(--mod-actionbutton-content-color-disabled, var(--spectrum-disabled-content-color));
- }
-}
+ --spectrum-actionbutton-min-width: calc((var(--spectrum-component-edge-to-visual-only-50) * 2) + var(--spectrum-workflow-icon-size-50));
+ --spectrum-actionbutton-height: var(--spectrum-component-height-50);
-.spectrum-ActionButton,
-.spectrum-ActionButton--sizeM {
- --spectrum-actionbutton-sized-height: var(--spectrum-component-height-100);
- --spectrum-actionbutton-sized-icon-size: var(--spectrum-workflow-icon-size-100);
- --spectrum-actionbutton-sized-font-size: var(--spectrum-font-size-100);
- --spectrum-actionbutton-sized-text-to-visual: var(--spectrum-text-to-visual-100);
- --spectrum-actionbutton-sized-edge-to-hold-icon: var(--spectrum-action-button-edge-to-hold-icon-medium);
- --spectrum-actionbutton-sized-edge-to-visual: var(--spectrum-component-edge-to-visual-100);
- --spectrum-actionbutton-sized-edge-to-text: var(--spectrum-component-edge-to-text-100);
- --spectrum-actionbutton-sized-edge-to-visual-only: var(--spectrum-component-edge-to-visual-only-100);
-}
+ --spectrum-actionbutton-icon-size: var(--spectrum-workflow-icon-size-50);
+ --spectrum-actionbutton-font-size: var(--spectrum-font-size-50);
+ --spectrum-actionbutton-text-to-visual: var(--spectrum-text-to-visual-50);
+ --spectrum-actionbutton-edge-to-hold-icon: var(--spectrum-action-button-edge-to-hold-icon-extra-small);
+ --spectrum-actionbutton-edge-to-visual: var(--spectrum-component-edge-to-visual-50);
+ --spectrum-actionbutton-edge-to-text: var(--spectrum-component-edge-to-text-50);
+ --spectrum-actionbutton-edge-to-visual-only: var(--spectrum-component-edge-to-visual-only-50);
-.spectrum-ActionButton--sizeXS {
- --spectrum-actionbutton-sized-height: var(--spectrum-component-height-50);
- --spectrum-actionbutton-sized-icon-size: var(--spectrum-workflow-icon-size-50);
- --spectrum-actionbutton-sized-font-size: var(--spectrum-font-size-50);
- --spectrum-actionbutton-sized-text-to-visual: var(--spectrum-text-to-visual-50);
- --spectrum-actionbutton-sized-edge-to-hold-icon: var(--spectrum-action-button-edge-to-hold-icon-extra-small);
- --spectrum-actionbutton-sized-edge-to-visual: var(--spectrum-component-edge-to-visual-50);
- --spectrum-actionbutton-sized-edge-to-text: var(--spectrum-component-edge-to-text-50);
- --spectrum-actionbutton-sized-edge-to-visual-only: var(--spectrum-component-edge-to-visual-only-50);
+ --spectrum-actionbutton-downstate-perspective: var(--spectrum-component-size-minimum-perspective-down);
}
.spectrum-ActionButton--sizeS {
- --spectrum-actionbutton-sized-height: var(--spectrum-component-height-75);
- --spectrum-actionbutton-sized-icon-size: var(--spectrum-workflow-icon-size-75);
- --spectrum-actionbutton-sized-font-size: var(--spectrum-font-size-75);
- --spectrum-actionbutton-sized-text-to-visual: var(--spectrum-text-to-visual-75);
- --spectrum-actionbutton-sized-edge-to-hold-icon: var(--spectrum-action-button-edge-to-hold-icon-small);
- --spectrum-actionbutton-sized-edge-to-visual: var(--spectrum-component-edge-to-visual-75);
- --spectrum-actionbutton-sized-edge-to-text: var(--spectrum-component-edge-to-text-75);
- --spectrum-actionbutton-sized-edge-to-visual-only: var(--spectrum-component-edge-to-visual-only-75);
+ --spectrum-actionbutton-border-radius: var(--spectrum-corner-radius-medium-size-small);
+
+ --spectrum-actionbutton-min-width: calc((var(--spectrum-component-edge-to-visual-only-75) * 2) + var(--spectrum-workflow-icon-size-75));
+ --spectrum-actionbutton-height: var(--spectrum-component-height-75);
+
+ --spectrum-actionbutton-icon-size: var(--spectrum-workflow-icon-size-75);
+ --spectrum-actionbutton-font-size: var(--spectrum-font-size-75);
+ --spectrum-actionbutton-text-to-visual: var(--spectrum-text-to-visual-75);
+ --spectrum-actionbutton-edge-to-hold-icon: var(--spectrum-action-button-edge-to-hold-icon-small);
+ --spectrum-actionbutton-edge-to-visual: var(--spectrum-component-edge-to-visual-75);
+ --spectrum-actionbutton-edge-to-text: var(--spectrum-component-edge-to-text-75);
+ --spectrum-actionbutton-edge-to-visual-only: var(--spectrum-component-edge-to-visual-only-75);
+
+ --spectrum-actionbutton-downstate-perspective: var(--spectrum-component-size-minimum-perspective-down);
}
.spectrum-ActionButton--sizeL {
- --spectrum-actionbutton-sized-height: var(--spectrum-component-height-200);
- --spectrum-actionbutton-sized-icon-size: var(--spectrum-workflow-icon-size-200);
- --spectrum-actionbutton-sized-font-size: var(--spectrum-font-size-200);
- --spectrum-actionbutton-sized-text-to-visual: var(--spectrum-text-to-visual-200);
- --spectrum-actionbutton-sized-edge-to-hold-icon: var(--spectrum-action-button-edge-to-hold-icon-large);
- --spectrum-actionbutton-sized-edge-to-visual: var(--spectrum-component-edge-to-visual-200);
- --spectrum-actionbutton-sized-edge-to-text: var(--spectrum-component-edge-to-text-200);
- --spectrum-actionbutton-sized-edge-to-visual-only: var(--spectrum-component-edge-to-visual-only-200);
+ --spectrum-actionbutton-border-radius: var(--spectrum-corner-radius-medium-size-large);
+
+ --spectrum-actionbutton-min-width: calc((var(--spectrum-component-edge-to-visual-only-200) * 2) + var(--spectrum-workflow-icon-size-200));
+ --spectrum-actionbutton-height: var(--spectrum-component-height-200);
+
+ --spectrum-actionbutton-icon-size: var(--spectrum-workflow-icon-size-200);
+ --spectrum-actionbutton-font-size: var(--spectrum-font-size-200);
+ --spectrum-actionbutton-text-to-visual: var(--spectrum-text-to-visual-200);
+ --spectrum-actionbutton-edge-to-hold-icon: var(--spectrum-action-button-edge-to-hold-icon-large);
+ --spectrum-actionbutton-edge-to-visual: var(--spectrum-component-edge-to-visual-200);
+ --spectrum-actionbutton-edge-to-text: var(--spectrum-component-edge-to-text-200);
+ --spectrum-actionbutton-edge-to-visual-only: var(--spectrum-component-edge-to-visual-only-200);
}
.spectrum-ActionButton--sizeXL {
- --spectrum-actionbutton-sized-height: var(--spectrum-component-height-300);
- --spectrum-actionbutton-sized-icon-size: var(--spectrum-workflow-icon-size-300);
- --spectrum-actionbutton-sized-font-size: var(--spectrum-font-size-300);
- --spectrum-actionbutton-sized-text-to-visual: var(--spectrum-text-to-visual-300);
- --spectrum-actionbutton-sized-edge-to-hold-icon: var(--spectrum-action-button-edge-to-hold-icon-extra-large);
- --spectrum-actionbutton-sized-edge-to-visual: var(--spectrum-component-edge-to-visual-300);
- --spectrum-actionbutton-sized-edge-to-text: var(--spectrum-component-edge-to-text-300);
- --spectrum-actionbutton-sized-edge-to-visual-only: var(--spectrum-component-edge-to-visual-only-300);
+ --spectrum-actionbutton-border-radius: var(--spectrum-corner-radius-medium-size-extra-large);
+
+ --spectrum-actionbutton-min-width: calc((var(--spectrum-component-edge-to-visual-only-300) * 2) + var(--spectrum-workflow-icon-size-300));
+ --spectrum-actionbutton-height: var(--spectrum-component-height-300);
+
+ --spectrum-actionbutton-icon-size: var(--spectrum-workflow-icon-size-300);
+ --spectrum-actionbutton-font-size: var(--spectrum-font-size-300);
+ --spectrum-actionbutton-text-to-visual: var(--spectrum-text-to-visual-300);
+ --spectrum-actionbutton-edge-to-hold-icon: var(--spectrum-action-button-edge-to-hold-icon-extra-large);
+ --spectrum-actionbutton-edge-to-visual: var(--spectrum-component-edge-to-visual-300);
+ --spectrum-actionbutton-edge-to-text: var(--spectrum-component-edge-to-text-300);
+ --spectrum-actionbutton-edge-to-visual-only: var(--spectrum-component-edge-to-visual-only-300);
}
.spectrum-ActionButton {
- /* Variables leveraging t-shirt sizing */
- --spectrum-actionbutton-height: var(--mod-actionbutton-height, var(--spectrum-actionbutton-sized-height));
- --spectrum-actionbutton-icon-size: var(--mod-actionbutton-icon-size, var(--spectrum-actionbutton-sized-icon-size));
- --spectrum-actionbutton-font-size: var(--mod-actionbutton-font-size, var(--spectrum-actionbutton-sized-font-size));
- --spectrum-actionbutton-text-to-visual: var(--mod-actionbutton-text-to-visual, var(--spectrum-actionbutton-sized-text-to-visual));
- --spectrum-actionbutton-edge-to-hold-icon: var(--mod-actionbutton-edge-to-hold-icon, var(--spectrum-actionbutton-sized-edge-to-hold-icon));
-
- --spectrum-actionbutton-edge-to-visual: var(--mod-actionbutton-edge-to-visual, calc(var(--spectrum-actionbutton-sized-edge-to-visual) - var(--spectrum-actionbutton-border-width)));
- --spectrum-actionbutton-edge-to-text: var(--mod-actionbutton-edge-to-text, calc(var(--spectrum-actionbutton-sized-edge-to-text) - var(--spectrum-actionbutton-border-width)));
- --spectrum-actionbutton-edge-to-visual-only: var(--mod-actionbutton-edge-to-visual-only, calc(var(--spectrum-actionbutton-sized-edge-to-visual-only) - var(--spectrum-actionbutton-border-width)));
-
@extend %spectrum-BaseButton;
-
position: relative;
- min-inline-size: var(--mod-actionbutton-min-width, calc(var(--mod-actionbutton-edge-to-visual-only, var(--spectrum-actionbutton-sized-edge-to-visual-only)) * 2 + var(--spectrum-actionbutton-icon-size)));
- block-size: var(--spectrum-actionbutton-height);
+ min-inline-size: var(--mod-actionbutton-min-width, var(--spectrum-actionbutton-min-width));
+ block-size: var(--mod-actionbutton-height, var(--spectrum-actionbutton-height));
+ line-height: var(--mod-actionbutton-line-height, var(--spectrum-actionbutton-line-height));
- border-radius: var(--spectrum-actionbutton-border-radius);
+ border-radius: var(--mod-actionbutton-border-radius, var(--spectrum-actionbutton-border-radius));
border-width: var(--spectrum-actionbutton-border-width);
+ border-color: var(--highcontrast-actionbutton-border-color, var(--spectrum-actionbutton-border-color));
+ border-style: solid;
- gap: calc(var(--spectrum-actionbutton-text-to-visual) + var(--spectrum-actionbutton-edge-to-text) - var(--spectrum-actionbutton-edge-to-visual-only));
-
- /* Start with text-only padding */
- padding-inline: var(--spectrum-actionbutton-edge-to-text);
-
- background-color: var(--spectrum-actionbutton-background-color);
- border-color: var(--spectrum-actionbutton-border-color);
- color: var(--spectrum-actionbutton-content-color);
-
- transition: border-color var(--mod-actionbutton-animation-duration, var(--spectrum-animation-duration-100)) ease-in-out;
-
- &::after {
- position: absolute;
- inset: 0;
-
- margin: calc((var(--spectrum-actionbutton-focus-indicator-gap) + var(--spectrum-actionbutton-border-width)) * -1);
+ gap: var(--mod-actionbutton-text-to-visual, var(--spectrum-actionbutton-text-to-visual));
+ padding-inline: calc(var(--mod-actionbutton-edge-to-text, var(--spectrum-actionbutton-edge-to-text)) - var(--spectrum-actionbutton-border-width));
- border-radius: var(--mod-actionbutton-focus-indicator-border-radius, calc(var(--spectrum-actionbutton-border-radius) + var(--spectrum-actionbutton-focus-indicator-gap)));
+ background-color: var(--highcontrast-actionbutton-background-color-default, var(--mod-actionbutton-background-color-default, var(--spectrum-actionbutton-background-color-default)));
+ color: var(--highcontrast-actionbutton-content-color-default, var(--mod-actionbutton-content-color-default, var(--spectrum-actionbutton-content-color-default)));
- transition: box-shadow var(--mod-actionbutton-animation-duration, var(--spectrum-animation-duration-100)) ease-in-out;
-
- pointer-events: none;
- content: "";
+ &:hover {
+ background-color: var(--highcontrast-actionbutton-background-color-default, var(--mod-actionbutton-background-color-hover, var(--spectrum-actionbutton-background-color-hover)));
+ color: var(--highcontrast-actionbutton-content-color-default, var(--mod-actionbutton-content-color-hover, var(--spectrum-actionbutton-content-color-hover)));
}
&:focus-visible {
- /* kill the default ring */
- box-shadow: none;
- outline: none;
+ background-color: var(--highcontrast-actionbutton-background-color-default, var(--mod-actionbutton-background-color-focus, var(--spectrum-actionbutton-background-color-focus)));
+ color: var(--highcontrast-actionbutton-content-color-default, var(--mod-actionbutton-content-color-focus, var(--spectrum-actionbutton-content-color-focus)));
+ }
- &::after {
- box-shadow: 0 0 0 var(--spectrum-actionbutton-focus-indicator-thickness) var(--spectrum-actionbutton-focus-indicator-color);
- }
+ &:active {
+ background-color: var(--highcontrast-actionbutton-background-color-default, var(--mod-actionbutton-background-color-down, var(--spectrum-actionbutton-background-color-down)));
+ color: var(--highcontrast-actionbutton-content-color-default, var(--mod-actionbutton-content-color-down, var(--spectrum-actionbutton-content-color-down)));
+ transform: perspective(var(--spectrum-actionbutton-downstate-perspective)) translateZ(var(--spectrum-component-size-difference-down));
+ }
+
+ &:disabled,
+ &.is-disabled {
+ background-color: var(--highcontrast-actionbutton-background-color-disabled, var(--mod-actionbutton-background-color-disabled, var(--spectrum-actionbutton-background-color-disabled)));
+ color: var(--highcontrast-actionbutton-content-color-disabled, var(--mod-actionbutton-content-color-disabled, var(--spectrum-actionbutton-content-color-disabled)));
}
}
@@ -285,32 +280,31 @@ a.spectrum-ActionButton {
@extend %spectrum-AnchorButton;
}
-/* Nested sub-component: Icon */
.spectrum-ActionButton-icon {
@extend %spectrum-ButtonIcon;
- inline-size: var(--spectrum-actionbutton-icon-size);
- block-size: var(--spectrum-actionbutton-icon-size);
-
- /* adjust icon positioning to match UI kit */
- margin-inline-start: calc(var(--spectrum-actionbutton-edge-to-visual) - var(--spectrum-actionbutton-edge-to-text));
- margin-inline-end: calc(var(--spectrum-actionbutton-edge-to-visual-only) - var(--spectrum-actionbutton-edge-to-text));
-
+ inline-size: var(--mod-actionbutton-icon-size, var(--spectrum-actionbutton-icon-size));
+ block-size: var(--mod-actionbutton-icon-size, var(--spectrum-actionbutton-icon-size));
color: inherit;
+}
- /* Augment the margin correction for the icon only scenario */
- .spectrum-ActionButton-hold + &,
- &:only-child {
- margin-inline-start: calc(var(--spectrum-actionbutton-edge-to-visual-only) - var(--spectrum-actionbutton-edge-to-text));
- }
+/* Icon and label text */
+.spectrum-ActionButton:has(.spectrum-ActionButton-icon) {
+ padding-inline-start: calc(var(--mod-actionbutton-edge-to-visual, var(--spectrum-actionbutton-edge-to-visual)) - var(--spectrum-actionbutton-border-width));
+}
+
+/* Icon only */
+.spectrum-ActionButton:not(:has(.spectrum-ActionButton-label)) {
+ padding-inline: calc(var(--mod-actionbutton-edge-to-visual-only, var(--spectrum-actionbutton-edge-to-visual-only)) - var(--spectrum-actionbutton-border-width));
}
.spectrum-ActionButton-label {
@extend %spectrum-ButtonLabel;
pointer-events: none;
- line-height: var(--spectrum-actionbutton-height);
- font-size: var(--spectrum-actionbutton-font-size);
+ font-size: var(--mod-actionbutton-font-size, var(--spectrum-actionbutton-font-size));
+ font-weight: var(--mod-actionbutton-font-weight, var(--spectrum-actionbutton-font-weight));
+ font-style: var(--mod-actionbutton-font-style, var(--spectrum-actionbutton-font-style));
white-space: nowrap;
color: var(--mod-actionbutton-label-color, inherit);
@@ -320,10 +314,103 @@ a.spectrum-ActionButton {
.spectrum-ActionButton-hold {
position: absolute;
- inset-inline-end: calc(var(--spectrum-actionbutton-edge-to-hold-icon) - var(--spectrum-actionbutton-border-width));
- inset-block-end: calc(var(--spectrum-actionbutton-edge-to-hold-icon) - var(--spectrum-actionbutton-border-width));
-
+ inset-inline-end: calc(var(--mod-actionbutton-edge-to-hold-icon, var(--spectrum-actionbutton-edge-to-hold-icon)) - var(--spectrum-actionbutton-border-width));
+ inset-block-end: calc(var(--mod-actionbutton-edge-to-hold-icon, var(--spectrum-actionbutton-edge-to-hold-icon)) - var(--spectrum-actionbutton-border-width));
color: inherit;
+ transform: var(--spectrum-logical-rotation);
+}
+
+/* Focus indicator */
+.spectrum-ActionButton {
+ transition: border-color var(--highcontrast-actionbutton-animation-duration, var(--mod-actionbutton-animation-duration, var(--spectrum-actionbutton-animation-duration))) ease-in-out;
+
+ &::after {
+ position: absolute;
+ inset: 0;
+ margin: calc((var(--mod-actionbutton-focus-indicator-gap, var(--spectrum-actionbutton-focus-indicator-gap)) + var(--spectrum-actionbutton-border-width)) * -1);
+ border-radius: var(--mod-actionbutton-focus-indicator-border-radius, var(--spectrum-actionbutton-focus-indicator-border-radius));
+ transition: box-shadow var(--highcontrast-actionbutton-animation-duration, var(--mod-actionbutton-animation-duration, var(--spectrum-actionbutton-animation-duration))) ease-in-out;
+ pointer-events: none;
+ content: "";
+ }
+
+ &:focus-visible {
+ box-shadow: none;
+ outline: none;
+
+ &::after {
+ box-shadow: 0 0 0 var(--mod-actionbutton-focus-indicator-thickness, var(--spectrum-actionbutton-focus-indicator-thickness)) var(--highcontrast-actionbutton-focus-indicator-color, var(--mod-actionbutton-focus-indicator-color, var(--spectrum-actionbutton-focus-indicator-color)));
+ }
+ }
+}
+
+@media (forced-colors: active) {
+ .spectrum-ActionButton {
+ /**
+ * Default
+ * - Uses "Button*" system color pairings.
+ * - Focus indicator is outside the element and should contrast with its background (default of Canvas).
+ */
+ --highcontrast-actionbutton-border-color: ButtonBorder;
+ --highcontrast-actionbutton-background-color-default: ButtonFace;
+ --highcontrast-actionbutton-content-color-default: ButtonText;
+
+ --highcontrast-actionbutton-background-color-disabled: ButtonFace;
+ --highcontrast-actionbutton-content-color-disabled: GrayText;
+
+ --highcontrast-actionbutton-focus-indicator-color: CanvasText;
+
+ /**
+ * Avoid performance and rendering issues with transitions between system colors.
+ * Fixes bug in Windows High Contrast where border flashes the wrong color after hover (quiet).
+ */
+ --highcontrast-actionbutton-animation-duration: 0;
+
+ &::after {
+ /* Make sure the box-shadow for the focus indicator renders. */
+ forced-color-adjust: none;
+ }
- transform: var(--spectrum-logical-rotation,);
+ .spectrum-ActionButton-icon,
+ .spectrum-ActionButton-hold,
+ .spectrum-ActionButton-label {
+ /* Removes the extra unwanted background on label ("readability backplate") that can cause text to be unreadable. */
+ forced-color-adjust: none;
+ }
+
+ /**
+ * Quiet
+ * - Default blends in with background and has no border.
+ * - Quiet + disabled does not show border unless selected.
+ */
+ &.spectrum-ActionButton--quiet {
+ --highcontrast-actionbutton-border-color: Canvas;
+ --highcontrast-actionbutton-background-color-default: Canvas;
+ --highcontrast-actionbutton-background-color-disabled: Canvas;
+ --highcontrast-actionbutton-content-color-default: CanvasText;
+
+ &:disabled:not(.is-selected) {
+ --highcontrast-actionbutton-border-color: Canvas;
+ }
+ }
+
+ /* Interaction shows a change in border color. */
+ &:hover,
+ &:active,
+ &:focus-visible {
+ --highcontrast-actionbutton-border-color: Highlight;
+ }
+
+ /* Selected always shows as a solid highlighted color. */
+ &.is-selected {
+ --highcontrast-actionbutton-border-color: Highlight;
+ --highcontrast-actionbutton-background-color-default: Highlight;
+ --highcontrast-actionbutton-content-color-default: HighlightText;
+ }
+
+ /* Disabled has a GrayText border and content color. */
+ &:disabled {
+ --highcontrast-actionbutton-border-color: GrayText;
+ }
+ }
}
diff --git a/components/actionbutton/package.json b/components/actionbutton/package.json
index 55ca2be227f..c75b215bd50 100644
--- a/components/actionbutton/package.json
+++ b/components/actionbutton/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/actionbutton",
- "version": "7.1.2",
+ "version": "8.0.0-next.1",
"description": "The Spectrum CSS action button component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -38,7 +38,7 @@
},
"devDependencies": {
"@spectrum-css/commons": "11.0.0",
- "@spectrum-css/icon": "9.1.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/actionbutton/stories/actionbutton.stories.js b/components/actionbutton/stories/actionbutton.stories.js
index a08f0f7bbfc..e1bd38463d7 100644
--- a/components/actionbutton/stories/actionbutton.stories.js
+++ b/components/actionbutton/stories/actionbutton.stories.js
@@ -1,22 +1,18 @@
import { default as IconStories } from "@spectrum-css/icon/stories/icon.stories.js";
-import { Sizes } from "@spectrum-css/preview/decorators";
+import { Sizes, withDownStateDimensionCapture } from "@spectrum-css/preview/decorators";
import { disableDefaultModes } from "@spectrum-css/preview/modes";
import { isActive, isDisabled, isEmphasized, isFocused, isHovered, isQuiet, isSelected, size, staticColor } from "@spectrum-css/preview/types";
import metadata from "../dist/metadata.json";
import packageJson from "../package.json";
import { ActionButtonGroup } from "./actionbutton.test.js";
-import { ActionButtonsWithIconOptions, IconOnlyOption, TreatmentTemplate } from "./template.js";
+import { ActionButtonsWithIconOptions, IconOnlyOption, Template, TreatmentTemplate } from "./template.js";
/**
* The action button component represents an action a user can take.
*
* ## Usage notes
*
- * For action buttons that only contain an icon with no label, do not include the element with the `.spectrum-ActionButton-label` class in the markup. If an icon and a label are both used, ensure that the element with the `.spectrum-ActionButton-label` class comes after the `.spectrum-Icon` element.
- *
- * If the hold icon is used, ensure that the element with the `.spectrum-ActionButton-hold` class comes before the `.spectrum-Icon` element.
- *
- * When using `.spectrum-ActionButton--staticWhite` or `.spectrum-ActionButton--staticBlack`, use the `--mod-actionbutton-content-color-default` custom property to set the text color when selected.
+ * For action buttons that only contain an icon with no label, do not include the element with the `.spectrum-ActionButton-label` class in the markup.
*/
export default {
title: "Action button",
@@ -25,6 +21,7 @@ export default {
size: size(["xs", "s", "m", "l", "xl"]),
iconName: {
...(IconStories?.argTypes?.iconName ?? {}),
+ name: "Workflow icon",
if: false,
},
label: {
@@ -37,9 +34,15 @@ export default {
control: { type: "text" },
},
isQuiet,
- isEmphasized,
+ isEmphasized: {
+ ...isEmphasized,
+ if: { arg: "staticColor", truthy: false },
+ },
isDisabled,
- isSelected,
+ isSelected: {
+ ...isSelected,
+ description: "An optional state used when treating the action button as a toggle.",
+ },
isHovered,
isFocused,
isActive,
@@ -63,7 +66,10 @@ export default {
control: "select",
options: ["true", "menu", "listbox", "tree", "grid", "dialog", "false"],
},
- staticColor,
+ staticColor: {
+ ...staticColor,
+ if: { arg: "isEmphasized", truthy: false },
+ },
},
args: {
rootClass: "spectrum-ActionButton",
@@ -88,6 +94,9 @@ export default {
type: "figma",
url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=702-2877",
},
+ downState: {
+ selectors: [".spectrum-ActionButton:not(:disabled)"],
+ },
packageJson,
metadata,
docs: {
@@ -96,6 +105,9 @@ export default {
},
}
},
+ decorators: [
+ withDownStateDimensionCapture,
+ ],
};
export const Default = ActionButtonGroup.bind({});
@@ -106,7 +118,9 @@ Default.tags = ["!autodocs"];
/**
* Action buttons should always have a label, unless they are only using an icon that is universally understood and accessible. They can have an optional icon, but it should not be used for decoration. Use an icon only when necessary and when it has a strong association with the label text.
*
- * The label can be hidden to create an icon-only action button. If the label is hidden, an icon is required, and the label will appear in a tooltip on hover.
+ * The label can be hidden to create an icon-only action button. If the label is hidden, an icon is required, and the implementation should show the label with a tooltip on hover.
+ *
+ * Action buttons can be used as toggles instead of for taking direct action. The optional "selected" state displayed below is used for when the action button is toggleable.
*/
export const Standard = TreatmentTemplate.bind({});
Standard.args = Default.args;
@@ -117,7 +131,9 @@ Standard.parameters = {
Standard.storyName = "Default";
/**
- * The emphasized action button has a blue background for its selected state in order to provide a visual prominence. This is optimal for when the selection should call attention, such as within a tool bar.
+ * The emphasized action button has a blue background for its selected state in order to provide a visual prominence.
+ * This is optimal for when the selection should call attention, such as within a tool bar.
+ * For this variant, the `.spectrum-ActionButton--emphasized` class is applied to `.spectrum-ActionButton`.
*/
export const Emphasized = TreatmentTemplate.bind({});
Emphasized.tags = ["!dev"];
@@ -130,9 +146,6 @@ Emphasized.parameters = {
},
};
-/**
- * Adding the `.spectrum-ActionButton--emphasized` class to a quiet action button can be effective in calling attention.
- */
export const EmphasizedQuiet = TreatmentTemplate.bind({});
EmphasizedQuiet.tags = ["!dev"];
EmphasizedQuiet.args = {
@@ -144,7 +157,7 @@ EmphasizedQuiet.parameters = {
disableSnapshot: true,
},
};
-EmphasizedQuiet.storyName = "Emphasized (quiet)";
+EmphasizedQuiet.storyName = "Quiet, emphasized";
/**
* Quiet action buttons have no visible background until they’re interacted with. This style works best when a clear layout (vertical stack, table, grid) makes it easy to parse the buttons. Too many quiet components in a small space can be hard to read.
@@ -161,7 +174,10 @@ Quiet.parameters = {
};
/**
- * An action button can have a hold icon (a small corner triangle). This icon indicates that holding down the action button for a short amount of time can reveal a popover menu, which can be used, for example, to switch between related actions. Because of the way padding is calculated, the hold icon must be placed before the workflow icon in the markup.
+ * An action button can have a hold icon (a small corner triangle). This icon indicates that holding down the action button for a
+ * short amount of time can reveal a [popover](/docs/components-popover--docs) menu, which can be used, for example, to switch
+ * between related actions. Note that this popover menu is not demonstrated here—this would be handled by the implementation.
+ * Because of the way padding is calculated, the hold icon must be placed before the workflow icon in the markup.
*/
export const HoldIcon = IconOnlyOption.bind({});
HoldIcon.tags = ["!dev"];
@@ -190,6 +206,14 @@ StaticWhiteQuiet.parameters = {
chromatic: { disableSnapshot: true }
};
+/**
+ * When an action button needs to be placed on top of a color background or a visual, use the static color
+ * option. Use static black on light color or image backgrounds, and static white on dark color or image
+ * backgrounds, regardless of the color theme. For more info, see the
+ * [design guidelines](https://spectrum.adobe.com/page/action-button/#Static-color).
+ *
+ * Emphasized is not supported for the static black and static white variants.
+ */
export const StaticBlackDocs = TreatmentTemplate.bind({});
StaticBlackDocs.tags = ["!dev"];
StaticBlackDocs.args = {
@@ -226,6 +250,28 @@ Sizing.parameters = {
chromatic: { disableSnapshot: true },
};
+/**
+ * When the action button text is too long for the available horizontal space, it truncates at the end.
+ * To demonstrate what this looks like, this example sets a maximum width on the button.
+ *
+ * Implementations should also reveal the full text on hover, per this component's
+ * [design guidelines on text overflow](https://spectrum.adobe.com/page/action-button/#Text-overflow).
+ * This is not demonstrated here.
+ */
+export const TextOverflowBehavior = Template.bind({});
+TextOverflowBehavior.tags = ["!dev"];
+TextOverflowBehavior.args = {
+ label: "This is extra long text that will cause text truncation",
+ customStyles: {
+ "max-inline-size": "120px",
+ },
+};
+TextOverflowBehavior.parameters = {
+ chromatic: {
+ disableSnapshot: true,
+ },
+};
+
// ********* VRT ONLY ********* //
export const WithForcedColors = ActionButtonGroup.bind({});
WithForcedColors.args = Default.args;
diff --git a/components/actionbutton/stories/actionbutton.test.js b/components/actionbutton/stories/actionbutton.test.js
index fb37fdc910f..4a26724f80b 100644
--- a/components/actionbutton/stories/actionbutton.test.js
+++ b/components/actionbutton/stories/actionbutton.test.js
@@ -62,11 +62,6 @@ export const ActionButtonGroup = Variants({
testHeading: "Static black",
staticColor: "black",
},
- {
- testHeading: "Static black - emphasized",
- staticColor: "black",
- isEmphasized: true,
- },
{
testHeading: "Static black - quiet",
staticColor: "black",
@@ -76,11 +71,6 @@ export const ActionButtonGroup = Variants({
testHeading: "Static white",
staticColor: "white",
},
- {
- testHeading: "Static white - emphasized",
- staticColor: "white",
- isEmphasized: true,
- },
{
testHeading: "Static white - quiet",
staticColor: "white",
diff --git a/components/actionbutton/stories/template.js b/components/actionbutton/stories/template.js
index 425b7e4115c..942c3bccefa 100644
--- a/components/actionbutton/stories/template.js
+++ b/components/actionbutton/stories/template.js
@@ -7,9 +7,6 @@ import { when } from "lit/directives/when.js";
import { capitalize } from "lodash-es";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
/**
* @todo load order should not influence the icon size but it is; fix this
@@ -70,7 +67,6 @@ export const Template = ({
role = "button",
} = {}, context = {}) => {
const { updateArgs } = context;
-
return html`
Icon({
size,
- iconName: "CornerTriangle",
+ iconName: "CornerTriangle" + ({
+ xs: "75",
+ s: "75",
+ m: "100",
+ l: "200",
+ xl: "300",
+ }[size] || "100"),
setName: "ui",
customClasses: [`${rootClass}-hold`],
}, context)
@@ -134,64 +136,74 @@ export const Template = ({
`;
};
+/**
+ * Displays multiple action buttons in a row, with different combinations of
+ * label, icon, and hold button (has popup).
+ */
export const ActionButtonsWithIconOptions = (args, context) => Container({
withBorder: false,
direction: "row",
wrapperStyles: {
columnGap: "12px",
},
- content: html`
- ${Template({
+ content: [
+ Template({
...args,
iconName: undefined,
- }, context)}
- ${Template({
+ }, context),
+ Template({
...args,
- }, context)}
- ${Template({
+ }, context),
+ Template({
...args,
hideLabel: true,
- }, context)}
- ${Template({
+ }, context),
+ Template({
...args,
hideLabel: true,
hasPopup: "true",
- }, context)}
- ${Template({
+ }, context),
+ Template({
...args,
iconName: undefined,
hasPopup: "true",
- }, context)}
- `
+ }, context)
+ ],
}, context);
+/**
+ * Displays two action buttons in a row:
+ * - icon only action button
+ * - icon only action button with hold button (has popup)
+ */
export const IconOnlyOption = (args, context) => Container({
withBorder: false,
direction: "row",
wrapperStyles: {
columnGap: "12px",
},
- content: html`
- ${Template({
+ content: [
+ Template({
...args,
hideLabel: true,
hasPopup: "true",
- }, context)}
- ${Template({
+ }, context),
+ Template({
...args,
hideLabel: true,
isQuiet: true,
hasPopup: "true",
- }, context)}
- `
+ }, context),
+ ],
}, context);
+/**
+ * Displays multiple groups of action buttons for:
+ * default, selected, disabled, and selected + disabled
+ */
export const TreatmentTemplate = (args, context) => Container({
withBorder: false,
direction: "row",
- wrapperStyles: {
- rowGap: "12px",
- },
content: html`${[
{ isSelected: false, isDisabled: false, heading: "Default" },
{ isSelected: true, isDisabled: false, heading: "Selected" },
@@ -200,10 +212,13 @@ export const TreatmentTemplate = (args, context) => Container({
].map(({ isSelected, isDisabled, heading }) => Container({
withBorder: false,
heading: heading,
+ containerStyles: {
+ rowGap: "8px",
+ },
content: ActionButtonsWithIconOptions({
...args,
isSelected,
isDisabled,
- })
+ }, context)
}, context))}`,
}, context);
diff --git a/components/actionbutton/themes/express.css b/components/actionbutton/themes/express.css
deleted file mode 100644
index a2f9f796101..00000000000
--- a/components/actionbutton/themes/express.css
+++ /dev/null
@@ -1,71 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
-
-@container style(--system: express) {
- .spectrum-ActionButton {
- --spectrum-actionbutton-background-color-default: var(--spectrum-gray-200);
- --spectrum-actionbutton-background-color-hover: var(--spectrum-gray-300);
- --spectrum-actionbutton-background-color-down: var(--spectrum-gray-400);
- --spectrum-actionbutton-background-color-focus: var(--spectrum-gray-300);
- --spectrum-actionbutton-background-color-disabled: var(--spectrum-gray-200);
-
- --spectrum-actionbutton-border-color-default: transparent;
- --spectrum-actionbutton-border-color-hover: transparent;
- --spectrum-actionbutton-border-color-down: transparent;
- --spectrum-actionbutton-border-color-focus: transparent;
- --spectrum-actionbutton-border-color-disabled: transparent;
-
- &.spectrum-ActionButton--quiet {
- --spectrum-actionbutton-background-color-default: transparent;
- --spectrum-actionbutton-background-color-hover: var(--spectrum-gray-300);
- --spectrum-actionbutton-background-color-down: var(--spectrum-gray-400);
- --spectrum-actionbutton-background-color-focus: var(--spectrum-gray-300);
- }
-
- &.spectrum-ActionButton--staticBlack,
- &.spectrum-ActionButton--staticWhite {
- --spectrum-actionbutton-border-color-default: transparent;
- --spectrum-actionbutton-border-color-hover: transparent;
- --spectrum-actionbutton-border-color-down: transparent;
- --spectrum-actionbutton-border-color-focus: transparent;
- }
-
- &.spectrum-ActionButton--staticBlack {
- --spectrum-actionbutton-background-color-disabled: transparent;
-
- &,
- &.spectrum-ActionButton--quiet {
- --spectrum-actionbutton-background-color-default: var(--spectrum-transparent-black-200);
- --spectrum-actionbutton-background-color-hover: var(--spectrum-transparent-black-300);
- --spectrum-actionbutton-background-color-down: var(--spectrum-transparent-black-400);
- --spectrum-actionbutton-background-color-focus: var(--spectrum-transparent-black-300);
- }
- }
-
- &.spectrum-ActionButton--staticWhite {
- --spectrum-actionbutton-background-color-disabled: transparent;
-
- &,
- &.spectrum-ActionButton--quiet {
- --spectrum-actionbutton-background-color-default: var(--spectrum-transparent-white-200);
- --spectrum-actionbutton-background-color-hover: var(--spectrum-transparent-white-300);
- --spectrum-actionbutton-background-color-down: var(--spectrum-transparent-white-400);
- --spectrum-actionbutton-background-color-focus: var(--spectrum-transparent-white-300);
- }
- }
- }
-}
diff --git a/components/actionbutton/themes/spectrum-two.css b/components/actionbutton/themes/spectrum-two.css
deleted file mode 100644
index 2d4a993e9d7..00000000000
--- a/components/actionbutton/themes/spectrum-two.css
+++ /dev/null
@@ -1,112 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-ActionButton {
- --spectrum-actionbutton-background-color-default: var(--spectrum-gray-100);
- --spectrum-actionbutton-background-color-hover: var(--spectrum-gray-200);
- --spectrum-actionbutton-background-color-down: var(--spectrum-gray-200);
- --spectrum-actionbutton-background-color-focus: var(--spectrum-gray-200);
- --spectrum-actionbutton-background-color-disabled: var(--spectrum-disabled-background-color);
-
- --spectrum-actionbutton-background-color-selected: var(--spectrum-neutral-background-color-selected-default);
- --spectrum-actionbutton-background-color-selected-hover: var(--spectrum-neutral-background-color-selected-hover);
- --spectrum-actionbutton-background-color-selected-down: var(--spectrum-neutral-background-color-selected-down);
- --spectrum-actionbutton-background-color-selected-focus: var(--spectrum-neutral-background-color-selected-key-focus);
-
- --spectrum-actionbutton-border-color-default: transparent;
- --spectrum-actionbutton-border-color-hover: transparent;
- --spectrum-actionbutton-border-color-down: transparent;
- --spectrum-actionbutton-border-color-focus: transparent;
- --spectrum-actionbutton-border-color-disabled: transparent;
-
- --spectrum-actionbutton-content-color-selected: var(--spectrum-gray-50);
-
- &.spectrum-ActionButton--sizeM {
- --spectrum-actionbutton-border-radius: var(--spectrum-corner-radius-medium-size-medium);
- }
-
- &.spectrum-ActionButton--sizeXS {
- --spectrum-actionbutton-border-radius: var(--spectrum-corner-radius-medium-size-extra-small);
- }
-
- &.spectrum-ActionButton--sizeS {
- --spectrum-actionbutton-border-radius: var(--spectrum-corner-radius-medium-size-small);
- }
-
- &.spectrum-ActionButton--sizeL {
- --spectrum-actionbutton-border-radius: var(--spectrum-corner-radius-medium-size-large);
- }
-
- &.spectrum-ActionButton--sizeXL {
- --spectrum-actionbutton-border-radius: var(--spectrum-corner-radius-medium-size-extra-large);
- }
-
- &.spectrum-ActionButton--quiet {
- --spectrum-actionbutton-background-color-default: transparent;
- --spectrum-actionbutton-background-color-hover: var(--spectrum-gray-200);
- --spectrum-actionbutton-background-color-down: var(--spectrum-gray-200);
- --spectrum-actionbutton-background-color-focus: var(--spectrum-gray-200);
- --spectrum-actionbutton-background-color-disabled: transparent;
- --spectrum-actionbutton-background-color-selected-disabled: var(--spectrum-disabled-background-color);
- }
-
- &.spectrum-ActionButton--staticBlack {
- --spectrum-actionbutton-border-color-default: transparent;
- --spectrum-actionbutton-border-color-hover: transparent;
- --spectrum-actionbutton-border-color-down: transparent;
- --spectrum-actionbutton-border-color-focus: transparent;
- --spectrum-actionbutton-border-color-disabled: transparent;
-
- --spectrum-actionbutton-background-color-disabled: var(--spectrum-disabled-static-black-background-color);
- --spectrum-actionbutton-background-color-selected-disabled: var(--spectrum-disabled-static-black-background-color);
-
- --spectrum-actionbutton-background-color-default: var(--spectrum-transparent-black-100);
- --spectrum-actionbutton-background-color-hover: var(--spectrum-transparent-black-200);
- --spectrum-actionbutton-background-color-down: var(--spectrum-transparent-black-200);
- --spectrum-actionbutton-background-color-focus: var(--spectrum-transparent-black-200);
-
- &.spectrum-ActionButton--quiet {
- --spectrum-actionbutton-background-color-default: transparent;
- --spectrum-actionbutton-background-color-hover: var(--spectrum-transparent-black-200);
- --spectrum-actionbutton-background-color-down: var(--spectrum-transparent-black-200);
- --spectrum-actionbutton-background-color-focus: var(--spectrum-transparent-black-200);
- --spectrum-actionbutton-background-color-disabled: transparent;
- }
- }
-
- &.spectrum-ActionButton--staticWhite {
- --spectrum-actionbutton-border-color-default: transparent;
- --spectrum-actionbutton-border-color-hover: transparent;
- --spectrum-actionbutton-border-color-down: transparent;
- --spectrum-actionbutton-border-color-focus: transparent;
- --spectrum-actionbutton-border-color-disabled: transparent;
-
- --spectrum-actionbutton-background-color-disabled: var(--spectrum-disabled-static-white-background-color);
- --spectrum-actionbutton-background-color-selected-disabled: var(--spectrum-disabled-static-white-background-color);
-
- --spectrum-actionbutton-background-color-default: var(--spectrum-transparent-white-100);
- --spectrum-actionbutton-background-color-hover: var(--spectrum-transparent-white-200);
- --spectrum-actionbutton-background-color-down: var(--spectrum-transparent-white-200);
- --spectrum-actionbutton-background-color-focus: var(--spectrum-transparent-white-200);
-
- &.spectrum-ActionButton--quiet {
- --spectrum-actionbutton-background-color-default: transparent;
- --spectrum-actionbutton-background-color-hover: var(--spectrum-transparent-white-200);
- --spectrum-actionbutton-background-color-down: var(--spectrum-transparent-white-200);
- --spectrum-actionbutton-background-color-focus: var(--spectrum-transparent-white-200);
- --spectrum-actionbutton-background-color-disabled: transparent;
- }
- }
- }
-}
diff --git a/components/actionbutton/themes/spectrum.css b/components/actionbutton/themes/spectrum.css
deleted file mode 100644
index 7b3f14b6219..00000000000
--- a/components/actionbutton/themes/spectrum.css
+++ /dev/null
@@ -1,93 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-ActionButton {
- --spectrum-actionbutton-background-color-default: var(--spectrum-gray-75);
- --spectrum-actionbutton-background-color-hover: var(--spectrum-gray-200);
- --spectrum-actionbutton-background-color-down: var(--spectrum-gray-300);
- --spectrum-actionbutton-background-color-focus: var(--spectrum-gray-200);
- --spectrum-actionbutton-background-color-disabled: transparent;
- --spectrum-actionbutton-background-color-selected-disabled: var(--spectrum-disabled-background-color);
-
- --spectrum-actionbutton-border-color-default: var(--spectrum-gray-400);
- --spectrum-actionbutton-border-color-hover: var(--spectrum-gray-500);
- --spectrum-actionbutton-border-color-down: var(--spectrum-gray-600);
- --spectrum-actionbutton-border-color-focus: var(--spectrum-gray-500);
- --spectrum-actionbutton-border-color-disabled: var(--spectrum-disabled-border-color);
-
- --spectrum-actionbutton-content-color-selected: var(--spectrum-gray-75);
-
- &.spectrum-ActionButton--sizeXS,
- &.spectrum-ActionButton--sizeS,
- &.spectrum-ActionButton--sizeM,
- &.spectrum-ActionButton--sizeL,
- &.spectrum-ActionButton--sizeXL {
- --spectrum-actionbutton-border-radius: var(--spectrum-corner-radius-100);
- }
-
- &.spectrum-ActionButton--quiet {
- --spectrum-actionbutton-background-color-hover: var(--spectrum-gray-200);
- --spectrum-actionbutton-background-color-down: var(--spectrum-gray-300);
- --spectrum-actionbutton-background-color-focus: var(--spectrum-gray-200);
- }
-
- &.spectrum-ActionButton--staticBlack {
- --spectrum-actionbutton-border-color-default: var(--spectrum-transparent-black-400);
- --spectrum-actionbutton-border-color-hover: var(--spectrum-transparent-black-500);
- --spectrum-actionbutton-border-color-down: var(--spectrum-transparent-black-600);
- --spectrum-actionbutton-border-color-focus: var(--spectrum-transparent-black-500);
- --spectrum-actionbutton-border-color-disabled: var(--spectrum-disabled-static-black-border-color);
-
- --spectrum-actionbutton-background-color-default: transparent;
- --spectrum-actionbutton-background-color-hover: var(--spectrum-transparent-black-300);
- --spectrum-actionbutton-background-color-down: var(--spectrum-transparent-black-400);
- --spectrum-actionbutton-background-color-focus: var(--spectrum-transparent-black-300);
- --spectrum-actionbutton-background-color-disabled: transparent;
-
- &.spectrum-ActionButton--quiet {
- --spectrum-actionbutton-background-color-default: transparent;
- --spectrum-actionbutton-background-color-hover: var(--spectrum-transparent-black-300);
- --spectrum-actionbutton-background-color-down: var(--spectrum-transparent-black-400);
- --spectrum-actionbutton-background-color-focus: var(--spectrum-transparent-black-300);
- --spectrum-actionbutton-background-color-disabled: transparent;
- }
- }
-
- &.spectrum-ActionButton--staticWhite {
- --spectrum-actionbutton-border-color-default: var(--spectrum-transparent-white-400);
- --spectrum-actionbutton-border-color-hover: var(--spectrum-transparent-white-500);
- --spectrum-actionbutton-border-color-down: var(--spectrum-transparent-white-600);
- --spectrum-actionbutton-border-color-focus: var(--spectrum-transparent-white-500);
- --spectrum-actionbutton-border-color-disabled: var(--spectrum-disabled-static-white-border-color);
-
- --spectrum-actionbutton-background-color-default: transparent;
- --spectrum-actionbutton-background-color-hover: var(--spectrum-transparent-white-300);
- --spectrum-actionbutton-background-color-down: var(--spectrum-transparent-white-400);
- --spectrum-actionbutton-background-color-focus: var(--spectrum-transparent-white-300);
- --spectrum-actionbutton-background-color-disabled: transparent;
-
- &.spectrum-ActionButton--quiet {
- --spectrum-actionbutton-background-color-default: transparent;
- --spectrum-actionbutton-background-color-hover: var(--spectrum-transparent-white-300);
- --spectrum-actionbutton-background-color-down: var(--spectrum-transparent-white-400);
- --spectrum-actionbutton-background-color-focus: var(--spectrum-transparent-white-300);
- --spectrum-actionbutton-background-color-disabled: transparent;
- }
- }
- }
-}
diff --git a/components/actiongroup/CHANGELOG.md b/components/actiongroup/CHANGELOG.md
index 7a9d2ac5c56..926ee000e60 100644
--- a/components/actiongroup/CHANGELOG.md
+++ b/components/actiongroup/CHANGELOG.md
@@ -1,5 +1,12 @@
# Change log
+## 7.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @spectrum-css/actionbutton@8.0.0-next.0
+
## 7.0.0
### Minor Changes
@@ -218,7 +225,7 @@ Output for all component CSS files is now being run through a lightweight optimi
## 4.1.10
-📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/actiongroup@4.1.9...@spectrum-css/actiongroup@4.1.10)
+🗓 2024-01-16 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/actiongroup@4.1.9...@spectrum-css/actiongroup@4.1.10)
**Note:** Version bump only for package @spectrum-css/actiongroup
@@ -334,7 +341,7 @@ Output for all component CSS files is now being run through a lightweight optimi
- refactor(actiongroup)!: replace focus-ring with focus-visible([d792847](https://github.com/adobe/spectrum-css/commit/d792847))
-### 🛑 BREAKING CHANGE
+### 🛑 BREAKING CHANGES
- use native focus-visible pseudo class for focus styling
@@ -370,7 +377,7 @@ Output for all component CSS files is now being run through a lightweight optimi
## 3.0.56
-📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/actiongroup@3.0.55...@spectrum-css/actiongroup@3.0.56)
+🗓 2023-07-14 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/actiongroup@3.0.55...@spectrum-css/actiongroup@3.0.56)
**Note:** Version bump only for package @spectrum-css/actiongroup
@@ -423,6 +430,7 @@ Output for all component CSS files is now being run through a lightweight optimi
## 3.0.48
🗓 2023-06-01 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/actiongroup@3.0.47...@spectrum-css/actiongroup@3.0.48)
+
**Note:** Version bump only for package @spectrum-css/actiongroup
## 3.0.47
diff --git a/components/actiongroup/dist/metadata.json b/components/actiongroup/dist/metadata.json
index c78e7d30965..8d4d2ba86b7 100644
--- a/components/actiongroup/dist/metadata.json
+++ b/components/actiongroup/dist/metadata.json
@@ -53,11 +53,6 @@
"--spectrum-spacing-100",
"--spectrum-spacing-75"
],
- "system-theme": [
- "--system-action-group-gap-size-compact",
- "--system-action-group-horizontal-spacing-compact",
- "--system-action-group-vertical-spacing-compact"
- ],
"passthroughs": ["--mod-actionbutton-focus-indicator-border-radius"],
"high-contrast": []
}
diff --git a/components/actiongroup/index.css b/components/actiongroup/index.css
index bbd26cb0f65..ac427bc8636 100644
--- a/components/actiongroup/index.css
+++ b/components/actiongroup/index.css
@@ -11,9 +11,13 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
.spectrum-ActionGroup {
+ --spectrum-actiongroup-gap-size-compact: 0;
+
+ /* account for button border */
+ --spectrum-actiongroup-horizontal-spacing-compact: -1px;
+ --spectrum-actiongroup-vertical-spacing-compact: -1px;
+
--spectrum-actiongroup-button-spacing-reset: 0;
--spectrum-actiongroup-border-radius-reset: 0;
--spectrum-actiongroup-border-radius: var(--spectrum-corner-radius-100);
diff --git a/components/actiongroup/package.json b/components/actiongroup/package.json
index 4f1f3c43836..146cca7af5d 100644
--- a/components/actiongroup/package.json
+++ b/components/actiongroup/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/actiongroup",
- "version": "6.1.0",
+ "version": "7.0.0-next.0",
"description": "The Spectrum CSS actiongroup component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/actionbutton": ">=7.0.0 <8.0.0",
+ "@spectrum-css/actionbutton": ">=8.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -37,7 +37,7 @@
}
},
"devDependencies": {
- "@spectrum-css/actionbutton": "7.1.2",
+ "@spectrum-css/actionbutton": "8.0.0-next.1",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/actiongroup/stories/actiongroup.stories.js b/components/actiongroup/stories/actiongroup.stories.js
index a83857b9e54..314083c3502 100644
--- a/components/actiongroup/stories/actiongroup.stories.js
+++ b/components/actiongroup/stories/actiongroup.stories.js
@@ -5,7 +5,7 @@ import { size } from "@spectrum-css/preview/types";
import metadata from "../dist/metadata.json";
import packageJson from "../package.json";
import { ActionGroups } from "./actiongroup.test.js";
-import { OverflowOption, TreatmentTemplate } from "./template.js";
+import { OverflowOption, Template, TreatmentTemplate } from "./template.js";
/**
* An action group is a grouping of [action buttons](/docs/components-action-button--docs) that are related to each other.
@@ -100,6 +100,7 @@ export default {
packageJson,
metadata,
},
+ tags: ["migrated"],
};
export const Default = ActionGroups.bind({});
@@ -279,6 +280,15 @@ JustifiedIconOnlyCompact.parameters = {
chromatic: { disableSnapshot: true },
};
+export const Quiet = Template.bind({});
+Quiet.tags = ["!dev"];
+Quiet.args = {
+ areQuiet: true,
+};
+Quiet.parameters = {
+ chromatic: { disableSnapshot: true },
+};
+
/**
* When space is limited in an action group, there are 2 options for the group's overflow behavior: wrap or collapse. By default, an action group is set to wrap, meaning that the action buttons inside the group wrap to form another line. Alternatively, an action group can be set to collapse inside a **More (...)** action button.
*/
diff --git a/components/actiongroup/stories/template.js b/components/actiongroup/stories/template.js
index d13cdac64aa..25d8f25f4e0 100644
--- a/components/actiongroup/stories/template.js
+++ b/components/actiongroup/stories/template.js
@@ -6,9 +6,6 @@ import { styleMap } from "lit/directives/style-map.js";
import { capitalize } from "lodash-es";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-ActionGroup",
diff --git a/components/actiongroup/themes/express.css b/components/actiongroup/themes/express.css
deleted file mode 100644
index 3fd8de9cdbb..00000000000
--- a/components/actiongroup/themes/express.css
+++ /dev/null
@@ -1,26 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
-
-@container style(--system: express) {
- .spectrum-ActionGroup {
- --spectrum-actiongroup-gap-size-compact: var(--spectrum-spacing-50);
-
- /* account for button border */
- --spectrum-actiongroup-horizontal-spacing-compact: calc(-1px * var(--spectrum-spacing-50));
- --spectrum-actiongroup-vertical-spacing-compact: calc(-1px * var(--spectrum-spacing-50));
- }
-}
diff --git a/components/actiongroup/themes/spectrum-two.css b/components/actiongroup/themes/spectrum-two.css
deleted file mode 100644
index b25c0f945b2..00000000000
--- a/components/actiongroup/themes/spectrum-two.css
+++ /dev/null
@@ -1,22 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-ActionGroup {
- --spectrum-actiongroup-gap-size-compact: 0;
-
- /* account for button border */
- --spectrum-actiongroup-horizontal-spacing-compact: -1px;
- --spectrum-actiongroup-vertical-spacing-compact: -1px;
- }
-}
diff --git a/components/actiongroup/themes/spectrum.css b/components/actiongroup/themes/spectrum.css
deleted file mode 100644
index 3d81bc564b5..00000000000
--- a/components/actiongroup/themes/spectrum.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
diff --git a/components/actionmenu/CHANGELOG.md b/components/actionmenu/CHANGELOG.md
index 6525a5264c9..24e3743aa3c 100644
--- a/components/actionmenu/CHANGELOG.md
+++ b/components/actionmenu/CHANGELOG.md
@@ -1,5 +1,15 @@
# Change log
+## 8.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+ - @spectrum-css/actionbutton@8.0.0-next.0
+ - @spectrum-css/menu@10.0.0-next.0
+ - @spectrum-css/popover@9.0.0-next.0
+
## 7.1.1
### Patch Changes
@@ -166,6 +176,7 @@ Output for all component CSS files is now being run through a lightweight optimi
### 🛑 BREAKING CHANGE
- Removes component-builder & component-builder-simple for script leveraging postcss
+
- Imports added to index.css and themes/express.css
## 5.1.3
diff --git a/components/actionmenu/package.json b/components/actionmenu/package.json
index cfa8c6162ed..9365c97f8bd 100644
--- a/components/actionmenu/package.json
+++ b/components/actionmenu/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/actionmenu",
- "version": "7.1.1",
+ "version": "8.0.0-next.0",
"description": "The Spectrum CSS actionmenu component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,17 +25,17 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/actionbutton": ">=7.0.0 <8.0.0",
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
- "@spectrum-css/menu": ">=9.0.0 <10.0.0",
- "@spectrum-css/popover": ">=8.0.0 <9.0.0",
+ "@spectrum-css/actionbutton": ">=8.0.0-next.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
+ "@spectrum-css/menu": ">=10.0.0-next.0",
+ "@spectrum-css/popover": ">=9.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"devDependencies": {
- "@spectrum-css/actionbutton": "7.1.2",
- "@spectrum-css/icon": "9.1.0",
- "@spectrum-css/menu": "9.2.0",
- "@spectrum-css/popover": "8.2.0",
+ "@spectrum-css/actionbutton": "8.0.0-next.1",
+ "@spectrum-css/icon": "10.0.0-next.0",
+ "@spectrum-css/menu": "10.0.0-next.1",
+ "@spectrum-css/popover": "9.0.0-next.1",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/actionmenu/stories/actionmenu.stories.js b/components/actionmenu/stories/actionmenu.stories.js
index e9cdd3b8a14..b3cab764ac2 100644
--- a/components/actionmenu/stories/actionmenu.stories.js
+++ b/components/actionmenu/stories/actionmenu.stories.js
@@ -31,9 +31,6 @@ export default {
control: { type: "text" },
},
items: { table: { disable: true } },
- id: { table: { disable: true } },
- testId: { table: { disable: true } },
- triggerId: { table: { disable: true } },
},
args: {
isOpen: false,
diff --git a/components/alertbanner/CHANGELOG.md b/components/alertbanner/CHANGELOG.md
index 8248ff62d67..88fda2c3f41 100644
--- a/components/alertbanner/CHANGELOG.md
+++ b/components/alertbanner/CHANGELOG.md
@@ -1,10 +1,28 @@
# Change log
+## 4.0.0-next.1
+
+### Patch Changes
+
+- Updated dependencies [[`c6836fb`](https://github.com/adobe/spectrum-css/commit/c6836fb132effcfb09e4ca6d0d8923564bfe2914)]:
+ - @spectrum-css/divider@6.0.0-next.0
+
+## 4.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+ - @spectrum-css/button@15.0.0-next.0
+ - @spectrum-css/closebutton@7.0.0-next.0
+
## 3.1.1
### Patch Changes
-- [#3624](https://github.com/adobe/spectrum-css/pull/3624) [`754f99a`](https://github.com/adobe/spectrum-css/commit/754f99afc3c1918cdc0d173150989bcc1e6a7d2f) Thanks [@marissahuysentruyt](https://github.com/marissahuysentruyt)! - In the alert banner spectrum.css (the S1 stylesheet), --system: legacy was corrected in the container query.
+📝 [#3624](https://github.com/adobe/spectrum-css/pull/3624) [`754f99a`](https://github.com/adobe/spectrum-css/commit/754f99afc3c1918cdc0d173150989bcc1e6a7d2f) Thanks [@marissahuysentruyt](https://github.com/marissahuysentruyt)!
+
+In the alert banner `spectrum.css` (the S1 stylesheet), `--system: legacy` was corrected in the container query.
## 3.1.0
diff --git a/components/alertbanner/dist/metadata.json b/components/alertbanner/dist/metadata.json
index 15b6983e631..2e9ddb2f699 100644
--- a/components/alertbanner/dist/metadata.json
+++ b/components/alertbanner/dist/metadata.json
@@ -6,82 +6,90 @@
".spectrum-AlertBanner--negative",
".spectrum-AlertBanner-body",
".spectrum-AlertBanner-content",
- ".spectrum-AlertBanner-end",
".spectrum-AlertBanner-icon",
".spectrum-AlertBanner-text",
- ".spectrum-AlertBanner.is-open"
+ ".spectrum-AlertBanner.is-open",
+ ".spectrum-AlertBanner:has(.spectrum-CloseButton) .spectrum-AlertBanner-body",
+ ".spectrum-AlertBanner:lang(ja)",
+ ".spectrum-AlertBanner:lang(ko)",
+ ".spectrum-AlertBanner:lang(zh)"
],
"modifiers": [
- "--mod-alert-banner-bottom-text",
- "--mod-alert-banner-close-button-spacing",
- "--mod-alert-banner-edge-to-button",
- "--mod-alert-banner-edge-to-divider",
+ "--mod-alert-banner-background",
+ "--mod-alert-banner-block-edge-to-button",
+ "--mod-alert-banner-bottom-to-text",
+ "--mod-alert-banner-close-button-to-content",
+ "--mod-alert-banner-close-button-to-inline-end",
"--mod-alert-banner-font-color",
+ "--mod-alert-banner-font-family",
"--mod-alert-banner-font-size",
"--mod-alert-banner-icon-size",
"--mod-alert-banner-icon-to-text",
"--mod-alert-banner-informative-background",
+ "--mod-alert-banner-inline-end-to-content",
+ "--mod-alert-banner-inline-size",
+ "--mod-alert-banner-inline-start-to-content",
+ "--mod-alert-banner-line-height",
"--mod-alert-banner-max-inline-size",
"--mod-alert-banner-min-height",
"--mod-alert-banner-negative-background",
"--mod-alert-banner-neutral-background",
- "--mod-alert-banner-size",
- "--mod-alert-banner-start-edge",
+ "--mod-alert-banner-text-margin-block-end",
+ "--mod-alert-banner-text-margin-block-start",
"--mod-alert-banner-text-to-button-horizontal",
"--mod-alert-banner-text-to-button-vertical",
- "--mod-alert-banner-text-to-divider",
- "--mod-alert-banner-top-icon",
- "--mod-alert-banner-top-text"
+ "--mod-alert-banner-top-to-close-button",
+ "--mod-alert-banner-top-to-icon",
+ "--mod-alert-banner-top-to-text"
],
"component": [
- "--spectrum-alert-banner-bottom-text",
+ "--spectrum-alert-banner-background",
+ "--spectrum-alert-banner-block-edge-to-button",
"--spectrum-alert-banner-bottom-to-text",
"--spectrum-alert-banner-close-button-spacing",
- "--spectrum-alert-banner-edge-to-button",
- "--spectrum-alert-banner-edge-to-divider",
+ "--spectrum-alert-banner-close-button-to-content",
+ "--spectrum-alert-banner-close-button-to-inline-end",
"--spectrum-alert-banner-font-color",
+ "--spectrum-alert-banner-font-family",
"--spectrum-alert-banner-font-size",
"--spectrum-alert-banner-icon-size",
"--spectrum-alert-banner-icon-to-text",
- "--spectrum-alert-banner-informative-background",
+ "--spectrum-alert-banner-inline-end-to-content",
+ "--spectrum-alert-banner-inline-size",
+ "--spectrum-alert-banner-inline-start-to-content",
+ "--spectrum-alert-banner-line-height",
"--spectrum-alert-banner-max-inline-size",
"--spectrum-alert-banner-min-height",
"--spectrum-alert-banner-minimum-height",
- "--spectrum-alert-banner-negative-background",
"--spectrum-alert-banner-neutral-background",
- "--spectrum-alert-banner-size",
- "--spectrum-alert-banner-start-edge",
+ "--spectrum-alert-banner-text-margin-block-end",
+ "--spectrum-alert-banner-text-margin-block-start",
"--spectrum-alert-banner-text-to-button-horizontal",
"--spectrum-alert-banner-text-to-button-vertical",
- "--spectrum-alert-banner-text-to-divider",
- "--spectrum-alert-banner-top-icon",
- "--spectrum-alert-banner-top-text",
"--spectrum-alert-banner-top-to-text",
"--spectrum-alert-banner-top-to-workflow-icon",
"--spectrum-alert-banner-width"
],
"global": [
"--spectrum-border-width-100",
+ "--spectrum-cjk-line-height-100",
"--spectrum-font-size-100",
"--spectrum-informative-background-color-default",
+ "--spectrum-line-height-100",
"--spectrum-negative-background-color-default",
"--spectrum-neutral-subdued-background-color-default",
+ "--spectrum-sans-font-family-stack",
+ "--spectrum-spacing-200",
"--spectrum-spacing-300",
"--spectrum-text-to-visual-300",
"--spectrum-white",
"--spectrum-workflow-icon-size-100"
],
- "system-theme": ["--system-alert-banner-neutral-background"],
"passthroughs": [
- "--mod-button-margin-block",
- "--mod-button-margin-left",
- "--mod-button-margin-right",
"--mod-closebutton-align-self",
"--mod-closebutton-margin-inline",
"--mod-closebutton-margin-top",
- "--mod-divider-vertical-align",
- "--mod-divider-vertical-height",
- "--mod-divider-vertical-margin"
+ "--mod-icon-size"
],
"high-contrast": [
"--highcontrast-alert-banner-border-color",
diff --git a/components/alertbanner/index.css b/components/alertbanner/index.css
index 2f483970fb8..6659d42cbd1 100644
--- a/components/alertbanner/index.css
+++ b/components/alertbanner/index.css
@@ -11,52 +11,67 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
.spectrum-AlertBanner {
+ --spectrum-alert-banner-neutral-background: var(--spectrum-neutral-subdued-background-color-default);
+
--spectrum-alert-banner-min-height: var(--spectrum-alert-banner-minimum-height);
--spectrum-alert-banner-max-inline-size: var(--spectrum-alert-banner-width);
- --spectrum-alert-banner-size: auto;
+ --spectrum-alert-banner-inline-size: auto;
+
--spectrum-alert-banner-font-size: var(--spectrum-font-size-100);
- --spectrum-alert-banner-icon-size: var(--spectrum-workflow-icon-size-100);
+ --spectrum-alert-banner-line-height: var(--spectrum-line-height-100);
+ --spectrum-alert-banner-font-family: var(--spectrum-sans-font-family-stack);
+ --spectrum-alert-banner-icon-size: var(--spectrum-workflow-icon-size-100); /* stylelint-disable-line spectrum-tools/no-unused-custom-properties -- used in passthrough */
/* spacing */
--spectrum-alert-banner-icon-to-text: var(--spectrum-text-to-visual-300);
- --spectrum-alert-banner-start-edge: var(--spectrum-spacing-300);
+ --spectrum-alert-banner-inline-start-to-content: var(--spectrum-spacing-300);
+ --spectrum-alert-banner-inline-end-to-content: var(--spectrum-spacing-300);
--spectrum-alert-banner-text-to-button-horizontal: var(--spectrum-spacing-300);
- --spectrum-alert-banner-text-to-divider: var(--spectrum-spacing-300);
- --spectrum-alert-banner-top-icon: var(--spectrum-alert-banner-top-to-workflow-icon);
- --spectrum-alert-banner-top-text: var(--spectrum-alert-banner-top-to-text);
- --spectrum-alert-banner-bottom-text: var(--spectrum-alert-banner-bottom-to-text);
+ --spectrum-alert-banner-block-edge-to-button: var(--spectrum-spacing-200);
+ --spectrum-alert-banner-close-button-to-content: var(--spectrum-spacing-300); /* stylelint-disable-line spectrum-tools/no-unused-custom-properties -- used in passthrough */
+ --spectrum-alert-banner-close-button-to-inline-end: var(--spectrum-alert-banner-close-button-spacing); /* stylelint-disable-line spectrum-tools/no-unused-custom-properties -- used in passthrough */
+
+ /* Top and bottom margins for AlertBanner-text. Subtracts the vertical spacing that is already included in the
+ padding-block of its parent AlertBanner-body element. */
+ --spectrum-alert-banner-text-margin-block-start: max(0px, var(--mod-alert-banner-top-to-text, var(--spectrum-alert-banner-top-to-text)) - var(--mod-alert-banner-block-edge-to-button, var(--spectrum-alert-banner-block-edge-to-button)));
+ --spectrum-alert-banner-text-margin-block-end: max(0px, var(--mod-alert-banner-bottom-to-text, var(--spectrum-alert-banner-bottom-to-text)) - var(--mod-alert-banner-block-edge-to-button, var(--spectrum-alert-banner-block-edge-to-button)));
/* colors */
- --spectrum-alert-banner-informative-background: var(--spectrum-informative-background-color-default);
- --spectrum-alert-banner-negative-background: var(--spectrum-negative-background-color-default);
+ --spectrum-alert-banner-background: var(--mod-alert-banner-neutral-background, var(--spectrum-neutral-subdued-background-color-default));
--spectrum-alert-banner-font-color: var(--spectrum-white);
- /* settings for nested Divider */
- --mod-divider-vertical-margin: var(--mod-alert-banner-edge-to-divider, var(--spectrum-alert-banner-edge-to-divider));
- --mod-divider-vertical-height: auto;
- --mod-divider-vertical-align: stretch;
+ /* @passthrough -- settings for nested Close button */
+ --mod-closebutton-margin-inline: var(--mod-alert-banner-close-button-to-content, var(--spectrum-alert-banner-close-button-to-content)) var(--mod-alert-banner-close-button-to-inline-end, var(--spectrum-alert-banner-close-button-to-inline-end));
+ --mod-closebutton-margin-top: var(--mod-alert-banner-top-to-close-button, var(--spectrum-alert-banner-block-edge-to-button));
+ --mod-closebutton-align-self: flex-start;
- /* settings for nested Button */
- --mod-button-margin-block: var(--mod-alert-banner-edge-to-button, var(--spectrum-alert-banner-edge-to-button));
- --mod-button-margin-right: var(--mod-alert-banner-text-to-divider, var(--spectrum-alert-banner-text-to-divider));
- --mod-button-margin-left: auto;
+ &:lang(ja),
+ &:lang(zh),
+ &:lang(ko) {
+ --spectrum-alert-banner-line-height: var(--spectrum-cjk-line-height-100);
+ }
+}
- /* settings for nested CloseButton */
- --mod-closebutton-margin-inline: var(--mod-alert-banner-close-button-spacing, var(--spectrum-alert-banner-close-button-spacing));
- --mod-closebutton-margin-top: var(--mod-alert-banner-close-button-spacing, var(--spectrum-alert-banner-close-button-spacing));
- --mod-closebutton-align-self: flex-start;
+.spectrum-AlertBanner--info {
+ --spectrum-alert-banner-background: var(--mod-alert-banner-informative-background, var(--spectrum-informative-background-color-default));
+}
+
+.spectrum-AlertBanner--negative {
+ --spectrum-alert-banner-background: var(--mod-alert-banner-negative-background, var(--spectrum-negative-background-color-default));
+}
+.spectrum-AlertBanner {
display: none;
justify-content: space-between;
- inline-size: var(--mod-alert-banner-size, var(--spectrum-alert-banner-size));
+ inline-size: var(--mod-alert-banner-inline-size, var(--spectrum-alert-banner-inline-size));
max-inline-size: var(--mod-alert-banner-max-inline-size, var(--spectrum-alert-banner-max-inline-size));
min-block-size: var(--mod-alert-banner-min-height, var(--spectrum-alert-banner-min-height));
font-size: var(--mod-alert-banner-font-size, var(--spectrum-alert-banner-font-size));
+ font-family: var(--mod-alert-banner-font-family, var(--spectrum-alert-banner-font-family));
+ line-height: var(--mod-alert-banner-line-height, var(--spectrum-alert-banner-line-height));
color: var(--mod-alert-banner-font-color, var(--spectrum-alert-banner-font-color));
- background-color: var(--mod-alert-banner-neutral-background, var(--spectrum-alert-banner-neutral-background));
+ background: var(--mod-alert-banner-background, var(--spectrum-alert-banner-background));
border: var(--highcontrast-alert-banner-border-width, 0) solid var(--highcontrast-alert-banner-border-color, transparent);
&.is-open {
@@ -64,46 +79,47 @@
}
}
-.spectrum-AlertBanner--info {
- background-color: var(--mod-alert-banner-informative-background, var(--spectrum-alert-banner-informative-background));
-}
-
-.spectrum-AlertBanner--negative {
- background-color: var(--mod-alert-banner-negative-background, var(--spectrum-alert-banner-negative-background));
-}
-
.spectrum-AlertBanner-body {
inline-size: 100%;
display: flex;
-
- /* --mod-* for alert-banner-text-to-button-vertical will only accept values larger than alert-banner-edge-to-bottom, as gap only recognizes positive values */
- gap: max(calc(var(--mod-alert-banner-text-to-button-vertical, var(--spectrum-alert-banner-text-to-button-vertical)) - var(--mod-alert-banner-edge-to-button, var(--spectrum-alert-banner-edge-to-button))), 0px);
flex-wrap: wrap;
align-items: center;
- margin-inline-start: var(--mod-alert-banner-start-edge, var(--spectrum-alert-banner-start-edge));
-}
+ justify-content: flex-end;
-.spectrum-AlertBanner-content {
- display: flex;
+ /* Inline spacing between text and button, only when the button has not wrapped to the next line. */
+ column-gap: var(--mod-alert-banner-text-to-button-horizontal, var(--spectrum-alert-banner-text-to-button-horizontal));
+
+ /* Block spacing between text and button, when the button has wrapped to the next line. Takes into
+ account the existing margins on the text. */
+ row-gap: max(var(--mod-alert-banner-text-to-button-vertical, 0px), var(--spectrum-alert-banner-text-to-button-vertical) - var(--spectrum-alert-banner-text-margin-block-end));
+
+ padding-block: var(--mod-alert-banner-block-edge-to-button, var(--spectrum-alert-banner-block-edge-to-button));
+ margin-inline-start: var(--mod-alert-banner-inline-start-to-content, var(--spectrum-alert-banner-inline-start-to-content));
+ margin-inline-end: var(--mod-alert-banner-inline-end-to-content, var(--spectrum-alert-banner-inline-end-to-content));
+
+ /* When dismissible, this spacing is handled by the margin-inline-start on the close button instead. */
+ .spectrum-AlertBanner:has(.spectrum-CloseButton) & {
+ margin-inline-end: 0;
+ }
}
-.spectrum-AlertBanner-end {
+.spectrum-AlertBanner-content {
display: flex;
- align-items: center;
+ flex-grow: 1;
}
.spectrum-AlertBanner-icon {
- inline-size: var(--mod-alert-banner-icon-size, var(--spectrum-alert-banner-icon-size));
- block-size: var(--mod-alert-banner-icon-size, var(--spectrum-alert-banner-icon-size));
- margin-block-start: var(--mod-alert-banner-top-icon, var(--spectrum-alert-banner-top-icon));
+ /* @passthrough -- icon-size */
+ --mod-icon-size: var(--mod-alert-banner-icon-size, var(--spectrum-alert-banner-icon-size));
+
+ margin-block-start: calc(var(--mod-alert-banner-top-to-icon, var(--spectrum-alert-banner-top-to-workflow-icon)) - var(--mod-alert-banner-block-edge-to-button, var(--spectrum-alert-banner-block-edge-to-button)));
margin-inline-end: var(--mod-alert-banner-icon-to-text, var(--spectrum-alert-banner-icon-to-text));
flex-shrink: 0;
}
.spectrum-AlertBanner-text {
- margin-block-start: var(--mod-alert-banner-top-text, var(--spectrum-alert-banner-top-text));
- margin-block-end: var(--mod-alert-banner-bottom-text, var(--spectrum-alert-banner-bottom-text));
- margin-inline-end: var(--mod-alert-banner-text-to-button-horizontal, var(--spectrum-alert-banner-text-to-button-horizontal));
+ margin-block-start: var(--mod-alert-banner-text-margin-block-start, var(--spectrum-alert-banner-text-margin-block-start));
+ margin-block-end: var(--mod-alert-banner-text-margin-block-end, var(--spectrum-alert-banner-text-margin-block-end));
}
@media (forced-colors: active) {
diff --git a/components/alertbanner/package.json b/components/alertbanner/package.json
index 2ffd0448bad..0f0a805da11 100644
--- a/components/alertbanner/package.json
+++ b/components/alertbanner/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/alertbanner",
- "version": "3.1.1",
+ "version": "4.0.0-next.1",
"description": "The Spectrum CSS alertbanner component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,10 +25,10 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/button": ">=14.0.0 <15.0.0",
- "@spectrum-css/closebutton": ">=6.0.0 <7.0.0",
- "@spectrum-css/divider": ">=5.0.0 <6.0.0",
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
+ "@spectrum-css/button": ">=15.0.0-next.0",
+ "@spectrum-css/closebutton": ">=7.0.0-next.0",
+ "@spectrum-css/divider": ">=6.0.0-next.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -49,10 +49,10 @@
}
},
"devDependencies": {
- "@spectrum-css/button": "14.1.3",
- "@spectrum-css/closebutton": "6.1.0",
- "@spectrum-css/divider": "5.1.0",
- "@spectrum-css/icon": "9.1.0",
+ "@spectrum-css/button": "15.0.0-next.0",
+ "@spectrum-css/closebutton": "7.0.0-next.0",
+ "@spectrum-css/divider": "6.0.0-next.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/alertbanner/stories/alertbanner.stories.js b/components/alertbanner/stories/alertbanner.stories.js
index cd49c21a70e..b6d7f22dc69 100644
--- a/components/alertbanner/stories/alertbanner.stories.js
+++ b/components/alertbanner/stories/alertbanner.stories.js
@@ -76,6 +76,7 @@ export default {
packageJson,
metadata,
},
+ tags: ["migrated"],
};
export const Default = AlertBannerGroup.bind({});
diff --git a/components/alertbanner/stories/alertbanner.test.js b/components/alertbanner/stories/alertbanner.test.js
index dee63d20c8d..a4440153b6b 100644
--- a/components/alertbanner/stories/alertbanner.test.js
+++ b/components/alertbanner/stories/alertbanner.test.js
@@ -1,8 +1,39 @@
-import { Variants } from "@spectrum-css/preview/decorators";
+import { Container, Variants } from "@spectrum-css/preview/decorators";
import { Template } from "./template.js";
+/**
+ * Examples of options for contextual action button and close button.
+ */
+export const AlertBannerVariantsTemplate = (args, context) => Container({
+ withBorder: false,
+ direction: "column",
+ containerStyles: { "align-items": "stretch" },
+ wrapperStyles: { "align-items": "stretch" },
+ content: [
+ Template({
+ ...args,
+ variant: "neutral",
+ text: "Alert banner message. Use a short phrase to describe what's happening.",
+ actionButtonText: "Action",
+ }, context),
+ Template({
+ ...args,
+ variant: "info",
+ text: "Alert banner message. Use a short phrase to describe what's happening.",
+ actionButtonText: "Action",
+ }, context),
+ Template({
+ ...args,
+ variant: "negative",
+ text: "Alert banner message. Use a short phrase to describe what's happening.",
+ actionButtonText: "Action",
+ }, context),
+ ],
+}, context);
+
export const AlertBannerGroup = Variants({
- Template,
+ Template: AlertBannerVariantsTemplate,
+ TestTemplate: Template,
stateDirection: "column",
wrapperStyles: {
"inline-size": "100%",
diff --git a/components/alertbanner/stories/template.js b/components/alertbanner/stories/template.js
index 3eb719c0612..ec0278583fd 100644
--- a/components/alertbanner/stories/template.js
+++ b/components/alertbanner/stories/template.js
@@ -1,6 +1,5 @@
import { Template as Button } from "@spectrum-css/button/stories/template.js";
import { Template as CloseButton } from "@spectrum-css/closebutton/stories/template.js";
-import { Template as Divider } from "@spectrum-css/divider/stories/template.js";
import { Template as Icon } from "@spectrum-css/icon/stories/template.js";
import { Container, getRandomId } from "@spectrum-css/preview/decorators";
import { html } from "lit";
@@ -10,9 +9,6 @@ import { styleMap } from "lit/directives/style-map.js";
import { when } from "lit/directives/when.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-AlertBanner",
@@ -26,6 +22,12 @@ export const Template = ({
customClasses = [],
customStyles = {},
} = {}, context = {}) => {
+ const { updateArgs } = context;
+
+ const onclick = () => {
+ updateArgs({ isOpen: false });
+ };
+
return html`
- ${Divider({
- vertical: true,
- size: "s",
- tag: "div",
- }, context)}
${CloseButton({
size: "m",
staticColor: "white",
@@ -118,62 +115,62 @@ export const TextOverflowTemplate = (args) => html`
export const ActionableOptionsTemplate = (args, context) => Container({
withBorder: false,
direction: "column",
- containerStyles: { alignItems: "stretch" },
- wrapperStyles: { alignItems: "stretch" },
- content: html`
- ${Container({
+ containerStyles: { "align-items": "stretch" },
+ wrapperStyles: { "align-items": "stretch" },
+ content: [
+ Container({
withBorder: false,
direction: "column",
heading: "Action button and close button",
- containerStyles: { alignItems: "stretch" },
- wrapperStyles: { alignItems: "stretch" },
+ containerStyles: { "align-items": "stretch" },
+ wrapperStyles: { "align-items": "stretch" },
content: Template({
- ...args,
- variant: "neutral",
- text: "Your trial has expired",
- actionButtonText: "Buy now",
+ ...args,
+ variant: "neutral",
+ text: "Your trial has expired",
+ actionButtonText: "Buy now",
}, context),
- }, context)}
- ${Container({
+ }, context),
+ Container({
withBorder: false,
direction: "column",
heading: "Action button only",
- containerStyles: { alignItems: "stretch" },
- wrapperStyles: { alignItems: "stretch" },
+ containerStyles: { "align-items": "stretch" },
+ wrapperStyles: { "align-items": "stretch" },
content: Template({
- ...args,
- variant: "neutral",
- text: "Your trial has expired",
- actionButtonText: "Buy now",
- showCloseButton: false,
+ ...args,
+ variant: "neutral",
+ text: "Your trial has expired",
+ actionButtonText: "Buy now",
+ showCloseButton: false,
}, context),
- }, context)}
- ${Container({
+ }, context),
+ Container({
withBorder: false,
direction: "column",
heading: "Close button only",
- containerStyles: { alignItems: "stretch" },
- wrapperStyles: { alignItems: "stretch" },
+ containerStyles: { "align-items": "stretch" },
+ wrapperStyles: { "align-items": "stretch" },
content: Template({
...args,
variant: "neutral",
text: "Your trial has expired",
actionButtonText: "",
}),
- }, context)}
- ${Container({
+ }, context),
+ Container({
withBorder: false,
direction: "column",
heading: "Text only",
- containerStyles: { alignItems: "stretch" },
- wrapperStyles: { alignItems: "stretch" },
+ containerStyles: { "align-items": "stretch" },
+ wrapperStyles: { "align-items": "stretch" },
content: Template({
- ...args,
- variant: "neutral",
- text: "Your trial has expired",
- actionButtonText: "",
- showCloseButton: false,
+ ...args,
+ variant: "neutral",
+ text: "Your trial has expired",
+ actionButtonText: "",
+ showCloseButton: false,
}, context),
- }, context)}
- `,
+ }, context),
+ ],
}, context);
diff --git a/components/alertbanner/themes/express.css b/components/alertbanner/themes/express.css
deleted file mode 100644
index a86424d5e4b..00000000000
--- a/components/alertbanner/themes/express.css
+++ /dev/null
@@ -1,22 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
-
-@container style(--system: express) {
- .spectrum-AlertBanner {
- --spectrum-alert-banner-neutral-background: var(--spectrum-neutral-background-color-default);
- }
-}
diff --git a/components/alertbanner/themes/spectrum-two.css b/components/alertbanner/themes/spectrum-two.css
deleted file mode 100644
index 3e038dbd7a4..00000000000
--- a/components/alertbanner/themes/spectrum-two.css
+++ /dev/null
@@ -1,18 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-AlertBanner {
- --spectrum-alert-banner-neutral-background: var(--spectrum-neutral-subdued-background-color-default);
- }
-}
diff --git a/components/alertbanner/themes/spectrum.css b/components/alertbanner/themes/spectrum.css
deleted file mode 100644
index 4dd42f109fe..00000000000
--- a/components/alertbanner/themes/spectrum.css
+++ /dev/null
@@ -1,22 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-AlertBanner {
- --spectrum-alert-banner-neutral-background: var(--spectrum-neutral-subdued-background-color-default);
- }
-}
diff --git a/components/alertdialog/CHANGELOG.md b/components/alertdialog/CHANGELOG.md
index 689a56fbdc1..43d7dd9b8b6 100644
--- a/components/alertdialog/CHANGELOG.md
+++ b/components/alertdialog/CHANGELOG.md
@@ -1,5 +1,27 @@
# Change log
+## 5.0.0-next.2
+
+### Patch Changes
+
+- Updated dependencies [[`cb1b957`](https://github.com/adobe/spectrum-css/commit/cb1b957c05ecf02d3f473de09a8bfd5f2b5d42bf)]:
+ - @spectrum-css/modal@7.1.1-next.0
+
+## 5.0.0-next.1
+
+### Patch Changes
+
+- Updated dependencies [[`c6836fb`](https://github.com/adobe/spectrum-css/commit/c6836fb132effcfb09e4ca6d0d8923564bfe2914)]:
+ - @spectrum-css/divider@6.0.0-next.0
+
+## 5.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+ - @spectrum-css/buttongroup@10.0.0-next.0
+
## 4.1.0
### Minor Changes
diff --git a/components/alertdialog/dist/metadata.json b/components/alertdialog/dist/metadata.json
index 03bf62123f2..4e34b0e5fb8 100644
--- a/components/alertdialog/dist/metadata.json
+++ b/components/alertdialog/dist/metadata.json
@@ -78,7 +78,6 @@
"--spectrum-spacing-300",
"--spectrum-workflow-icon-size-100"
],
- "system-theme": [],
"passthroughs": ["--mod-buttongroup-justify-content", "--mod-icon-color"],
"high-contrast": []
}
diff --git a/components/alertdialog/index.css b/components/alertdialog/index.css
index 14e6e555f2c..32f5367d1ca 100644
--- a/components/alertdialog/index.css
+++ b/components/alertdialog/index.css
@@ -40,7 +40,7 @@
--spectrum-alert-dialog-divider-to-description: var(--spectrum-spacing-300);
--spectrum-alert-dialog-title-to-icon: var(--spectrum-spacing-300);
- /* mods for nested component */
+ /* @passthrough -- mods for nested component */
--mod-buttongroup-justify-content: flex-end;
}
diff --git a/components/alertdialog/package.json b/components/alertdialog/package.json
index 3b3f5f2414e..3ed7f9765ca 100644
--- a/components/alertdialog/package.json
+++ b/components/alertdialog/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/alertdialog",
- "version": "4.1.0",
+ "version": "5.0.0-next.2",
"description": "The Spectrum CSS alertdialog component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,10 +25,10 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/buttongroup": ">=9.0.0 <10.0.0",
- "@spectrum-css/divider": ">=5.0.0 <6.0.0",
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
- "@spectrum-css/modal": ">=7.0.0 <8.0.0",
+ "@spectrum-css/buttongroup": ">=10.0.0-next.0",
+ "@spectrum-css/divider": ">=6.0.0-next.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
+ "@spectrum-css/modal": ">=7.1.1-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0",
"@spectrum-css/underlay": ">=6.0.0 <7.0.0"
},
@@ -53,10 +53,10 @@
}
},
"devDependencies": {
- "@spectrum-css/buttongroup": "9.1.0",
- "@spectrum-css/divider": "5.1.0",
- "@spectrum-css/icon": "9.1.0",
- "@spectrum-css/modal": "7.1.0",
+ "@spectrum-css/buttongroup": "10.0.0-next.0",
+ "@spectrum-css/divider": "6.0.0-next.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
+ "@spectrum-css/modal": "7.1.1-next.0",
"@spectrum-css/tokens": "16.0.1",
"@spectrum-css/underlay": "6.1.0"
},
diff --git a/components/alertdialog/stories/alertdialog.stories.js b/components/alertdialog/stories/alertdialog.stories.js
index 87c83d18ff9..6f647f0e1ea 100644
--- a/components/alertdialog/stories/alertdialog.stories.js
+++ b/components/alertdialog/stories/alertdialog.stories.js
@@ -117,6 +117,11 @@ Information.args = {
content: "If you enjoy our app, would you mind taking a moment to rate it?",
};
Information.parameters = {
+ docs: {
+ story: {
+ height: "400px",
+ }
+ },
chromatic: { disableSnapshot: true },
};
diff --git a/components/asset/dist/metadata.json b/components/asset/dist/metadata.json
index 306c123b1b6..6389e295f47 100644
--- a/components/asset/dist/metadata.json
+++ b/components/asset/dist/metadata.json
@@ -20,12 +20,9 @@
],
"component": [
"--spectrum-asset-file-background",
- "--spectrum-asset-file-background-color",
"--spectrum-asset-file-outline",
"--spectrum-asset-folder-background",
- "--spectrum-asset-folder-background-color",
- "--spectrum-asset-folder-outline",
- "--spectrum-asset-icon-outline-color"
+ "--spectrum-asset-folder-outline"
],
"global": [
"--spectrum-animation-duration-100",
@@ -33,11 +30,6 @@
"--spectrum-gray-25",
"--spectrum-gray-500"
],
- "system-theme": [
- "--system-asset-file-background-color",
- "--system-asset-folder-background-color",
- "--system-asset-icon-outline-color"
- ],
"passthroughs": [],
"high-contrast": ["--highcontrast-asset-icon-background-color"]
}
diff --git a/components/asset/index.css b/components/asset/index.css
index abf5d42572f..e31f6aea3a7 100644
--- a/components/asset/index.css
+++ b/components/asset/index.css
@@ -11,13 +11,11 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
.spectrum-Asset {
- --spectrum-asset-folder-background: var(--highcontrast-asset-icon-background-color, var(--mod-asset-folder-background-color, var(--spectrum-asset-folder-background-color)));
- --spectrum-asset-file-background: var(--highcontrast-asset-icon-background-color, var(--mod-asset-file-background-color, var(--spectrum-asset-file-background-color)));
- --spectrum-asset-folder-outline: var(--mod-asset-icon-outline-color, var(--spectrum-asset-icon-outline-color));
- --spectrum-asset-file-outline: var(--mod-asset-icon-outline-color, var(--spectrum-asset-icon-outline-color));
+ --spectrum-asset-folder-background: var(--highcontrast-asset-icon-background-color, var(--mod-asset-folder-background-color, var(--spectrum-gray-200)));
+ --spectrum-asset-file-background: var(--highcontrast-asset-icon-background-color, var(--mod-asset-file-background-color, var(--spectrum-gray-25)));
+ --spectrum-asset-folder-outline: var(--mod-asset-icon-outline-color, var(--spectrum-gray-500));
+ --spectrum-asset-file-outline: var(--mod-asset-icon-outline-color, var(--spectrum-gray-500));
display: flex;
align-items: center;
diff --git a/components/asset/package.json b/components/asset/package.json
index 5cc31e0d64f..7ad2e15e044 100644
--- a/components/asset/package.json
+++ b/components/asset/package.json
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
"@spectrum-css/tokens": {
diff --git a/components/asset/stories/template.js b/components/asset/stories/template.js
index c32f792cd49..795c346c508 100644
--- a/components/asset/stories/template.js
+++ b/components/asset/stories/template.js
@@ -5,9 +5,6 @@ import { ifDefined } from "lit/directives/if-defined.js";
import { styleMap } from "lit/directives/style-map.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-Asset",
diff --git a/components/asset/themes/express.css b/components/asset/themes/express.css
deleted file mode 100644
index 9fd550418f2..00000000000
--- a/components/asset/themes/express.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
diff --git a/components/asset/themes/spectrum-two.css b/components/asset/themes/spectrum-two.css
deleted file mode 100644
index 5eda732011b..00000000000
--- a/components/asset/themes/spectrum-two.css
+++ /dev/null
@@ -1,20 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-Asset {
- --spectrum-asset-folder-background-color: var(--spectrum-gray-200);
- --spectrum-asset-file-background-color: var(--spectrum-gray-25);
- --spectrum-asset-icon-outline-color: var(--spectrum-gray-500);
- }
-}
diff --git a/components/asset/themes/spectrum.css b/components/asset/themes/spectrum.css
deleted file mode 100644
index 8b2b12ee379..00000000000
--- a/components/asset/themes/spectrum.css
+++ /dev/null
@@ -1,24 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-Asset {
- --spectrum-asset-folder-background-color: var(--spectrum-gray-300);
- --spectrum-asset-file-background-color: var(--spectrum-gray-50);
- --spectrum-asset-icon-outline-color: var(--spectrum-gray-500);
- }
-}
diff --git a/components/assetcard/CHANGELOG.md b/components/assetcard/CHANGELOG.md
index b0a85ee0a27..582431bf97b 100644
--- a/components/assetcard/CHANGELOG.md
+++ b/components/assetcard/CHANGELOG.md
@@ -1,5 +1,12 @@
# Change log
+## 6.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @spectrum-css/checkbox@11.0.0-next.0
+
## 5.1.0
### Minor Changes
diff --git a/components/assetcard/dist/metadata.json b/components/assetcard/dist/metadata.json
index 1c86dc47523..94bf07de0af 100644
--- a/components/assetcard/dist/metadata.json
+++ b/components/assetcard/dist/metadata.json
@@ -176,12 +176,6 @@
"--spectrum-transparent-black-300",
"--spectrum-white"
],
- "system-theme": [
- "--system-asset-card-background-color",
- "--system-asset-card-overlay-background-color",
- "--system-asset-card-selectionindicator-background-color-default",
- "--system-asset-card-selectionindicator-box-shadow-color"
- ],
"passthroughs": [],
"high-contrast": [
"--highcontrast-assectcard-border-color-selected-down",
diff --git a/components/assetcard/index.css b/components/assetcard/index.css
index 26881a3f45f..7b9ee81e647 100644
--- a/components/assetcard/index.css
+++ b/components/assetcard/index.css
@@ -11,12 +11,17 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
/* outer container, unstyled */
.spectrum-AssetCard {
+ --spectrum-assetcard-overlay-background-color: rgba(27 127 245 / 10%);
+ --spectrum-assetcard-background-color: var(--spectrum-gray-75);
+ --spectrum-assetcard-selectionindicator-background-color-default: rgba(var(--spectrum-gray-75-rgb), 0.9);
+ --spectrum-assetcard-selectionindicator-box-shadow-color: var(--spectrum-transparent-black-300);
+
/* todo: this isn't quite the size from the XD file as 232px is not a size token, so we use 224px */
--spectrum-assetcard-asset-size: 224px;
+ --spectrum-assetcard-background-color: var(--spectrum-gray-75);
+ --spectrum-assetcard-overlay-background-color: rgba(27 127 245 / 10%);
--spectrum-assetcard-asset-animation-duration: var(--spectrum-animation-duration-100);
--spectrum-assetcard-asset-container-border-size: 1px;
--spectrum-assetcard-header-margin-block-start: var(--spectrum-spacing-300);
@@ -37,6 +42,8 @@
--spectrum-assetcard-selectionindicator-color: var(--spectrum-white);
--spectrum-assetcard-selectionindicator-font-weight: var(--spectrum-bold-font-weight);
--spectrum-assetcard-selectionindicator-font-size: var(--spectrum-font-size-400);
+ --spectrum-assetcard-selectionindicator-background-color-default: rgba(var(--spectrum-gray-75-rgb), 0.9);
+ --spectrum-assetcard-selectionindicator-box-shadow-color: var(--spectrum-transparent-black-300);
/* title */
--spectrum-assetcard-title-text-color: var(--spectrum-gray-900);
diff --git a/components/assetcard/package.json b/components/assetcard/package.json
index 3f5314e4c67..60d5dc6cf1e 100644
--- a/components/assetcard/package.json
+++ b/components/assetcard/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/assetcard",
- "version": "5.1.0",
+ "version": "6.0.0-next.0",
"description": "The Spectrum CSS asset card component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/checkbox": ">=10.0.0 <11.0.0",
+ "@spectrum-css/checkbox": ">=11.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -37,7 +37,7 @@
}
},
"devDependencies": {
- "@spectrum-css/checkbox": "10.1.2",
+ "@spectrum-css/checkbox": "11.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/assetcard/stories/template.js b/components/assetcard/stories/template.js
index 864fcd951b7..1b44be4e568 100644
--- a/components/assetcard/stories/template.js
+++ b/components/assetcard/stories/template.js
@@ -8,9 +8,6 @@ import { when } from "lit/directives/when.js";
import { camelCase } from "lodash-es";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-AssetCard",
diff --git a/components/assetcard/themes/express.css b/components/assetcard/themes/express.css
deleted file mode 100644
index 63115538f15..00000000000
--- a/components/assetcard/themes/express.css
+++ /dev/null
@@ -1,22 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
-
-@container style(--system: express) {
- .spectrum-AssetCard {
- --spectrum-assetcard-overlay-background-color: rgba(109 115 246 / 20%);
- }
-}
diff --git a/components/assetcard/themes/spectrum-two.css b/components/assetcard/themes/spectrum-two.css
deleted file mode 100644
index f38045fb758..00000000000
--- a/components/assetcard/themes/spectrum-two.css
+++ /dev/null
@@ -1,21 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-AssetCard {
- --spectrum-assetcard-overlay-background-color: rgba(27 127 245 / 10%);
- --spectrum-assetcard-background-color: var(--spectrum-gray-75);
- --spectrum-assetcard-selectionindicator-background-color-default: rgba(var(--spectrum-gray-75-rgb), 0.9);
- --spectrum-assetcard-selectionindicator-box-shadow-color: var(--spectrum-transparent-black-300);
- }
-}
diff --git a/components/assetcard/themes/spectrum.css b/components/assetcard/themes/spectrum.css
deleted file mode 100644
index c3e7ef9e0a8..00000000000
--- a/components/assetcard/themes/spectrum.css
+++ /dev/null
@@ -1,25 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-AssetCard {
- --spectrum-assetcard-overlay-background-color: rgba(27 127 245 / 10%);
- --spectrum-assetcard-background-color: var(--spectrum-gray-200);
- --spectrum-assetcard-selectionindicator-background-color-default: rgba(var(--spectrum-gray-100-rgb), 0.9);
- --spectrum-assetcard-selectionindicator-box-shadow-color: var(--spectrum-transparent-black-200);
- }
-}
diff --git a/components/assetlist/CHANGELOG.md b/components/assetlist/CHANGELOG.md
index 0a4acf0fd2c..4102759a8d5 100644
--- a/components/assetlist/CHANGELOG.md
+++ b/components/assetlist/CHANGELOG.md
@@ -1,10 +1,20 @@
# Change log
+## 9.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+ - @spectrum-css/checkbox@11.0.0-next.0
+
## 8.2.0
### Minor Changes
-- [#3527](https://github.com/adobe/spectrum-css/pull/3527) [`5f1751c`](https://github.com/adobe/spectrum-css/commit/5f1751c82a5fe55ae0d999f5f50cfeca4c8a5c75) Thanks [@castastrophe](https://github.com/castastrophe)! - By updating the postcss-preset-env to the latest breaking change version, output for this component no longer injects the `.js-focus-within` and '[focus-within]` selectors for the focus-within polyfill. As this feature is not used in the SWC consumption, risk to the end user for this removal is low.
+📝 [#3527](https://github.com/adobe/spectrum-css/pull/3527) [`5f1751c`](https://github.com/adobe/spectrum-css/commit/5f1751c82a5fe55ae0d999f5f50cfeca4c8a5c75) Thanks [@castastrophe](https://github.com/castastrophe)!
+
+By updating the postcss-preset-env to the latest breaking change version, output for this component no longer injects the `.js-focus-within` and '[focus-within]` selectors for the focus-within polyfill. As this feature is not used in the SWC consumption, risk to the end user for this removal is low.
## 8.1.0
diff --git a/components/assetlist/dist/metadata.json b/components/assetlist/dist/metadata.json
index 011c28ee314..66179c000d9 100644
--- a/components/assetlist/dist/metadata.json
+++ b/components/assetlist/dist/metadata.json
@@ -85,10 +85,6 @@
"--spectrum-spacing-600",
"--spectrum-spacing-75"
],
- "system-theme": [
- "--system-asset-list-item-background-color-down",
- "--system-asset-list-item-background-color-hover"
- ],
"passthroughs": [],
"high-contrast": [
"--highcontrast-assetlist-border-color-key-focus",
diff --git a/components/assetlist/index.css b/components/assetlist/index.css
index 742070edbd4..28801db0d89 100644
--- a/components/assetlist/index.css
+++ b/components/assetlist/index.css
@@ -11,9 +11,10 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
.spectrum-AssetList {
+ --spectrum-assetlist-item-background-color-down: var(--spectrum-gray-200);
+ --spectrum-assetlist-item-background-color-hover: var(--spectrum-gray-100);
+
--spectrum-assetlist-width: 272px;
--spectrum-assetlist-child-indicator-animation: var(--spectrum-animation-duration-100);
diff --git a/components/assetlist/package.json b/components/assetlist/package.json
index 01a0bef06f0..e8d97bd5fbc 100644
--- a/components/assetlist/package.json
+++ b/components/assetlist/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/assetlist",
- "version": "8.2.0",
+ "version": "9.0.0-next.0",
"description": "The Spectrum CSS assetlist component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,8 +25,8 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/checkbox": ">=10.0.0 <11.0.0",
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
+ "@spectrum-css/checkbox": ">=11.0.0-next.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -41,8 +41,8 @@
}
},
"devDependencies": {
- "@spectrum-css/checkbox": "10.1.2",
- "@spectrum-css/icon": "9.1.0",
+ "@spectrum-css/checkbox": "11.0.0-next.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/assetlist/stories/template.js b/components/assetlist/stories/template.js
index 96d8f75a80c..f5c6d9731af 100644
--- a/components/assetlist/stories/template.js
+++ b/components/assetlist/stories/template.js
@@ -7,9 +7,6 @@ import { ifDefined } from "lit/directives/if-defined.js";
import { when } from "lit/directives/when.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const AssetListItem = ({
rootClass = "spectrum-AssetList-item",
@@ -45,10 +42,10 @@ export const AssetListItem = ({
customClasses: [`${rootClass}Selector`],
}, context)
)}
- ${when(image, () =>
+ ${when(image, () =>
html` `
)}
- ${when(iconName, () =>
+ ${when(iconName, () =>
Icon({
iconName,
setName: iconSet,
diff --git a/components/assetlist/themes/express.css b/components/assetlist/themes/express.css
deleted file mode 100644
index 9fd550418f2..00000000000
--- a/components/assetlist/themes/express.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
diff --git a/components/assetlist/themes/spectrum-two.css b/components/assetlist/themes/spectrum-two.css
deleted file mode 100644
index 0624623caf5..00000000000
--- a/components/assetlist/themes/spectrum-two.css
+++ /dev/null
@@ -1,19 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-AssetList {
- --spectrum-assetlist-item-background-color-down: var(--spectrum-gray-200);
- --spectrum-assetlist-item-background-color-hover: var(--spectrum-gray-100);
- }
-}
diff --git a/components/assetlist/themes/spectrum.css b/components/assetlist/themes/spectrum.css
deleted file mode 100644
index 30f67757c2e..00000000000
--- a/components/assetlist/themes/spectrum.css
+++ /dev/null
@@ -1,23 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-AssetList {
- --spectrum-assetlist-item-background-color-down: var(--spectrum-gray-300);
- --spectrum-assetlist-item-background-color-hover: var(--spectrum-gray-200);
- }
-}
diff --git a/components/avatar/dist/metadata.json b/components/avatar/dist/metadata.json
index 47df733191c..6b5fb54aac2 100644
--- a/components/avatar/dist/metadata.json
+++ b/components/avatar/dist/metadata.json
@@ -3,6 +3,12 @@
"selectors": [
".spectrum-Avatar",
".spectrum-Avatar--size100",
+ ".spectrum-Avatar--size1000",
+ ".spectrum-Avatar--size1100",
+ ".spectrum-Avatar--size1200",
+ ".spectrum-Avatar--size1300",
+ ".spectrum-Avatar--size1400",
+ ".spectrum-Avatar--size1500",
".spectrum-Avatar--size200",
".spectrum-Avatar--size300",
".spectrum-Avatar--size400",
@@ -11,6 +17,8 @@
".spectrum-Avatar--size600",
".spectrum-Avatar--size700",
".spectrum-Avatar--size75",
+ ".spectrum-Avatar--size800",
+ ".spectrum-Avatar--size900",
".spectrum-Avatar-image",
".spectrum-Avatar-link",
".spectrum-Avatar.is-disabled",
@@ -29,7 +37,11 @@
],
"component": [
"--spectrum-avatar-block-size",
+ "--spectrum-avatar-border-color",
+ "--spectrum-avatar-border-color-default",
"--spectrum-avatar-border-radius",
+ "--spectrum-avatar-border-thickness",
+ "--spectrum-avatar-border-width",
"--spectrum-avatar-color-opacity",
"--spectrum-avatar-color-opacity-disabled",
"--spectrum-avatar-focus-indicator-color",
@@ -38,6 +50,12 @@
"--spectrum-avatar-inline-size",
"--spectrum-avatar-opacity-disabled",
"--spectrum-avatar-size-100",
+ "--spectrum-avatar-size-1000",
+ "--spectrum-avatar-size-1100",
+ "--spectrum-avatar-size-1200",
+ "--spectrum-avatar-size-1300",
+ "--spectrum-avatar-size-1400",
+ "--spectrum-avatar-size-1500",
"--spectrum-avatar-size-200",
"--spectrum-avatar-size-300",
"--spectrum-avatar-size-400",
@@ -45,14 +63,15 @@
"--spectrum-avatar-size-500",
"--spectrum-avatar-size-600",
"--spectrum-avatar-size-700",
- "--spectrum-avatar-size-75"
+ "--spectrum-avatar-size-75",
+ "--spectrum-avatar-size-800",
+ "--spectrum-avatar-size-900"
],
"global": [
"--spectrum-focus-indicator-color",
"--spectrum-focus-indicator-gap",
"--spectrum-focus-indicator-thickness"
],
- "system-theme": [],
"passthroughs": [],
"high-contrast": ["--highcontrast-avatar-focus-indicator-color"]
}
diff --git a/components/avatar/index.css b/components/avatar/index.css
index 4f165dbf364..e6203f003d8 100644
--- a/components/avatar/index.css
+++ b/components/avatar/index.css
@@ -18,6 +18,8 @@
--spectrum-avatar-block-size: var(--spectrum-avatar-size-100);
--spectrum-avatar-border-radius: var(--spectrum-avatar-block-size);
+ --spectrum-avatar-border-thickness: var(--spectrum-avatar-border-width);
+ --spectrum-avatar-border-color-default: var(--spectrum-avatar-border-color);
--spectrum-avatar-focus-indicator-thickness: var(--spectrum-focus-indicator-thickness);
--spectrum-avatar-focus-indicator-gap: var(--spectrum-focus-indicator-gap);
@@ -71,6 +73,46 @@
--spectrum-avatar-block-size: var(--spectrum-avatar-size-700);
}
+.spectrum-Avatar--size800 {
+ --spectrum-avatar-inline-size: var(--spectrum-avatar-size-800);
+ --spectrum-avatar-block-size: var(--spectrum-avatar-size-800);
+}
+
+.spectrum-Avatar--size900 {
+ --spectrum-avatar-inline-size: var(--spectrum-avatar-size-900);
+ --spectrum-avatar-block-size: var(--spectrum-avatar-size-900);
+}
+
+.spectrum-Avatar--size1000 {
+ --spectrum-avatar-inline-size: var(--spectrum-avatar-size-1000);
+ --spectrum-avatar-block-size: var(--spectrum-avatar-size-1000);
+}
+
+.spectrum-Avatar--size1100 {
+ --spectrum-avatar-inline-size: var(--spectrum-avatar-size-1100);
+ --spectrum-avatar-block-size: var(--spectrum-avatar-size-1100);
+}
+
+.spectrum-Avatar--size1200 {
+ --spectrum-avatar-inline-size: var(--spectrum-avatar-size-1200);
+ --spectrum-avatar-block-size: var(--spectrum-avatar-size-1200);
+}
+
+.spectrum-Avatar--size1300 {
+ --spectrum-avatar-inline-size: var(--spectrum-avatar-size-1300);
+ --spectrum-avatar-block-size: var(--spectrum-avatar-size-1300);
+}
+
+.spectrum-Avatar--size1400 {
+ --spectrum-avatar-inline-size: var(--spectrum-avatar-size-1400);
+ --spectrum-avatar-block-size: var(--spectrum-avatar-size-1400);
+}
+
+.spectrum-Avatar--size1500 {
+ --spectrum-avatar-inline-size: var(--spectrum-avatar-size-1500);
+ --spectrum-avatar-block-size: var(--spectrum-avatar-size-1500);
+}
+
@media (forced-colors: active) {
.spectrum-Avatar {
--highcontrast-avatar-focus-indicator-color: CanvasText;
@@ -83,8 +125,10 @@
inline-size: var(--mod-avatar-inline-size, var(--spectrum-avatar-inline-size));
block-size: var(--mod-avatar-block-size, var(--spectrum-avatar-block-size));
+ border-style: solid;
border-radius: var(--mod-avatar-border-radius, var(--spectrum-avatar-border-radius));
- border-width: 0;
+ border-width: var(--spectrum-avatar-border-thickness);
+ border-color: var(--spectrum-avatar-border-color-default);
outline: none;
@@ -120,7 +164,9 @@
}
.spectrum-Avatar-link {
- outline: 0;
+ outline: none;
+ outline-color: transparent;
+ outline-style: solid;
}
.spectrum-Avatar-image {
diff --git a/components/avatar/package.json b/components/avatar/package.json
index 0f954886a7a..610d7554bff 100644
--- a/components/avatar/package.json
+++ b/components/avatar/package.json
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
"@spectrum-css/tokens": {
diff --git a/components/avatar/stories/avatar.stories.js b/components/avatar/stories/avatar.stories.js
index 3ef54b07b71..7cdf32f408d 100644
--- a/components/avatar/stories/avatar.stories.js
+++ b/components/avatar/stories/avatar.stories.js
@@ -13,7 +13,7 @@ export default {
title: "Avatar",
component: "Avatar",
argTypes: {
- size: size([50, 75, 100, 200, 300, 400, 500, 600, 700], false),
+ size: size([50, 75, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400, 1500], false),
image: {
name: "Image",
type: { name: "string" },
@@ -60,6 +60,7 @@ export default {
packageJson,
metadata,
},
+ tags: ["migrated"],
};
/**
@@ -74,19 +75,7 @@ export const Default = AvatarGroup.bind({});
Default.args = {};
// ********* DOCS ONLY ********* //
-/** Avatar sizes scale exponentially, based on the Spectrum type scale. These range from size-50 to size-700, with the default size for an avatar being `100`. An avatar can also be customized to fit appropriately for your context.
- *
- * Avatar is available in many sizes using the required `.spectrum-Avatar--size` class. The available size classes are:
-
-- `spectrum-Avatar--size50`
-- `spectrum-Avatar--size75`
-- `spectrum-Avatar--size100`
-- `spectrum-Avatar--size200`
-- `spectrum-Avatar--size300`
-- `spectrum-Avatar--size400`
-- `spectrum-Avatar--size500`
-- `spectrum-Avatar--size600`
-- `spectrum-Avatar--size700`
+/** Avatar is available in many sizes and scales exponentially, based on the Spectrum type scale. These sizes range from size-50 to size-1500, using the required `.spectrum-Avatar--size` class. The default size for an avatar is `100`. An avatar can also be customized to fit appropriately for your context.
*/
export const Sizing = (args, context) => Sizes({
Template,
diff --git a/components/badge/CHANGELOG.md b/components/badge/CHANGELOG.md
index ec10090e136..6e3309175c2 100644
--- a/components/badge/CHANGELOG.md
+++ b/components/badge/CHANGELOG.md
@@ -1,5 +1,12 @@
# Change log
+## 7.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+
## 6.1.0
### Minor Changes
diff --git a/components/badge/dist/metadata.json b/components/badge/dist/metadata.json
index c8be859d830..050f08d41ef 100644
--- a/components/badge/dist/metadata.json
+++ b/components/badge/dist/metadata.json
@@ -175,7 +175,6 @@
"--spectrum-workflow-icon-size-75",
"--spectrum-yellow-background-color-default"
],
- "system-theme": [],
"passthroughs": [],
"high-contrast": ["--highcontrast-badge-border-color"]
}
diff --git a/components/badge/package.json b/components/badge/package.json
index 8a59b3b72bb..8f22f15771d 100644
--- a/components/badge/package.json
+++ b/components/badge/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/badge",
- "version": "6.1.0",
+ "version": "7.0.0-next.0",
"description": "The Spectrum CSS badge component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -37,7 +37,7 @@
}
},
"devDependencies": {
- "@spectrum-css/icon": "9.1.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/badge/stories/badge.stories.js b/components/badge/stories/badge.stories.js
index fb9961227a2..4de26b9b9fa 100644
--- a/components/badge/stories/badge.stories.js
+++ b/components/badge/stories/badge.stories.js
@@ -40,7 +40,7 @@ export default {
type: { summary: "string" },
category: "Component",
},
- options: ["neutral", "accent", "informative", "positive", "negative", "gray", "red", "orange", "yellow", "chartreuse", "celery", "green", "seafoam", "cyan", "blue", "indigo", "purple", "fuchsia", "magenta"],
+ options: ["neutral", "accent", "informative", "positive", "negative", "notice", "gray", "red", "orange", "yellow", "chartreuse", "celery", "green", "seafoam", "cyan", "blue", "indigo", "purple", "fuchsia", "magenta"],
control: "select",
},
fixed: {
@@ -84,7 +84,7 @@ Default.args = {
export const SemanticVariants = (args, context) => ArgGrid({
Template,
argKey: "variant",
- options: ["neutral", "accent", "informative", "positive", "negative"],
+ options: ["neutral", "accent", "informative", "positive", "negative", "notice"],
withBorder: false,
...args,
}, context);
diff --git a/components/badge/stories/badge.test.js b/components/badge/stories/badge.test.js
index d1068ec340a..b226b07b700 100644
--- a/components/badge/stories/badge.test.js
+++ b/components/badge/stories/badge.test.js
@@ -17,7 +17,7 @@ export const BadgeGroup = Variants({
Template: Badges,
sizeDirection: "row",
testData: [
- ...["neutral", "accent", "informative", "positive", "negative"].map((variant) =>
+ ...["neutral", "accent", "informative", "positive", "negative", "notice"].map((variant) =>
({
testHeading: capitalize(variant),
wrapperStyles: {
diff --git a/components/breadcrumb/CHANGELOG.md b/components/breadcrumb/CHANGELOG.md
index b88e4e46f12..25b7d169754 100644
--- a/components/breadcrumb/CHANGELOG.md
+++ b/components/breadcrumb/CHANGELOG.md
@@ -1,5 +1,13 @@
# Change log
+## 12.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+ - @spectrum-css/actionbutton@8.0.0-next.0
+
## 11.1.0
### Minor Changes
@@ -207,6 +215,7 @@ Output for all component CSS files is now being run through a lightweight optimi
### 🛑 BREAKING CHANGE
- Removes component-builder & component-builder-simple for script leveraging postcss
+
- Imports added to index.css and themes/express.css
## 8.2.5
diff --git a/components/breadcrumb/dist/metadata.json b/components/breadcrumb/dist/metadata.json
index 561253d9efa..35fb0b03993 100644
--- a/components/breadcrumb/dist/metadata.json
+++ b/components/breadcrumb/dist/metadata.json
@@ -2,35 +2,30 @@
"sourceFile": "index.css",
"selectors": [
".spectrum-Breadcrumbs",
- ".spectrum-Breadcrumbs--compact",
- ".spectrum-Breadcrumbs--compact .spectrum-Breadcrumbs-item",
- ".spectrum-Breadcrumbs--compact .spectrum-Breadcrumbs-item > .spectrum-ActionButton",
- ".spectrum-Breadcrumbs--compact .spectrum-Breadcrumbs-item:last-of-type",
- ".spectrum-Breadcrumbs--compact .spectrum-Breadcrumbs-itemLink",
- ".spectrum-Breadcrumbs--compact .spectrum-Breadcrumbs-itemSeparator",
".spectrum-Breadcrumbs--multiline",
- ".spectrum-Breadcrumbs--multiline .spectrum-Breadcrumbs-item",
- ".spectrum-Breadcrumbs--multiline .spectrum-Breadcrumbs-item > .spectrum-ActionButton",
".spectrum-Breadcrumbs--multiline .spectrum-Breadcrumbs-item:last-of-type",
- ".spectrum-Breadcrumbs--multiline .spectrum-Breadcrumbs-item:last-of-type .spectrum-Breadcrumbs-itemLink",
- ".spectrum-Breadcrumbs--multiline .spectrum-Breadcrumbs-itemLink",
- ".spectrum-Breadcrumbs--multiline .spectrum-Breadcrumbs-itemSeparator",
+ ".spectrum-Breadcrumbs--multiline .spectrum-Breadcrumbs-item:last-of-type > .spectrum-Breadcrumbs-itemLink",
+ ".spectrum-Breadcrumbs--sizeL",
".spectrum-Breadcrumbs-item",
".spectrum-Breadcrumbs-item > .spectrum-ActionButton",
".spectrum-Breadcrumbs-item > .spectrum-ActionButton:disabled",
".spectrum-Breadcrumbs-item.is-dragged .spectrum-Breadcrumbs-itemLink:before",
".spectrum-Breadcrumbs-item:first-of-type > .spectrum-ActionButton",
+ ".spectrum-Breadcrumbs-item:first-of-type > .spectrum-Breadcrumbs-itemLink",
".spectrum-Breadcrumbs-item:last-of-type",
".spectrum-Breadcrumbs-item:last-of-type .spectrum-Breadcrumbs-itemLink",
".spectrum-Breadcrumbs-item:last-of-type .spectrum-Breadcrumbs-itemSeparator",
".spectrum-Breadcrumbs-itemLink",
+ ".spectrum-Breadcrumbs-itemLink + .spectrum-Breadcrumbs-itemSeparator",
".spectrum-Breadcrumbs-itemLink.is-disabled",
".spectrum-Breadcrumbs-itemLink:focus-visible:before",
".spectrum-Breadcrumbs-itemLink[aria-disabled=\"true\"]",
".spectrum-Breadcrumbs-itemLink[href]",
+ ".spectrum-Breadcrumbs-itemLink[href]:active",
".spectrum-Breadcrumbs-itemLink[href]:focus-visible",
".spectrum-Breadcrumbs-itemLink[href]:hover",
".spectrum-Breadcrumbs-itemLink[tabindex=\"0\"]",
+ ".spectrum-Breadcrumbs-itemLink[tabindex=\"0\"]:active",
".spectrum-Breadcrumbs-itemLink[tabindex=\"0\"]:focus-visible",
".spectrum-Breadcrumbs-itemLink[tabindex=\"0\"]:hover",
".spectrum-Breadcrumbs-itemSeparator",
@@ -41,41 +36,23 @@
"--mod-breadcrumbs-action-button-color",
"--mod-breadcrumbs-action-button-color-disabled",
"--mod-breadcrumbs-action-button-spacing-block",
- "--mod-breadcrumbs-action-button-spacing-block-between-multiline",
- "--mod-breadcrumbs-action-button-spacing-block-compact",
- "--mod-breadcrumbs-action-button-spacing-block-multiline",
"--mod-breadcrumbs-action-button-spacing-inline",
- "--mod-breadcrumbs-action-button-spacing-inline-start",
"--mod-breadcrumbs-block-size",
- "--mod-breadcrumbs-block-size-compact",
- "--mod-breadcrumbs-block-size-multiline",
"--mod-breadcrumbs-focus-indicator-color",
"--mod-breadcrumbs-focus-indicator-gap",
"--mod-breadcrumbs-focus-indicator-thickness",
"--mod-breadcrumbs-font-family",
- "--mod-breadcrumbs-font-family-compact",
- "--mod-breadcrumbs-font-family-compact-current",
"--mod-breadcrumbs-font-family-current",
- "--mod-breadcrumbs-font-family-multiline",
- "--mod-breadcrumbs-font-family-multiline-current",
"--mod-breadcrumbs-font-size",
- "--mod-breadcrumbs-font-size-compact",
- "--mod-breadcrumbs-font-size-compact-current",
"--mod-breadcrumbs-font-size-current",
- "--mod-breadcrumbs-font-size-multiline",
- "--mod-breadcrumbs-font-size-multiline-current",
+ "--mod-breadcrumbs-font-style",
"--mod-breadcrumbs-font-weight",
- "--mod-breadcrumbs-font-weight-compact",
- "--mod-breadcrumbs-font-weight-compact-current",
"--mod-breadcrumbs-font-weight-current",
- "--mod-breadcrumbs-font-weight-multiline",
- "--mod-breadcrumbs-font-weight-multiline-current",
"--mod-breadcrumbs-icon-spacing-block",
- "--mod-breadcrumbs-icon-spacing-block-between-multiline",
- "--mod-breadcrumbs-icon-spacing-block-compact",
- "--mod-breadcrumbs-icon-spacing-block-start-multiline",
"--mod-breadcrumbs-inline-end",
"--mod-breadcrumbs-inline-start",
+ "--mod-breadcrumbs-inline-start-to-truncated-menu",
+ "--mod-breadcrumbs-item-dragged-background",
"--mod-breadcrumbs-item-link-border-radius",
"--mod-breadcrumbs-line-height",
"--mod-breadcrumbs-separator-color",
@@ -85,112 +62,96 @@
"--mod-breadcrumbs-text-color-disabled",
"--mod-breadcrumbs-text-decoration-gap",
"--mod-breadcrumbs-text-decoration-thickness",
- "--mod-breadcrumbs-text-spacing-block-between-multiline",
"--mod-breadcrumbs-text-spacing-block-end",
- "--mod-breadcrumbs-text-spacing-block-end-compact",
- "--mod-breadcrumbs-text-spacing-block-end-multiline",
"--mod-breadcrumbs-text-spacing-block-start",
- "--mod-breadcrumbs-text-spacing-block-start-compact",
- "--mod-breadcrumbs-text-spacing-block-start-multiline"
+ "--mod-breadcrumbs-title-spacing-block-end",
+ "--mod-breadcrumbs-title-spacing-block-start",
+ "--mod-heading-margin-end",
+ "--mod-heading-margin-start"
],
"component": [
"--spectrum-breadcrumbs-action-button-color",
"--spectrum-breadcrumbs-action-button-color-disabled",
"--spectrum-breadcrumbs-action-button-spacing-block",
- "--spectrum-breadcrumbs-action-button-spacing-block-between-multiline",
- "--spectrum-breadcrumbs-action-button-spacing-block-compact",
- "--spectrum-breadcrumbs-action-button-spacing-block-multiline",
"--spectrum-breadcrumbs-action-button-spacing-inline",
- "--spectrum-breadcrumbs-action-button-spacing-inline-start",
"--spectrum-breadcrumbs-block-size",
- "--spectrum-breadcrumbs-block-size-compact",
- "--spectrum-breadcrumbs-block-size-multiline",
- "--spectrum-breadcrumbs-bottom-to-text",
- "--spectrum-breadcrumbs-bottom-to-text-compact",
"--spectrum-breadcrumbs-bottom-to-text-multiline",
"--spectrum-breadcrumbs-end-edge-to-text",
"--spectrum-breadcrumbs-focus-indicator-color",
"--spectrum-breadcrumbs-focus-indicator-gap",
"--spectrum-breadcrumbs-focus-indicator-thickness",
"--spectrum-breadcrumbs-font-family",
- "--spectrum-breadcrumbs-font-family-compact",
- "--spectrum-breadcrumbs-font-family-compact-current",
"--spectrum-breadcrumbs-font-family-current",
- "--spectrum-breadcrumbs-font-family-multiline",
- "--spectrum-breadcrumbs-font-family-multiline-current",
"--spectrum-breadcrumbs-font-size",
- "--spectrum-breadcrumbs-font-size-compact",
- "--spectrum-breadcrumbs-font-size-compact-current",
"--spectrum-breadcrumbs-font-size-current",
- "--spectrum-breadcrumbs-font-size-multiline",
- "--spectrum-breadcrumbs-font-size-multiline-current",
+ "--spectrum-breadcrumbs-font-style",
"--spectrum-breadcrumbs-font-weight",
- "--spectrum-breadcrumbs-font-weight-compact",
- "--spectrum-breadcrumbs-font-weight-compact-current",
"--spectrum-breadcrumbs-font-weight-current",
- "--spectrum-breadcrumbs-font-weight-multiline",
- "--spectrum-breadcrumbs-font-weight-multiline-current",
- "--spectrum-breadcrumbs-height",
- "--spectrum-breadcrumbs-height-compact",
"--spectrum-breadcrumbs-height-multiline",
"--spectrum-breadcrumbs-icon-spacing-block",
- "--spectrum-breadcrumbs-icon-spacing-block-between-multiline",
- "--spectrum-breadcrumbs-icon-spacing-block-compact",
- "--spectrum-breadcrumbs-icon-spacing-block-start-multiline",
"--spectrum-breadcrumbs-inline-end",
"--spectrum-breadcrumbs-inline-start",
+ "--spectrum-breadcrumbs-inline-start-to-truncated-menu",
+ "--spectrum-breadcrumbs-item-dragged-background",
"--spectrum-breadcrumbs-item-link-border-radius",
"--spectrum-breadcrumbs-line-height",
"--spectrum-breadcrumbs-separator-color",
- "--spectrum-breadcrumbs-separator-icon-to-bottom-text-multiline",
"--spectrum-breadcrumbs-separator-spacing-inline",
- "--spectrum-breadcrumbs-start-edge-to-text",
+ "--spectrum-breadcrumbs-separator-to-bottom-text-multiline",
+ "--spectrum-breadcrumbs-start-edge-to-text-large",
+ "--spectrum-breadcrumbs-start-edge-to-text-medium",
+ "--spectrum-breadcrumbs-start-edge-to-text-multiline",
"--spectrum-breadcrumbs-start-edge-to-truncated-menu",
"--spectrum-breadcrumbs-text-color",
"--spectrum-breadcrumbs-text-color-current",
"--spectrum-breadcrumbs-text-color-disabled",
"--spectrum-breadcrumbs-text-decoration-gap",
"--spectrum-breadcrumbs-text-decoration-thickness",
- "--spectrum-breadcrumbs-text-spacing-block-between-multiline",
"--spectrum-breadcrumbs-text-spacing-block-end",
- "--spectrum-breadcrumbs-text-spacing-block-end-compact",
- "--spectrum-breadcrumbs-text-spacing-block-end-multiline",
"--spectrum-breadcrumbs-text-spacing-block-start",
- "--spectrum-breadcrumbs-text-spacing-block-start-compact",
- "--spectrum-breadcrumbs-text-spacing-block-start-multiline",
+ "--spectrum-breadcrumbs-text-to-separator-large",
+ "--spectrum-breadcrumbs-text-to-separator-medium",
+ "--spectrum-breadcrumbs-text-to-separator-multiline",
+ "--spectrum-breadcrumbs-title-spacing-block-end",
+ "--spectrum-breadcrumbs-title-spacing-block-start",
"--spectrum-breadcrumbs-top-text-to-bottom-text",
- "--spectrum-breadcrumbs-top-to-separator-icon",
- "--spectrum-breadcrumbs-top-to-separator-icon-compact",
- "--spectrum-breadcrumbs-top-to-separator-icon-multiline",
- "--spectrum-breadcrumbs-top-to-text",
- "--spectrum-breadcrumbs-top-to-text-compact",
+ "--spectrum-breadcrumbs-top-to-separator-large",
+ "--spectrum-breadcrumbs-top-to-separator-medium",
+ "--spectrum-breadcrumbs-top-to-separator-multiline",
"--spectrum-breadcrumbs-top-to-text-multiline",
"--spectrum-breadcrumbs-top-to-truncated-menu",
- "--spectrum-breadcrumbs-top-to-truncated-menu-compact",
"--spectrum-breadcrumbs-truncated-menu-to-bottom-text",
- "--spectrum-breadcrumbs-truncated-menu-to-separator-icon"
+ "--spectrum-breadcrumbs-truncated-menu-to-separator"
],
"global": [
"--spectrum-bold-font-weight",
- "--spectrum-corner-radius-100",
+ "--spectrum-component-bottom-to-text-100",
+ "--spectrum-component-bottom-to-text-200",
+ "--spectrum-component-height-100",
+ "--spectrum-component-height-200",
+ "--spectrum-component-top-to-text-100",
+ "--spectrum-component-top-to-text-200",
+ "--spectrum-corner-radius-small-default",
+ "--spectrum-default-font-style",
"--spectrum-disabled-content-color",
+ "--spectrum-drop-zone-background-color-opacity",
+ "--spectrum-drop-zone-background-color-rgb",
+ "--spectrum-extra-bold-font-weight",
"--spectrum-focus-indicator-color",
"--spectrum-focus-indicator-gap",
"--spectrum-focus-indicator-thickness",
"--spectrum-font-size-100",
"--spectrum-font-size-200",
- "--spectrum-font-size-300",
"--spectrum-font-size-75",
+ "--spectrum-heading-size-l",
"--spectrum-line-height-100",
"--spectrum-neutral-content-color-default",
"--spectrum-neutral-subdued-content-color-default",
"--spectrum-regular-font-weight",
"--spectrum-sans-font-family-stack",
- "--spectrum-text-to-visual-100",
"--spectrum-text-underline-gap",
"--spectrum-text-underline-thickness"
],
- "system-theme": [],
"passthroughs": [],
"high-contrast": [
"--highcontrast-breadcrumbs-action-button-color",
diff --git a/components/breadcrumb/index.css b/components/breadcrumb/index.css
index 11e5a68e03b..d8d46e277dc 100644
--- a/components/breadcrumb/index.css
+++ b/components/breadcrumb/index.css
@@ -12,88 +12,46 @@
*/
.spectrum-Breadcrumbs {
- /* block size */
- --spectrum-breadcrumbs-block-size: var(--spectrum-breadcrumbs-height);
- --spectrum-breadcrumbs-block-size-compact: var(--spectrum-breadcrumbs-height-compact);
- --spectrum-breadcrumbs-block-size-multiline: var(--spectrum-breadcrumbs-height-multiline);
+ --spectrum-breadcrumbs-block-size: var(--spectrum-component-height-100);
- /* text regular */
+ /* Text - medium / default */
--spectrum-breadcrumbs-line-height: var(--spectrum-line-height-100);
- --spectrum-breadcrumbs-font-size: var(--spectrum-font-size-200);
+ --spectrum-breadcrumbs-font-size: var(--spectrum-font-size-100);
--spectrum-breadcrumbs-font-family: var(--spectrum-sans-font-family-stack);
--spectrum-breadcrumbs-font-weight: var(--spectrum-regular-font-weight);
+ --spectrum-breadcrumbs-font-style: var(--spectrum-default-font-style);
- /* text regular active item */
- --spectrum-breadcrumbs-font-size-current: var(--spectrum-font-size-200);
+ --spectrum-breadcrumbs-font-size-current: var(--spectrum-font-size-100);
--spectrum-breadcrumbs-font-family-current: var(--spectrum-sans-font-family-stack);
--spectrum-breadcrumbs-font-weight-current: var(--spectrum-bold-font-weight);
- /* text compact */
- --spectrum-breadcrumbs-font-size-compact: var(--spectrum-font-size-100);
- --spectrum-breadcrumbs-font-family-compact: var(--spectrum-sans-font-family-stack);
- --spectrum-breadcrumbs-font-weight-compact: var(--spectrum-regular-font-weight);
-
- /* text compact active item */
- --spectrum-breadcrumbs-font-size-compact-current: var(--spectrum-font-size-100);
- --spectrum-breadcrumbs-font-family-compact-current: var(--spectrum-sans-font-family-stack);
- --spectrum-breadcrumbs-font-weight-compact-current: var(--spectrum-bold-font-weight);
-
- /* text multiline */
- --spectrum-breadcrumbs-font-size-multiline: var(--spectrum-font-size-75);
- --spectrum-breadcrumbs-font-family-multiline: var(--spectrum-sans-font-family-stack);
- --spectrum-breadcrumbs-font-weight-multiline: var(--spectrum-regular-font-weight);
-
- /* text multiline active item */
- --spectrum-breadcrumbs-font-size-multiline-current: var(--spectrum-font-size-300);
- --spectrum-breadcrumbs-font-family-multiline-current: var(--spectrum-sans-font-family-stack);
- --spectrum-breadcrumbs-font-weight-multiline-current: var(--spectrum-bold-font-weight);
-
- /* hover, active, focus underline */
+ /* Hover, active, focus underline */
--spectrum-breadcrumbs-text-decoration-thickness: var(--spectrum-text-underline-thickness);
--spectrum-breadcrumbs-text-decoration-gap: var(--spectrum-text-underline-gap);
- /* space between items */
- --spectrum-breadcrumbs-separator-spacing-inline: var(--spectrum-text-to-visual-100);
-
- /* vertical spacing */
- --spectrum-breadcrumbs-text-spacing-block-start: var(--spectrum-breadcrumbs-top-to-text);
- --spectrum-breadcrumbs-text-spacing-block-end: var(--spectrum-breadcrumbs-bottom-to-text);
- --spectrum-breadcrumbs-icon-spacing-block: var(--spectrum-breadcrumbs-top-to-separator-icon);
+ /* Space between separator chevron and items */
+ --spectrum-breadcrumbs-separator-spacing-inline: var(--spectrum-breadcrumbs-text-to-separator-medium);
- /* compact vertical spacing */
- --spectrum-breadcrumbs-text-spacing-block-start-compact: var(--spectrum-breadcrumbs-top-to-text-compact);
- --spectrum-breadcrumbs-text-spacing-block-end-compact: var(--spectrum-breadcrumbs-bottom-to-text-compact);
- --spectrum-breadcrumbs-icon-spacing-block-compact: var(--spectrum-breadcrumbs-top-to-separator-icon-compact);
+ /* Vertical spacing for text and separator icon */
+ --spectrum-breadcrumbs-text-spacing-block-start: var(--spectrum-component-top-to-text-100);
+ --spectrum-breadcrumbs-text-spacing-block-end: var(--spectrum-component-bottom-to-text-100);
+ --spectrum-breadcrumbs-icon-spacing-block: var(--spectrum-breadcrumbs-top-to-separator-medium);
+ --spectrum-breadcrumbs-title-spacing-block-start: var(--spectrum-breadcrumbs-text-spacing-block-start);
+ --spectrum-breadcrumbs-title-spacing-block-end: var(--spectrum-breadcrumbs-text-spacing-block-end);
- /* multiline vertical spacing */
- --spectrum-breadcrumbs-text-spacing-block-start-multiline: var(--spectrum-breadcrumbs-top-to-text-multiline);
- --spectrum-breadcrumbs-text-spacing-block-end-multiline: var(--spectrum-breadcrumbs-bottom-to-text-multiline);
- --spectrum-breadcrumbs-text-spacing-block-between-multiline: var(--spectrum-breadcrumbs-top-text-to-bottom-text); /* vertical between lines */
- --spectrum-breadcrumbs-icon-spacing-block-start-multiline: var(--spectrum-breadcrumbs-top-to-separator-icon-multiline);
- --spectrum-breadcrumbs-icon-spacing-block-between-multiline: var(--spectrum-breadcrumbs-separator-icon-to-bottom-text-multiline); /* vertical between lines */
-
- /* horizontal outer spacing of list */
- --spectrum-breadcrumbs-inline-start: var(--spectrum-breadcrumbs-start-edge-to-text);
+ /* Horizontal outer spacing of list */
+ --spectrum-breadcrumbs-inline-start: var(--spectrum-breadcrumbs-start-edge-to-text-medium);
--spectrum-breadcrumbs-inline-end: var(--spectrum-breadcrumbs-end-edge-to-text);
+ --spectrum-breadcrumbs-inline-start-to-truncated-menu: var(--spectrum-breadcrumbs-start-edge-to-truncated-menu);
- /* menu action button icon spacing */
- --spectrum-breadcrumbs-action-button-spacing-inline: var(--spectrum-breadcrumbs-truncated-menu-to-separator-icon);
-
- /* action button spacing */
+ /* Action button (truncated menu) spacing */
+ --spectrum-breadcrumbs-action-button-spacing-inline: var(--spectrum-breadcrumbs-truncated-menu-to-separator);
--spectrum-breadcrumbs-action-button-spacing-block: var(--spectrum-breadcrumbs-top-to-truncated-menu);
- --spectrum-breadcrumbs-action-button-spacing-block-compact: var(--spectrum-breadcrumbs-top-to-truncated-menu-compact); /* compact */
-
- --spectrum-breadcrumbs-action-button-spacing-inline-start: var(--spectrum-breadcrumbs-start-edge-to-truncated-menu); /* if icon is first item */
- --spectrum-breadcrumbs-action-button-spacing-block-multiline: var(--spectrum-breadcrumbs-top-to-truncated-menu-compact); /* multiline */
- --spectrum-breadcrumbs-action-button-spacing-block-between-multiline: var(--spectrum-breadcrumbs-truncated-menu-to-bottom-text); /* multiline */
-
- /* Focus Indicator */
+ /* Focus indicator */
--spectrum-breadcrumbs-focus-indicator-thickness: var(--spectrum-focus-indicator-thickness);
--spectrum-breadcrumbs-focus-indicator-gap: var(--spectrum-focus-indicator-gap);
-
- /* placeholder for border radius for focus indicator */
- --spectrum-breadcrumbs-item-link-border-radius: var(--spectrum-corner-radius-100);
+ --spectrum-breadcrumbs-item-link-border-radius: var(--spectrum-corner-radius-small-default);
/* Colors */
--spectrum-breadcrumbs-text-color: var(--spectrum-neutral-subdued-content-color-default);
@@ -102,72 +60,63 @@
--spectrum-breadcrumbs-separator-color: var(--spectrum-neutral-content-color-default);
--spectrum-breadcrumbs-action-button-color: var(--spectrum-neutral-subdued-content-color-default);
--spectrum-breadcrumbs-action-button-color-disabled: var(--spectrum-disabled-content-color);
-
--spectrum-breadcrumbs-focus-indicator-color: var(--spectrum-focus-indicator-color);
+ --spectrum-breadcrumbs-item-dragged-background: rgba(var(--spectrum-drop-zone-background-color-rgb), var(--spectrum-drop-zone-background-color-opacity));
+
+ /* Sub-component: heading */
+ --mod-heading-margin-end: 0px;
+ --mod-heading-margin-start: 0px;
}
-/* windows high contrast mode */
-@media (forced-colors: active) {
- .spectrum-Breadcrumbs {
- --highcontrast-breadcrumbs-text-color: LinkText;
- --highcontrast-breadcrumbs-text-color-current: CanvasText;
- --highcontrast-breadcrumbs-text-color-disabled: GrayText;
- --highcontrast-breadcrumbs-separator-color: CanvasText;
- --highcontrast-breadcrumbs-action-button-color: LinkText;
- --highcontrast-breadcrumbs-action-button-color-disabled: GrayText;
+.spectrum-Breadcrumbs--sizeL {
+ --spectrum-breadcrumbs-block-size: var(--spectrum-component-height-200);
+ --spectrum-breadcrumbs-font-size: var(--spectrum-font-size-200);
+ --spectrum-breadcrumbs-font-size-current: var(--spectrum-font-size-200);
- --highcontrast-breadcrumbs-focus-indicator-color: CanvasText;
- }
+ --spectrum-breadcrumbs-separator-spacing-inline: var(--spectrum-breadcrumbs-text-to-separator-large);
+ --spectrum-breadcrumbs-text-spacing-block-start: var(--spectrum-component-top-to-text-200);
+ --spectrum-breadcrumbs-text-spacing-block-end: var(--spectrum-component-bottom-to-text-200);
+ --spectrum-breadcrumbs-icon-spacing-block: var(--spectrum-breadcrumbs-top-to-separator-large);
+ --spectrum-breadcrumbs-inline-start: var(--spectrum-breadcrumbs-start-edge-to-text-large);
+}
+
+.spectrum-Breadcrumbs--multiline {
+ --spectrum-breadcrumbs-block-size: var(--spectrum-breadcrumbs-height-multiline);
+ --spectrum-breadcrumbs-font-size: var(--spectrum-font-size-75);
+ --spectrum-breadcrumbs-font-size-current: var(--spectrum-heading-size-l);
+ --spectrum-breadcrumbs-font-weight-current: var(--spectrum-extra-bold-font-weight);
+
+ --spectrum-breadcrumbs-separator-spacing-inline: var(--spectrum-breadcrumbs-text-to-separator-multiline);
+ --spectrum-breadcrumbs-text-spacing-block-start: var(--spectrum-breadcrumbs-top-to-text-multiline);
+ --spectrum-breadcrumbs-text-spacing-block-end: var(--spectrum-breadcrumbs-top-text-to-bottom-text);
+ --spectrum-breadcrumbs-icon-spacing-block: var(--spectrum-breadcrumbs-top-to-separator-multiline) var(--spectrum-breadcrumbs-separator-to-bottom-text-multiline);
+ --spectrum-breadcrumbs-title-spacing-block-start: 0;
+ --spectrum-breadcrumbs-title-spacing-block-end: var(--spectrum-breadcrumbs-bottom-to-text-multiline);
+ --spectrum-breadcrumbs-inline-start: var(--spectrum-breadcrumbs-start-edge-to-text-multiline);
+ --spectrum-breadcrumbs-action-button-spacing-block: var(--spectrum-breadcrumbs-top-to-truncated-menu) var(--spectrum-breadcrumbs-truncated-menu-to-bottom-text);
}
.spectrum-Breadcrumbs {
list-style-type: none;
-
margin: 0;
- padding-inline-start: var(--mod-breadcrumbs-inline-start, var(--spectrum-breadcrumbs-inline-start));
- padding-inline-end: var(--mod-breadcrumbs-inline-end, var(--spectrum-breadcrumbs-inline-end));
+ padding-inline: 0 var(--mod-breadcrumbs-inline-end, var(--spectrum-breadcrumbs-inline-end));
+ block-size: var(--mod-breadcrumbs-block-size, var(--spectrum-breadcrumbs-block-size));
display: flex;
flex-flow: row nowrap;
align-items: center;
justify-content: flex-start;
- flex: 1 0 0%;
-
- block-size: var(--mod-breadcrumbs-block-size, var(--spectrum-breadcrumbs-block-size));
-}
-
-.spectrum-Breadcrumbs--compact {
- block-size: var(--mod-breadcrumbs-block-size-compact, var(--spectrum-breadcrumbs-block-size-compact));
-}
-
-.spectrum-Breadcrumbs--multiline {
- block-size: var(--mod-breadcrumbs-block-size-multiline, var(--spectrum-breadcrumbs-block-size-multiline));
-
- flex-wrap: wrap;
- align-content: center;
}
.spectrum-Breadcrumbs-itemSeparator {
position: relative;
-
margin-block: var(--mod-breadcrumbs-icon-spacing-block, var(--spectrum-breadcrumbs-icon-spacing-block));
- margin-inline: var(--mod-breadcrumbs-separator-spacing-inline, var(--spectrum-breadcrumbs-separator-spacing-inline));
-
opacity: 1;
color: var(--highcontrast-breadcrumbs-separator-color, var(--mod-breadcrumbs-separator-color, var(--spectrum-breadcrumbs-separator-color)));
&:dir(rtl) {
transform: scaleX(-1);
}
-
- .spectrum-Breadcrumbs--compact & {
- margin-block: var(--mod-breadcrumbs-icon-spacing-block-compact, var(--spectrum-breadcrumbs-icon-spacing-block-compact));
- }
-
- .spectrum-Breadcrumbs--multiline & {
- margin-block-start: var(--mod-breadcrumbs-icon-spacing-block-start-multiline, var(--spectrum-breadcrumbs-icon-spacing-block-start-multiline));
- margin-block-end: var(--mod-breadcrumbs-icon-spacing-block-between-multiline, var(--spectrum-breadcrumbs-icon-spacing-block-between-multiline));
- }
}
.spectrum-Breadcrumbs-item {
@@ -175,40 +124,15 @@
position: relative;
display: inline-flex;
white-space: nowrap;
-
align-items: center;
font-family: var(--mod-breadcrumbs-font-family, var(--spectrum-breadcrumbs-font-family));
font-size: var(--mod-breadcrumbs-font-size, var(--spectrum-breadcrumbs-font-size));
font-weight: var(--mod-breadcrumbs-font-weight, var(--spectrum-breadcrumbs-font-weight));
+ font-style: var(--mod-breadcrumbs-font-style, var(--spectrum-breadcrumbs-font-style));
line-height: var(--mod-breadcrumbs-line-height, var(--spectrum-breadcrumbs-line-height));
- .spectrum-Breadcrumbs--compact & {
- font-family: var(--mod-breadcrumbs-font-family-compact, var(--spectrum-breadcrumbs-font-family-compact));
- font-size: var(--mod-breadcrumbs-font-size-compact, var(--spectrum-breadcrumbs-font-size-compact));
- font-weight: var(--mod-breadcrumbs-font-weight-compact, var(--spectrum-breadcrumbs-font-weight-compact));
-
- > .spectrum-ActionButton {
- margin-block: var(--mod-breadcrumbs-action-button-spacing-block-compact, var(--spectrum-breadcrumbs-action-button-spacing-block-compact));
- }
- }
-
- .spectrum-Breadcrumbs--multiline & {
- font-family: var(--mod-breadcrumbs-font-family-multiline, var(--spectrum-breadcrumbs-font-family-multiline));
- font-size: var(--mod-breadcrumbs-font-size-multiline, var(--spectrum-breadcrumbs-font-size-multiline));
- font-weight: var(--mod-breadcrumbs-font-weight-multiline, var(--spectrum-breadcrumbs-font-weight-multiline));
-
- &:last-of-type {
- block-size: auto;
- inline-size: 100%;
- }
-
- > .spectrum-ActionButton {
- margin-block-start: var(--mod-breadcrumbs-action-button-spacing-block-multiline, var(--spectrum-breadcrumbs-action-button-spacing-block-multiline));
- margin-block-end: var(--mod-breadcrumbs-action-button-spacing-block-between-multiline, var(--spectrum-breadcrumbs-action-button-spacing-block-between-multiline));
- }
- }
-
+ /* Breadcrumbs title (current item) */
&:last-of-type {
font-family: var(--mod-breadcrumbs-font-family-current, var(--spectrum-breadcrumbs-font-family-current));
font-size: var(--mod-breadcrumbs-font-size-current, var(--spectrum-breadcrumbs-font-size-current));
@@ -219,27 +143,10 @@
}
}
- .spectrum-Breadcrumbs--compact &:last-of-type {
- font-family: var(--mod-breadcrumbs-font-family-compact-current, var(--spectrum-breadcrumbs-font-family-compact-current));
- font-size: var(--mod-breadcrumbs-font-size-compact-current, var(--spectrum-breadcrumbs-font-size-compact-current));
- font-weight: var(--mod-breadcrumbs-font-weight-compact-current, var(--spectrum-breadcrumbs-font-weight-compact-current));
- }
-
- .spectrum-Breadcrumbs--multiline &:last-of-type {
- font-family: var(--mod-breadcrumbs-font-family-multiline-current, var(--spectrum-breadcrumbs-font-family-multiline-current));
- font-size: var(--mod-breadcrumbs-font-size-multiline-current, var(--spectrum-breadcrumbs-font-size-multiline-current));
- font-weight: var(--mod-breadcrumbs-font-weight-multiline-current, var(--spectrum-breadcrumbs-font-weight-multiline-current));
-
- .spectrum-Breadcrumbs-itemLink {
- margin-block-start: 0;
- margin-block-end: var(--mod-breadcrumbs-text-spacing-block-end-multiline, var(--spectrum-breadcrumbs-text-spacing-block-end-multiline));
- }
- }
-
+ /* Truncated menu */
> .spectrum-ActionButton {
margin-inline: var(--mod-breadcrumbs-action-button-spacing-inline, var(--spectrum-breadcrumbs-action-button-spacing-inline));
margin-block: var(--mod-breadcrumbs-action-button-spacing-block, var(--spectrum-breadcrumbs-action-button-spacing-block));
-
color: var(--highcontrast-breadcrumbs-action-button-color, var(--mod-breadcrumbs-action-button-color, var(--spectrum-breadcrumbs-action-button-color)));
&:disabled {
@@ -247,10 +154,14 @@
}
}
+ /* Start edge to text or truncated menu */
&:first-of-type {
- /* if folder icon is first item */
+ > .spectrum-Breadcrumbs-itemLink {
+ margin-inline-start: var(--mod-breadcrumbs-inline-start, var(--spectrum-breadcrumbs-inline-start));
+ }
+
> .spectrum-ActionButton {
- margin-inline-start: var(--mod-breadcrumbs-action-button-spacing-inline-start, var(--spectrum-breadcrumbs-action-button-spacing-inline-start));
+ margin-inline-start: var(--mod-breadcrumbs-inline-start-to-truncated-menu, var(--spectrum-breadcrumbs-inline-start-to-truncated-menu));
}
}
}
@@ -258,46 +169,43 @@
.spectrum-Breadcrumbs-itemLink {
cursor: default;
position: relative;
-
box-sizing: border-box;
-
display: block;
-
border-radius: var(--mod-breadcrumbs-item-link-border-radius, var(--spectrum-breadcrumbs-item-link-border-radius)); /* placeholder for token */
outline: none;
-
text-decoration: none;
color: var(--highcontrast-breadcrumbs-text-color, var(--mod-breadcrumbs-text-color, var(--spectrum-breadcrumbs-text-color)));
+ /* Create new stacking context for negative z-index dragged pseudo element. */
+ isolation: isolate;
+
margin-block-start: var(--mod-breadcrumbs-text-spacing-block-start, var(--spectrum-breadcrumbs-text-spacing-block-start));
margin-block-end: var(--mod-breadcrumbs-text-spacing-block-end, var(--spectrum-breadcrumbs-text-spacing-block-end));
+ margin-inline-start: var(--mod-breadcrumbs-separator-spacing-inline, var(--spectrum-breadcrumbs-separator-spacing-inline));
&.is-disabled,
&[aria-disabled="true"] {
color: var(--highcontrast-breadcrumbs-text-color-disabled, var(--mod-breadcrumbs-text-color-disabled, var(--spectrum-breadcrumbs-text-color-disabled)));
}
+ /* Breadcrumbs title (current item) */
.spectrum-Breadcrumbs-item:last-of-type & {
color: var(--highcontrast-breadcrumbs-text-color-current, var(--mod-breadcrumbs-text-color-current, var(--spectrum-breadcrumbs-text-color-current)));
+ margin-block-start: var(--mod-breadcrumbs-title-spacing-block-start, var(--spectrum-breadcrumbs-title-spacing-block-start));
+ margin-block-end: var(--mod-breadcrumbs-title-spacing-block-end, var(--spectrum-breadcrumbs-title-spacing-block-end));
}
- .spectrum-Breadcrumbs--compact & {
- /* compact vertical spacing */
- margin-block-start: var(--mod-breadcrumbs-text-spacing-block-start-compact, var(--spectrum-breadcrumbs-text-spacing-block-start-compact));
- margin-block-end: var(--mod-breadcrumbs-text-spacing-block-end-compact, var(--spectrum-breadcrumbs-text-spacing-block-end-compact));
- }
-
- .spectrum-Breadcrumbs--multiline & {
- /* multiline vertical spacing */
- margin-block-start: var(--mod-breadcrumbs-text-spacing-block-start-multiline, var(--spectrum-breadcrumbs-text-spacing-block-start-multiline));
- margin-block-end: var(--mod-breadcrumbs-text-spacing-block-between-multiline, var(--spectrum-breadcrumbs-text-spacing-block-between-multiline)); /* vertical between lines */
+ + .spectrum-Breadcrumbs-itemSeparator {
+ margin-inline-start: var(--mod-breadcrumbs-separator-spacing-inline, var(--spectrum-breadcrumbs-separator-spacing-inline));
}
+ /* Link is focusable */
&[href],
&[tabindex="0"] {
cursor: pointer;
&:hover,
+ &:active,
&:focus-visible {
text-decoration: underline;
text-decoration-thickness: var(--mod-breadcrumbs-text-decoration-thickness, var(--spectrum-breadcrumbs-text-decoration-thickness));
@@ -306,10 +214,12 @@
}
}
-/* focus indicator */
+/* Focus indicator */
.spectrum-Breadcrumbs-item.is-dragged .spectrum-Breadcrumbs-itemLink::before,
.spectrum-Breadcrumbs-itemLink:focus-visible::before {
position: absolute;
+ content: "";
+ pointer-events: none;
margin-inline-start: calc((var(--mod-breadcrumbs-focus-indicator-gap, var(--spectrum-breadcrumbs-focus-indicator-gap)) + var(--mod-breadcrumbs-focus-indicator-thickness, var(--spectrum-breadcrumbs-focus-indicator-thickness))) * -1);
margin-block-start: calc((var(--mod-breadcrumbs-focus-indicator-gap, var(--spectrum-breadcrumbs-focus-indicator-gap)) + var(--mod-breadcrumbs-focus-indicator-thickness, var(--spectrum-breadcrumbs-focus-indicator-thickness))) * -1);
@@ -322,9 +232,40 @@
border-width: var(--mod-breadcrumbs-focus-indicator-thickness, var(--spectrum-breadcrumbs-focus-indicator-thickness));
border-style: solid;
border-radius: var(--mod-breadcrumbs-item-link-border-radius, var(--spectrum-breadcrumbs-item-link-border-radius));
+ border-color: var(--highcontrast-breadcrumbs-focus-indicator-color, var(--mod-breadcrumbs-focus-indicator-color, var(--spectrum-breadcrumbs-focus-indicator-color)));
+}
- content: "";
- pointer-events: none;
+.spectrum-Breadcrumbs-item.is-dragged .spectrum-Breadcrumbs-itemLink::before {
+ background: var(--mod-breadcrumbs-item-dragged-background, var(--spectrum-breadcrumbs-item-dragged-background));
- border-color: var(--highcontrast-breadcrumbs-focus-indicator-color, var(--mod-breadcrumbs-focus-indicator-color, var(--spectrum-breadcrumbs-focus-indicator-color)));
+ /* Make sure the background color does not appear on top of the text. */
+ z-index: -1;
+}
+
+/* Multiline */
+.spectrum-Breadcrumbs--multiline {
+ flex-wrap: wrap;
+ align-content: center;
+
+ /* The multiline title takes up the full width and appears below the other breadcrumb items. */
+ .spectrum-Breadcrumbs-item:last-of-type {
+ block-size: auto;
+ inline-size: 100%;
+
+ > .spectrum-Breadcrumbs-itemLink {
+ margin-inline-start: var(--mod-breadcrumbs-inline-start, var(--spectrum-breadcrumbs-inline-start));
+ }
+ }
+}
+
+@media (forced-colors: active) {
+ .spectrum-Breadcrumbs {
+ --highcontrast-breadcrumbs-text-color: LinkText;
+ --highcontrast-breadcrumbs-text-color-current: CanvasText;
+ --highcontrast-breadcrumbs-text-color-disabled: GrayText;
+ --highcontrast-breadcrumbs-separator-color: CanvasText;
+ --highcontrast-breadcrumbs-action-button-color: LinkText;
+ --highcontrast-breadcrumbs-action-button-color-disabled: GrayText;
+ --highcontrast-breadcrumbs-focus-indicator-color: CanvasText;
+ }
}
diff --git a/components/breadcrumb/package.json b/components/breadcrumb/package.json
index ffc480b75ca..a6e68d44bf2 100644
--- a/components/breadcrumb/package.json
+++ b/components/breadcrumb/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/breadcrumb",
- "version": "11.1.0",
+ "version": "12.0.0-next.0",
"description": "The Spectrum CSS breadcrumb component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,8 +25,8 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/actionbutton": ">=7.0.0 <8.0.0",
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
+ "@spectrum-css/actionbutton": ">=8.0.0-next.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -41,8 +41,8 @@
}
},
"devDependencies": {
- "@spectrum-css/actionbutton": "7.1.2",
- "@spectrum-css/icon": "9.1.0",
+ "@spectrum-css/actionbutton": "8.0.0-next.1",
+ "@spectrum-css/icon": "10.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/breadcrumb/stories/breadcrumb.stories.js b/components/breadcrumb/stories/breadcrumb.stories.js
index a25c76c285c..84302d77c29 100644
--- a/components/breadcrumb/stories/breadcrumb.stories.js
+++ b/components/breadcrumb/stories/breadcrumb.stories.js
@@ -1,44 +1,136 @@
import { disableDefaultModes } from "@spectrum-css/preview/modes";
-import { isDragged } from "@spectrum-css/preview/types";
+import { isDragged, size } from "@spectrum-css/preview/types";
import metadata from "../dist/metadata.json";
import packageJson from "../package.json";
import { BreadcrumbGroup } from "./breadcrumb.test.js";
-import { Template } from "./template.js";
+import { BreadcrumbTitleHeadings, Template } from "./template.js";
/**
* Breadcrumbs show hierarchy and navigational context for a user's location within an app.
- *
- * ## Nesting
- * Breadcrumbs truncate when there is not enough room to display all levels of the breadcrumb list, or as a way of managing relevance of the visible breadcrumb items in a deeply nested hierarchy. The truncation of breadcrumb items begins when either there is not enough room to display all items, or if there are 5 or more breadcrumbs to display. They are typically indicated by the truncated menu folder icon.
- *
- * The nested variants below are non-functional. Implementations can add their own overflow menus to display all options within a breadcrumb.
- *
- * ## Root Context
- * Some applications find that displaying the root directory is useful for user orientation. This variation keeps the root visible when other folders are truncated into a menu. For example, when users can navigate file directories on their device as well as in the cloud, exposing a root directory called “On this device” is very helpful.
*/
export default {
title: "Breadcrumbs",
component: "Breadcrumbs",
argTypes: {
- items: { table: { disable: true } },
+ items: {
+ name: "Breadcrumb items",
+ description: "Additional breadcrumb items after the nav root item, including their label text. Advanced:To show an item as disabled, add a key named `isDisabled` with a value of `true`. The \"Show dragged item\" control will affect the item with `isDragged` set to `true`. ",
+ control: "array",
+ table: {
+ category: "Content",
+ },
+ },
+ size: {
+ ...size(["m", "l"]),
+ if: { arg: "variant", neq: "multiline" },
+ },
variant: {
- name: "Variants",
+ name: "Variant",
type: { name: "string" },
defaultValue: "Default",
table: {
type: { summary: "string" },
category: "Component",
- defaultValue: { summary: "Default" },
},
- options: ["default", "compact", "multiline"],
- control: "select",
+ options: [undefined, "multiline"],
+ control: {
+ type: "select",
+ labels: {
+ undefined: "Default",
+ multiline: "Multiline",
+ },
+ },
+ },
+ isDragged: {
+ ...isDragged,
+ name: "Show dragged item",
+ description: "Breadcrumbs can have optional behavior to allow for drag and drop functionality. Setting this to true will style a breadcrumb item as if something is currently being dragged on top of it.",
+ },
+ titleHeadingSize: {
+ name: "Breadcrumb title heading size",
+ description: "The breadcrumb title can be customized in the multiline variant using an additional element that uses the typography component's heading classes. The preferred heading sizes are small, medium, large, and extra-large. When no heading classes are used, the text will be sized the same as a large heading by default.",
+ type: { name: "string" },
+ table: {
+ type: { summary: "string" },
+ category: "Content",
+ },
+ control: {
+ type: "select",
+ labels: {
+ undefined: "Default",
+ s: "Small",
+ m: "Medium",
+ l: "Large",
+ xl: "Extra-large",
+ },
+ },
+ defaultValue: undefined,
+ options: [undefined, "s", "m", "l", "xl"],
+ if: { arg: "variant", eq: "multiline" },
+ },
+ showTruncatedMenu: {
+ name: "Show truncated menu",
+ description: "Displays a breadcrumb item with a folder icon, that would house truncated breadcrumb items.",
+ type: { name: "boolean" },
+ table: {
+ type: { summary: "boolean" },
+ category: "State",
+ },
+ control: "boolean",
+ },
+ showRootContext: {
+ name: "Show with root context",
+ description: "Includes a visible breadcrumb item before the truncated menu, for displaying a root directory.",
+ type: { name: "boolean" },
+ table: {
+ type: { summary: "boolean" },
+ category: "State",
+ },
+ control: "boolean",
+ if: { arg: "showTruncatedMenu" },
+ },
+ truncatedMenuIsDisabled: {
+ name: "Show truncated menu as disabled",
+ type: { name: "boolean" },
+ table: {
+ type: { summary: "boolean" },
+ category: "State",
+ },
+ control: "boolean",
+ if: { arg: "showTruncatedMenu" },
+ },
+ rootItemText: {
+ name: "Root breadcrumb item label",
+ type: { name: "string" },
+ defaultValue: "Nav root",
+ table: {
+ type: { summary: "string" },
+ category: "Content",
+ },
+ control: "text",
},
- isDragged,
},
args: {
rootClass: "spectrum-Breadcrumbs",
isDragged: false,
- variant: "default",
+ variant: undefined,
+ size: "m",
+ showTruncatedMenu: false,
+ showRootContext: false,
+ truncatedMenuIsDisabled: false,
+ rootItemText: "Nav root",
+ items: [
+ {
+ label: "Sub item",
+ isDragged: true,
+ },
+ {
+ label: "Trend",
+ },
+ {
+ label: "January 2019 assets",
+ },
+ ],
},
parameters: {
design: {
@@ -52,33 +144,21 @@ export default {
/**
* By default, breadcrumbs are displayed inline with the hierarchy shown in reading order.
+ * The medium size is used by default, and it should display the medium truncated menu action button.
+ * The separator UI icon displayed should be `Chevron100`.
*/
export const Default = BreadcrumbGroup.bind({});
-Default.args = {
- items: [
- {
- label: "Nav root",
- },
- {
- label: "Trend",
- isDragged: true,
- },
- {
- label: "January 2019 assets",
- },
- ],
-};
+Default.args = {};
+/**
+ * Breadcrumbs truncate when there is not enough room to display all levels of the breadcrumb list, or as a way of managing relevance of the visible breadcrumb items in a deeply nested hierarchy. The truncation of breadcrumb items begins when either there is not enough room to display all items, or if there are 5 or more breadcrumbs to display. This truncated menu is an icon only action button that typically displays a folder icon.
+ *
+ * The nested variants below are non-functional. Implementations should make sure to follow the design guidelines for overflow behavior and displaying all options within the truncated menu.
+ */
export const DefaultNested = Template.bind({});
DefaultNested.args = {
+ showTruncatedMenu: true,
items: [
- {
- iconName: "FolderOpen",
- iconSet: "workflow",
- },
- {
- label: "Sub item",
- },
{
label: "Trend",
},
@@ -91,18 +171,18 @@ DefaultNested.tags = ["!dev"];
DefaultNested.parameters = {
chromatic: { disableSnapshot: true },
};
-DefaultNested.storyName = "Default, nested";
+DefaultNested.storyName = "Default, nested (truncated menu)";
+/**
+ * Some applications find that displaying the root directory is useful for user orientation. This variation keeps the root visible when other folders are
+ * truncated into a menu. For example, when users can navigate file directories on their device as well as in the cloud, exposing a root directory
+ * called “On this device” is very helpful.
+ */
export const DefaultNestedRootVisible = Template.bind({});
DefaultNestedRootVisible.args = {
+ showTruncatedMenu: true,
+ showRootContext: true,
items: [
- {
- label: "Nav root",
- },
- {
- iconName: "FolderOpen",
- iconSet: "workflow",
- },
{
label: "Trend",
},
@@ -115,7 +195,7 @@ DefaultNestedRootVisible.tags = ["!dev"];
DefaultNestedRootVisible.parameters = {
chromatic: { disableSnapshot: true },
};
-DefaultNestedRootVisible.storyName = "Default, nested (root visible)";
+DefaultNestedRootVisible.storyName = "Default, nested with root context";
/**
* The multiline variation places emphasis on the selected breadcrumb item as a page title, helping a user to more clearly identify their current location.
@@ -135,7 +215,7 @@ MultilineNested.args = {
...DefaultNested.args,
variant: "multiline",
};
-MultilineNested.storyName = "Multiline, nested";
+MultilineNested.storyName = "Multiline, nested (truncated menu)";
MultilineNested.tags= ["!dev"];
MultilineNested.parameters = {
chromatic: { disableSnapshot: true },
@@ -150,45 +230,47 @@ MultilineNestedRootVisible.tags = ["!dev"];
MultilineNestedRootVisible.parameters = {
chromatic: { disableSnapshot: true },
};
-MultilineNestedRootVisible.storyName = "Multiline, nested (root visible)";
+MultilineNestedRootVisible.storyName = "Multiline, nested with root context";
/**
- * When needing to optimize for functional space, the compact option is useful for reducing the height of the breadcrumbs while still maintaining the proper user context.
+ * When using the large size, the truncated menu action button should also use the large size. The separator UI icon displayed should be `Chevron100`.
*/
-export const Compact = Template.bind({});
-Compact.args = {
+export const Large = Template.bind({});
+Large.args = {
...Default.args,
- variant: "compact",
+ size: "l",
};
-Compact.tags = ["!dev"];
-Compact.parameters = {
+Large.tags = ["!dev"];
+Large.parameters = {
chromatic: { disableSnapshot: true },
};
-export const CompactNested = Template.bind({});
-CompactNested.args = {
+export const LargeNested = Template.bind({});
+LargeNested.args = {
...DefaultNested.args,
- variant: "compact",
+ size: "l",
};
-CompactNested.tags = ["!dev"];
-CompactNested.parameters = {
+LargeNested.tags = ["!dev"];
+LargeNested.parameters = {
chromatic: { disableSnapshot: true },
};
-CompactNested.storyName = "Compact, nested";
+LargeNested.storyName = "Large, nested (truncated menu)";
-export const CompactNestedRootVisible = Template.bind({});
-CompactNestedRootVisible.args = {
+export const LargeNestedRootVisible = Template.bind({});
+LargeNestedRootVisible.args = {
...DefaultNestedRootVisible.args,
- variant: "compact",
+ size: "l",
};
-CompactNestedRootVisible.tags = ["!dev"];
-CompactNestedRootVisible.parameters = {
+LargeNestedRootVisible.tags = ["!dev"];
+LargeNestedRootVisible.parameters = {
chromatic: { disableSnapshot: true },
};
-CompactNestedRootVisible.storyName = "Compact, nested (root visible)";
+LargeNestedRootVisible.storyName = "Large, nested with root context";
/**
* Breadcrumbs can have optional behavior to allow for drag and drop functionality.
+ * When a breadcrumb item has something being dragged on top of it, the class `is-dragged` is added to it.
+ * This example adds that class to the second breadcrumb item.
*/
export const Dragged = Template.bind({});
Dragged.args = {
@@ -201,21 +283,16 @@ Dragged.parameters = {
};
/**
- * The example below has two disabled breadcrumb items. When disabling the text link, the `is-disabled` class gets added to `.spectrum-Breadcrumbs-itemLink`. When disabling the Action button, the `[disabled]` attribute is applied.
+ * The example below has two disabled breadcrumb items. When disabling the text link, the `is-disabled` class
+ * gets added to `.spectrum-Breadcrumbs-itemLink`. When disabling the truncated menu action button, the `[disabled]` attribute is applied.
*/
export const Disabled = Template.bind({});
Disabled.args = {
+ showTruncatedMenu: true,
+ truncatedMenuIsDisabled: true,
items: [
{
- label: "Nav root",
- },
- {
- iconName: "FolderOpen",
- iconSet: "workflow",
- isDisabled: true,
- },
- {
- label: "Trendy",
+ label: "Trend",
isDisabled: true,
},
{
@@ -228,6 +305,23 @@ Disabled.parameters = {
chromatic: { disableSnapshot: true },
};
+/**
+ * For the multiline variant, the breadcrumb title can be customized using an additional element that uses the heading classes from
+ * the [typography component](/docs/components-typography--docs). The preferred heading sizes are `.spectrum-Heading--sizeS`,
+ * `.spectrum-Heading--sizeM`, `.spectrum-Heading--sizeL` (default), and `.spectrum-Heading--sizeXL`. If no heading element or classes are
+ * used, the text will be sized the same as a large heading by default.
+ */
+export const MultilineTitleSizes = BreadcrumbTitleHeadings.bind({});
+MultilineTitleSizes.args = {
+ ...Multiline.args,
+ showTruncatedMenu: true,
+};
+MultilineTitleSizes.storyName = "Multiline, title heading sizes";
+MultilineTitleSizes.tags = ["!dev"];
+MultilineTitleSizes.parameters = {
+ chromatic: { disableSnapshot: true },
+};
+
// ********* VRT ONLY ********* //
export const WithForcedColors = BreadcrumbGroup.bind({});
WithForcedColors.args = Default.args;
diff --git a/components/breadcrumb/stories/breadcrumb.test.js b/components/breadcrumb/stories/breadcrumb.test.js
index f5e33d71c58..ef56e21e722 100644
--- a/components/breadcrumb/stories/breadcrumb.test.js
+++ b/components/breadcrumb/stories/breadcrumb.test.js
@@ -1,109 +1,94 @@
import { Variants } from "@spectrum-css/preview/decorators";
-import { Template } from "./template.js";
-
-const DefaultItems = [
- {
- label: "Nav root",
- },
- {
- label: "Dragged",
- isDragged: true,
- },
- {
- label: "Disabled sub item",
- isDisabled: true,
- },
- {
- label: "January 2019 assets",
- },
-];
-
-const NestedItems = [
- {
- iconName: "FolderOpen",
- iconSet: "workflow",
- },
- {
- label: "Dragged",
- isDragged: true,
- },
- {
- label: "Disabled",
- isDisabled: true,
- },
- {
- label: "January 2019 assets",
- },
-];
-
-const NestedRootVisibleItems = [
- {
- label: "Nav root",
- },
- {
- iconName: "FolderOpen",
- iconSet: "workflow",
- isDisabled: true,
- },
- {
- label: "Dragged sub item",
- isDragged: true,
- },
- {
- label: "January 2019 assets",
- },
-];
+import { BreadcrumbTitleHeadings, Template } from "./template.js";
export const BreadcrumbGroup = Variants({
Template,
+ withSizes: false,
testData: [
{
testHeading: "Default",
- items: DefaultItems,
- },
- {
- testHeading: "Default (nested)",
- items: NestedItems,
},
{
- testHeading: "Default (nested, root visible)",
- items: NestedRootVisibleItems,
+ testHeading: "Large",
+ size: "l",
},
{
- testHeading: "Compact",
- variant: "compact",
- items: DefaultItems,
+ testHeading: "Multiline",
+ variant: "multiline",
},
{
- testHeading: "Compact (nested)",
- variant: "compact",
- items: NestedItems,
+ testHeading: "Multiline with typography headings",
+ variant: "multiline",
+ withStates: false,
+ Template: BreadcrumbTitleHeadings,
+ showTruncatedMenu: true,
+ showRootContext: true,
+ isDragged: true,
},
+ ],
+ stateData: [
{
- testHeading: "Compact (nested, root visible)",
- variant: "compact",
- items: NestedRootVisibleItems,
+ testHeading: "Nested",
+ showTruncatedMenu: true,
},
{
- testHeading: "Multiline",
- variant: "multiline",
- items: DefaultItems,
+ testHeading: "Nested with root context",
+ showTruncatedMenu: true,
+ showRootContext: true,
},
{
- testHeading: "Multiline (nested)",
- variant: "multiline",
- items: NestedItems,
+ testHeading: "Disabled items and dragged item",
+ isDragged: true,
+ showTruncatedMenu: true,
+ truncatedMenuIsDisabled: true,
+ items: [
+ {
+ label: "Dragged item",
+ isDragged: true,
+ },
+ {
+ label: "Disabled sub item",
+ isDisabled: true,
+ },
+ {
+ label: "January 2019 assets",
+ },
+ ]
},
{
- testHeading: "Multiline (nested, root visible)",
- variant: "multiline",
- items: NestedRootVisibleItems,
+ testHeading: "Hover",
+ isDragged: true,
+ showTruncatedMenu: true,
+ items: [
+ {
+ label: "Sub item",
+ isHovered: true,
+ },
+ {
+ label: "Disabled sub item",
+ isDisabled: true,
+ isHovered: true,
+ },
+ {
+ label: "January 2019 assets",
+ isHovered: true,
+ },
+ ]
},
- ],
- stateData: [
{
- testHeading: "Dragged, disabled",
+ testHeading: "Focus-visible",
isDragged: true,
- }
+ showTruncatedMenu: true,
+ items: [
+ {
+ label: "Sub item",
+ isFocused: true,
+ },
+ {
+ label: "January 2019 assets",
+ isFocused: true,
+ },
+ ]
+ },
]
});
diff --git a/components/breadcrumb/stories/template.js b/components/breadcrumb/stories/template.js
index 3f0db2ad30b..0a0ad48c0d9 100644
--- a/components/breadcrumb/stories/template.js
+++ b/components/breadcrumb/stories/template.js
@@ -1,5 +1,7 @@
import { Template as ActionButton } from "@spectrum-css/actionbutton/stories/template.js";
import { Template as Icon } from "@spectrum-css/icon/stories/template.js";
+import { Container } from "@spectrum-css/preview/decorators";
+import { Template as Typography } from "@spectrum-css/typography/stories/template.js";
import { html } from "lit";
import { classMap } from "lit/directives/class-map.js";
import { ifDefined } from "lit/directives/if-defined.js";
@@ -11,19 +13,43 @@ export const Template = ({
rootClass = "spectrum-Breadcrumbs",
customClasses = [],
items = [],
+ size = "m",
variant,
isDragged = false,
+ titleHeadingSize,
+ showTruncatedMenu = false,
+ showRootContext = false,
+ truncatedMenuIsDisabled = false,
+ rootItemText = "Nav root",
} = {}, context = {}) => {
+ /**
+ * Build array of breadcrumb items.
+ * - The presence of the root item and truncated menu are dependent upon controls.
+ * - The rest of the items, including the current item, come from the `items` array.
+ */
+ const breadcrumbItems = [
+ ...(showTruncatedMenu == false || showRootContext == true) ? [{
+ label: rootItemText,
+ }] : [],
+ ...(showTruncatedMenu == true) ? [{
+ iconName: "FolderOpen",
+ iconSet: "workflow",
+ isDragged: true,
+ }] : [],
+ ...items,
+ ];
+
return html`
({ ...a, [c]: true }), {}),
})}
>
- ${items.map((item, idx, arr) => {
+ ${breadcrumbItems.map((item, idx, arr) => {
const { label, isDisabled, iconName, iconSet } = item;
return html` `,
() =>
- html`${label} ${ typeof titleHeadingSize == "undefined" ? label : Typography({
+ semantics: "heading",
+ size: titleHeadingSize,
+ content: [label],
+ })}`,
),
)}
${when(idx !== arr.length - 1, () =>
Icon(
{
- iconName: "ChevronRight100",
+ iconName: variant == "multiline" ? "ChevronRight75" : "ChevronRight100",
setName: "ui",
customClasses: [`${rootClass}-itemSeparator`],
},
@@ -84,3 +121,24 @@ export const Template = ({
`;
};
+
+/**
+ * Displays all preferred sizes for breadcrumb title headings used with the multiline variant.
+ */
+export const BreadcrumbTitleHeadings = (args, context) => Container({
+ withBorder: false,
+ direction: "column",
+ wrapperStyles: {
+ rowGap: "12px",
+ },
+ content: html`${[undefined, "s", "m", "l", "xl"].map((titleHeadingSize) => Container({
+ withBorder: true,
+ heading: typeof titleHeadingSize != "undefined"
+ ? `Heading size: ${titleHeadingSize}`
+ : "Default - no heading element or classes",
+ content: Template({
+ ...args,
+ titleHeadingSize,
+ })
+ }, context))}`,
+}, context);
diff --git a/components/button/CHANGELOG.md b/components/button/CHANGELOG.md
index 1b1ad00cf64..5682265368f 100644
--- a/components/button/CHANGELOG.md
+++ b/components/button/CHANGELOG.md
@@ -23,6 +23,13 @@ This PR includes changes to:
- Adjust border colors for static black and static white outline buttons, primary variant to match S2 spec.
+## 15.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+
## 14.1.1
### Patch Changes
diff --git a/components/button/dist/metadata.json b/components/button/dist/metadata.json
index c5e42ac926f..c19c2ba9f6c 100644
--- a/components/button/dist/metadata.json
+++ b/components/button/dist/metadata.json
@@ -6,55 +6,39 @@
".spectrum-Button .spectrum-Icon",
".spectrum-Button .spectrum-Icon + .spectrum-Button-label",
".spectrum-Button .spectrum-ProgressCircle",
- ".spectrum-Button--noWrap .spectrum-Button-label",
".spectrum-Button--sizeL",
- ".spectrum-Button--sizeM",
".spectrum-Button--sizeS",
+ ".spectrum-Button--sizeS.spectrum-Button--iconOnly",
".spectrum-Button--sizeXL",
".spectrum-Button-label",
".spectrum-Button-label:empty",
".spectrum-Button.is-disabled",
+ ".spectrum-Button.is-focused",
".spectrum-Button.is-focused:after",
".spectrum-Button.is-pending",
".spectrum-Button.is-pending .spectrum-Button-label",
".spectrum-Button.is-pending .spectrum-Icon",
".spectrum-Button.is-pending .spectrum-ProgressCircle",
- ".spectrum-Button.is-selected",
- ".spectrum-Button.is-selected.spectrum-Button--emphasized",
".spectrum-Button.spectrum-Button--accent",
- ".spectrum-Button.spectrum-Button--accent.spectrum-Button--fill",
- ".spectrum-Button.spectrum-Button--accent.spectrum-Button--outline",
+ ".spectrum-Button.spectrum-Button--accent .spectrum-Button-label",
".spectrum-Button.spectrum-Button--iconOnly",
".spectrum-Button.spectrum-Button--iconOnly .spectrum-Icon",
".spectrum-Button.spectrum-Button--iconOnly:after",
".spectrum-Button.spectrum-Button--negative",
- ".spectrum-Button.spectrum-Button--negative.spectrum-Button--outline",
".spectrum-Button.spectrum-Button--outline",
".spectrum-Button.spectrum-Button--primary",
".spectrum-Button.spectrum-Button--primary.spectrum-Button--outline",
- ".spectrum-Button.spectrum-Button--quiet",
".spectrum-Button.spectrum-Button--secondary",
".spectrum-Button.spectrum-Button--secondary.spectrum-Button--outline",
- ".spectrum-Button.spectrum-Button--secondary:not(.spectrum-Button--outline)",
".spectrum-Button.spectrum-Button--staticBlack",
- ".spectrum-Button.spectrum-Button--staticBlack.is-selected",
".spectrum-Button.spectrum-Button--staticBlack.spectrum-Button--outline",
- ".spectrum-Button.spectrum-Button--staticBlack.spectrum-Button--outline.spectrum-Button--secondary",
- ".spectrum-Button.spectrum-Button--staticBlack.spectrum-Button--outline:not(.spectrum-Button--secondary)",
- ".spectrum-Button.spectrum-Button--staticBlack.spectrum-Button--quiet",
".spectrum-Button.spectrum-Button--staticBlack.spectrum-Button--secondary",
".spectrum-Button.spectrum-Button--staticBlack.spectrum-Button--secondary.spectrum-Button--outline",
- ".spectrum-Button.spectrum-Button--staticBlack.spectrum-Button--secondary:not(.spectrum-Button--outline)",
".spectrum-Button.spectrum-Button--staticWhite",
".spectrum-Button.spectrum-Button--staticWhite.is-selected",
- ".spectrum-Button.spectrum-Button--staticWhite.spectrum-Button--accent",
".spectrum-Button.spectrum-Button--staticWhite.spectrum-Button--outline",
- ".spectrum-Button.spectrum-Button--staticWhite.spectrum-Button--outline.spectrum-Button--secondary",
- ".spectrum-Button.spectrum-Button--staticWhite.spectrum-Button--outline:not(.spectrum-Button--secondary)",
- ".spectrum-Button.spectrum-Button--staticWhite.spectrum-Button--quiet",
".spectrum-Button.spectrum-Button--staticWhite.spectrum-Button--secondary",
".spectrum-Button.spectrum-Button--staticWhite.spectrum-Button--secondary.spectrum-Button--outline",
- ".spectrum-Button.spectrum-Button--staticWhite.spectrum-Button--secondary:not(.spectrum-Button--outline)",
".spectrum-Button::-moz-focus-inner",
".spectrum-Button:active",
".spectrum-Button:after",
@@ -63,6 +47,8 @@
".spectrum-Button:focus-visible",
".spectrum-Button:focus-visible:after",
".spectrum-Button:hover",
+ ".spectrum-Button:not(.spectrum-Button--primary, .spectrum-Button--negative, .spectrum-Button--secondary, .spectrum-Button--staticBlack, .spectrum-Button--staticWhite)",
+ ".spectrum-Button:not(.spectrum-Button--primary, .spectrum-Button--negative, .spectrum-Button--secondary, .spectrum-Button--staticBlack, .spectrum-Button--staticWhite) .spectrum-Button-label",
".spectrum-Button[pending]",
".spectrum-Button[pending] .spectrum-Button-label",
".spectrum-Button[pending] .spectrum-Icon",
@@ -70,8 +56,6 @@
"a.spectrum-Button"
],
"modifiers": [
- "--mod-animation-duration-100",
- "--mod-bold-font-weight",
"--mod-button-animation-duration",
"--mod-button-background-color-default",
"--mod-button-background-color-disabled",
@@ -94,31 +78,25 @@
"--mod-button-edge-to-text",
"--mod-button-edge-to-visual",
"--mod-button-edge-to-visual-only",
- "--mod-button-focus-indicator-gap",
"--mod-button-focus-ring-border-radius",
"--mod-button-focus-ring-color",
"--mod-button-focus-ring-gap",
"--mod-button-focus-ring-thickness",
"--mod-button-font-family",
"--mod-button-font-size",
+ "--mod-button-font-weight",
"--mod-button-height",
"--mod-button-icon-margin-block-start",
"--mod-button-line-height",
"--mod-button-margin-block",
"--mod-button-margin-left",
"--mod-button-margin-right",
- "--mod-button-max-inline-size",
"--mod-button-min-width",
"--mod-button-padding-label-to-icon",
- "--mod-button-static-content-color",
"--mod-button-text-align",
"--mod-button-text-align-with-icon",
"--mod-button-top-to-icon",
- "--mod-button-top-to-text",
- "--mod-focus-indicator-gap",
- "--mod-line-height-100",
- "--mod-sans-font-family-stack",
- "--mod-static-black-focus-indicator-color"
+ "--mod-button-top-to-text"
],
"component": [
"--spectrum-button-animation-duration",
@@ -151,21 +129,14 @@
"--spectrum-button-focus-ring-gap",
"--spectrum-button-focus-ring-thickness",
"--spectrum-button-font-size",
+ "--spectrum-button-font-weight",
"--spectrum-button-height",
+ "--spectrum-button-icon-size-difference",
"--spectrum-button-intended-icon-size",
"--spectrum-button-line-height",
"--spectrum-button-min-width",
"--spectrum-button-minimum-width-multiplier",
"--spectrum-button-padding-label-to-icon",
- "--spectrum-button-sized-bottom-to-text",
- "--spectrum-button-sized-edge-to-text",
- "--spectrum-button-sized-edge-to-visual",
- "--spectrum-button-sized-edge-to-visual-only",
- "--spectrum-button-sized-font-size",
- "--spectrum-button-sized-height",
- "--spectrum-button-sized-padding-label-to-icon",
- "--spectrum-button-sized-top-to-icon",
- "--spectrum-button-sized-top-to-text",
"--spectrum-button-top-to-icon",
"--spectrum-button-top-to-text",
"--spectrum-button-top-to-text-extra-large",
@@ -178,15 +149,6 @@
"--spectrum-accent-background-color-down",
"--spectrum-accent-background-color-hover",
"--spectrum-accent-background-color-key-focus",
- "--spectrum-accent-color-1000",
- "--spectrum-accent-color-1100",
- "--spectrum-accent-color-200",
- "--spectrum-accent-color-300",
- "--spectrum-accent-color-900",
- "--spectrum-accent-content-color-default",
- "--spectrum-accent-content-color-down",
- "--spectrum-accent-content-color-hover",
- "--spectrum-accent-content-color-key-focus",
"--spectrum-animation-duration-100",
"--spectrum-black",
"--spectrum-bold-font-weight",
@@ -207,11 +169,14 @@
"--spectrum-component-pill-edge-to-visual-only-200",
"--spectrum-component-pill-edge-to-visual-only-300",
"--spectrum-component-pill-edge-to-visual-only-75",
+ "--spectrum-component-size-difference-down",
+ "--spectrum-component-size-minimum-perspective-down",
+ "--spectrum-component-size-width-ratio-down",
"--spectrum-component-top-to-workflow-icon-100",
"--spectrum-component-top-to-workflow-icon-200",
"--spectrum-component-top-to-workflow-icon-300",
"--spectrum-component-top-to-workflow-icon-75",
- "--spectrum-disabled-background-color",
+ "--spectrum-corner-radius-full",
"--spectrum-disabled-border-color",
"--spectrum-disabled-content-color",
"--spectrum-disabled-static-black-background-color",
@@ -220,6 +185,9 @@
"--spectrum-disabled-static-white-background-color",
"--spectrum-disabled-static-white-border-color",
"--spectrum-disabled-static-white-content-color",
+ "--spectrum-downstate-height",
+ "--spectrum-downstate-perspective",
+ "--spectrum-downstate-width",
"--spectrum-focus-indicator-color",
"--spectrum-focus-indicator-gap",
"--spectrum-focus-indicator-thickness",
@@ -230,7 +198,6 @@
"--spectrum-gray-100",
"--spectrum-gray-200",
"--spectrum-gray-25",
- "--spectrum-gray-300",
"--spectrum-gray-400",
"--spectrum-gray-50",
"--spectrum-gray-500",
@@ -243,15 +210,6 @@
"--spectrum-negative-background-color-down",
"--spectrum-negative-background-color-hover",
"--spectrum-negative-background-color-key-focus",
- "--spectrum-negative-color-1000",
- "--spectrum-negative-color-1100",
- "--spectrum-negative-color-200",
- "--spectrum-negative-color-300",
- "--spectrum-negative-color-900",
- "--spectrum-negative-content-color-default",
- "--spectrum-negative-content-color-down",
- "--spectrum-negative-content-color-hover",
- "--spectrum-negative-content-color-key-focus",
"--spectrum-neutral-background-color-default",
"--spectrum-neutral-background-color-down",
"--spectrum-neutral-background-color-hover",
@@ -272,18 +230,21 @@
"--spectrum-text-to-visual-200",
"--spectrum-text-to-visual-300",
"--spectrum-text-to-visual-75",
- "--spectrum-transparent-black-100",
- "--spectrum-transparent-black-200",
+ "--spectrum-transparent-black-1000",
"--spectrum-transparent-black-25",
"--spectrum-transparent-black-300",
"--spectrum-transparent-black-400",
+ "--spectrum-transparent-black-500",
+ "--spectrum-transparent-black-600",
+ "--spectrum-transparent-black-700",
"--spectrum-transparent-black-800",
"--spectrum-transparent-black-900",
- "--spectrum-transparent-white-100",
- "--spectrum-transparent-white-200",
+ "--spectrum-transparent-white-1000",
"--spectrum-transparent-white-25",
"--spectrum-transparent-white-300",
"--spectrum-transparent-white-400",
+ "--spectrum-transparent-white-500",
+ "--spectrum-transparent-white-600",
"--spectrum-transparent-white-800",
"--spectrum-transparent-white-900",
"--spectrum-white",
@@ -292,107 +253,6 @@
"--spectrum-workflow-icon-size-300",
"--spectrum-workflow-icon-size-75"
],
- "system-theme": [
- "--system-button-background-color-default",
- "--system-button-background-color-disabled",
- "--system-button-background-color-down",
- "--system-button-background-color-focus",
- "--system-button-background-color-hover",
- "--system-button-border-color-default",
- "--system-button-border-color-disabled",
- "--system-button-border-color-down",
- "--system-button-border-color-focus",
- "--system-button-border-color-hover",
- "--system-button-primary-content-color-default",
- "--system-button-primary-content-color-down",
- "--system-button-primary-content-color-focus",
- "--system-button-primary-content-color-hover",
- "--system-button-primary-outline-background-color-down",
- "--system-button-primary-outline-background-color-focus",
- "--system-button-primary-outline-background-color-hover",
- "--system-button-secondary-background-color-default",
- "--system-button-secondary-not-outline-background-color-down",
- "--system-button-secondary-not-outline-background-color-focus",
- "--system-button-secondary-not-outline-background-color-hover",
- "--system-button-secondary-outline-background-color-down",
- "--system-button-secondary-outline-background-color-focus",
- "--system-button-secondary-outline-background-color-hover",
- "--system-button-secondary-outline-border-color-default",
- "--system-button-selected-background-color-default",
- "--system-button-selected-background-color-down",
- "--system-button-selected-background-color-focus",
- "--system-button-selected-background-color-hover",
- "--system-button-static-black-background-color-default",
- "--system-button-static-black-background-color-down",
- "--system-button-static-black-background-color-focus",
- "--system-button-static-black-background-color-hover",
- "--system-button-static-black-content-color-default",
- "--system-button-static-black-content-color-down",
- "--system-button-static-black-content-color-focus",
- "--system-button-static-black-content-color-hover",
- "--system-button-static-black-outline-not-secondary-background-color-default",
- "--system-button-static-black-outline-not-secondary-background-color-down",
- "--system-button-static-black-outline-not-secondary-background-color-focus",
- "--system-button-static-black-outline-not-secondary-background-color-hover",
- "--system-button-static-black-outline-not-secondary-border-color-default",
- "--system-button-static-black-outline-not-secondary-border-color-down",
- "--system-button-static-black-outline-not-secondary-border-color-focus",
- "--system-button-static-black-outline-not-secondary-border-color-hover",
- "--system-button-static-black-outline-not-secondary-content-color-default",
- "--system-button-static-black-outline-not-secondary-content-color-down",
- "--system-button-static-black-outline-not-secondary-content-color-focus",
- "--system-button-static-black-outline-not-secondary-content-color-hover",
- "--system-button-static-black-outline-secondary-background-color-down",
- "--system-button-static-black-outline-secondary-background-color-focus",
- "--system-button-static-black-outline-secondary-background-color-hover",
- "--system-button-static-black-secondary-background-color-default",
- "--system-button-static-black-secondary-background-color-down",
- "--system-button-static-black-secondary-background-color-focus",
- "--system-button-static-black-secondary-background-color-hover",
- "--system-button-static-black-secondary-content-color-default",
- "--system-button-static-black-secondary-content-color-down",
- "--system-button-static-black-secondary-content-color-focus",
- "--system-button-static-black-secondary-content-color-hover",
- "--system-button-static-black-secondary-outline-border-color-default",
- "--system-button-static-black-secondary-outline-border-color-down",
- "--system-button-static-black-secondary-outline-border-color-focus",
- "--system-button-static-black-secondary-outline-border-color-hover",
- "--system-button-static-white-background-color-default",
- "--system-button-static-white-background-color-down",
- "--system-button-static-white-background-color-focus",
- "--system-button-static-white-background-color-hover",
- "--system-button-static-white-content-color-default",
- "--system-button-static-white-content-color-down",
- "--system-button-static-white-content-color-focus",
- "--system-button-static-white-content-color-hover",
- "--system-button-static-white-outline-not-secondary-background-color-default",
- "--system-button-static-white-outline-not-secondary-background-color-down",
- "--system-button-static-white-outline-not-secondary-background-color-focus",
- "--system-button-static-white-outline-not-secondary-background-color-hover",
- "--system-button-static-white-outline-not-secondary-border-color-default",
- "--system-button-static-white-outline-not-secondary-border-color-down",
- "--system-button-static-white-outline-not-secondary-border-color-focus",
- "--system-button-static-white-outline-not-secondary-border-color-hover",
- "--system-button-static-white-outline-not-secondary-content-color-default",
- "--system-button-static-white-outline-not-secondary-content-color-down",
- "--system-button-static-white-outline-not-secondary-content-color-focus",
- "--system-button-static-white-outline-not-secondary-content-color-hover",
- "--system-button-static-white-outline-secondary-background-color-down",
- "--system-button-static-white-outline-secondary-background-color-focus",
- "--system-button-static-white-outline-secondary-background-color-hover",
- "--system-button-static-white-secondary-background-color-default",
- "--system-button-static-white-secondary-background-color-down",
- "--system-button-static-white-secondary-background-color-focus",
- "--system-button-static-white-secondary-background-color-hover",
- "--system-button-static-white-secondary-content-color-default",
- "--system-button-static-white-secondary-content-color-down",
- "--system-button-static-white-secondary-content-color-focus",
- "--system-button-static-white-secondary-content-color-hover",
- "--system-button-static-white-secondary-outline-border-color-default",
- "--system-button-static-white-secondary-outline-border-color-down",
- "--system-button-static-white-secondary-outline-border-color-focus",
- "--system-button-static-white-secondary-outline-border-color-hover"
- ],
"passthroughs": [
"--mod-progress-circle-position",
"--mod-progress-circle-thickness",
@@ -414,6 +274,7 @@
"--highcontrast-button-content-color-disabled",
"--highcontrast-button-content-color-down",
"--highcontrast-button-content-color-focus",
- "--highcontrast-button-content-color-hover"
+ "--highcontrast-button-content-color-hover",
+ "--highcontrast-button-focus-ring-color"
]
}
diff --git a/components/button/index.css b/components/button/index.css
index 69d17903f9e..228babb0209 100644
--- a/components/button/index.css
+++ b/components/button/index.css
@@ -12,426 +12,422 @@
*/
@import "@spectrum-css/commons/basebutton.css";
-@import "./themes/spectrum-two.css";
-
-.spectrum-Button,
-.spectrum-Button--sizeM {
- --spectrum-button-sized-height: var(--spectrum-component-height-100);
- --spectrum-button-sized-font-size: var(--spectrum-font-size-100);
-
- --spectrum-button-sized-edge-to-visual: calc(var(--spectrum-component-pill-edge-to-visual-100) - var(--spectrum-button-border-width));
- --spectrum-button-sized-edge-to-visual-only: var(--spectrum-component-pill-edge-to-visual-only-100);
- --spectrum-button-sized-edge-to-text: calc(var(--spectrum-component-pill-edge-to-text-100) - var(--spectrum-button-border-width));
- --spectrum-button-sized-padding-label-to-icon: var(--spectrum-text-to-visual-100);
- --spectrum-button-sized-top-to-text: var(--spectrum-button-top-to-text-medium);
- --spectrum-button-sized-bottom-to-text: var(--spectrum-button-bottom-to-text-medium);
- --spectrum-button-sized-top-to-icon: var(--spectrum-component-top-to-workflow-icon-100);
+
+.spectrum-Button {
+ --spectrum-button-animation-duration: var(--spectrum-animation-duration-100);
+
+ --spectrum-button-focus-ring-gap: var(--spectrum-focus-indicator-gap);
+ --spectrum-button-focus-ring-thickness: var(--spectrum-focus-indicator-thickness);
+ --spectrum-button-focus-indicator-color: var(--spectrum-focus-indicator-color);
+
+ --spectrum-button-min-width: calc(var(--spectrum-component-height-100) * var(--spectrum-button-minimum-width-multiplier));
+ --spectrum-button-height: var(--spectrum-component-height-100);
+
+ --spectrum-button-border-radius: calc(var(--spectrum-button-height) / 2);
+ --spectrum-button-border-width: var(--spectrum-border-width-200);
+
+ /* @todo set line-height using font size specific line-height tokens when they are finalized along with the new variable font. */
+ --spectrum-button-line-height: 1.2;
+ --spectrum-button-font-weight: var(--spectrum-bold-font-weight);
+ --spectrum-button-font-size: var(--spectrum-font-size-100);
+
+ --spectrum-button-edge-to-visual: calc(var(--spectrum-component-pill-edge-to-visual-100) - var(--mod-button-border-width, var(--spectrum-button-border-width)));
+ --spectrum-button-edge-to-visual-only: calc(var(--spectrum-component-pill-edge-to-visual-only-100) - var(--mod-button-border-width, var(--spectrum-button-border-width)));
+ --spectrum-button-edge-to-text: calc(var(--spectrum-component-pill-edge-to-text-100) - var(--mod-button-border-width, var(--spectrum-button-border-width)));
+ --spectrum-button-padding-label-to-icon: var(--spectrum-text-to-visual-100);
+ --spectrum-button-top-to-text: var(--spectrum-button-top-to-text-medium);
+ --spectrum-button-bottom-to-text: var(--spectrum-button-bottom-to-text-medium);
+ --spectrum-button-top-to-icon: var(--spectrum-component-top-to-workflow-icon-100);
--spectrum-button-intended-icon-size: var(--spectrum-workflow-icon-size-100);
+
+ --mod-progress-circle-position: absolute;
+ /* stylelint-disable-next-line spectrum-tools/no-unknown-custom-properties -- height and width are set by implementations */
+ --spectrum-downstate-perspective: max(var(--spectrum-downstate-height), var(--spectrum-downstate-width) * var(--spectrum-component-size-width-ratio-down));
+
+ &.spectrum-Button--iconOnly {
+ --spectrum-button-border-radius: var(--spectrum-corner-radius-full);
+ }
}
.spectrum-Button--sizeS {
- --spectrum-button-sized-height: var(--spectrum-component-height-75);
- --spectrum-button-sized-font-size: var(--spectrum-font-size-75);
-
- --spectrum-button-sized-edge-to-visual: calc(var(--spectrum-component-pill-edge-to-visual-75) - var(--spectrum-button-border-width));
- --spectrum-button-sized-edge-to-visual-only: var(--spectrum-component-pill-edge-to-visual-only-75);
- --spectrum-button-sized-edge-to-text: calc(var(--spectrum-component-pill-edge-to-text-75) - var(--spectrum-button-border-width));
- --spectrum-button-sized-padding-label-to-icon: var(--spectrum-text-to-visual-75);
- --spectrum-button-sized-top-to-text: var(--spectrum-button-top-to-text-small);
- --spectrum-button-sized-bottom-to-text: var(--spectrum-button-bottom-to-text-small);
- --spectrum-button-sized-top-to-icon: var(--spectrum-component-top-to-workflow-icon-75);
+ --spectrum-button-min-width: calc(var(--spectrum-component-height-75) * var(--spectrum-button-minimum-width-multiplier));
+ --spectrum-button-height: var(--spectrum-component-height-75);
+
+ --spectrum-button-font-size: var(--spectrum-font-size-75);
+
+ --spectrum-button-edge-to-visual: calc(var(--spectrum-component-pill-edge-to-visual-75) - var(--mod-button-border-width, var(--spectrum-button-border-width)));
+ --spectrum-button-edge-to-visual-only: calc(var(--spectrum-component-pill-edge-to-visual-only-75) - var(--mod-button-border-width, var(--spectrum-button-border-width)));
+ --spectrum-button-edge-to-text: calc(var(--spectrum-component-pill-edge-to-text-75) - var(--mod-button-border-width, var(--spectrum-button-border-width)));
+ --spectrum-button-padding-label-to-icon: var(--spectrum-text-to-visual-75);
+ --spectrum-button-top-to-text: var(--spectrum-button-top-to-text-small);
+ --spectrum-button-bottom-to-text: var(--spectrum-button-bottom-to-text-small);
+ --spectrum-button-top-to-icon: var(--spectrum-component-top-to-workflow-icon-75);
--spectrum-button-intended-icon-size: var(--spectrum-workflow-icon-size-75);
+
+ &.spectrum-Button--iconOnly {
+ --spectrum-downstate-perspective: var(--spectrum-component-size-minimum-perspective-down);
+ }
}
.spectrum-Button--sizeL {
- --spectrum-button-sized-height: var(--spectrum-component-height-200);
- --spectrum-button-sized-font-size: var(--spectrum-font-size-200);
-
- --spectrum-button-sized-edge-to-visual: calc(var(--spectrum-component-pill-edge-to-visual-200) - var(--spectrum-button-border-width));
- --spectrum-button-sized-edge-to-visual-only: var(--spectrum-component-pill-edge-to-visual-only-200);
- --spectrum-button-sized-edge-to-text: calc(var(--spectrum-component-pill-edge-to-text-200) - var(--spectrum-button-border-width));
- --spectrum-button-sized-padding-label-to-icon: var(--spectrum-text-to-visual-200);
- --spectrum-button-sized-top-to-text: var(--spectrum-button-top-to-text-large);
- --spectrum-button-sized-bottom-to-text: var(--spectrum-button-bottom-to-text-large);
- --spectrum-button-sized-top-to-icon: var(--spectrum-component-top-to-workflow-icon-200);
+ --spectrum-button-min-width: calc(var(--spectrum-component-height-200) * var(--spectrum-button-minimum-width-multiplier));
+ --spectrum-button-height: var(--spectrum-component-height-200);
+
+ --spectrum-button-font-size: var(--spectrum-font-size-200);
+
+ --spectrum-button-edge-to-visual: calc(var(--spectrum-component-pill-edge-to-visual-200) - var(--mod-button-border-width, var(--spectrum-button-border-width)));
+ --spectrum-button-edge-to-visual-only: calc(var(--spectrum-component-pill-edge-to-visual-only-200) - var(--mod-button-border-width, var(--spectrum-button-border-width)));
+ --spectrum-button-edge-to-text: calc(var(--spectrum-component-pill-edge-to-text-200) - var(--mod-button-border-width, var(--spectrum-button-border-width)));
+ --spectrum-button-padding-label-to-icon: var(--spectrum-text-to-visual-200);
+ --spectrum-button-top-to-text: var(--spectrum-button-top-to-text-large);
+ --spectrum-button-bottom-to-text: var(--spectrum-button-bottom-to-text-large);
+ --spectrum-button-top-to-icon: var(--spectrum-component-top-to-workflow-icon-200);
--spectrum-button-intended-icon-size: var(--spectrum-workflow-icon-size-200);
}
.spectrum-Button--sizeXL {
- --spectrum-button-sized-height: var(--spectrum-component-height-300);
- --spectrum-button-sized-font-size: var(--spectrum-font-size-300);
-
- --spectrum-button-sized-edge-to-visual: calc(var(--spectrum-component-pill-edge-to-visual-300) - var(--spectrum-button-border-width));
- --spectrum-button-sized-edge-to-visual-only: var(--spectrum-component-pill-edge-to-visual-only-300);
- --spectrum-button-sized-edge-to-text: calc(var(--spectrum-component-pill-edge-to-text-300) - var(--spectrum-button-border-width));
- --spectrum-button-sized-padding-label-to-icon: var(--spectrum-text-to-visual-300);
- --spectrum-button-sized-top-to-text: var(--spectrum-button-top-to-text-extra-large);
- --spectrum-button-sized-bottom-to-text: var(--spectrum-button-bottom-to-text-extra-large);
- --spectrum-button-sized-top-to-icon: var(--spectrum-component-top-to-workflow-icon-300);
+ --spectrum-button-min-width: calc(var(--spectrum-component-height-300) * var(--spectrum-button-minimum-width-multiplier));
+ --spectrum-button-height: var(--spectrum-component-height-300);
+
+ --spectrum-button-font-size: var(--spectrum-font-size-300);
+
+ --spectrum-button-edge-to-visual: calc(var(--spectrum-component-pill-edge-to-visual-300) - var(--mod-button-border-width, var(--spectrum-button-border-width)));
+ --spectrum-button-edge-to-visual-only: calc(var(--spectrum-component-pill-edge-to-visual-only-300) - var(--mod-button-border-width, var(--spectrum-button-border-width)));
+ --spectrum-button-edge-to-text: calc(var(--spectrum-component-pill-edge-to-text-300) - var(--mod-button-border-width, var(--spectrum-button-border-width)));
+ --spectrum-button-padding-label-to-icon: var(--spectrum-text-to-visual-300);
+ --spectrum-button-top-to-text: var(--spectrum-button-top-to-text-extra-large);
+ --spectrum-button-bottom-to-text: var(--spectrum-button-bottom-to-text-extra-large);
+ --spectrum-button-top-to-icon: var(--spectrum-component-top-to-workflow-icon-300);
--spectrum-button-intended-icon-size: var(--spectrum-workflow-icon-size-300);
}
-/* default for all buttons */
+/* Variants and colors */
.spectrum-Button {
- &.is-selected {
- --mod-button-border-color-default: transparent;
- --mod-button-border-color-hover: transparent;
- --mod-button-border-color-down: transparent;
- --mod-button-border-color-focus: transparent;
-
- --mod-button-content-color-default: var(--spectrum-white);
- --mod-button-content-color-hover: var(--spectrum-white);
- --mod-button-content-color-down: var(--spectrum-white);
- --mod-button-content-color-focus: var(--spectrum-white);
-
- --mod-button-background-color-disabled: var(--spectrum-disabled-background-color);
- --mod-button-border-color-disabled: transparent;
-
- &.spectrum-Button--emphasized {
- --mod-button-background-color-default: var(--spectrum-accent-background-color-default);
- --mod-button-background-color-hover: var(--spectrum-accent-background-color-hover);
- --mod-button-background-color-down: var(--spectrum-accent-background-color-down);
- --mod-button-background-color-focus: var(--spectrum-accent-background-color-key-focus);
- }
- }
+ --spectrum-button-background-color-default: var(--spectrum-gray-50);
+ --spectrum-button-background-color-hover: var(--spectrum-gray-100);
+ --spectrum-button-background-color-down: var(--spectrum-gray-200);
+ --spectrum-button-background-color-focus: var(--spectrum-gray-100);
- &.spectrum-Button--accent {
- --mod-button-background-color-default: var(--spectrum-accent-background-color-default);
- --mod-button-background-color-hover: var(--spectrum-accent-background-color-hover);
- --mod-button-background-color-down: var(--spectrum-accent-background-color-down);
- --mod-button-background-color-focus: var(--spectrum-accent-background-color-key-focus);
- --mod-button-background-color-disabled: var(--spectrum-disabled-background-color);
-
- --mod-button-border-color-default: transparent;
- --mod-button-border-color-hover: transparent;
- --mod-button-border-color-down: transparent;
- --mod-button-border-color-focus: transparent;
- --mod-button-border-color-disabled: transparent;
-
- --mod-button-content-color-default: var(--spectrum-white);
- --mod-button-content-color-hover: var(--spectrum-white);
- --mod-button-content-color-down: var(--spectrum-white);
- --mod-button-content-color-focus: var(--spectrum-white);
+ --spectrum-button-border-color-default: var(--spectrum-gray-400);
+ --spectrum-button-border-color-hover: var(--spectrum-gray-500);
+ --spectrum-button-border-color-down: var(--spectrum-gray-600);
+ --spectrum-button-border-color-focus: var(--spectrum-gray-500);
- &.spectrum-Button--outline {
- --mod-button-background-color-hover: var(--spectrum-accent-color-200);
- --mod-button-background-color-down: var(--spectrum-accent-color-300);
- --mod-button-background-color-focus: var(--spectrum-accent-color-200);
-
- --mod-button-border-color-default: var(--spectrum-accent-color-900);
- --mod-button-border-color-hover: var(--spectrum-accent-color-1000);
- --mod-button-border-color-down: var(--spectrum-accent-color-1100);
- --mod-button-border-color-focus: var(--spectrum-accent-color-1000);
- --mod-button-border-color-disabled: var(--spectrum-disabled-border-color);
-
- --mod-button-content-color-default: var(--spectrum-accent-content-color-default);
- --mod-button-content-color-hover: var(--spectrum-accent-content-color-hover);
- --mod-button-content-color-down: var(--spectrum-accent-content-color-down);
- --mod-button-content-color-focus: var(--spectrum-accent-content-color-key-focus);
- --mod-button-content-color-disabled: var(--spectrum-disabled-content-color);
- }
- }
-
- &.spectrum-Button--negative {
- --mod-button-background-color-default: var(--spectrum-negative-background-color-default);
- --mod-button-background-color-hover: var(--spectrum-negative-background-color-hover);
- --mod-button-background-color-down: var(--spectrum-negative-background-color-down);
- --mod-button-background-color-focus: var(--spectrum-negative-background-color-key-focus);
+ --spectrum-button-content-color-default: var(--spectrum-white);
+ --spectrum-button-content-color-hover: var(--spectrum-white);
+ --spectrum-button-content-color-down: var(--spectrum-white);
+ --spectrum-button-content-color-focus: var(--spectrum-white);
- --mod-button-border-color-default: transparent;
- --mod-button-border-color-hover: transparent;
- --mod-button-border-color-down: transparent;
- --mod-button-border-color-focus: transparent;
+ --spectrum-button-background-color-disabled: transparent;
+ --spectrum-button-border-color-disabled: var(--spectrum-disabled-border-color);
+ --spectrum-button-content-color-disabled: var(--spectrum-disabled-content-color);
- --mod-button-content-color-default: var(--spectrum-white);
- --mod-button-content-color-hover: var(--spectrum-white);
- --mod-button-content-color-down: var(--spectrum-white);
- --mod-button-content-color-focus: var(--spectrum-white);
+ &.spectrum-Button--outline {
+ --spectrum-button-background-color-disabled: transparent;
+ --spectrum-button-border-color-disabled: var(--spectrum-disabled-border-color);
+ --spectrum-button-content-color-disabled: var(--spectrum-disabled-content-color);
+ }
- --mod-button-background-color-disabled: var(--spectrum-disabled-background-color);
- --mod-button-border-color-disabled: transparent;
- --mod-button-content-color-disabled: var(--spectrum-disabled-content-color);
+ /* ---- Accent ---- */
+ /* Also shows as the default when a variant class is not used. */
+ &,
+ &.spectrum-Button--accent {
+ --spectrum-button-background-color-default: var(--spectrum-accent-background-color-default);
+ --spectrum-button-background-color-hover: var(--spectrum-accent-background-color-hover);
+ --spectrum-button-background-color-down: var(--spectrum-accent-background-color-down);
+ --spectrum-button-background-color-focus: var(--spectrum-accent-background-color-key-focus);
+ }
- &.spectrum-Button--outline {
- --mod-button-background-color-hover: var(--spectrum-negative-color-200);
- --mod-button-background-color-down: var(--spectrum-negative-color-300);
- --mod-button-background-color-focus: var(--spectrum-negative-color-200);
-
- --mod-button-border-color-default: var(--spectrum-negative-color-900);
- --mod-button-border-color-hover: var(--spectrum-negative-color-1000);
- --mod-button-border-color-down: var(--spectrum-negative-color-1100);
- --mod-button-border-color-focus: var(--spectrum-negative-color-1000);
- --mod-button-border-color-disabled: var(--spectrum-disabled-border-color);
-
- --mod-button-content-color-default: var(--spectrum-negative-content-color-default);
- --mod-button-content-color-hover: var(--spectrum-negative-content-color-hover);
- --mod-button-content-color-down: var(--spectrum-negative-content-color-down);
- --mod-button-content-color-focus: var(--spectrum-negative-content-color-key-focus);
- --mod-button-content-color-disabled: var(--spectrum-disabled-content-color);
- }
+ /* ---- Negative ---- */
+ &.spectrum-Button--negative {
+ --spectrum-button-background-color-default: var(--spectrum-negative-background-color-default);
+ --spectrum-button-background-color-hover: var(--spectrum-negative-background-color-hover);
+ --spectrum-button-background-color-down: var(--spectrum-negative-background-color-down);
+ --spectrum-button-background-color-focus: var(--spectrum-negative-background-color-key-focus);
}
+ /* ---- Primary ---- */
&.spectrum-Button--primary {
- --mod-button-background-color-default: var(--spectrum-neutral-background-color-default);
- --mod-button-background-color-hover: var(--spectrum-neutral-background-color-hover);
- --mod-button-background-color-down: var(--spectrum-neutral-background-color-down);
- --mod-button-background-color-focus: var(--spectrum-neutral-background-color-key-focus);
- --mod-button-background-color-disabled: var(--spectrum-disabled-background-color);
-
- --mod-button-border-color-default: transparent;
- --mod-button-border-color-hover: transparent;
- --mod-button-border-color-down: transparent;
- --mod-button-border-color-focus: transparent;
- --mod-button-border-color-disabled: transparent;
+ --spectrum-button-content-color-default: var(--spectrum-gray-25);
+ --spectrum-button-content-color-hover: var(--spectrum-gray-25);
+ --spectrum-button-content-color-down: var(--spectrum-gray-25);
+ --spectrum-button-content-color-focus: var(--spectrum-gray-25);
+
+ --spectrum-button-background-color-default: var(--spectrum-neutral-background-color-default);
+ --spectrum-button-background-color-hover: var(--spectrum-neutral-background-color-hover);
+ --spectrum-button-background-color-down: var(--spectrum-neutral-background-color-down);
+ --spectrum-button-background-color-focus: var(--spectrum-neutral-background-color-key-focus);
&.spectrum-Button--outline {
- --mod-button-border-color-default: var(--spectrum-gray-800);
- --mod-button-border-color-hover: var(--spectrum-gray-900);
- --mod-button-border-color-down: var(--spectrum-gray-900);
- --mod-button-border-color-focus: var(--spectrum-gray-900);
-
- --mod-button-content-color-default: var(--spectrum-neutral-content-color-default);
- --mod-button-content-color-hover: var(--spectrum-neutral-content-color-hover);
- --mod-button-content-color-down: var(--spectrum-neutral-content-color-down);
- --mod-button-content-color-focus: var(--spectrum-neutral-content-color-key-focus);
-
- --mod-button-border-color-disabled: var(--spectrum-disabled-border-color);
- --mod-button-content-color-disabled: var(--spectrum-disabled-content-color);
+ --spectrum-button-background-color-default: transparent;
+ --spectrum-button-background-color-hover: var(--spectrum-gray-200);
+ --spectrum-button-background-color-down: var(--spectrum-gray-400);
+ --spectrum-button-background-color-focus: var(--spectrum-gray-200);
+
+ --spectrum-button-border-color-default: var(--spectrum-gray-800);
+ --spectrum-button-border-color-hover: var(--spectrum-gray-900);
+ --spectrum-button-border-color-down: var(--spectrum-gray-900);
+ --spectrum-button-border-color-focus: var(--spectrum-gray-900);
+
+ --spectrum-button-content-color-default: var(--spectrum-neutral-content-color-default);
+ --spectrum-button-content-color-hover: var(--spectrum-neutral-content-color-hover);
+ --spectrum-button-content-color-down: var(--spectrum-neutral-content-color-down);
+ --spectrum-button-content-color-focus: var(--spectrum-neutral-content-color-key-focus);
}
}
+ /* ---- Secondary ---- */
&.spectrum-Button--secondary {
- --mod-button-background-color-disabled: var(--spectrum-disabled-background-color);
+ --spectrum-button-background-color-default: var(--spectrum-gray-100);
+ --spectrum-button-background-color-hover: var(--spectrum-gray-200);
+ --spectrum-button-background-color-down: var(--spectrum-gray-400);
+ --spectrum-button-background-color-focus: var(--spectrum-gray-200);
- --mod-button-border-color-default: transparent;
- --mod-button-border-color-hover: transparent;
- --mod-button-border-color-down: transparent;
- --mod-button-border-color-focus: transparent;
- --mod-button-border-color-disabled: transparent;
-
- --mod-button-content-color-default: var(--spectrum-neutral-content-color-default);
- --mod-button-content-color-hover: var(--spectrum-neutral-content-color-hover);
- --mod-button-content-color-down: var(--spectrum-neutral-content-color-down);
- --mod-button-content-color-focus: var(--spectrum-neutral-content-color-key-focus);
- --mod-button-content-color-disabled: var(--spectrum-disabled-content-color);
+ --spectrum-button-content-color-default: var(--spectrum-neutral-content-color-default);
+ --spectrum-button-content-color-hover: var(--spectrum-neutral-content-color-hover);
+ --spectrum-button-content-color-down: var(--spectrum-neutral-content-color-down);
+ --spectrum-button-content-color-focus: var(--spectrum-neutral-content-color-key-focus);
&.spectrum-Button--outline {
- --mod-button-background-color-down: var(--spectrum-gray-400);
-
- --mod-button-border-color-default: var(--spectrum-gray-300);
- --mod-button-border-color-hover: var(--spectrum-gray-400);
- --mod-button-border-color-down: var(--spectrum-gray-500);
- --mod-button-border-color-focus: var(--spectrum-gray-400);
- --mod-button-border-color-disabled: var(--spectrum-disabled-border-color);
-
- --mod-button-content-color-default: var(--spectrum-neutral-content-color-default);
- --mod-button-content-color-hover: var(--spectrum-neutral-content-color-hover);
- --mod-button-content-color-down: var(--spectrum-neutral-content-color-down);
- --mod-button-content-color-focus: var(--spectrum-neutral-content-color-key-focus);
- --mod-button-content-color-disabled: var(--spectrum-disabled-content-color);
+ --spectrum-button-background-color-default: transparent;
+ --spectrum-button-background-color-hover: var(--spectrum-gray-200);
+ --spectrum-button-background-color-down: var(--spectrum-gray-400);
+ --spectrum-button-background-color-focus: var(--spectrum-gray-200);
+
+ --spectrum-button-border-color-default: var(--spectrum-gray-200);
+ --spectrum-button-border-color-hover: var(--spectrum-gray-400);
+ --spectrum-button-border-color-down: var(--spectrum-gray-400);
+ --spectrum-button-border-color-focus: var(--spectrum-gray-400);
+
+ --spectrum-button-content-color-default: var(--spectrum-neutral-content-color-default);
+ --spectrum-button-content-color-hover: var(--spectrum-neutral-content-color-hover);
+ --spectrum-button-content-color-down: var(--spectrum-neutral-content-color-down);
+ --spectrum-button-content-color-focus: var(--spectrum-neutral-content-color-key-focus);
}
}
- &.spectrum-Button--quiet {
- --mod-button-background-color-hover: var(--spectrum-gray-200);
- --mod-button-background-color-down: var(--spectrum-gray-300);
- --mod-button-background-color-focus: var(--spectrum-gray-200);
+ /* ---- Static White ---- */
+ &.spectrum-Button--staticWhite {
+ --spectrum-button-background-color-default: var(--spectrum-transparent-white-900);
+ --spectrum-button-background-color-hover: var(--spectrum-transparent-white-1000);
+ --spectrum-button-background-color-down: var(--spectrum-transparent-white-1000);
+ --spectrum-button-background-color-focus: var(--spectrum-transparent-white-1000);
- --mod-button-border-color-default: transparent;
- --mod-button-border-color-hover: transparent;
- --mod-button-border-color-down: transparent;
- --mod-button-border-color-focus: transparent;
- --mod-button-border-color-disabled: transparent;
- }
+ --spectrum-button-content-color-default: var(--spectrum-black);
+ --spectrum-button-content-color-hover: var(--spectrum-black);
+ --spectrum-button-content-color-down: var(--spectrum-black);
+ --spectrum-button-content-color-focus: var(--spectrum-black);
- &.spectrum-Button--staticBlack,
- &.spectrum-Button--staticWhite {
- --mod-button-border-color-default: transparent;
- --mod-button-border-color-hover: transparent;
- --mod-button-border-color-down: transparent;
- --mod-button-border-color-focus: transparent;
- --mod-button-border-color-disabled: transparent;
+ --spectrum-button-focus-indicator-color: var(--spectrum-static-white-focus-indicator-color);
- &.is-selected {
- /* @deprecated previous mapping for --mod-button-static-content-color was applied to the is-selected state */
- --mod-button-content-color-default: var(--mod-button-static-content-color);
- --mod-button-content-color-hover: var(--mod-button-static-content-color);
- --mod-button-content-color-down: var(--mod-button-static-content-color);
- --mod-button-content-color-focus: var(--mod-button-static-content-color);
+ --spectrum-button-background-color-disabled: var(--spectrum-disabled-static-white-background-color);
+ --spectrum-button-border-color-disabled: transparent;
+ --spectrum-button-content-color-disabled: var(--spectrum-disabled-static-white-content-color);
- --mod-button-border-color-disabled: transparent;
+ &.spectrum-Button--outline {
+ --spectrum-button-background-color-default: var(--spectrum-transparent-white-25);
+ --spectrum-button-background-color-hover: var(--spectrum-transparent-white-400);
+ --spectrum-button-background-color-down: var(--spectrum-transparent-white-500);
+ --spectrum-button-background-color-focus: var(--spectrum-transparent-white-400);
+
+ --spectrum-button-border-color-default: var(--spectrum-transparent-white-800);
+ --spectrum-button-border-color-hover: var(--spectrum-transparent-white-1000);
+ --spectrum-button-border-color-down: var(--spectrum-transparent-white-1000);
+ --spectrum-button-border-color-focus: var(--spectrum-transparent-white-1000);
+
+ --spectrum-button-content-color-default: var(--spectrum-white);
+ --spectrum-button-content-color-hover: var(--spectrum-white);
+ --spectrum-button-content-color-down: var(--spectrum-white);
+ --spectrum-button-content-color-focus: var(--spectrum-white);
+
+ --spectrum-button-background-color-disabled: var(--spectrum-transparent-white-25);
+ --spectrum-button-border-color-disabled: var(--spectrum-disabled-static-white-border-color);
+ --spectrum-button-content-color-disabled: var(--spectrum-disabled-static-white-content-color);
}
&.spectrum-Button--secondary {
- --mod-button-border-color-default: transparent;
- --mod-button-border-color-hover: transparent;
- --mod-button-border-color-down: transparent;
- --mod-button-border-color-focus: transparent;
- --mod-button-border-color-disabled: transparent;
+ --spectrum-button-background-color-default: var(--spectrum-transparent-white-300);
+ --spectrum-button-background-color-hover: var(--spectrum-transparent-white-400);
+ --spectrum-button-background-color-down: var(--spectrum-transparent-white-500);
+ --spectrum-button-background-color-focus: var(--spectrum-transparent-white-400);
+
+ --spectrum-button-content-color-default: var(--spectrum-white);
+ --spectrum-button-content-color-hover: var(--spectrum-white);
+ --spectrum-button-content-color-down: var(--spectrum-white);
+ --spectrum-button-content-color-focus: var(--spectrum-white);
+
+ &.spectrum-Button--outline {
+ --spectrum-button-background-color-default: var(--spectrum-transparent-white-25);
+ --spectrum-button-background-color-hover: var(--spectrum-transparent-white-400);
+ --spectrum-button-background-color-down: var(--spectrum-transparent-white-500);
+ --spectrum-button-background-color-focus: var(--spectrum-transparent-white-400);
+
+ --spectrum-button-border-color-default: var(--spectrum-transparent-white-400);
+ --spectrum-button-border-color-hover: var(--spectrum-transparent-white-500);
+ --spectrum-button-border-color-down: var(--spectrum-transparent-white-600);
+ --spectrum-button-border-color-focus: var(--spectrum-transparent-white-500);
+ }
}
- &.spectrum-Button--quiet {
- --mod-button-border-color-default: transparent;
- --mod-button-border-color-hover: transparent;
- --mod-button-border-color-down: transparent;
- --mod-button-border-color-focus: transparent;
-
- --mod-button-border-color-disabled: transparent;
+ &.is-selected {
+ --spectrum-button-background-color-default: var(--spectrum-neutral-subdued-background-color-default);
+ --spectrum-button-background-color-hover: var(--spectrum-neutral-subdued-background-color-hover);
+ --spectrum-button-background-color-down: var(--spectrum-neutral-subdued-background-color-down);
+ --spectrum-button-background-color-focus: var(--spectrum-neutral-subdued-background-color-key-focus);
}
}
- &.spectrum-Button--staticWhite {
- --mod-button-content-color-disabled: var(--spectrum-disabled-static-white-content-color);
- --mod-button-background-color-disabled: var(--spectrum-disabled-static-white-background-color);
- --mod-button-focus-ring-color: var(--spectrum-static-white-focus-indicator-color);
-
- &.spectrum-Button--secondary:not(.spectrum-Button--outline) {
- --mod-button-background-color-disabled: var(--spectrum-disabled-static-white-background-color);
- }
+ /* ---- Static Black ---- */
+ &.spectrum-Button--staticBlack {
+ --spectrum-button-background-color-default: var(--spectrum-transparent-black-900);
+ --spectrum-button-background-color-hover: var(--spectrum-transparent-black-1000);
+ --spectrum-button-background-color-down: var(--spectrum-transparent-black-1000);
+ --spectrum-button-background-color-focus: var(--spectrum-transparent-black-1000);
- &.spectrum-Button--outline {
- --mod-button-content-color-disabled: var(--spectrum-disabled-static-white-content-color);
- --mod-button-border-color-disabled: var(--spectrum-disabled-static-white-border-color);
- }
- }
+ --spectrum-button-content-color-default: var(--spectrum-white);
+ --spectrum-button-content-color-hover: var(--spectrum-white);
+ --spectrum-button-content-color-down: var(--spectrum-white);
+ --spectrum-button-content-color-focus: var(--spectrum-white);
- &.spectrum-Button--staticBlack {
- --mod-button-content-color-disabled: var(--spectrum-disabled-static-black-content-color);
- --mod-button-background-color-disabled: var(--spectrum-disabled-static-black-background-color);
- --mod-button-focus-ring-color: var(--mod-static-black-focus-indicator-color, var(--spectrum-static-black-focus-indicator-color));
+ --spectrum-button-focus-indicator-color: var(--spectrum-static-black-focus-indicator-color);
- &.spectrum-Button--secondary:not(.spectrum-Button--outline) {
- --mod-button-background-color-disabled: var(--spectrum-disabled-static-black-background-color);
- }
+ --spectrum-button-background-color-disabled: var(--spectrum-disabled-static-black-background-color);
+ --spectrum-button-border-color-disabled: transparent;
+ --spectrum-button-content-color-disabled: var(--spectrum-disabled-static-black-content-color);
&.spectrum-Button--outline {
- --mod-button-content-color-disabled: var(--spectrum-disabled-static-black-content-color);
- --mod-button-border-color-disabled: var(--spectrum-disabled-static-black-border-color);
+ --spectrum-button-background-color-default: var(--spectrum-transparent-black-25);
+ --spectrum-button-background-color-hover: var(--spectrum-transparent-black-400);
+ --spectrum-button-background-color-down: var(--spectrum-transparent-black-500);
+ --spectrum-button-background-color-focus: var(--spectrum-transparent-black-400);
+
+ --spectrum-button-border-color-default: var(--spectrum-transparent-black-800);
+ --spectrum-button-border-color-hover: var(--spectrum-transparent-black-600);
+ --spectrum-button-border-color-down: var(--spectrum-transparent-black-700);
+ --spectrum-button-border-color-focus: var(--spectrum-transparent-black-600);
+
+ --spectrum-button-content-color-default: var(--spectrum-black);
+ --spectrum-button-content-color-hover: var(--spectrum-black);
+ --spectrum-button-content-color-down: var(--spectrum-black);
+ --spectrum-button-content-color-focus: var(--spectrum-black);
+
+ --spectrum-button-background-color-disabled: transparent;
+ --spectrum-button-border-color-disabled: var(--spectrum-disabled-static-black-border-color);
+ --spectrum-button-content-color-disabled: var(--spectrum-disabled-static-black-content-color);
}
- }
- &.spectrum-Button--quiet,
- &.spectrum-Button--outline {
- --mod-button-background-color-default: transparent;
- --mod-button-background-color-disabled: transparent;
+ &.spectrum-Button--secondary {
+ --spectrum-button-background-color-default: var(--spectrum-transparent-black-300);
+ --spectrum-button-background-color-hover: var(--spectrum-transparent-black-400);
+ --spectrum-button-background-color-down: var(--spectrum-transparent-black-500);
+ --spectrum-button-background-color-focus: var(--spectrum-transparent-black-400);
+
+ --spectrum-button-content-color-default: var(--spectrum-black);
+ --spectrum-button-content-color-hover: var(--spectrum-black);
+ --spectrum-button-content-color-down: var(--spectrum-black);
+ --spectrum-button-content-color-focus: var(--spectrum-black);
+
+ &.spectrum-Button--outline {
+ --spectrum-button-background-color-default: var(--spectrum-transparent-black-25);
+ --spectrum-button-background-color-hover: var(--spectrum-transparent-black-400);
+ --spectrum-button-background-color-down: var(--spectrum-transparent-black-500);
+ --spectrum-button-background-color-focus: var(--spectrum-transparent-black-400);
+
+ --spectrum-button-border-color-default: var(--spectrum-transparent-black-400);
+ --spectrum-button-border-color-hover: var(--spectrum-transparent-black-500);
+ --spectrum-button-border-color-down: var(--spectrum-transparent-black-600);
+ --spectrum-button-border-color-focus: var(--spectrum-transparent-black-500);
+ }
+ }
}
}
.spectrum-Button {
- --spectrum-button-height: var(--mod-button-height, var(--spectrum-button-sized-height));
- --spectrum-button-min-width: var(--mod-button-min-width, calc(var(--spectrum-button-height) * var(--spectrum-button-minimum-width-multiplier)));
-
- --spectrum-button-line-height: var(--mod-button-line-height, 1.2); /* Hack to keep buttons at 32px */
- --spectrum-button-font-size: var(--mod-button-font-size, var(--spectrum-button-sized-font-size));
- --spectrum-button-padding-label-to-icon: var(--mod-button-padding-label-to-icon, var(--spectrum-button-sized-padding-label-to-icon));
-
- --spectrum-button-edge-to-visual: var(--mod-button-edge-to-visual, var(--spectrum-button-sized-edge-to-visual));
- --spectrum-button-edge-to-visual-only: var(--mod-button-edge-to-visual-only, var(--spectrum-button-sized-edge-to-visual-only));
- --spectrum-button-edge-to-text: var(--mod-button-edge-to-text, var(--spectrum-button-sized-edge-to-text));
-
- --spectrum-button-top-to-text: var(--mod-button-top-to-text, var(--spectrum-button-sized-top-to-text));
- --spectrum-button-bottom-to-text: var(--mod-button-bottom-to-text, var(--spectrum-button-sized-bottom-to-text));
- --spectrum-button-top-to-icon: var(--mod-button-top-to-icon, var(--spectrum-button-sized-top-to-icon));
-
- --spectrum-button-focus-ring-thickness: var(--mod-button-focus-ring-thickness, var(--spectrum-focus-indicator-thickness));
- --spectrum-button-focus-indicator-color: var(--mod-button-focus-ring-color, var(--spectrum-focus-indicator-color));
-
- --spectrum-button-animation-duration: var(--mod-button-animation-duration, var(--spectrum-animation-duration-100));
- --spectrum-button-border-width: var(--mod-button-border-width, var(--spectrum-border-width-200));
-
- --spectrum-button-focus-ring-gap: var(--mod-focus-indicator-gap, var(--mod-button-focus-ring-gap, var(--spectrum-focus-indicator-gap)));
- --spectrum-button-border-radius: var(--mod-button-border-radius, calc(var(--spectrum-button-height) / 2));
-
- --spectrum-button-content-color-default: var(--highcontrast-button-content-color-default, var(--mod-button-content-color-default, var(--spectrum-neutral-content-color-default)));
- --spectrum-button-content-color-hover: var(--highcontrast-button-content-color-hover, var(--mod-button-content-color-hover, var(--spectrum-neutral-content-color-hover)));
- --spectrum-button-content-color-down: var(--highcontrast-button-content-color-down, var(--mod-button-content-color-down, var(--spectrum-neutral-content-color-down)));
- --spectrum-button-content-color-focus: var(--highcontrast-button-content-color-focus, var(--mod-button-content-color-focus, var(--spectrum-neutral-content-color-key-focus)));
- --spectrum-button-content-color-disabled: var(--highcontrast-button-content-color-disabled, var(--mod-button-content-color-disabled, var(--spectrum-disabled-content-color)));
-
- /* @passthrough -- align the progress circle in the button */
- --mod-progress-circle-position: absolute;
-
@extend %spectrum-BaseButton;
- @extend %spectrum-ButtonWithFocusRing;
- border-radius: var(--spectrum-button-border-radius);
- border-width: var(--spectrum-button-border-width);
+ border-radius: var(--mod-button-border-radius, var(--spectrum-button-border-radius));
+ border-width: var(--mod-button-border-width, var(--spectrum-button-border-width));
border-style: solid;
- font-size: var(--spectrum-button-font-size);
- font-weight: var(--mod-bold-font-weight, var(--spectrum-bold-font-weight));
- gap: var(--spectrum-button-padding-label-to-icon);
- max-inline-size: var(--mod-button-max-inline-size, none);
- min-inline-size: var(--spectrum-button-min-width);
- min-block-size: var(--spectrum-button-height);
-
- /* Start with text-only padding */
+ font-size: var(--mod-button-font-size, var(--spectrum-button-font-size));
+ font-weight: var(--mod-button-font-weight, var(--spectrum-button-font-weight));
+ gap: var(--mod-button-padding-label-to-icon, var(--spectrum-button-padding-label-to-icon));
+ min-inline-size: var(--mod-button-min-width, var(--spectrum-button-min-width));
+ min-block-size: var(--mod-button-height, var(--spectrum-button-height));
+
padding-block: 0;
- padding-inline: var(--spectrum-button-edge-to-text);
+ padding-inline: var(--mod-button-edge-to-text, var(--spectrum-button-edge-to-text));
position: relative;
+ background-color: var(--highcontrast-button-background-color-default, var(--mod-button-background-color-default, var(--spectrum-button-background-color-default)));
+ border-color: var(--highcontrast-button-border-color-default, var(--mod-button-border-color-default, var(--spectrum-button-border-color-default)));
+ color: var(--highcontrast-button-content-color-default, var(--mod-button-content-color-default, var(--spectrum-button-content-color-default)));
+ transition:
+ border var(--mod-button-animation-duration, var(--spectrum-button-animation-duration, 130ms)) linear,
+ color var(--mod-button-animation-duration, var(--spectrum-button-animation-duration, 130ms)) linear,
+ background-color var(--mod-button-animation-duration, var(--spectrum-button-animation-duration, 130ms)) linear;
+
margin-block: var(--mod-button-margin-block);
margin-inline-end: var(--mod-button-margin-right);
margin-inline-start: var(--mod-button-margin-left);
- background-color: var(--highcontrast-button-background-color-default, var(--mod-button-background-color-default, var(--spectrum-button-background-color-default)));
- border-color: var(--highcontrast-button-border-color-default, var(--mod-button-border-color-default, var(--spectrum-button-border-color-default)));
+ .spectrum-Icon {
+ /* Any block-size difference between the intended workflow icon size and actual icon used.
+ Helps support any existing use of smaller UI icons instead of intended Workflow icons. */
+ --spectrum-button-icon-size-difference: max(0px, var(--spectrum-button-intended-icon-size) - var(--spectrum-icon-block-size, var(--spectrum-button-intended-icon-size)));
- /* let staticColor variants inherit their color */
- color: var(--spectrum-button-content-color-default, inherit);
- transition:
- border var(--spectrum-button-animation-duration, 130ms) linear,
- color var(--spectrum-button-animation-duration, 130ms) linear,
- background-color var(--spectrum-button-animation-duration, 130ms) linear;
+ margin-block-start: var(--mod-button-icon-margin-block-start, max(0px, var(--mod-button-top-to-icon, var(--spectrum-button-top-to-icon)) - var(--mod-button-border-width, var(--spectrum-button-border-width)) + (var(--spectrum-button-icon-size-difference, 0px) / 2)));
- &.spectrum-Button--outline {
- background-color: transparent;
+ margin-inline-start: calc(var(--mod-button-edge-to-visual, var(--spectrum-button-edge-to-visual)) - var(--mod-button-edge-to-text, var(--spectrum-button-edge-to-text)));
+ color: inherit;
+ flex-shrink: 0;
+ align-self: flex-start;
}
+ /* Focus indicator */
&::after {
+ content: "";
+ display: block;
position: absolute;
inset: 0;
- margin: var(--mod-button-focus-ring-border-radius, calc((var(--spectrum-button-focus-ring-gap) + var(--spectrum-button-border-width)) * -1));
- transition: box-shadow var(--spectrum-button-animation-duration) ease-in-out;
+ margin: calc((var(--mod-button-focus-ring-gap, var(--spectrum-button-focus-ring-gap)) + var(--mod-button-border-width, var(--spectrum-button-border-width))) * -1);
+ border-radius: var(--mod-button-focus-ring-border-radius, calc(var(--mod-button-border-radius, var(--spectrum-button-border-radius)) + var(--mod-button-focus-ring-gap, var(--spectrum-button-focus-ring-gap))));
+ transition: box-shadow var(--mod-button-animation-duration, var(--spectrum-button-animation-duration)) ease-in-out;
pointer-events: none;
- content: "";
+ }
+
+ &:focus-visible,
+ &.is-focused {
+ box-shadow: none;
+ outline: none;
- /* correct focus indicator radius for t-shirt sizing */
- border-radius: calc(var(--spectrum-button-border-radius) + var(--spectrum-focus-indicator-gap));
+ &::after {
+ box-shadow: 0 0 0 var(--mod-button-focus-ring-thickness, var(--spectrum-button-focus-ring-thickness)) var(--highcontrast-button-focus-ring-color, var(--mod-button-focus-ring-color, var(--spectrum-button-focus-indicator-color)));
+ }
+ }
+
+ /* States and interaction */
+ &:hover,
+ &:active {
+ box-shadow: none;
}
&:hover {
background-color: var(--highcontrast-button-background-color-hover, var(--mod-button-background-color-hover, var(--spectrum-button-background-color-hover)));
border-color: var(--highcontrast-button-border-color-hover, var(--mod-button-border-color-hover, var(--spectrum-button-border-color-hover)));
- color: var(--spectrum-button-content-color-hover);
- box-shadow: none;
+ color: var(--highcontrast-button-content-color-hover, var(--mod-button-content-color-hover, var(--spectrum-button-content-color-hover)));
}
&:focus-visible {
background-color: var(--highcontrast-button-background-color-focus, var(--mod-button-background-color-focus, var(--spectrum-button-background-color-focus)));
border-color: var(--highcontrast-button-border-color-focus, var(--mod-button-border-color-focus, var(--spectrum-button-border-color-focus)));
- color: var(--spectrum-button-content-color-focus);
-
- /* Remove the default focus outline */
- box-shadow: none;
- outline: none;
-
- &::after {
- box-shadow: 0 0 0 var(--spectrum-button-focus-ring-thickness) var(--spectrum-button-focus-indicator-color);
- }
- }
-
- &:focus-visible,
- &.is-focused {
- &::after {
- box-shadow: 0 0 0 var(--spectrum-button-focus-ring-thickness) var(--spectrum-button-focus-indicator-color);
- }
+ color: var(--highcontrast-button-content-color-focus, var(--mod-button-content-color-focus, var(--spectrum-button-content-color-focus)));
}
&:active {
background-color: var(--highcontrast-button-background-color-down, var(--mod-button-background-color-down, var(--spectrum-button-background-color-down)));
border-color: var(--highcontrast-button-border-color-down, var(--mod-button-border-color-down, var(--spectrum-button-border-color-down)));
- color: var(--spectrum-button-content-color-down);
- box-shadow: none;
+ color: var(--highcontrast-button-content-color-down, var(--mod-button-content-color-down, var(--spectrum-button-content-color-down)));
+ transform: perspective(var(--spectrum-downstate-perspective)) translateZ(var(--spectrum-component-size-difference-down));
}
&:hover,
@@ -445,7 +441,7 @@
&.is-pending {
background-color: var(--highcontrast-button-background-color-disabled, var(--mod-button-background-color-disabled, var(--spectrum-button-background-color-disabled)));
border-color: var(--highcontrast-button-border-color-disabled, var(--mod-button-border-color-disabled, var(--spectrum-button-border-color-disabled)));
- color: var(--spectrum-button-content-color-disabled);
+ color: var(--highcontrast-button-content-color-disabled, var(--mod-button-content-color-disabled, var(--spectrum-button-content-color-disabled)));
}
.spectrum-Icon {
@@ -484,15 +480,15 @@
.spectrum-Button-label {
visibility: visible;
opacity: 1;
- transition: opacity var(--spectrum-button-animation-duration, 130ms) ease-in-out;
+ transition: opacity var(--mod-button-animation-duration, var(--spectrum-button-animation-duration, 130ms)) ease-in-out;
}
.spectrum-ProgressCircle {
visibility: hidden;
opacity: 0;
transition:
- opacity var(--spectrum-button-animation-duration, 130ms) ease-in-out,
- visibility 0ms linear var(--spectrum-button-animation-duration, 130ms);
+ opacity var(--mod-button-animation-duration, var(--spectrum-button-animation-duration, 130ms)) ease-in-out,
+ visibility 0ms linear var(--mod-button-animation-duration, var(--spectrum-button-animation-duration, 130ms));
}
&[pending],
@@ -504,49 +500,16 @@
visibility: hidden;
opacity: 0;
transition:
- opacity var(--spectrum-button-animation-duration, 130ms) ease-in-out,
- visibility 0ms linear var(--spectrum-button-animation-duration, 130ms);
+ opacity var(--mod-button-animation-duration, var(--spectrum-button-animation-duration, 130ms)) ease-in-out,
+ visibility 0ms linear var(--mod-button-animation-duration, var(--spectrum-button-animation-duration, 130ms));
}
.spectrum-ProgressCircle {
visibility: visible;
opacity: 1;
- transition: opacity var(--spectrum-button-animation-duration, 130ms) ease-in-out;
+ transition: opacity var(--mod-button-animation-duration, var(--spectrum-button-animation-duration, 130ms)) ease-in-out;
}
}
-
- .spectrum-Icon {
- /* Any block-size difference between the intended workflow icon size and actual icon used.
- Helps support any existing use of smaller UI icons instead of intended Workflow icons. */
- --_icon-size-difference: max(0px, calc(var(--spectrum-button-intended-icon-size) - var(--spectrum-icon-block-size, var(--spectrum-button-intended-icon-size))));
-
- margin-block-start: var(--mod-button-icon-margin-block-start, max(0px, calc(var(--spectrum-button-top-to-icon) - var(--spectrum-button-border-width) + (var(--_icon-size-difference, 0px) / 2))));
-
- margin-inline-start: calc(var(--spectrum-button-edge-to-visual) - var(--spectrum-button-edge-to-text));
- color: inherit;
- flex-shrink: 0;
- align-self: flex-start;
- }
-
- &.spectrum-Button--iconOnly {
- min-inline-size: unset;
- padding: calc(var(--spectrum-button-edge-to-visual-only) - var(--spectrum-button-border-width));
- border-radius: 50%;
-
- .spectrum-Icon {
- align-self: center;
- margin-inline-start: 0;
- margin-block-start: 0;
- }
-
- &::after {
- border-radius: 50%;
- }
- }
-
- .spectrum-Icon + .spectrum-Button-label {
- text-align: var(--mod-button-text-align-with-icon, start);
- }
}
a.spectrum-Button {
@@ -555,75 +518,71 @@ a.spectrum-Button {
.spectrum-Button-label {
@extend %spectrum-ButtonLabel;
- padding-block-start: calc(var(--spectrum-button-top-to-text) - var(--spectrum-button-border-width));
- padding-block-end: calc(var(--spectrum-button-bottom-to-text) - var(--spectrum-button-border-width));
- line-height: var(--spectrum-button-line-height);
+ padding-block-start: calc(var(--mod-button-top-to-text, var(--spectrum-button-top-to-text)) - var(--mod-button-border-width, var(--spectrum-button-border-width)));
+ padding-block-end: calc(var(--mod-button-bottom-to-text, var(--spectrum-button-bottom-to-text)) - var(--mod-button-border-width, var(--spectrum-button-border-width)));
+ line-height: var(--mod-button-line-height, var(--spectrum-button-line-height));
align-self: start;
text-align: var(--mod-button-text-align, center);
+}
+
+.spectrum-Button .spectrum-Icon + .spectrum-Button-label {
+ text-align: var(--mod-button-text-align-with-icon, start);
+}
- /* Disable button label wrap */
- .spectrum-Button--noWrap & {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
+/* Icon only variant */
+.spectrum-Button.spectrum-Button--iconOnly {
+ min-inline-size: unset;
+ padding: var(--mod-button-edge-to-visual-only, var(--spectrum-button-edge-to-visual-only));
+
+ .spectrum-Icon {
+ align-self: center;
+ margin-inline-start: 0;
+ margin-block-start: 0;
}
}
-/* Windows High Contrast Mode */
+/* Forced colors / high contrast mode */
@media (forced-colors: active) {
.spectrum-Button {
- --highcontrast-button-content-color-default: ButtonText;
- --highcontrast-button-content-color-hover: ButtonText;
- --highcontrast-button-content-color-focus: ButtonText;
- --highcontrast-button-content-color-down: ButtonText;
- --highcontrast-button-content-color-disabled: GrayText;
-
--highcontrast-button-border-color-default: ButtonBorder;
--highcontrast-button-border-color-hover: ButtonBorder;
--highcontrast-button-border-color-focus: ButtonBorder;
--highcontrast-button-border-color-down: ButtonBorder;
+ --highcontrast-button-content-color-disabled: GrayText;
--highcontrast-button-border-color-disabled: GrayText;
-
- --highcontrast-button-background-color-default: ButtonFace;
- --highcontrast-button-background-color-hover: ButtonFace;
- --highcontrast-button-background-color-down: ButtonFace;
- --highcontrast-button-background-color-focus: ButtonFace;
--highcontrast-button-background-color-disabled: ButtonFace;
--mod-progress-circle-track-border-color: ButtonText;
--mod-progress-circle-track-border-color-over-background: ButtonText;
--mod-progress-circle-thickness: var(--spectrum-progress-circle-thickness-medium);
- --mod-button-animation-duration: 0s;
- .spectrum-Button-label {
- forced-color-adjust: none;
- }
+ --highcontrast-button-focus-ring-color: ButtonText;
- &:focus-visible::after {
- forced-color-adjust: none;
- box-shadow: 0 0 0 var(--spectrum-button-focus-ring-thickness) ButtonText;
+ &:focus-visible {
+ &::after {
+ /* Make sure the box-shadow used for the focus indicator is displayed. */
+ forced-color-adjust: none;
+ }
}
- &.spectrum-Button--staticWhite.spectrum-Button--accent {
- --highcontrast-button-content-color-disabled: GrayText;
- }
-
- &.spectrum-Button--accent.spectrum-Button--fill {
+ &.spectrum-Button--accent,
+ &:not(.spectrum-Button--primary, .spectrum-Button--negative, .spectrum-Button--secondary, .spectrum-Button--staticBlack, .spectrum-Button--staticWhite) {
+ /* The accent fill variant looks different than the other buttons.
+ It inverts the background and content colors. */
--highcontrast-button-background-color-default: ButtonText;
+ --highcontrast-button-content-color-default: ButtonFace;
+
--highcontrast-button-background-color-hover: Highlight;
--highcontrast-button-background-color-down: Highlight;
--highcontrast-button-background-color-focus: Highlight;
- --highcontrast-button-background-color-disabled: ButtonFace;
- --highcontrast-button-content-color-default: ButtonFace;
--highcontrast-button-content-color-hover: HighlightText;
--highcontrast-button-content-color-down: HighlightText;
--highcontrast-button-content-color-focus: HighlightText;
- --highcontrast-button-border-color-default: ButtonText;
- --highcontrast-button-border-color-hover: Highlight;
- --highcontrast-button-border-color-focus: Highlight;
- --highcontrast-button-border-color-down: Highlight;
+ .spectrum-Button-label {
+ forced-color-adjust: none;
+ }
}
}
}
diff --git a/components/button/package.json b/components/button/package.json
index ef47658932f..f0413c02235 100644
--- a/components/button/package.json
+++ b/components/button/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/button",
- "version": "14.1.3",
+ "version": "15.0.0-next.0",
"description": "The Spectrum CSS button component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
"@spectrum-css/progresscircle": ">=5.0.0 <6.0.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
@@ -42,7 +42,7 @@
},
"devDependencies": {
"@spectrum-css/commons": "11.0.0",
- "@spectrum-css/icon": "9.1.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
"@spectrum-css/progresscircle": "5.1.0",
"@spectrum-css/tokens": "16.0.1"
},
diff --git a/components/button/stories/button.mdx b/components/button/stories/button.mdx
index 024a29f86e0..a20869868f5 100644
--- a/components/button/stories/button.mdx
+++ b/components/button/stories/button.mdx
@@ -1,24 +1,10 @@
-import {
- Meta,
- Title,
- Subtitle,
- Description,
- ArgTypes,
- Canvas,
-} from "@storybook/blocks";
-import {
- ComponentDetails,
- TaggedReleases,
- PropertiesTable,
-} from "@spectrum-css/preview/blocks";
-
-import * as ButtonStories from "./button.stories";
+import { Canvas, Meta, Description } from '@storybook/blocks';
+
+import * as ButtonStories from './button.stories';
-
-
-
+# Button
@@ -30,22 +16,32 @@ and secondary variants also have an outline option.
### Accent
-
+The call to action button communicates strong emphasis and is reserved for encouraging critical
+actions. In general, only use the emphasized option for the most important action on the page.
+
### Primary
-
+The primary button is for medium emphasis. Use it in place of a call to action button when the
+action requires less prominence, or if there are multiple primary actions of the same importance
+in the same view. Both the fill (default) and outline styles are demonstrated below:
+
### Secondary
-
+The secondary button is for low emphasis. It’s paired with other button types to surface less
+prominent actions, and should never be the only button in a group. Both the fill (default) and
+outline styles are demonstrated below:
+
### Negative
-
+The negative button is for emphasizing actions that can be destructive or have negative
+consequences if taken. Use it sparingly.
+
## Static color
@@ -55,65 +51,51 @@ option. Static color buttons do not change shades or values depending upon the c
### Static white - primary
-
+
### Static white - secondary
-
+
### Static black - primary
-
+
### Static black - secondary
-
+
## Sizing
-
+Buttons come in four different sizes: small, medium, large, and extra large. The medium size is
+the default and most frequently used option. Use the other sizes sparingly; they should be used
+to create a hierarchy of importance within the page.
+
## Pending state
-
+The pending button is for indicating that a quick progress action is taking place. In this case, the
+label and optional icon disappear and a progress circle appears. The progress circle always shows an
+indeterminate progress. We recommend the use of the `.is-pending` class on the component’s parent
+container, but there is also an option to use an attribute of `pending` instead. Buttons should have
+the disabled attribute when the pending state is applied.
+
## Disabled state
-
+A button in a disabled state shows that an action exists, but is not available in that circumstance.
+This state can be used to maintain layout continuity and to communicate that an action may become
+available later.
+
## Text overflow behavior
-
-
-
-## Disable text wrapping
-
-
-
-
-## Properties
-
-The component accepts the following inputs (properties):
-
-
-
-
-
-## Tagged releases
+When the button text is too long for the horizontal space available, it wraps to form another line.
+When there is no icon present, the text is aligned center. When there is an icon present, the text is
+aligned `start` (left with a writing direction of left-to-right) and the icon remains vertically aligned
+at the top.
-
+
\ No newline at end of file
diff --git a/components/button/stories/button.stories.js b/components/button/stories/button.stories.js
index 0dbefb09f65..8205cbde5c8 100644
--- a/components/button/stories/button.stories.js
+++ b/components/button/stories/button.stories.js
@@ -1,5 +1,5 @@
import { default as IconStories } from "@spectrum-css/icon/stories/icon.stories.js";
-import { Sizes } from "@spectrum-css/preview/decorators";
+import { Sizes, withDownStateDimensionCapture } from "@spectrum-css/preview/decorators";
import { disableDefaultModes } from "@spectrum-css/preview/modes";
import { isActive, isDisabled, isFocused, isHovered, isPending, size, staticColor } from "@spectrum-css/preview/types";
import metadata from "../dist/metadata.json";
@@ -89,10 +89,19 @@ export default {
type: "figma",
url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=707-2774",
},
+ html: {
+ root: "#render-root"
+ },
+ downState: {
+ selectors: [".spectrum-Button:not(:disabled)"],
+ },
packageJson,
metadata,
},
- tags: ["!autodocs"],
+ decorators: [
+ withDownStateDimensionCapture,
+ ],
+ tags: ["!autodocs", "migrated"],
};
export const Default = ButtonGroups.bind({});
diff --git a/components/button/stories/button.test.js b/components/button/stories/button.test.js
index bdc6ee37996..ad83defdf1e 100644
--- a/components/button/stories/button.test.js
+++ b/components/button/stories/button.test.js
@@ -60,8 +60,8 @@ const ButtonIconGroup = (args, context) => Container({
testHeading: "UI icon (larger)",
content: Template({
...args,
- // UI icon that is larger than workflow sizing:
- iconName: "ArrowDown600",
+ // Largest UI icon from UI icon set:
+ iconName: "Cross600",
iconSet: "ui",
}, context),
},
diff --git a/components/button/stories/template.js b/components/button/stories/template.js
index 16e259bd86f..1fa73697743 100644
--- a/components/button/stories/template.js
+++ b/components/button/stories/template.js
@@ -1,6 +1,6 @@
import { Template as Icon } from "@spectrum-css/icon/stories/template.js";
+import { Template as InfieldProgressCircle } from "@spectrum-css/infieldprogresscircle/stories/template.js";
import { Container, getRandomId } from "@spectrum-css/preview/decorators";
-import { Template as ProgressCircle } from "@spectrum-css/progresscircle/stories/template.js";
import { html } from "lit";
import { classMap } from "lit/directives/class-map.js";
import { ifDefined } from "lit/directives/if-defined.js";
@@ -9,9 +9,6 @@ import { when } from "lit/directives/when.js";
import { capitalize } from "lodash-es";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-Button",
@@ -92,15 +89,12 @@ export const Template = ({
Icon({ iconName, setName: iconSet, size }, context)
)}
${when(isPending, () =>
- ProgressCircle(
- {
- size: "s",
- testId: "progress-circle",
- staticColor,
- isIndeterminate: true,
- },
- context
- )
+ InfieldProgressCircle({
+ size: size,
+ staticColor,
+ isIndeterminate: true,
+ testId: "infield-progress-circle"
+ }, context)
)}
`;
diff --git a/components/button/themes/express.css b/components/button/themes/express.css
deleted file mode 100644
index 9c43b7cb5dc..00000000000
--- a/components/button/themes/express.css
+++ /dev/null
@@ -1,37 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
-
-@container style(--system: express) {
- .spectrum-Button {
- --mod-button-background-color-default: var(--spectrum-gray-200);
- --mod-button-background-color-hover: var(--spectrum-gray-300);
- --mod-button-background-color-down: var(--spectrum-gray-400);
- --mod-button-background-color-focus: var(--spectrum-gray-300);
-
- --mod-button-border-color-default: transparent;
- --mod-button-border-color-hover: transparent;
- --mod-button-border-color-down: transparent;
- --mod-button-border-color-focus: transparent;
-
- &.is-selected {
- --mod-button-background-color-default: var(--spectrum-neutral-background-color-default);
- --mod-button-background-color-hover: var(--spectrum-neutral-background-color-hover);
- --mod-button-background-color-down: var(--spectrum-neutral-background-color-down);
- --mod-button-background-color-focus: var(--spectrum-neutral-background-color-key-focus);
- }
- }
-}
diff --git a/components/button/themes/spectrum-two.css b/components/button/themes/spectrum-two.css
deleted file mode 100644
index 1c583941978..00000000000
--- a/components/button/themes/spectrum-two.css
+++ /dev/null
@@ -1,181 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-Button {
- --spectrum-button-background-color-default: var(--spectrum-gray-50);
- --spectrum-button-background-color-hover: var(--spectrum-gray-100);
- --spectrum-button-background-color-down: var(--spectrum-gray-200);
- --spectrum-button-background-color-focus: var(--spectrum-gray-100);
-
- --spectrum-button-border-color-default: var(--spectrum-gray-400);
- --spectrum-button-border-color-hover: var(--spectrum-gray-500);
- --spectrum-button-border-color-down: var(--spectrum-gray-600);
- --spectrum-button-border-color-focus: var(--spectrum-gray-500);
-
- --spectrum-button-background-color-disabled: transparent;
- --spectrum-button-border-color-disabled: var(--spectrum-disabled-border-color);
-
- &.is-selected {
- --mod-button-background-color-default: var(--spectrum-neutral-subdued-background-color-default);
- --mod-button-background-color-hover: var(--spectrum-neutral-subdued-background-color-hover);
- --mod-button-background-color-down: var(--spectrum-neutral-subdued-background-color-down);
- --mod-button-background-color-focus: var(--spectrum-neutral-subdued-background-color-key-focus);
- }
-
- &.spectrum-Button--primary {
- --mod-button-content-color-default: var(--spectrum-gray-25);
- --mod-button-content-color-hover: var(--spectrum-gray-25);
- --mod-button-content-color-down: var(--spectrum-gray-25);
- --mod-button-content-color-focus: var(--spectrum-gray-25);
-
- &.spectrum-Button--outline {
- --mod-button-background-color-hover: var(--spectrum-gray-200);
- --mod-button-background-color-down: var(--spectrum-gray-400);
- --mod-button-background-color-focus: var(--spectrum-gray-200);
- }
- }
-
- &.spectrum-Button--secondary {
- --mod-button-background-color-default: var(--spectrum-gray-100);
-
- &:not(.spectrum-Button--outline) {
- --mod-button-background-color-hover: var(--spectrum-gray-200);
- --mod-button-background-color-down: var(--spectrum-gray-400);
- --mod-button-background-color-focus: var(--spectrum-gray-200);
- }
-
- &.spectrum-Button--outline {
- --mod-button-background-color-hover: var(--spectrum-gray-200);
- --mod-button-background-color-down: var(--spectrum-gray-400);
- --mod-button-background-color-focus: var(--spectrum-gray-200);
-
- --mod-button-border-color-default: var(--spectrum-gray-200);
- }
- }
-
- /* static white: double the selector, double the fun (specificity...) */
- &.spectrum-Button--staticWhite {
- --mod-button-background-color-default: var(--spectrum-transparent-white-800);
- --mod-button-background-color-hover: var(--spectrum-transparent-white-900);
- --mod-button-background-color-down: var(--spectrum-transparent-white-900);
- --mod-button-background-color-focus: var(--spectrum-transparent-white-900);
-
- --mod-button-content-color-default: var(--spectrum-black);
- --mod-button-content-color-hover: var(--spectrum-black);
- --mod-button-content-color-down: var(--spectrum-black);
- --mod-button-content-color-focus: var(--spectrum-black);
-
- &.spectrum-Button--secondary {
- --mod-button-background-color-default: var(--spectrum-transparent-white-100);
- --mod-button-background-color-hover: var(--spectrum-transparent-white-200);
- --mod-button-background-color-down: var(--spectrum-transparent-white-200);
- --mod-button-background-color-focus: var(--spectrum-transparent-white-200);
-
- --mod-button-content-color-default: var(--spectrum-transparent-white-800);
- --mod-button-content-color-hover: var(--spectrum-transparent-white-900);
- --mod-button-content-color-down: var(--spectrum-transparent-white-900);
- --mod-button-content-color-focus: var(--spectrum-transparent-white-900);
-
- &.spectrum-Button--outline {
- --mod-button-border-color-default: var(--spectrum-transparent-white-300);
- --mod-button-border-color-hover: var(--spectrum-transparent-white-400);
- --mod-button-border-color-down: var(--spectrum-transparent-white-400);
- --mod-button-border-color-focus: var(--spectrum-transparent-white-400);
- }
- }
-
- &.spectrum-Button--outline {
- &:not(.spectrum-Button--secondary) {
- --mod-button-background-color-default: var(--spectrum-transparent-white-25);
- --mod-button-background-color-hover: var(--spectrum-transparent-white-100);
- --mod-button-background-color-down: var(--spectrum-transparent-white-100);
- --mod-button-background-color-focus: var(--spectrum-transparent-white-100);
-
- --mod-button-content-color-default: var(--spectrum-transparent-white-800);
- --mod-button-content-color-hover: var(--spectrum-transparent-white-900);
- --mod-button-content-color-down: var(--spectrum-transparent-white-900);
- --mod-button-content-color-focus: var(--spectrum-transparent-white-900);
-
- --mod-button-border-color-default: var(--spectrum-transparent-white-800);
- --mod-button-border-color-hover: var(--spectrum-transparent-white-900);
- --mod-button-border-color-down: var(--spectrum-transparent-white-900);
- --mod-button-border-color-focus: var(--spectrum-transparent-white-900);
- }
-
- &.spectrum-Button--secondary {
- --mod-button-background-color-hover: var(--spectrum-transparent-white-100);
- --mod-button-background-color-down: var(--spectrum-transparent-white-100);
- --mod-button-background-color-focus: var(--spectrum-transparent-white-100);
- }
- }
- }
-
- /* static black */
- &.spectrum-Button--staticBlack {
- --mod-button-background-color-default: var(--spectrum-transparent-black-800);
- --mod-button-background-color-hover: var(--spectrum-transparent-black-900);
- --mod-button-background-color-down: var(--spectrum-transparent-black-900);
- --mod-button-background-color-focus: var(--spectrum-transparent-black-900);
-
- --mod-button-content-color-default: var(--spectrum-white);
- --mod-button-content-color-hover: var(--spectrum-white);
- --mod-button-content-color-down: var(--spectrum-white);
- --mod-button-content-color-focus: var(--spectrum-white);
-
- &.spectrum-Button--secondary {
- --mod-button-background-color-default: var(--spectrum-transparent-black-100);
- --mod-button-background-color-hover: var(--spectrum-transparent-black-200);
- --mod-button-background-color-down: var(--spectrum-transparent-black-200);
- --mod-button-background-color-focus: var(--spectrum-transparent-black-200);
-
- --mod-button-content-color-default: var(--spectrum-transparent-black-800);
- --mod-button-content-color-hover: var(--spectrum-transparent-black-900);
- --mod-button-content-color-down: var(--spectrum-transparent-black-900);
- --mod-button-content-color-focus: var(--spectrum-transparent-black-900);
-
- &.spectrum-Button--outline {
- --mod-button-border-color-default: var(--spectrum-transparent-black-300);
- --mod-button-border-color-hover: var(--spectrum-transparent-black-400);
- --mod-button-border-color-down: var(--spectrum-transparent-black-400);
- --mod-button-border-color-focus: var(--spectrum-transparent-black-400);
- }
- }
-
- &.spectrum-Button--outline {
- &:not(.spectrum-Button--secondary) {
- --mod-button-background-color-default: var(--spectrum-transparent-black-25);
- --mod-button-background-color-hover: var(--spectrum-transparent-black-100);
- --mod-button-background-color-down: var(--spectrum-transparent-black-100);
- --mod-button-background-color-focus: var(--spectrum-transparent-black-100);
-
- --mod-button-content-color-default: var(--spectrum-transparent-black-800);
- --mod-button-content-color-hover: var(--spectrum-transparent-black-900);
- --mod-button-content-color-down: var(--spectrum-transparent-black-900);
- --mod-button-content-color-focus: var(--spectrum-transparent-black-900);
-
- --mod-button-border-color-default: var(--spectrum-transparent-black-800);
- --mod-button-border-color-hover: var(--spectrum-transparent-black-900);
- --mod-button-border-color-down: var(--spectrum-transparent-black-900);
- --mod-button-border-color-focus: var(--spectrum-transparent-black-900);
- }
-
- &.spectrum-Button--secondary {
- --mod-button-background-color-hover: var(--spectrum-transparent-black-100);
- --mod-button-background-color-down: var(--spectrum-transparent-black-100);
- --mod-button-background-color-focus: var(--spectrum-transparent-black-100);
- }
- }
- }
- }
-}
diff --git a/components/button/themes/spectrum.css b/components/button/themes/spectrum.css
deleted file mode 100644
index 75d3d9623f3..00000000000
--- a/components/button/themes/spectrum.css
+++ /dev/null
@@ -1,133 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-Button {
- --mod-button-background-color-default: var(--spectrum-gray-75);
- --mod-button-background-color-hover: var(--spectrum-gray-200);
- --mod-button-background-color-down: var(--spectrum-gray-300);
- --mod-button-background-color-focus: var(--spectrum-gray-200);
-
- &.spectrum-Button--primary {
- --mod-button-content-color-default: var(--spectrum-white);
- --mod-button-content-color-hover: var(--spectrum-white);
- --mod-button-content-color-down: var(--spectrum-white);
- --mod-button-content-color-focus: var(--spectrum-white);
-
- &.spectrum-Button--outline {
- --mod-button-background-color-hover: var(--spectrum-gray-300);
- --mod-button-background-color-focus: var(--spectrum-gray-300);
- }
- }
-
- &.spectrum-Button--secondary {
- --mod-button-background-color-default: var(--spectrum-gray-200);
-
- &:not(.spectrum-Button--outline) {
- --mod-button-background-color-hover: var(--spectrum-gray-300);
- --mod-button-background-color-focus: var(--spectrum-gray-300);
- }
-
- &.spectrum-Button--outline {
- --mod-button-background-color-hover: var(--spectrum-gray-300);
- --mod-button-background-color-focus: var(--spectrum-gray-300);
-
- --mod-button-border-color-default: var(--spectrum-gray-300);
- }
- }
-
- &.spectrum-Button--staticWhite {
- --mod-button-background-color-default: var(--spectrum-transparent-white-800);
- --mod-button-background-color-hover: var(--spectrum-transparent-white-900);
- --mod-button-background-color-down: var(--spectrum-transparent-white-900);
- --mod-button-background-color-focus: var(--spectrum-transparent-white-900);
-
- &.spectrum-Button--secondary {
- --mod-button-background-color-default: var(--spectrum-transparent-white-200);
- --mod-button-background-color-hover: var(--spectrum-transparent-white-300);
- --mod-button-background-color-down: var(--spectrum-transparent-white-400);
- --mod-button-background-color-focus: var(--spectrum-transparent-white-300);
-
- &.spectrum-Button--outline {
- --mod-button-border-color-default: var(--spectrum-transparent-white-300);
- --mod-button-border-color-hover: var(--spectrum-transparent-white-400);
- --mod-button-border-color-down: var(--spectrum-transparent-white-500);
- --mod-button-border-color-focus: var(--spectrum-transparent-white-400);
- }
- }
-
- &.spectrum-Button--outline {
- &:not(.spectrum-Button--secondary) {
- --mod-button-background-color-hover: var(--spectrum-transparent-white-300);
- --mod-button-background-color-down: var(--spectrum-transparent-white-400);
- --mod-button-background-color-focus: var(--spectrum-transparent-white-300);
-
- --mod-button-border-color-default: var(--spectrum-transparent-white-800);
- --mod-button-border-color-hover: var(--spectrum-transparent-white-900);
- --mod-button-border-color-down: var(--spectrum-transparent-white-900);
- --mod-button-border-color-focus: var(--spectrum-transparent-white-900);
- }
-
- &.spectrum-Button--secondary {
- --mod-button-background-color-hover: var(--spectrum-transparent-white-300);
- --mod-button-background-color-down: var(--spectrum-transparent-white-400);
- --mod-button-background-color-focus: var(--spectrum-transparent-white-300);
- }
- }
- }
-
- &.spectrum-Button--staticBlack {
- --mod-button-background-color-default: var(--spectrum-transparent-black-800);
- --mod-button-background-color-hover: var(--spectrum-transparent-black-900);
- --mod-button-background-color-down: var(--spectrum-transparent-black-900);
- --mod-button-background-color-focus: var(--spectrum-transparent-black-900);
-
- &.spectrum-Button--secondary {
- --mod-button-background-color-default: var(--spectrum-transparent-black-200);
- --mod-button-background-color-hover: var(--spectrum-transparent-black-300);
- --mod-button-background-color-down: var(--spectrum-transparent-black-400);
- --mod-button-background-color-focus: var(--spectrum-transparent-black-300);
-
- &.spectrum-Button--outline {
- --mod-button-border-color-default: var(--spectrum-transparent-black-300);
- --mod-button-border-color-hover: var(--spectrum-transparent-black-400);
- --mod-button-border-color-down: var(--spectrum-transparent-black-500);
- --mod-button-border-color-focus: var(--spectrum-transparent-black-400);
- }
- }
-
- &.spectrum-Button--outline {
- &:not(.spectrum-Button--secondary) {
- --mod-button-background-color-hover: var(--spectrum-transparent-black-300);
- --mod-button-background-color-down: var(--spectrum-transparent-black-400);
- --mod-button-background-color-focus: var(--spectrum-transparent-black-300);
-
- --mod-button-border-color-default: var(--spectrum-transparent-black-400);
- --mod-button-border-color-hover: var(--spectrum-transparent-black-500);
- --mod-button-border-color-down: var(--spectrum-transparent-black-600);
- --mod-button-border-color-focus: var(--spectrum-transparent-black-500);
- }
-
- &.spectrum-Button--secondary {
- --mod-button-background-color-hover: var(--spectrum-transparent-black-300);
- --mod-button-background-color-down: var(--spectrum-transparent-black-400);
- --mod-button-background-color-focus: var(--spectrum-transparent-black-300);
- }
- }
- }
- }
-}
diff --git a/components/buttongroup/CHANGELOG.md b/components/buttongroup/CHANGELOG.md
index 70e37339222..ede85e4bacb 100644
--- a/components/buttongroup/CHANGELOG.md
+++ b/components/buttongroup/CHANGELOG.md
@@ -1,5 +1,12 @@
# Change log
+## 10.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @spectrum-css/button@15.0.0-next.0
+
## 9.1.0
### Minor Changes
@@ -186,6 +193,7 @@ Output for all component CSS files is now being run through a lightweight optimi
## 6.2.5
🗓 2024-03-07 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/buttongroup@6.2.4...@spectrum-css/buttongroup@6.2.5)
+
**Note:** Version bump only for package @spectrum-css/buttongroup
## 6.2.4
@@ -241,6 +249,7 @@ Output for all component CSS files is now being run through a lightweight optimi
## 6.1.13
🗓 2023-11-13 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/buttongroup@6.1.12...@spectrum-css/buttongroup@6.1.13)
+
**Note:** Version bump only for package @spectrum-css/buttongroup
## 6.1.12
@@ -294,6 +303,7 @@ Output for all component CSS files is now being run through a lightweight optimi
## 6.1.4
🗓 2023-08-31 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/buttongroup@6.1.3...@spectrum-css/buttongroup@6.1.4)
+
**Note:** Version bump only for package @spectrum-css/buttongroup
## 6.1.3
@@ -351,6 +361,7 @@ Output for all component CSS files is now being run through a lightweight optimi
## 6.0.59
🗓 2023-08-03 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/buttongroup@6.0.58...@spectrum-css/buttongroup@6.0.59)
+
**Note:** Version bump only for package @spectrum-css/buttongroup
## 6.0.58
diff --git a/components/buttongroup/dist/metadata.json b/components/buttongroup/dist/metadata.json
index 38d29f26e39..04dc22bce0f 100644
--- a/components/buttongroup/dist/metadata.json
+++ b/components/buttongroup/dist/metadata.json
@@ -7,6 +7,7 @@
".spectrum-ButtonGroup.spectrum-ButtonGroup--vertical"
],
"modifiers": [
+ "--mod-buttongroup-flex-wrap",
"--mod-buttongroup-justify-content",
"--mod-buttongroup-spacing",
"--mod-buttongroup-spacing-horizontal",
@@ -19,7 +20,6 @@
"--spectrum-buttongroup-spacing"
],
"global": ["--spectrum-spacing-200", "--spectrum-spacing-300"],
- "system-theme": [],
"passthroughs": [],
"high-contrast": []
}
diff --git a/components/buttongroup/index.css b/components/buttongroup/index.css
index 05019824787..0d65d39c0f2 100644
--- a/components/buttongroup/index.css
+++ b/components/buttongroup/index.css
@@ -35,7 +35,7 @@
.spectrum-ButtonGroup {
display: var(--spectrum-buttongroup-display);
flex-direction: var(--spectrum-buttongroup-flex-direction);
- flex-wrap: wrap;
+ flex-wrap: var(--mod-buttongroup-flex-wrap, wrap);
gap: var(--spectrum-buttongroup-spacing);
justify-content: var(--spectrum-buttongroup-justify-content);
diff --git a/components/buttongroup/package.json b/components/buttongroup/package.json
index 1263e084a1b..831fdc4a37a 100644
--- a/components/buttongroup/package.json
+++ b/components/buttongroup/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/buttongroup",
- "version": "9.1.0",
+ "version": "10.0.0-next.0",
"description": "The Spectrum CSS buttongroup component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/button": ">=14.0.0 <15.0.0",
+ "@spectrum-css/button": ">=15.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -37,7 +37,7 @@
}
},
"devDependencies": {
- "@spectrum-css/button": "14.1.3",
+ "@spectrum-css/button": "15.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/buttongroup/stories/buttongroup.stories.js b/components/buttongroup/stories/buttongroup.stories.js
index ba7e125de76..79d78b47168 100644
--- a/components/buttongroup/stories/buttongroup.stories.js
+++ b/components/buttongroup/stories/buttongroup.stories.js
@@ -65,6 +65,7 @@ export default {
packageJson,
metadata,
},
+ tags: ["migrated"],
};
export const Default = ButtonGroup.bind({});
@@ -74,7 +75,7 @@ Default.tags = ["!autodocs"];
// ********* DOCS ONLY ********* //
/**
- * Default spacing for Medium, Large, and Extra Large t-shirt sizes.
+ * Default horizontal spacing for when using medium, large, and extra large buttons.
*/
export const Horizontal = Template.bind({});
Horizontal.tags = ["!dev"];
@@ -87,7 +88,7 @@ Horizontal.parameters = {
};
/**
- * Spacing for the Small t-shirt size.
+ * Horizontal spacing for the small t-shirt size. Should be used with small buttons.
*/
export const HorizontalSmall = Template.bind({});
HorizontalSmall.tags = ["!dev"];
@@ -102,7 +103,7 @@ HorizontalSmall.parameters = {
};
/**
- * Default spacing for Medium, Large, and Extra Large t-shirt sizes
+ * Default vertical spacing for when using medium, large, and extra large buttons.
*/
export const Vertical = ButtonGroup.bind({});
Vertical.tags = ["!dev"];
@@ -117,7 +118,7 @@ Vertical.parameters = {
};
/**
- * Spacing for the Small t-shirt size.
+ * Vertical spacing for the small t-shirt size. Should be used with small buttons.
*/
export const VerticalSmall = Template.bind({});
VerticalSmall.tags = ["!dev"];
diff --git a/components/calendar/CHANGELOG.md b/components/calendar/CHANGELOG.md
index 0cc62e26aa8..6ec9484bcab 100644
--- a/components/calendar/CHANGELOG.md
+++ b/components/calendar/CHANGELOG.md
@@ -1,5 +1,12 @@
# Change log
+## 8.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @spectrum-css/actionbutton@8.0.0-next.0
+
## 7.1.0
### Minor Changes
diff --git a/components/calendar/dist/metadata.json b/components/calendar/dist/metadata.json
index 676c81a041f..c4901c2be46 100644
--- a/components/calendar/dist/metadata.json
+++ b/components/calendar/dist/metadata.json
@@ -176,7 +176,6 @@
"--spectrum-neutral-subdued-content-color-default",
"--spectrum-regular-font-weight"
],
- "system-theme": ["--system-calendar-day-background-color-selected-disabled"],
"passthroughs": [
"--mod-actionbutton-content-color-default",
"--mod-actionbutton-edge-to-text",
diff --git a/components/calendar/index.css b/components/calendar/index.css
index 2ca1bc289aa..68b3c73e049 100644
--- a/components/calendar/index.css
+++ b/components/calendar/index.css
@@ -11,9 +11,9 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
.spectrum-Calendar {
+ --spectrum-calendar-day-background-color-selected-disabled: rgba(var(--spectrum-gray-100-rgb), 0.4);
+
--spectrum-calendar-day-width: var(--mod-calendar-day-width, var(--spectrum-component-height-100));
--spectrum-calendar-day-height: var(--mod-calendar-day-height, var(--spectrum-component-height-100));
--spectrum-calendar-day-border-size: var(--mod-calendar-day-border-size, var(--spectrum-border-width-200));
@@ -48,6 +48,7 @@
--spectrum-calendar-day-background: var(--mod-calendar-day-background-color, transparent);
--spectrum-calendar-day-background-selected: var(--highcontrast-calendar-day-background-selected, var(--mod-calendar-day-background-color-selected, var(--spectrum-calendar-day-background-color-selected)));
--spectrum-calendar-day-background-selected-hover: var(--highcontrast-calendar-day-background-selected-hover, var(--mod-calendar-day-background-color-selected-hover, var(--spectrum-calendar-day-background-color-selected-hover)));
+ --spectrum-calendar-day-background-color-selected-disabled: rgba(var(--spectrum-gray-100-rgb), 0.4);
--spectrum-calendar-day-background-cap-selected: var(--highcontrast-calendar-day-background-cap-selected, var(--mod-calendar-day-background-color-cap-selected, var(--spectrum-calendar-day-background-color-cap-selected)));
--spectrum-calendar-day-background-hover: var(--highcontrast-calendar-day-background-hover, var(--mod-calendar-day-background-color-hover, var(--spectrum-calendar-day-background-color-hover)));
--spectrum-calendar-day-background-focus: var(--highcontrast-calendar-day-background-focus, var(--mod-calendar-day-background-color-key-focus, var(--spectrum-calendar-day-background-color-key-focus)));
@@ -170,8 +171,7 @@
.spectrum-Calendar-prevMonth,
.spectrum-Calendar-nextMonth {
- /* @passthrough start */
- /* Mimic the placement and sizing of the dates in the grid below */
+ /* @passthrough start -- mimic the placement and sizing of the dates in the grid below */
--mod-actionbutton-edge-to-text: var(--spectrum-calendar-day-padding);
--mod-actionbutton-min-width: var(--spectrum-calendar-day-width);
--mod-actionbutton-content-color-default: var(--spectrum-calendar-button-icon-color);
diff --git a/components/calendar/package.json b/components/calendar/package.json
index ea166a2eb6e..208ad51c174 100644
--- a/components/calendar/package.json
+++ b/components/calendar/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/calendar",
- "version": "7.1.0",
+ "version": "8.0.0-next.0",
"description": "The Spectrum CSS calendar component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/actionbutton": ">=7.0.0 <8.0.0",
+ "@spectrum-css/actionbutton": ">=8.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -37,7 +37,7 @@
}
},
"devDependencies": {
- "@spectrum-css/actionbutton": "7.1.2",
+ "@spectrum-css/actionbutton": "8.0.0-next.1",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/calendar/stories/template.js b/components/calendar/stories/template.js
index 19c70fe9395..863f5e8d113 100644
--- a/components/calendar/stories/template.js
+++ b/components/calendar/stories/template.js
@@ -8,9 +8,6 @@ import { repeat } from "lit/directives/repeat.js";
import { styleMap } from "lit/directives/style-map.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-Calendar",
diff --git a/components/calendar/themes/express.css b/components/calendar/themes/express.css
deleted file mode 100644
index 9fd550418f2..00000000000
--- a/components/calendar/themes/express.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
diff --git a/components/calendar/themes/spectrum-two.css b/components/calendar/themes/spectrum-two.css
deleted file mode 100644
index b14c7134359..00000000000
--- a/components/calendar/themes/spectrum-two.css
+++ /dev/null
@@ -1,18 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-Calendar {
- --spectrum-calendar-day-background-color-selected-disabled: rgba(var(--spectrum-gray-100-rgb), 0.4);
- }
-}
diff --git a/components/calendar/themes/spectrum.css b/components/calendar/themes/spectrum.css
deleted file mode 100644
index 368d50d51e8..00000000000
--- a/components/calendar/themes/spectrum.css
+++ /dev/null
@@ -1,22 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-Calendar {
- --spectrum-calendar-day-background-color-selected-disabled: rgba(var(--spectrum-gray-200-rgb), 0.4);
- }
-}
diff --git a/components/card/CHANGELOG.md b/components/card/CHANGELOG.md
index a406395a6c6..48b9f41578a 100644
--- a/components/card/CHANGELOG.md
+++ b/components/card/CHANGELOG.md
@@ -1,5 +1,14 @@
# Change log
+## 12.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+ - @spectrum-css/actionbutton@8.0.0-next.0
+ - @spectrum-css/checkbox@11.0.0-next.0
+
## 11.1.0
### Minor Changes
diff --git a/components/card/dist/metadata.json b/components/card/dist/metadata.json
index 54eb899211d..56e8fcaac8c 100644
--- a/components/card/dist/metadata.json
+++ b/components/card/dist/metadata.json
@@ -55,7 +55,6 @@
".spectrum-Card.is-drop-target",
".spectrum-Card.is-focused .spectrum-Card-actions",
".spectrum-Card.is-focused .spectrum-Card-quickActions",
- ".spectrum-Card.is-selected",
".spectrum-Card.is-selected .spectrum-Card-actions",
".spectrum-Card.is-selected .spectrum-Card-quickActions",
".spectrum-Card.is-selected:before",
@@ -155,6 +154,7 @@
"--spectrum-card-body-spacing",
"--spectrum-card-border-color",
"--spectrum-card-border-color-hover",
+ "--spectrum-card-border-color-selected",
"--spectrum-card-border-width",
"--spectrum-card-content-margin-bottom",
"--spectrum-card-content-margin-top",
@@ -215,13 +215,6 @@
"--spectrum-spacing-300",
"--spectrum-spacing-400"
],
- "system-theme": [
- "--system-card-border-color",
- "--system-card-border-color-hover",
- "--system-card-divider-color",
- "--system-card-preview-background-color",
- "--system-card-preview-background-color-hover"
- ],
"passthroughs": [],
"high-contrast": []
}
diff --git a/components/card/index.css b/components/card/index.css
index f56599c17c4..0d41d088761 100644
--- a/components/card/index.css
+++ b/components/card/index.css
@@ -11,9 +11,13 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
.spectrum-Card {
+ --spectrum-card-border-color: var(--spectrum-gray-100);
+ --spectrum-card-border-color-hover: var(--spectrum-gray-200);
+ --spectrum-card-divider-color: var(--spectrum-gray-200);
+ --spectrum-card-preview-background-color: var(--spectrum-gray-100);
+ --spectrum-card-preview-background-color-hover: var(--spectrum-gray-200);
+
/* Default Layout */
--spectrum-card-background-color: var(--mod-card-background-color, var(--spectrum-background-layer-2-color));
--spectrum-card-body-spacing: var(--mod-card-body-spacing, var(--spectrum-spacing-400));
@@ -26,6 +30,7 @@
--spectrum-card-border-width: var(--mod-card-border-width, var(--spectrum-border-width-100));
--spectrum-card-corner-radius: var(--mod-card-corner-radius, var(--spectrum-corner-radius-100));
+ --spectrum-card-border-color-selected: var(--mod-card-border-color-selected, var(--spectrum-blue-700));
/* Typography */
--spectrum-card-title-font-family: var(--mod-card-title-font-family, var(--spectrum-sans-font-family-stack));
@@ -77,13 +82,6 @@
--spectrum-card-content-margin-top: var(--spectrum-spacing-100);
}
- &.is-selected,
- &.is-drop-target {
- --spectrum-card-border-color: var(--mod-card-border-color-selected, var(--spectrum-blue-700));
- }
-}
-
-.spectrum-Card {
position: relative;
display: inline-flex;
flex-direction: column;
diff --git a/components/card/package.json b/components/card/package.json
index c5874cf933e..b4981a2c5ce 100644
--- a/components/card/package.json
+++ b/components/card/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/card",
- "version": "11.1.0",
+ "version": "12.0.0-next.0",
"description": "The Spectrum CSS card component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,10 +25,10 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/actionbutton": ">=7.0.0 <8.0.0",
+ "@spectrum-css/actionbutton": ">=8.0.0-next.0",
"@spectrum-css/asset": ">=7.0.0 <8.0.0",
- "@spectrum-css/checkbox": ">=10.0.0 <11.0.0",
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
+ "@spectrum-css/checkbox": ">=11.0.0-next.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
"@spectrum-css/quickaction": ">=3",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0",
"@spectrum-css/typography": ">=8.0.0 <9.0.0"
@@ -57,10 +57,10 @@
}
},
"devDependencies": {
- "@spectrum-css/actionbutton": "7.1.2",
+ "@spectrum-css/actionbutton": "8.0.0-next.1",
"@spectrum-css/asset": "7.1.0",
- "@spectrum-css/checkbox": "10.1.2",
- "@spectrum-css/icon": "9.1.0",
+ "@spectrum-css/checkbox": "11.0.0-next.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
"@spectrum-css/tokens": "16.0.1",
"@spectrum-css/typography": "8.1.0"
},
diff --git a/components/card/stories/template.js b/components/card/stories/template.js
index d1d226c7b0e..09eb0360803 100644
--- a/components/card/stories/template.js
+++ b/components/card/stories/template.js
@@ -11,9 +11,6 @@ import { styleMap } from "lit/directives/style-map.js";
import { when } from "lit/directives/when.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-Card",
diff --git a/components/card/themes/express.css b/components/card/themes/express.css
deleted file mode 100644
index 9fd550418f2..00000000000
--- a/components/card/themes/express.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
diff --git a/components/card/themes/spectrum-two.css b/components/card/themes/spectrum-two.css
deleted file mode 100644
index 2ef275418ee..00000000000
--- a/components/card/themes/spectrum-two.css
+++ /dev/null
@@ -1,22 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-Card {
- --spectrum-card-border-color: var(--spectrum-gray-100);
- --spectrum-card-border-color-hover: var(--spectrum-gray-200);
- --spectrum-card-divider-color: var(--spectrum-gray-200);
- --spectrum-card-preview-background-color: var(--spectrum-gray-100);
- --spectrum-card-preview-background-color-hover: var(--spectrum-gray-200);
- }
-}
diff --git a/components/card/themes/spectrum.css b/components/card/themes/spectrum.css
deleted file mode 100644
index a1906d601bd..00000000000
--- a/components/card/themes/spectrum.css
+++ /dev/null
@@ -1,26 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-Card {
- --spectrum-card-border-color: var(--spectrum-gray-200);
- --spectrum-card-border-color-hover: var(--spectrum-gray-300);
- --spectrum-card-divider-color: var(--spectrum-gray-300);
- --spectrum-card-preview-background-color: var(--spectrum-background-base-color);
- --spectrum-card-preview-background-color-hover: var(--spectrum-gray-300);
- }
-}
diff --git a/components/checkbox/CHANGELOG.md b/components/checkbox/CHANGELOG.md
index 8e1ef7fc84d..e33a4762bc4 100644
--- a/components/checkbox/CHANGELOG.md
+++ b/components/checkbox/CHANGELOG.md
@@ -1,10 +1,17 @@
# Change log
+## 11.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+
## 10.1.2
### Patch Changes
-📝 [#3617](https://github.com/adobe/spectrum-css/pull/3617) [`a02f1d1`](https://github.com/adobe/spectrum-css/commit/a02f1d13d07106465a3236c5bfe3d029f3e64426) Thanks [@marissahuysentruyt](https://github.com/marissahuysentruyt)!
+📝 [#3617](https://github.com/adobe/spectrum-css/pull/3617) [`a02f1d1`](https://github.com/adobe/spectrum-css/commit/a02f1d13d07106465a3236c5bfe3d029f3e64426) Thanks [@marissahuysentruyt](https://github.com/marissahuysentruyt)!
Adds a `::before` pseudo element to properly target the `.spectrum-Checkbox-input:checked + .spectrum-Checkbox-box` element. The selector update, specifically in the invalid+checked+hover state should now get the proper error background color, as opposed to the default background color.
@@ -212,6 +219,7 @@ Output for all component CSS files is now being run through a lightweight optimi
### 🛑 BREAKING CHANGE
- Removes component-builder & component-builder-simple for script leveraging postcss
+
- Imports added to index.css and themes/express.css
## 8.1.5
diff --git a/components/checkbox/dist/metadata.json b/components/checkbox/dist/metadata.json
index 695a4df09f6..5f2d712964c 100644
--- a/components/checkbox/dist/metadata.json
+++ b/components/checkbox/dist/metadata.json
@@ -28,7 +28,6 @@
".spectrum-Checkbox--emphasized:focus-visible .spectrum-Checkbox-input:checked + .spectrum-Checkbox-box:before",
".spectrum-Checkbox--emphasized:hover .spectrum-Checkbox-input:checked + .spectrum-Checkbox-box:before",
".spectrum-Checkbox--sizeL",
- ".spectrum-Checkbox--sizeM",
".spectrum-Checkbox--sizeS",
".spectrum-Checkbox--sizeXL",
".spectrum-Checkbox-box",
@@ -77,7 +76,8 @@
".spectrum-Checkbox:active .spectrum-Checkbox-label",
".spectrum-Checkbox:hover .spectrum-Checkbox-box:before",
".spectrum-Checkbox:hover .spectrum-Checkbox-input:checked + .spectrum-Checkbox-box:before",
- ".spectrum-Checkbox:hover .spectrum-Checkbox-label"
+ ".spectrum-Checkbox:hover .spectrum-Checkbox-label",
+ ".spectrum-Checkbox:not(.is-readOnly):active .spectrum-Checkbox-input:not(:disabled) + .spectrum-Checkbox-box"
],
"modifiers": [
"--mod-checkbox-animation-duration",
@@ -175,10 +175,15 @@
"--spectrum-component-height-200",
"--spectrum-component-height-300",
"--spectrum-component-height-75",
+ "--spectrum-component-size-difference-down",
+ "--spectrum-component-size-minimum-perspective-down",
"--spectrum-component-top-to-text-100",
"--spectrum-component-top-to-text-200",
"--spectrum-component-top-to-text-300",
"--spectrum-component-top-to-text-75",
+ "--spectrum-corner-radius-small-size-extra-large",
+ "--spectrum-corner-radius-small-size-large",
+ "--spectrum-corner-radius-small-size-small",
"--spectrum-disabled-content-color",
"--spectrum-focus-indicator-color",
"--spectrum-focus-indicator-gap",
@@ -207,14 +212,6 @@
"--spectrum-text-to-control-300",
"--spectrum-text-to-control-75"
],
- "system-theme": [
- "--system-checkbox-checkmark-color",
- "--system-checkbox-control-color-default",
- "--system-checkbox-control-color-down",
- "--system-checkbox-control-color-focus",
- "--system-checkbox-control-color-hover",
- "--system-checkbox-control-corner-radius"
- ],
"passthroughs": [],
"high-contrast": [
"--highcontrast-checkbox-background-color-default",
diff --git a/components/checkbox/index.css b/components/checkbox/index.css
index 3c1a7782398..32779ee084c 100644
--- a/components/checkbox/index.css
+++ b/components/checkbox/index.css
@@ -11,14 +11,21 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
/*
* .spectrum-Checkbox-box::before is the Checkbox "box"
* .spectrum-Checkbox-box::after is the focus indicator
*/
.spectrum-Checkbox {
+ --spectrum-checkbox-control-color-default: var(--spectrum-neutral-content-color-default);
+ --spectrum-checkbox-control-color-hover: var(--spectrum-gray-700);
+ --spectrum-checkbox-control-color-down: var(--spectrum-gray-800);
+ --spectrum-checkbox-control-color-focus: var(--spectrum-gray-700);
+
+ --spectrum-checkbox-control-corner-radius: 2px;
+
+ --spectrum-checkbox-checkmark-color: var(--highcontrast-checkbox-background-color-default, var(--mod-checkbox-checkmark-color, var(--spectrum-gray-50)));
+
/* Color */
--spectrum-checkbox-content-color-default: var(--spectrum-neutral-content-color-default);
--spectrum-checkbox-content-color-hover: var(--spectrum-neutral-content-color-hover);
@@ -49,6 +56,10 @@
--spectrum-checkbox-line-height: var(--spectrum-line-height-100);
--spectrum-checkbox-line-height-cjk: var(--spectrum-cjk-line-height-100);
+ /* Size */
+ --spectrum-checkbox-height: var(--spectrum-component-height-100);
+ --spectrum-checkbox-control-size: var(--spectrum-checkbox-control-size-medium);
+
--spectrum-checkbox-focus-indicator-gap: var(--spectrum-focus-indicator-gap);
--spectrum-checkbox-focus-indicator-thickness: var(--spectrum-focus-indicator-thickness);
@@ -56,20 +67,16 @@
--spectrum-checkbox-selected-border-width: calc(var(--spectrum-checkbox-control-size) / 2);
--spectrum-checkbox-animation-duration: var(--spectrum-animation-duration-100);
-}
-.spectrum-Checkbox,
-.spectrum-Checkbox--sizeM {
--spectrum-checkbox-font-size: var(--spectrum-font-size-100);
- --spectrum-checkbox-height: var(--spectrum-component-height-100);
- --spectrum-checkbox-control-size: var(--spectrum-checkbox-control-size-medium);
-
--spectrum-checkbox-top-to-text: var(--spectrum-component-top-to-text-100);
--spectrum-checkbox-text-to-control: var(--spectrum-text-to-control-100);
}
.spectrum-Checkbox--sizeS {
+ --spectrum-checkbox-control-corner-radius: var(--spectrum-corner-radius-small-size-small);
+
--spectrum-checkbox-font-size: var(--spectrum-font-size-75);
--spectrum-checkbox-height: var(--spectrum-component-height-75);
@@ -80,6 +87,8 @@
}
.spectrum-Checkbox--sizeL {
+ --spectrum-checkbox-control-corner-radius: var(--spectrum-corner-radius-small-size-large);
+
--spectrum-checkbox-font-size: var(--spectrum-font-size-200);
--spectrum-checkbox-height: var(--spectrum-component-height-200);
@@ -90,6 +99,8 @@
}
.spectrum-Checkbox--sizeXL {
+ --spectrum-checkbox-control-corner-radius: var(--spectrum-corner-radius-small-size-extra-large);
+
--spectrum-checkbox-font-size: var(--spectrum-font-size-300);
--spectrum-checkbox-height: var(--spectrum-component-height-300);
@@ -141,6 +152,12 @@
}
}
+ &:not(.is-readOnly):active {
+ .spectrum-Checkbox-input:not(:disabled) + .spectrum-Checkbox-box {
+ transform: perspective(var(--spectrum-component-size-minimum-perspective-down)) translateZ(var(--spectrum-component-size-difference-down));
+ }
+ }
+
/* Selected Invalid */
&.is-invalid {
.spectrum-Checkbox-input:checked + .spectrum-Checkbox-box,
@@ -176,7 +193,7 @@
.spectrum-Checkbox-input:checked {
&:disabled + .spectrum-Checkbox-box::before {
border-color: var(--highcontrast-checkbox-color-default, var(--mod-checkbox-control-selected-color-default, var(--spectrum-checkbox-control-selected-color-default)));
- background-color: var(--highcontrast-checkbox-background-color-default, var(--mod-checkbox-checkmark-color, var(--spectrum-checkbox-checkmark-color)));
+ background-color: var(--spectrum-checkbox-checkmark-color);
}
&:disabled ~ .spectrum-Checkbox-label {
@@ -398,7 +415,7 @@
&:checked + .spectrum-Checkbox-box {
&::before {
border-color: var(--highcontrast-checkbox-highlight-color-default, var(--mod-checkbox-control-selected-color-default, var(--spectrum-checkbox-control-selected-color-default)));
- background-color: var(--mod-checkbox-checkmark-color, var(--spectrum-checkbox-checkmark-color));
+ background-color: var(--spectrum-checkbox-checkmark-color);
border-width: var(--mod-checkbox-selected-border-width, var(--spectrum-checkbox-selected-border-width));
}
@@ -496,7 +513,7 @@
.spectrum-Checkbox {
.spectrum-Checkbox-checkmark,
.spectrum-Checkbox-partialCheckmark {
- color: var(--highcontrast-checkbox-background-color-default, var(--mod-checkbox-checkmark-color, var(--spectrum-checkbox-checkmark-color)));
+ color: var(--spectrum-checkbox-checkmark-color);
opacity: 0;
transform: scale(0);
@@ -517,7 +534,7 @@
&::before {
border-color: var(--highcontrast-checkbox-disabled-color-default, var(--mod-checkbox-control-color-disabled, var(--spectrum-checkbox-control-color-disabled)));
- background-color: var(--highcontrast-checkbox-background-color-default, var(--mod-checkbox-checkmark-color, var(--spectrum-checkbox-checkmark-color)));
+ background-color: var(--spectrum-checkbox-checkmark-color);
}
}
diff --git a/components/checkbox/package.json b/components/checkbox/package.json
index 0ab46e4713c..ed21a333ac1 100644
--- a/components/checkbox/package.json
+++ b/components/checkbox/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/checkbox",
- "version": "10.1.2",
+ "version": "11.0.0-next.0",
"description": "The Spectrum CSS checkbox component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -37,7 +37,7 @@
}
},
"devDependencies": {
- "@spectrum-css/icon": "9.1.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/checkbox/stories/template.js b/components/checkbox/stories/template.js
index ebeaba0e276..989fdf7e7f5 100644
--- a/components/checkbox/stories/template.js
+++ b/components/checkbox/stories/template.js
@@ -7,9 +7,6 @@ import { styleMap } from "lit/directives/style-map.js";
import { when } from "lit/directives/when.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-Checkbox",
diff --git a/components/checkbox/themes/express.css b/components/checkbox/themes/express.css
deleted file mode 100644
index 1c84aa5f83b..00000000000
--- a/components/checkbox/themes/express.css
+++ /dev/null
@@ -1,25 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
-
-@container style(--system: express) {
- .spectrum-Checkbox {
- --spectrum-checkbox-control-color-default: var(--spectrum-gray-800);
- --spectrum-checkbox-control-color-hover: var(--spectrum-gray-900);
- --spectrum-checkbox-control-color-down: var(--spectrum-gray-900);
- --spectrum-checkbox-control-color-focus: var(--spectrum-gray-900);
- }
-}
diff --git a/components/checkbox/themes/spectrum-two.css b/components/checkbox/themes/spectrum-two.css
deleted file mode 100644
index 4b7d8a675f8..00000000000
--- a/components/checkbox/themes/spectrum-two.css
+++ /dev/null
@@ -1,24 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-Checkbox {
- --spectrum-checkbox-control-color-default: var(--spectrum-neutral-content-color-default);
- --spectrum-checkbox-control-color-hover: var(--spectrum-gray-700);
- --spectrum-checkbox-control-color-down: var(--spectrum-gray-800);
- --spectrum-checkbox-control-color-focus: var(--spectrum-gray-700);
-
- --spectrum-checkbox-checkmark-color: var(--spectrum-gray-50);
- --spectrum-checkbox-control-corner-radius: 2px;
- }
-}
diff --git a/components/checkbox/themes/spectrum.css b/components/checkbox/themes/spectrum.css
deleted file mode 100644
index 698c531cc51..00000000000
--- a/components/checkbox/themes/spectrum.css
+++ /dev/null
@@ -1,24 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-Checkbox {
- --spectrum-checkbox-control-color-default: var(--spectrum-gray-600);
- --spectrum-checkbox-checkmark-color: var(--spectrum-gray-75);
- --spectrum-checkbox-control-corner-radius: var(--spectrum-corner-radius-75);
- }
-}
diff --git a/components/clearbutton/CHANGELOG.md b/components/clearbutton/CHANGELOG.md
index c05f044658f..61906d89797 100644
--- a/components/clearbutton/CHANGELOG.md
+++ b/components/clearbutton/CHANGELOG.md
@@ -1,10 +1,19 @@
# Change log
+## 8.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+
## 7.2.0
### Minor Changes
-- [#3527](https://github.com/adobe/spectrum-css/pull/3527) [`5f1751c`](https://github.com/adobe/spectrum-css/commit/5f1751c82a5fe55ae0d999f5f50cfeca4c8a5c75) Thanks [@castastrophe](https://github.com/castastrophe)! - By updating the postcss-preset-env to the latest breaking change version, output for this component no longer injects the `.js-focus-within` and '[focus-within]` selectors for the focus-within polyfill. As this feature is not used in the SWC consumption, risk to the end user for this removal is low.
+📝 [#3527](https://github.com/adobe/spectrum-css/pull/3527) [`5f1751c`](https://github.com/adobe/spectrum-css/commit/5f1751c82a5fe55ae0d999f5f50cfeca4c8a5c75) Thanks [@castastrophe](https://github.com/castastrophe)!
+
+By updating the postcss-preset-env to the latest breaking change version, output for this component no longer injects the `.js-focus-within` and '[focus-within]` selectors for the focus-within polyfill. As this feature is not used in the SWC consumption, risk to the end user for this removal is low.
## 7.1.0
diff --git a/components/clearbutton/dist/metadata.json b/components/clearbutton/dist/metadata.json
index 7702979183f..7c038466b7a 100644
--- a/components/clearbutton/dist/metadata.json
+++ b/components/clearbutton/dist/metadata.json
@@ -68,15 +68,6 @@
"--spectrum-transparent-white-500",
"--spectrum-white"
],
- "system-theme": [
- "--system-clear-button-background-color",
- "--system-clear-button-background-color-down",
- "--system-clear-button-background-color-hover",
- "--system-clear-button-background-color-key-focus",
- "--system-clear-button-static-white-background-color-down",
- "--system-clear-button-static-white-background-color-hover",
- "--system-clear-button-static-white-background-color-key-focus"
- ],
"passthroughs": [],
"high-contrast": ["--highcontrast-clear-button-icon-color-hover"]
}
diff --git a/components/clearbutton/index.css b/components/clearbutton/index.css
index edee47004ee..5ddfcb3060a 100644
--- a/components/clearbutton/index.css
+++ b/components/clearbutton/index.css
@@ -11,8 +11,6 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
.spectrum-ClearButton {
--spectrum-clear-button-height: var(--spectrum-component-height-100);
--spectrum-clear-button-width: var(--spectrum-component-height-100);
@@ -23,16 +21,16 @@
--spectrum-clear-button-icon-color-down: var(--spectrum-neutral-content-color-down);
--spectrum-clear-button-icon-color-key-focus: var(--spectrum-neutral-content-color-key-focus);
- block-size: var(--mod-clear-button-height, var(--spectrum-clear-button-height));
- inline-size: var(--mod-clear-button-width, var(--spectrum-clear-button-width));
- border-radius: 100%;
+ --spectrum-clear-button-background-color: transparent;
+ --spectrum-clear-button-background-color-hover: transparent;
+ --spectrum-clear-button-background-color-down: transparent;
+ --spectrum-clear-button-background-color-key-focus: transparent;
- background-color: var(--mod-clear-button-background-color, transparent);
- margin: 0;
- padding: var(--mod-clear-button-padding, var(--spectrum-clear-button-padding));
-
- border: none;
- color: var(--mod-clear-button-icon-color, var(--spectrum-clear-button-icon-color));
+ &.spectrum-ClearButton--staticWhite {
+ --spectrum-clear-button-background-color-hover: var(--spectrum-transparent-white-400);
+ --spectrum-clear-button-background-color-down: var(--spectrum-transparent-white-500);
+ --spectrum-clear-button-background-color-key-focus: var(--spectrum-transparent-white-400);
+ }
&.spectrum-ClearButton--sizeS {
--spectrum-clear-button-height: var(--spectrum-component-height-75);
@@ -57,6 +55,10 @@
}
&.spectrum-ClearButton--staticWhite {
+ --spectrum-clear-button-background-color-hover: var(--spectrum-transparent-white-400);
+ --spectrum-clear-button-background-color-down: var(--spectrum-transparent-white-500);
+ --spectrum-clear-button-background-color-key-focus: var(--spectrum-transparent-white-400);
+
--mod-clear-button-icon-color: var(--spectrum-white);
--mod-clear-button-icon-color-hover: var(--spectrum-white);
--mod-clear-button-icon-color-down: var(--spectrum-white);
@@ -73,6 +75,19 @@
--mod-clear-button-icon-color-down: var(--spectrum-disabled-content-color);
--mod-clear-button-background-color: var(--mod-clear-button-background-color-disabled, transparent);
}
+}
+
+.spectrum-ClearButton {
+ block-size: var(--mod-clear-button-height, var(--spectrum-clear-button-height));
+ inline-size: var(--mod-clear-button-width, var(--spectrum-clear-button-width));
+ border-radius: 100%;
+
+ background-color: var(--mod-clear-button-background-color, transparent);
+ margin: 0;
+ padding: var(--mod-clear-button-padding, var(--spectrum-clear-button-padding));
+
+ border: none;
+ color: var(--mod-clear-button-icon-color, var(--spectrum-clear-button-icon-color));
&:not(:disabled) {
cursor: pointer;
diff --git a/components/clearbutton/package.json b/components/clearbutton/package.json
index 9d36f024f41..93c1b754749 100644
--- a/components/clearbutton/package.json
+++ b/components/clearbutton/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/clearbutton",
- "version": "7.2.0",
+ "version": "8.0.0-next.0",
"description": "The Spectrum CSS clearbutton component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -37,7 +37,7 @@
}
},
"devDependencies": {
- "@spectrum-css/icon": "9.1.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/clearbutton/stories/template.js b/components/clearbutton/stories/template.js
index 58e90007c04..a4ce921c7aa 100644
--- a/components/clearbutton/stories/template.js
+++ b/components/clearbutton/stories/template.js
@@ -6,9 +6,6 @@ import { ifDefined } from "lit/directives/if-defined.js";
import { styleMap } from "lit/directives/style-map.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-ClearButton",
diff --git a/components/clearbutton/themes/express.css b/components/clearbutton/themes/express.css
deleted file mode 100644
index e13724e2883..00000000000
--- a/components/clearbutton/themes/express.css
+++ /dev/null
@@ -1,25 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
-
-@container style(--system: express) {
- .spectrum-ClearButton {
- --spectrum-clear-button-background-color: var(--spectrum-gray-200);
- --spectrum-clear-button-background-color-hover: var(--spectrum-gray-300);
- --spectrum-clear-button-background-color-down: var(--spectrum-gray-400);
- --spectrum-clear-button-background-color-key-focus: var(--spectrum-gray-300);
- }
-}
diff --git a/components/clearbutton/themes/spectrum-two.css b/components/clearbutton/themes/spectrum-two.css
deleted file mode 100644
index abba1f78556..00000000000
--- a/components/clearbutton/themes/spectrum-two.css
+++ /dev/null
@@ -1,27 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-ClearButton {
- --spectrum-clear-button-background-color: transparent;
- --spectrum-clear-button-background-color-hover: transparent;
- --spectrum-clear-button-background-color-down: transparent;
- --spectrum-clear-button-background-color-key-focus: transparent;
-
- &.spectrum-ClearButton--staticWhite {
- --spectrum-clear-button-background-color-hover: var(--spectrum-transparent-white-400);
- --spectrum-clear-button-background-color-down: var(--spectrum-transparent-white-500);
- --spectrum-clear-button-background-color-key-focus: var(--spectrum-transparent-white-400);
- }
- }
-}
diff --git a/components/clearbutton/themes/spectrum.css b/components/clearbutton/themes/spectrum.css
deleted file mode 100644
index e4235fb3dff..00000000000
--- a/components/clearbutton/themes/spectrum.css
+++ /dev/null
@@ -1,26 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-ClearButton {
- &.spectrum-ClearButton--staticWhite {
- --spectrum-clear-button-background-color-hover: var(--spectrum-transparent-white-300);
- --spectrum-clear-button-background-color-down: var(--spectrum-transparent-white-400);
- --spectrum-clear-button-background-color-key-focus: var(--spectrum-transparent-white-300);
- }
- }
-}
diff --git a/components/closebutton/CHANGELOG.md b/components/closebutton/CHANGELOG.md
index f67b0ffecad..7eadb8c48fb 100644
--- a/components/closebutton/CHANGELOG.md
+++ b/components/closebutton/CHANGELOG.md
@@ -1,5 +1,12 @@
# Change log
+## 7.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+
## 6.1.0
### Minor Changes
diff --git a/components/closebutton/dist/metadata.json b/components/closebutton/dist/metadata.json
index 756fc3d7e62..6c74f8bf61f 100644
--- a/components/closebutton/dist/metadata.json
+++ b/components/closebutton/dist/metadata.json
@@ -2,45 +2,16 @@
"sourceFile": "index.css",
"selectors": [
".spectrum-CloseButton",
+ ".spectrum-CloseButton--sizeL",
+ ".spectrum-CloseButton--sizeS",
+ ".spectrum-CloseButton--sizeXL",
".spectrum-CloseButton--staticBlack",
- ".spectrum-CloseButton--staticBlack.is-focused:not(:disabled) .spectrum-CloseButton-UIIcon",
- ".spectrum-CloseButton--staticBlack.is-keyboardFocused:not(:disabled)",
- ".spectrum-CloseButton--staticBlack.is-keyboardFocused:not(:disabled) .spectrum-CloseButton-UIIcon",
- ".spectrum-CloseButton--staticBlack:disabled .spectrum-CloseButton-UIIcon",
- ".spectrum-CloseButton--staticBlack:not(:disabled)",
- ".spectrum-CloseButton--staticBlack:not(:disabled) .spectrum-CloseButton-UIIcon",
- ".spectrum-CloseButton--staticBlack:not(:disabled):active",
- ".spectrum-CloseButton--staticBlack:not(:disabled):active .spectrum-CloseButton-UIIcon",
- ".spectrum-CloseButton--staticBlack:not(:disabled):focus .spectrum-CloseButton-UIIcon",
- ".spectrum-CloseButton--staticBlack:not(:disabled):focus-visible",
- ".spectrum-CloseButton--staticBlack:not(:disabled):focus-visible .spectrum-CloseButton-UIIcon",
- ".spectrum-CloseButton--staticBlack:not(:disabled):hover",
- ".spectrum-CloseButton--staticBlack:not(:disabled):hover .spectrum-CloseButton-UIIcon",
".spectrum-CloseButton--staticWhite",
- ".spectrum-CloseButton--staticWhite.is-focused:not(:disabled) .spectrum-CloseButton-UIIcon",
- ".spectrum-CloseButton--staticWhite.is-keyboardFocused:not(:disabled)",
- ".spectrum-CloseButton--staticWhite.is-keyboardFocused:not(:disabled) .spectrum-CloseButton-UIIcon",
- ".spectrum-CloseButton--staticWhite:disabled .spectrum-CloseButton-UIIcon",
- ".spectrum-CloseButton--staticWhite:not(:disabled)",
- ".spectrum-CloseButton--staticWhite:not(:disabled) .spectrum-CloseButton-UIIcon",
- ".spectrum-CloseButton--staticWhite:not(:disabled):active",
- ".spectrum-CloseButton--staticWhite:not(:disabled):active .spectrum-CloseButton-UIIcon",
- ".spectrum-CloseButton--staticWhite:not(:disabled):focus .spectrum-CloseButton-UIIcon",
- ".spectrum-CloseButton--staticWhite:not(:disabled):focus-visible",
- ".spectrum-CloseButton--staticWhite:not(:disabled):focus-visible .spectrum-CloseButton-UIIcon",
- ".spectrum-CloseButton--staticWhite:not(:disabled):hover",
- ".spectrum-CloseButton--staticWhite:not(:disabled):hover .spectrum-CloseButton-UIIcon",
".spectrum-CloseButton-UIIcon",
".spectrum-CloseButton.is-disabled",
".spectrum-CloseButton.is-focused:not(:disabled) .spectrum-CloseButton-UIIcon",
".spectrum-CloseButton.is-keyboardFocused:not(:disabled)",
".spectrum-CloseButton.is-keyboardFocused:not(:disabled) .spectrum-CloseButton-UIIcon",
- ".spectrum-CloseButton.spectrum-CloseButton--sizeL",
- ".spectrum-CloseButton.spectrum-CloseButton--sizeM",
- ".spectrum-CloseButton.spectrum-CloseButton--sizeS",
- ".spectrum-CloseButton.spectrum-CloseButton--sizeXL",
- ".spectrum-CloseButton.spectrum-CloseButton--staticBlack",
- ".spectrum-CloseButton.spectrum-CloseButton--staticWhite",
".spectrum-CloseButton::-moz-focus-inner",
".spectrum-CloseButton:after",
".spectrum-CloseButton:disabled",
@@ -60,7 +31,6 @@
"a.spectrum-CloseButton"
],
"modifiers": [
- "--mod-animation-duration-100",
"--mod-closebutton-align-self",
"--mod-closebutton-animation-duraction",
"--mod-closebutton-animation-duration",
@@ -72,7 +42,6 @@
"--mod-closebutton-focus-indicator-color",
"--mod-closebutton-focus-indicator-gap",
"--mod-closebutton-focus-indicator-thickness",
- "--mod-closebutton-height",
"--mod-closebutton-icon-color-default",
"--mod-closebutton-icon-color-disabled",
"--mod-closebutton-icon-color-down",
@@ -80,14 +49,7 @@
"--mod-closebutton-icon-color-hover",
"--mod-closebutton-margin-inline",
"--mod-closebutton-margin-top",
- "--mod-closebutton-size",
- "--mod-closebutton-static-background-color-default",
- "--mod-closebutton-static-background-color-down",
- "--mod-closebutton-static-background-color-focus",
- "--mod-closebutton-static-background-color-hover",
- "--mod-closebutton-width",
- "--mod-line-height-100",
- "--mod-sans-font-family-stack"
+ "--mod-closebutton-size"
],
"component": [
"--spectrum-closebutton-animation-duration",
@@ -104,27 +66,22 @@
"--spectrum-closebutton-icon-color-down",
"--spectrum-closebutton-icon-color-focus",
"--spectrum-closebutton-icon-color-hover",
- "--spectrum-closebutton-size",
- "--spectrum-closebutton-static-background-color-default",
- "--spectrum-closebutton-static-background-color-down",
- "--spectrum-closebutton-static-background-color-focus",
- "--spectrum-closebutton-static-background-color-hover"
+ "--spectrum-closebutton-size"
],
"global": [
"--spectrum-animation-duration-100",
- "--spectrum-black",
"--spectrum-component-height-100",
"--spectrum-component-height-200",
"--spectrum-component-height-300",
"--spectrum-component-height-75",
+ "--spectrum-corner-radius-full",
"--spectrum-disabled-content-color",
- "--spectrum-disabled-static-black-content-color",
- "--spectrum-disabled-static-white-content-color",
+ "--spectrum-disabled-static-black-background-color",
+ "--spectrum-disabled-static-white-background-color",
"--spectrum-focus-indicator-color",
"--spectrum-focus-indicator-gap",
"--spectrum-focus-indicator-thickness",
"--spectrum-gray-100",
- "--spectrum-gray-200",
"--spectrum-line-height-100",
"--spectrum-neutral-content-color-default",
"--spectrum-neutral-content-color-down",
@@ -133,23 +90,12 @@
"--spectrum-sans-font-family-stack",
"--spectrum-static-black-focus-indicator-color",
"--spectrum-static-white-focus-indicator-color",
- "--spectrum-transparent-black-400",
- "--spectrum-transparent-black-500",
- "--spectrum-transparent-white-400",
- "--spectrum-transparent-white-500",
- "--spectrum-white"
- ],
- "system-theme": [
- "--system-close-button-background-color-default",
- "--system-close-button-background-color-down",
- "--system-close-button-background-color-focus",
- "--system-close-button-background-color-hover",
- "--system-close-button-static-black-static-background-color-down",
- "--system-close-button-static-black-static-background-color-focus",
- "--system-close-button-static-black-static-background-color-hover",
- "--system-close-button-static-white-static-background-color-down",
- "--system-close-button-static-white-static-background-color-focus",
- "--system-close-button-static-white-static-background-color-hover"
+ "--spectrum-transparent-black-100",
+ "--spectrum-transparent-black-800",
+ "--spectrum-transparent-black-900",
+ "--spectrum-transparent-white-100",
+ "--spectrum-transparent-white-800",
+ "--spectrum-transparent-white-900"
],
"passthroughs": [
"--mod-button-animation-duration",
@@ -159,11 +105,9 @@
"high-contrast": [
"--highcontrast-closebutton-background-color-default",
"--highcontrast-closebutton-focus-indicator-color",
- "--highcontrast-closebutton-icon-color-default",
"--highcontrast-closebutton-icon-color-disabled",
"--highcontrast-closebutton-icon-color-down",
"--highcontrast-closebutton-icon-color-focus",
- "--highcontrast-closebutton-icon-color-hover",
- "--highcontrast-closebutton-static-background-color-default"
+ "--highcontrast-closebutton-icon-color-hover"
]
}
diff --git a/components/closebutton/index.css b/components/closebutton/index.css
index 14880d3ee6e..98cec5bd7f4 100644
--- a/components/closebutton/index.css
+++ b/components/closebutton/index.css
@@ -11,44 +11,11 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
@import "@spectrum-css/commons/basebutton.css";
-/* Windows high contrast mode */
-@media (forced-colors: active) {
- .spectrum-CloseButton {
- --highcontrast-closebutton-icon-color-disabled: GrayText;
- --highcontrast-closebutton-icon-color-down: Highlight;
- --highcontrast-closebutton-icon-color-hover: Highlight;
- --highcontrast-closebutton-icon-color-focus: Highlight;
- --highcontrast-closebutton-background-color-default: ButtonFace;
- --highcontrast-closebutton-focus-indicator-color: ButtonText;
-
- &:focus-visible {
- &::after {
- forced-color-adjust: none;
- margin: var(--mod-closebutton-focus-indicator-gap, var(--spectrum-closebutton-focus-indicator-gap));
- transition:
- opacity var(--mod-closebutton-animation-duration, var(--spectrum-closebutton-animation-duration)) ease-out,
- margin var(--mod-closebutton-animation-duraction, var(--spectrum-closebutton-animation-duration)) ease-out;
- }
- }
- }
-
- .spectrum-CloseButton--staticBlack {
- --highcontrast-closebutton-static-background-color-default: ButtonFace;
- --highcontrast-closebutton-icon-color-default: Highlight;
- --highcontrast-closebutton-icon-color-disabled: GrayText;
- }
-
- .spectrum-CloseButton--staticWhite {
- --highcontrast-closebutton-static-background-color-default: ButtonFace;
- --highcontrast-closebutton-icon-color-default: Highlight;
- --highcontrast-closebutton-icon-color-disabled: Highlight;
- }
-}
-
.spectrum-CloseButton {
+ --spectrum-closebutton-border-radius: var(--spectrum-corner-radius-full);
+
/* Cross icon */
--spectrum-closebutton-icon-color-default: var(--spectrum-neutral-content-color-default);
--spectrum-closebutton-icon-color-hover: var(--spectrum-neutral-content-color-hover);
@@ -56,54 +23,104 @@
--spectrum-closebutton-icon-color-focus: var(--spectrum-neutral-content-color-key-focus);
--spectrum-closebutton-icon-color-disabled: var(--spectrum-disabled-content-color);
- /* Focus ring */
+ /* Focus indicator */
--spectrum-closebutton-focus-indicator-thickness: var(--spectrum-focus-indicator-thickness);
--spectrum-closebutton-focus-indicator-gap: var(--spectrum-focus-indicator-gap);
--spectrum-closebutton-focus-indicator-color: var(--spectrum-focus-indicator-color);
+ /* Size */
+ --spectrum-closebutton-size: var(--spectrum-component-height-100);
+
--spectrum-closebutton-animation-duration: var(--spectrum-animation-duration-100);
- &.spectrum-CloseButton--sizeS {
- --spectrum-closebutton-size: var(--spectrum-component-height-75);
- --spectrum-closebutton-border-radius: var(--spectrum-component-height-75);
- }
+ /* Background color */
+ --spectrum-closebutton-background-color-default: transparent;
+ --spectrum-closebutton-background-color-hover: var(--spectrum-gray-100);
+ --spectrum-closebutton-background-color-down: var(--spectrum-gray-100);
+ --spectrum-closebutton-background-color-focus: var(--spectrum-gray-100);
+}
- &,
- &.spectrum-CloseButton--sizeM {
- --spectrum-closebutton-size: var(--spectrum-component-height-100);
- --spectrum-closebutton-border-radius: var(--spectrum-component-height-100);
- }
+.spectrum-CloseButton--sizeS {
+ --spectrum-closebutton-size: var(--spectrum-component-height-75);
+}
- &.spectrum-CloseButton--sizeL {
- --spectrum-closebutton-size: var(--spectrum-component-height-200);
- --spectrum-closebutton-border-radius: var(--spectrum-component-height-200);
- }
+.spectrum-CloseButton--sizeL {
+ --spectrum-closebutton-size: var(--spectrum-component-height-200);
+}
- &.spectrum-CloseButton--sizeXL {
- --spectrum-closebutton-size: var(--spectrum-component-height-300);
- --spectrum-closebutton-border-radius: var(--spectrum-component-height-300);
- }
+.spectrum-CloseButton--sizeXL {
+ --spectrum-closebutton-size: var(--spectrum-component-height-300);
+}
- &.spectrum-CloseButton--staticWhite {
- --spectrum-closebutton-static-background-color-default: transparent;
+.spectrum-CloseButton--staticWhite {
+ /* Cross icon */
+ --spectrum-closebutton-icon-color-default: var(--spectrum-transparent-white-800);
+ --spectrum-closebutton-icon-color-hover: var(--spectrum-transparent-white-900);
+ --spectrum-closebutton-icon-color-down: var(--spectrum-transparent-white-900);
+ --spectrum-closebutton-icon-color-focus: var(--spectrum-transparent-white-900);
+ --spectrum-closebutton-icon-color-disabled: var(--spectrum-disabled-static-white-background-color);
+
+ /* Background color */
+ --spectrum-closebutton-background-color-default: transparent;
+ --spectrum-closebutton-background-color-hover: var(--spectrum-transparent-white-100);
+ --spectrum-closebutton-background-color-down: var(--spectrum-transparent-white-100);
+ --spectrum-closebutton-background-color-focus: var(--spectrum-transparent-white-100);
+
+ /* Focus indicator */
+ --spectrum-closebutton-focus-indicator-color: var(--spectrum-static-white-focus-indicator-color);
+}
- --spectrum-closebutton-icon-color-default: var(--spectrum-white);
- --spectrum-closebutton-icon-color-disabled: var(--spectrum-disabled-static-white-content-color);
- --spectrum-closebutton-focus-indicator-color: var(--spectrum-static-white-focus-indicator-color);
- }
+.spectrum-CloseButton--staticBlack {
+ /* Cross icon */
+ --spectrum-closebutton-icon-color-default: var(--spectrum-transparent-black-800);
+ --spectrum-closebutton-icon-color-hover: var(--spectrum-transparent-black-900);
+ --spectrum-closebutton-icon-color-down: var(--spectrum-transparent-black-900);
+ --spectrum-closebutton-icon-color-focus: var(--spectrum-transparent-black-900);
+ --spectrum-closebutton-icon-color-disabled: var(--spectrum-disabled-static-black-background-color);
+
+ /* Background color */
+ --spectrum-closebutton-background-color-default: transparent;
+ --spectrum-closebutton-background-color-hover: var(--spectrum-transparent-black-100);
+ --spectrum-closebutton-background-color-down: var(--spectrum-transparent-black-100);
+ --spectrum-closebutton-background-color-focus: var(--spectrum-transparent-black-100);
+
+ /* Focus indicator */
+ --spectrum-closebutton-focus-indicator-color: var(--spectrum-static-black-focus-indicator-color);
+}
- &.spectrum-CloseButton--staticBlack {
- --spectrum-closebutton-static-background-color-default: transparent;
+/* Windows high contrast mode */
+@media (forced-colors: active) {
+ .spectrum-CloseButton {
+ --highcontrast-closebutton-icon-color-disabled: GrayText;
+ --highcontrast-closebutton-icon-color-down: Highlight;
+ --highcontrast-closebutton-icon-color-hover: Highlight;
+ --highcontrast-closebutton-icon-color-focus: Highlight;
+ --highcontrast-closebutton-background-color-default: ButtonFace;
+ --highcontrast-closebutton-focus-indicator-color: ButtonText;
- --spectrum-closebutton-icon-color-default: var(--spectrum-black);
- --spectrum-closebutton-icon-color-disabled: var(--spectrum-disabled-static-black-content-color);
- --spectrum-closebutton-focus-indicator-color: var(--spectrum-static-black-focus-indicator-color);
+ &:focus-visible::after {
+ forced-color-adjust: none;
+ margin: var(--mod-closebutton-focus-indicator-gap, var(--spectrum-closebutton-focus-indicator-gap));
+ transition:
+ opacity var(--mod-closebutton-animation-duration, var(--spectrum-closebutton-animation-duration)) ease-out,
+ margin var(--mod-closebutton-animation-duraction, var(--spectrum-closebutton-animation-duration)) ease-out;
+ }
}
+ .spectrum-CloseButton--staticWhite {
+ --highcontrast-closebutton-icon-color-disabled: Highlight;
+ }
+}
+
+a.spectrum-CloseButton {
+ @extend %spectrum-AnchorButton;
+}
+
+.spectrum-CloseButton {
@extend %spectrum-BaseButton;
- block-size: var(--mod-closebutton-height, var(--spectrum-closebutton-size));
- inline-size: var(--mod-closebutton-width, var(--mod-closebutton-height, var(--spectrum-closebutton-size)));
+ block-size: var(--mod-closebutton-size, var(--spectrum-closebutton-size));
+ inline-size: var(--mod-closebutton-size, var(--spectrum-closebutton-size));
position: relative;
@@ -125,7 +142,6 @@
margin-block-start: var(--mod-closebutton-margin-top);
align-self: var(--mod-closebutton-align-self);
- /* Represents focus ring */
&::after {
pointer-events: none;
content: "";
@@ -135,7 +151,7 @@
inset-block-end: 0;
inset-block-start: 0;
margin: calc(var(--mod-closebutton-focus-indicator-gap, var(--spectrum-closebutton-focus-indicator-gap)) * -1);
- border-radius: calc(var(--mod-closebutton-size, var(--spectrum-closebutton-size)) + var(--mod-closebutton-focus-indicator-gap, var(--spectrum-closebutton-focus-indicator-gap)));
+ border-radius: calc(var(--mod-closebutton-border-radius, var(--spectrum-closebutton-border-radius)) + var(--mod-closebutton-focus-indicator-gap, var(--spectrum-closebutton-focus-indicator-gap)));
transition: box-shadow var(--mod-closebutton-animation-duration, var(--spectrum-closebutton-animation-duration)) ease-in-out;
}
@@ -148,6 +164,7 @@
}
}
+ /* COLORS */
&:not(:disabled) {
background-color: var(--highcontrast-closebutton-background-color-default, var(--mod-closebutton-background-color-default, var(--spectrum-closebutton-background-color-default)));
@@ -197,59 +214,6 @@
}
}
-a.spectrum-CloseButton {
- @extend %spectrum-AnchorButton;
-}
-
-/* Modifier Classes */
-.spectrum-CloseButton--staticBlack:not(:disabled),
-.spectrum-CloseButton--staticWhite:not(:disabled) {
- background-color: var(--highcontrast-closebutton-static-background-color-default, var(--mod-closebutton-static-background-color-default, var(--spectrum-closebutton-static-background-color-default)));
-
- &:hover {
- background-color: var(--mod-closebutton-static-background-color-hover, var(--spectrum-closebutton-static-background-color-hover));
-
- .spectrum-CloseButton-UIIcon {
- color: var(--highcontrast-closebutton-icon-color-default, var(--mod-closebutton-icon-color-default, var(--spectrum-closebutton-icon-color-default)));
- }
- }
-
- &:active {
- background-color: var(--mod-closebutton-static-background-color-down, var(--spectrum-closebutton-static-background-color-down));
-
- .spectrum-CloseButton-UIIcon {
- color: var(--highcontrast-closebutton-icon-color-default, var(--mod-closebutton-icon-color-default, var(--spectrum-closebutton-icon-color-default)));
- }
- }
-
- &:focus-visible,
- &.is-keyboardFocused {
- background-color: var(--mod-closebutton-static-background-color-focus, var(--spectrum-closebutton-static-background-color-focus));
-
- .spectrum-CloseButton-UIIcon {
- color: var(--highcontrast-closebutton-icon-color-default, var(--mod-closebutton-icon-color-default, var(--spectrum-closebutton-icon-color-default)));
- }
- }
-
- &:focus,
- &.is-focused {
- .spectrum-CloseButton-UIIcon {
- color: var(--highcontrast-closebutton-icon-color-default, var(--mod-closebutton-icon-color-default, var(--spectrum-closebutton-icon-color-default)));
- }
- }
-
- .spectrum-CloseButton-UIIcon {
- color: var(--mod-closebutton-icon-color-default, var(--spectrum-closebutton-icon-color-default));
- }
-}
-
-.spectrum-CloseButton--staticBlack:disabled,
-.spectrum-CloseButton--staticWhite:disabled {
- .spectrum-CloseButton-UIIcon {
- color: var(--mod-closebutton-icon-color-disabled, var(--spectrum-closebutton-icon-color-disabled));
- }
-}
-
.spectrum-CloseButton-UIIcon {
margin: 0;
}
diff --git a/components/closebutton/package.json b/components/closebutton/package.json
index 7f5bdfed878..830c79e0ef2 100644
--- a/components/closebutton/package.json
+++ b/components/closebutton/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/closebutton",
- "version": "6.1.0",
+ "version": "7.0.0-next.0",
"description": "The Spectrum CSS close button component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -38,7 +38,7 @@
},
"devDependencies": {
"@spectrum-css/commons": "11.0.0",
- "@spectrum-css/icon": "9.1.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/closebutton/stories/closebutton.stories.js b/components/closebutton/stories/closebutton.stories.js
index f048e3e23b0..9407e15a352 100644
--- a/components/closebutton/stories/closebutton.stories.js
+++ b/components/closebutton/stories/closebutton.stories.js
@@ -53,6 +53,7 @@ export default {
packageJson,
metadata,
},
+ tags: ["migrated"],
};
export const Default = CloseButtonGroup.bind({});
diff --git a/components/closebutton/stories/template.js b/components/closebutton/stories/template.js
index 644ce705f62..4f6c5d8c00e 100644
--- a/components/closebutton/stories/template.js
+++ b/components/closebutton/stories/template.js
@@ -6,9 +6,6 @@ import { ifDefined } from "lit/directives/if-defined.js";
import { capitalize, upperCase } from "lodash-es";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-CloseButton",
@@ -46,6 +43,7 @@ export const Template = ({
size,
iconName: getCloseButtonIconName(size, iconSize),
setName: "ui",
+ useRef: false,
customClasses: [`${rootClass}-UIIcon`],
}, context)}
@@ -69,6 +67,7 @@ const getCloseButtonIconName = (size = "m", iconSize = "regular", iconName = "Cr
return `${iconName}300`;
}
}
+
// Default, "regular" icon size.
switch (size) {
case "s":
@@ -88,14 +87,14 @@ const getCloseButtonIconName = (size = "m", iconSize = "regular", iconName = "Cr
*/
export const CloseButtonExample = (args, context) => Container({
withBorder: false,
- content: html`
- ${Container({
+ content: [
+ Container({
withBorder: false,
direction: "column",
heading: "Default",
content: Template(args, context),
- }, context)}
- ${Container({
+ }, context),
+ Container({
withBorder: false,
direction: "column",
heading: "Disabled",
@@ -103,6 +102,6 @@ export const CloseButtonExample = (args, context) => Container({
...args,
isDisabled: true,
}, context),
- }, context)}
- `,
+ }, context),
+ ],
}, context);
diff --git a/components/closebutton/themes/express.css b/components/closebutton/themes/express.css
deleted file mode 100644
index 06a90e4fee9..00000000000
--- a/components/closebutton/themes/express.css
+++ /dev/null
@@ -1,25 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
-
-@container style(--system: express) {
- .spectrum-CloseButton {
- --spectrum-closebutton-background-color-default: transparent;
- --spectrum-closebutton-background-color-hover: var(--spectrum-gray-300);
- --spectrum-closebutton-background-color-down: var(--spectrum-gray-400);
- --spectrum-closebutton-background-color-focus: var(--spectrum-gray-300);
- }
-}
diff --git a/components/closebutton/themes/spectrum-two.css b/components/closebutton/themes/spectrum-two.css
deleted file mode 100644
index 01479c42fd4..00000000000
--- a/components/closebutton/themes/spectrum-two.css
+++ /dev/null
@@ -1,33 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-CloseButton {
- --spectrum-closebutton-background-color-default: transparent;
- --spectrum-closebutton-background-color-hover: var(--spectrum-gray-100);
- --spectrum-closebutton-background-color-down: var(--spectrum-gray-200);
- --spectrum-closebutton-background-color-focus: var(--spectrum-gray-100);
-
- &.spectrum-CloseButton--staticWhite {
- --spectrum-closebutton-static-background-color-hover: var(--spectrum-transparent-white-400);
- --spectrum-closebutton-static-background-color-down: var(--spectrum-transparent-white-500);
- --spectrum-closebutton-static-background-color-focus: var(--spectrum-transparent-white-400);
- }
-
- &.spectrum-CloseButton--staticBlack {
- --spectrum-closebutton-static-background-color-hover: var(--spectrum-transparent-black-400);
- --spectrum-closebutton-static-background-color-down: var(--spectrum-transparent-black-500);
- --spectrum-closebutton-static-background-color-focus: var(--spectrum-transparent-black-400);
- }
- }
-}
diff --git a/components/closebutton/themes/spectrum.css b/components/closebutton/themes/spectrum.css
deleted file mode 100644
index 62e907bae8a..00000000000
--- a/components/closebutton/themes/spectrum.css
+++ /dev/null
@@ -1,36 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-CloseButton {
- --spectrum-closebutton-background-color-hover: var(--spectrum-gray-200);
- --spectrum-closebutton-background-color-down: var(--spectrum-gray-300);
- --spectrum-closebutton-background-color-focus: var(--spectrum-gray-200);
-
- &.spectrum-CloseButton--staticWhite {
- --spectrum-closebutton-static-background-color-hover: var(--spectrum-transparent-white-300);
- --spectrum-closebutton-static-background-color-down: var(--spectrum-transparent-white-400);
- --spectrum-closebutton-static-background-color-focus: var(--spectrum-transparent-white-300);
- }
-
- &.spectrum-CloseButton--staticBlack {
- --spectrum-closebutton-static-background-color-hover: var(--spectrum-transparent-black-300);
- --spectrum-closebutton-static-background-color-down: var(--spectrum-transparent-black-400);
- --spectrum-closebutton-static-background-color-focus: var(--spectrum-transparent-black-300);
- }
- }
-}
diff --git a/components/coachindicator/dist/metadata.json b/components/coachindicator/dist/metadata.json
index 9714f9f1ed1..0bed4172eef 100644
--- a/components/coachindicator/dist/metadata.json
+++ b/components/coachindicator/dist/metadata.json
@@ -6,14 +6,9 @@
".spectrum-CoachIndicator-ring:first-child",
".spectrum-CoachIndicator-ring:nth-child(2)",
".spectrum-CoachIndicator-ring:nth-child(3)",
- ".spectrum-CoachIndicator.spectrum-CoachIndicator--dark",
- ".spectrum-CoachIndicator.spectrum-CoachIndicator--light",
".spectrum-CoachIndicator.spectrum-CoachIndicator--quiet",
".spectrum-CoachIndicator.spectrum-CoachIndicator--staticBlack",
- ".spectrum-CoachIndicator.spectrum-CoachIndicator--staticWhite",
- "0%",
- "50%",
- "to"
+ ".spectrum-CoachIndicator.spectrum-CoachIndicator--staticWhite"
],
"modifiers": [
"--mod-coach-animation-indicator-ring-center-delay-multiple",
@@ -31,11 +26,9 @@
"--mod-coach-indicator-quiet-ring-diameter",
"--mod-coach-indicator-ring-block-size",
"--mod-coach-indicator-ring-border-size",
- "--mod-coach-indicator-ring-dark-color",
"--mod-coach-indicator-ring-default-color",
"--mod-coach-indicator-ring-diameter",
"--mod-coach-indicator-ring-inline-size",
- "--mod-coach-indicator-ring-light-color",
"--mod-coach-indicator-top"
],
"component": [
@@ -60,7 +53,6 @@
"--spectrum-coach-animation-indicator-ring-duration",
"--spectrum-white"
],
- "system-theme": [],
"passthroughs": [],
"high-contrast": []
}
diff --git a/components/coachindicator/index.css b/components/coachindicator/index.css
index 8cc7bdb8eda..c3bb2754d30 100644
--- a/components/coachindicator/index.css
+++ b/components/coachindicator/index.css
@@ -33,18 +33,6 @@
--spectrum-coach-indicator-animation-ring-inner-delay-multiple: var(--mod-coach-indicator-quiet-animation-ring-inner-delay-multiple, -0.33);
}
- /* @deprecated .spectrum-CoachIndicator--light */
- &.spectrum-CoachIndicator--light {
- /* @deprecated --mod-coach-indicator-ring-light-color, use --mod-coach-indicator-ring-default-color instead */
- --spectrum-coach-indicator-ring-default-color: var(--mod-coach-indicator-ring-light-color, var(--spectrum-white));
- }
-
- /* @deprecated .spectrum-CoachIndicator--dark */
- &.spectrum-CoachIndicator--dark {
- /* @deprecated --mod-coach-indicator-ring-dark-color, use --mod-coach-indicator-ring-default-color instead */
- --spectrum-coach-indicator-ring-default-color: var(--mod-coach-indicator-ring-dark-color, var(--spectrum-black));
- }
-
&.spectrum-CoachIndicator--staticWhite {
--spectrum-coach-indicator-ring-default-color: var(--spectrum-white);
}
diff --git a/components/coachindicator/package.json b/components/coachindicator/package.json
index 041ae077b01..edb0a6e403a 100644
--- a/components/coachindicator/package.json
+++ b/components/coachindicator/package.json
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
"@spectrum-css/tokens": {
diff --git a/components/coachmark/CHANGELOG.md b/components/coachmark/CHANGELOG.md
index 226f077399e..ae8b24a5cc1 100644
--- a/components/coachmark/CHANGELOG.md
+++ b/components/coachmark/CHANGELOG.md
@@ -1,5 +1,17 @@
# Change log
+## 10.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @spectrum-css/actionbutton@8.0.0-next.0
+ - @spectrum-css/actionmenu@8.0.0-next.0
+ - @spectrum-css/button@15.0.0-next.0
+ - @spectrum-css/menu@10.0.0-next.0
+ - @spectrum-css/popover@9.0.0-next.0
+ - @spectrum-css/buttongroup@10.0.0-next.0
+
## 9.1.1
### Patch Changes
diff --git a/components/coachmark/dist/metadata.json b/components/coachmark/dist/metadata.json
index 8bc036d5fca..a6bbae0715e 100644
--- a/components/coachmark/dist/metadata.json
+++ b/components/coachmark/dist/metadata.json
@@ -71,7 +71,7 @@
"--spectrum-body-sans-serif-font-style",
"--spectrum-body-sans-serif-font-weight",
"--spectrum-border-width-100",
- "--spectrum-corner-radius-100",
+ "--spectrum-corner-radius-large-default",
"--spectrum-heading-color",
"--spectrum-heading-line-height",
"--spectrum-heading-sans-serif-font-weight",
@@ -81,13 +81,12 @@
"--spectrum-spacing-200",
"--spectrum-spacing-300"
],
- "system-theme": [],
"passthroughs": [
"--mod-button-edge-to-visual-only",
"--mod-buttongroup-justify-content",
"--mod-buttongroup-spacing",
"--mod-popover-border-width",
- "--mod-popover-content-area-spacing-vertical",
+ "--mod-popover-content-area-spacing",
"--mod-popover-corner-radius"
],
"high-contrast": []
diff --git a/components/coachmark/index.css b/components/coachmark/index.css
index bd8821b3bb1..0ade95bfbec 100644
--- a/components/coachmark/index.css
+++ b/components/coachmark/index.css
@@ -18,8 +18,8 @@
/* @passthrough start */
--mod-buttongroup-justify-content: flex-end;
--mod-popover-border-width: var(--spectrum-border-width-100);
- --mod-popover-corner-radius: var(--spectrum-corner-radius-100);
- --mod-popover-content-area-spacing-vertical: 0;
+ --mod-popover-corner-radius: var(--spectrum-corner-radius-large-default);
+ --mod-popover-content-area-spacing: 0;
--mod-button-edge-to-visual-only: 9px;
/* @passthrough end */
diff --git a/components/coachmark/package.json b/components/coachmark/package.json
index 71941d3490d..1c8c159629e 100644
--- a/components/coachmark/package.json
+++ b/components/coachmark/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/coachmark",
- "version": "9.1.1",
+ "version": "10.0.0-next.0",
"description": "The Spectrum CSS coachmark component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,12 +25,12 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/actionbutton": ">=7.0.0 <8.0.0",
- "@spectrum-css/actionmenu": ">=7.0.0 <8.0.0",
- "@spectrum-css/button": ">=14.0.0 <15.0.0",
- "@spectrum-css/buttongroup": ">=9.0.0 <10.0.0",
- "@spectrum-css/menu": ">=9.0.0 <10.0.0",
- "@spectrum-css/popover": ">=8.0.0 <9.0.0",
+ "@spectrum-css/actionbutton": ">=8.0.0-next.0",
+ "@spectrum-css/actionmenu": ">=8.0.0-next.0",
+ "@spectrum-css/button": ">=15.0.0-next.0",
+ "@spectrum-css/buttongroup": ">=10.0.0-next.0",
+ "@spectrum-css/menu": ">=10.0.0-next.0",
+ "@spectrum-css/popover": ">=9.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -57,12 +57,12 @@
}
},
"devDependencies": {
- "@spectrum-css/actionbutton": "7.1.2",
- "@spectrum-css/actionmenu": "7.1.1",
- "@spectrum-css/button": "14.1.3",
- "@spectrum-css/buttongroup": "9.1.0",
- "@spectrum-css/menu": "9.2.0",
- "@spectrum-css/popover": "8.2.0",
+ "@spectrum-css/actionbutton": "8.0.0-next.1",
+ "@spectrum-css/actionmenu": "8.0.0-next.0",
+ "@spectrum-css/button": "15.0.0-next.0",
+ "@spectrum-css/buttongroup": "10.0.0-next.0",
+ "@spectrum-css/menu": "10.0.0-next.1",
+ "@spectrum-css/popover": "9.0.0-next.1",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/coachmark/stories/coachmark.stories.js b/components/coachmark/stories/coachmark.stories.js
index e13b70fce24..975039f95b3 100644
--- a/components/coachmark/stories/coachmark.stories.js
+++ b/components/coachmark/stories/coachmark.stories.js
@@ -69,6 +69,7 @@ export default {
};
export const Default = CoachMarkGroup.bind({});
+Default.title = "Standard";
Default.tags = ["!autodocs"];
Default.args = {};
diff --git a/components/colorarea/dist/metadata.json b/components/colorarea/dist/metadata.json
index ff86d1c0045..9039b7c1028 100644
--- a/components/colorarea/dist/metadata.json
+++ b/components/colorarea/dist/metadata.json
@@ -23,16 +23,27 @@
"--mod-colorarea-width"
],
"component": [
+ "--spectrum-color-area-border-opacity",
"--spectrum-color-area-border-rounding",
"--spectrum-color-area-border-width",
"--spectrum-color-area-height",
"--spectrum-color-area-minimum-height",
"--spectrum-color-area-minimum-width",
"--spectrum-color-area-width",
- "--spectrum-colorarea-border-color"
+ "--spectrum-colorarea-border-color",
+ "--spectrum-colorarea-border-color-rgb",
+ "--spectrum-colorarea-border-radius",
+ "--spectrum-colorarea-border-width",
+ "--spectrum-colorarea-disabled-background-color",
+ "--spectrum-colorarea-height",
+ "--spectrum-colorarea-min-height",
+ "--spectrum-colorarea-min-width",
+ "--spectrum-colorarea-width"
+ ],
+ "global": [
+ "--spectrum-disabled-background-color",
+ "--spectrum-gray-1000-rgb"
],
- "global": ["--spectrum-disabled-background-color"],
- "system-theme": [],
"passthroughs": [],
"high-contrast": [
"--highcontrast-colorarea-border-color",
diff --git a/components/colorarea/index.css b/components/colorarea/index.css
index 6887fac3398..62b41854548 100644
--- a/components/colorarea/index.css
+++ b/components/colorarea/index.css
@@ -11,41 +11,30 @@
* governing permissions and limitations under the License.
*/
-/* Windows High Contrast Mode */
-@media (forced-colors: active) {
- .spectrum-ColorArea {
- --highcontrast-colorarea-border-color-disabled: GrayText;
- --highcontrast-colorarea-border-color: Canvas;
- --highcontrast-colorarea-fill-color-disabled: Canvas;
- }
-
- .spectrum-ColorArea {
- &.is-disabled {
- forced-color-adjust: none;
- }
- }
-
- .spectrum-ColorArea-gradient,
- .spectrum-ColorHandle-color {
- forced-color-adjust: none;
- }
-}
-
.spectrum-ColorArea {
- /* TODO replace with token --spectrum-color-area-border-color and --spectrum-color-area-border-opacity using RGBA function */
- --spectrum-colorarea-border-color: rgb(0 0 0 / 10%);
+ --spectrum-colorarea-border-radius: var(--spectrum-color-area-border-rounding);
+
+ /* @TODO: leveraging the rgb token in this case to achieve the desired border color implementation as rgb + opacity are required by the `rgba` function. */
+ --spectrum-colorarea-border-color-rgb: var(--spectrum-gray-1000-rgb);
+ --spectrum-colorarea-border-color: rgba(var(--spectrum-colorarea-border-color-rgb), var(--spectrum-color-area-border-opacity));
+ --spectrum-colorarea-border-width: var(--spectrum-color-area-border-width);
+ --spectrum-colorarea-disabled-background-color: var(--spectrum-disabled-background-color);
+ --spectrum-colorarea-height: var(--spectrum-color-area-height);
+ --spectrum-colorarea-width: var(--spectrum-color-area-width);
+ --spectrum-colorarea-min-width: var(--spectrum-color-area-minimum-width);
+ --spectrum-colorarea-min-height: var(--spectrum-color-area-minimum-height);
position: relative;
display: inline-block;
cursor: default;
user-select: none;
- min-inline-size: var(--mod-colorarea-min-width, var(--spectrum-color-area-minimum-width));
- min-block-size: var(--mod-colorarea-min-height, var(--spectrum-color-area-minimum-height));
- inline-size: var(--mod-colorarea-width, var(--spectrum-color-area-width));
- block-size: var(--mod-colorarea-height, var(--spectrum-color-area-height));
+ min-inline-size: var(--mod-colorarea-min-width, var(--spectrum-colorarea-min-width));
+ min-block-size: var(--mod-colorarea-min-height, var(--spectrum-colorarea-min-height));
+ inline-size: var(--mod-colorarea-width, var(--spectrum-colorarea-width));
+ block-size: var(--mod-colorarea-height, var(--spectrum-colorarea-height));
box-sizing: border-box;
- border-radius: var(--mod-colorarea-border-radius, var(--spectrum-color-area-border-rounding));
- border: var(--mod-colorarea-border-width, var(--spectrum-color-area-border-width)) solid var(--highcontrast-colorarea-border-color, var(--mod-colorarea-border-color, var(--spectrum-colorarea-border-color)));
+ border-radius: var(--mod-colorarea-border-radius, var(--spectrum-colorarea-border-radius));
+ border: var(--mod-colorarea-border-width, var(--spectrum-colorarea-border-width)) solid var(--highcontrast-colorarea-border-color, var(--mod-colorarea-border-color, var(--spectrum-colorarea-border-color)));
&.is-focused {
z-index: 2;
@@ -53,8 +42,8 @@
&.is-disabled {
pointer-events: none;
- background: var(--highcontrast-colorarea-fill-color-disabled, var(--mod-colorarea-disabled-background-color, var(--spectrum-disabled-background-color)));
- border: var(--mod-colorarea-border-width, var(--spectrum-color-area-border-width)) solid var(--highcontrast-colorarea-border-color-disabled);
+ background: var(--highcontrast-colorarea-fill-color-disabled, var(--mod-colorarea-disabled-background-color, var(--spectrum-colorarea-disabled-background-color)));
+ border: var(--mod-colorarea-border-width, var(--spectrum-colorarea-border-width)) solid var(--highcontrast-colorarea-border-color-disabled);
.spectrum-ColorArea-gradient {
display: none;
@@ -63,7 +52,7 @@
}
.spectrum-ColorArea-handle {
- transform: translate(calc(var(--mod-colorarea-width, var(--spectrum-color-area-width)) - var(--spectrum-color-area-border-width)), 0);
+ transform: translate(calc(var(--mod-colorarea-width, var(--spectrum-colorarea-width)) - var(--spectrum-colorarea-border-width)), 0);
inset-block-start: 0;
&:dir(rtl) {
@@ -74,7 +63,9 @@
.spectrum-ColorArea-gradient {
inline-size: 100%;
block-size: 100%;
- border-radius: var(--mod-colorarea-border-radius, var(--spectrum-color-area-border-rounding));
+
+ /* calc used here to properly calculate the `border-radius` for the gradient such that it aligns with the `border-radius` of the enclosing border */
+ border-radius: calc(var(--mod-colorarea-border-radius, var(--spectrum-colorarea-border-radius)) - var(--mod-colorarea-border-width, var(--spectrum-colorarea-border-width)));
}
.spectrum-ColorArea-slider {
@@ -88,3 +79,21 @@
margin: 0;
pointer-events: none;
}
+
+/* Windows High Contrast Mode */
+@media (forced-colors: active) {
+ .spectrum-ColorArea {
+ --highcontrast-colorarea-border-color-disabled: GrayText;
+ --highcontrast-colorarea-border-color: Canvas;
+ --highcontrast-colorarea-fill-color-disabled: Canvas;
+
+ &.is-disabled {
+ forced-color-adjust: none;
+ }
+ }
+
+ .spectrum-ColorArea-gradient,
+ .spectrum-ColorHandle-color {
+ forced-color-adjust: none;
+ }
+}
diff --git a/components/colorarea/stories/colorarea.stories.js b/components/colorarea/stories/colorarea.stories.js
index ec418649f05..f4aa2b0561b 100644
--- a/components/colorarea/stories/colorarea.stories.js
+++ b/components/colorarea/stories/colorarea.stories.js
@@ -50,6 +50,7 @@ export default {
packageJson,
metadata,
},
+ tags: ["migrated"],
};
export const Default = ColorAreaGroup.bind({});
diff --git a/components/colorhandle/dist/metadata.json b/components/colorhandle/dist/metadata.json
index 4d8589ac1c1..cbd2b5d599f 100644
--- a/components/colorhandle/dist/metadata.json
+++ b/components/colorhandle/dist/metadata.json
@@ -46,7 +46,6 @@
"--spectrum-picked-color",
"--spectrum-white"
],
- "system-theme": [],
"passthroughs": ["--mod-opacity-checkerboard-position"],
"high-contrast": [
"--highcontrast-colorhandle-border-color-disabled",
diff --git a/components/colorloupe/dist/metadata.json b/components/colorloupe/dist/metadata.json
index 245bb476b1f..11ab2606d1e 100644
--- a/components/colorloupe/dist/metadata.json
+++ b/components/colorloupe/dist/metadata.json
@@ -26,26 +26,39 @@
],
"component": [
"--spectrum-color-loupe-bottom-to-color-handle",
- "--spectrum-color-loupe-drop-shadow-blur",
- "--spectrum-color-loupe-drop-shadow-color",
- "--spectrum-color-loupe-drop-shadow-y",
"--spectrum-color-loupe-height",
"--spectrum-color-loupe-inner-border",
"--spectrum-color-loupe-inner-border-width",
"--spectrum-color-loupe-outer-border",
"--spectrum-color-loupe-outer-border-width",
"--spectrum-color-loupe-width",
- "--spectrum-colorloupe-checkerboard-fill"
+ "--spectrum-colorloupe-animation-distance",
+ "--spectrum-colorloupe-checkerboard-dark-color",
+ "--spectrum-colorloupe-checkerboard-fill",
+ "--spectrum-colorloupe-checkerboard-light-color",
+ "--spectrum-colorloupe-drop-shadow-blur",
+ "--spectrum-colorloupe-drop-shadow-color",
+ "--spectrum-colorloupe-drop-shadow-x",
+ "--spectrum-colorloupe-drop-shadow-y",
+ "--spectrum-colorloupe-height",
+ "--spectrum-colorloupe-inner-border-color",
+ "--spectrum-colorloupe-inner-border-width",
+ "--spectrum-colorloupe-offset",
+ "--spectrum-colorloupe-outer-border-color",
+ "--spectrum-colorloupe-outer-border-width",
+ "--spectrum-colorloupe-width"
],
"global": [
"--spectrum-color-handle-outer-border-width",
"--spectrum-color-handle-size",
- "--spectrum-drop-shadow-x",
+ "--spectrum-drop-shadow-elevated-blur",
+ "--spectrum-drop-shadow-elevated-color",
+ "--spectrum-drop-shadow-elevated-x",
+ "--spectrum-drop-shadow-elevated-y",
"--spectrum-opacity-checkerboard-square-dark",
"--spectrum-opacity-checkerboard-square-light",
"--spectrum-picked-color"
],
- "system-theme": [],
"passthroughs": [],
"high-contrast": ["--highcontrast-colorloupe-outer-border-color"]
}
diff --git a/components/colorloupe/index.css b/components/colorloupe/index.css
index f793d2fa6b0..adcd988e569 100644
--- a/components/colorloupe/index.css
+++ b/components/colorloupe/index.css
@@ -12,25 +12,44 @@
*/
.spectrum-ColorLoupe {
- inline-size: var(--spectrum-color-loupe-width);
- block-size: var(--spectrum-color-loupe-height);
+ --spectrum-colorloupe-width: var(--spectrum-color-loupe-width);
+ --spectrum-colorloupe-height: var(--spectrum-color-loupe-height);
+
+ --spectrum-colorloupe-offset: var(--spectrum-color-loupe-bottom-to-color-handle);
+ --spectrum-colorloupe-animation-distance: 8px; /* TODO: replace with forthcoming animation token */
+
+ --spectrum-colorloupe-drop-shadow-x: var(--spectrum-drop-shadow-elevated-x);
+ --spectrum-colorloupe-drop-shadow-y: var(--spectrum-drop-shadow-elevated-y);
+ --spectrum-colorloupe-drop-shadow-blur: var(--spectrum-drop-shadow-elevated-blur);
+ --spectrum-colorloupe-drop-shadow-color: var(--spectrum-drop-shadow-elevated-color);
+
+ --spectrum-colorloupe-outer-border-width: var(--spectrum-color-loupe-outer-border-width);
+ --spectrum-colorloupe-inner-border-width: var(--spectrum-color-loupe-inner-border-width);
+ --spectrum-colorloupe-outer-border-color: var(--spectrum-color-loupe-outer-border);
+ --spectrum-colorloupe-inner-border-color: var(--spectrum-color-loupe-inner-border);
+
+ --spectrum-colorloupe-checkerboard-dark-color: var(--spectrum-opacity-checkerboard-square-dark);
+ --spectrum-colorloupe-checkerboard-light-color: var(--spectrum-opacity-checkerboard-square-light);
+
+ inline-size: var(--spectrum-colorloupe-width);
+ block-size: var(--spectrum-colorloupe-height);
position: absolute;
- transform: translate(0, var(--mod-colorloupe-animation-distance, 8px));
+ transform: translate(0, var(--mod-colorloupe-animation-distance, var(--spectrum-colorloupe-animation-distance)));
opacity: 0;
transform-origin: bottom center;
- inset-block-end: calc(var(--spectrum-color-handle-size) - var(--spectrum-color-handle-outer-border-width) + var(--mod-colorloupe-offset, var(--spectrum-color-loupe-bottom-to-color-handle)));
- inset-inline-end: calc(50% - var(--spectrum-color-loupe-width) / 2);
+ inset-block-end: calc((var(--spectrum-color-handle-size) - var(--spectrum-color-handle-outer-border-width)) + var(--mod-colorloupe-offset, var(--spectrum-colorloupe-offset)));
+ inset-inline-end: calc(50% - (var(--spectrum-colorloupe-width) / 2));
transition:
transform 100ms ease-in-out,
opacity 125ms ease-in-out;
pointer-events: none;
- filter: drop-shadow(var(--mod-colorloupe-drop-shadow-x, var(--spectrum-drop-shadow-x)) var(--mod-colorloupe-drop-shadow-y, var(--spectrum-color-loupe-drop-shadow-y)) var(--mod-colorloupe-drop-shadow-blur, var(--spectrum-color-loupe-drop-shadow-blur)) var(--mod-colorloupe-drop-shadow-color, var(--spectrum-color-loupe-drop-shadow-color)));
+ filter: drop-shadow(var(--mod-colorloupe-drop-shadow-x, var(--spectrum-colorloupe-drop-shadow-x)) var(--mod-colorloupe-drop-shadow-y, var(--spectrum-colorloupe-drop-shadow-y)) var(--mod-colorloupe-drop-shadow-blur, var(--spectrum-colorloupe-drop-shadow-blur)) var(--mod-colorloupe-drop-shadow-color, var(--spectrum-colorloupe-drop-shadow-color)));
&:dir(rtl) {
- inset-inline-end: calc(50% - (var(--spectrum-color-loupe-width) / 2) - 1px);
+ inset-inline-end: calc(50% - (var(--spectrum-colorloupe-width) / 2) - 1px);
}
&.is-open {
@@ -44,26 +63,27 @@
}
.spectrum-ColorLoupe-inner-border {
+ /* Undefined variable allows custom stylesheet or JS to pass the value to this element */
fill: var(--spectrum-picked-color);
- stroke: var(--mod-colorloupe-inner-border-color, var(--spectrum-color-loupe-inner-border));
- stroke-width: var(--mod-colorloupe-inner-border-width, var(--spectrum-color-loupe-inner-border-width));
+ stroke: var(--mod-colorloupe-inner-border-color, var(--spectrum-colorloupe-inner-border-color));
+ stroke-width: var(--mod-colorloupe-inner-border-width, var(--spectrum-colorloupe-inner-border-width));
}
.spectrum-ColorLoupe-outer-border {
fill: none;
- stroke: var(--highcontrast-colorloupe-outer-border-color, var(--mod-colorloupe-outer-border-color, var(--spectrum-color-loupe-outer-border)));
- stroke-width: calc(var(--mod-colorloupe-outer-border-width, var(--spectrum-color-loupe-outer-border-width)) + 2px);
+ stroke: var(--highcontrast-colorloupe-outer-border-color, var(--mod-colorloupe-outer-border-color, var(--spectrum-colorloupe-outer-border-color)));
+ stroke-width: calc(var(--mod-colorloupe-outer-border-width, var(--spectrum-colorloupe-outer-border-width)) + 2px);
}
/* The checkerboard classes use opacity checkerboard tokens for dark and light color.
The opacity-checkerboard-square-size token is not able to be used witin the SVG pattern and instead colorloupe docs are using two different patterns toggled by --spectrum-colorloupe-checkerboard-fill */
.spectrum-ColorLoupe-checkerboard-pattern {
- fill: var(--spectrum-opacity-checkerboard-square-dark);
+ fill: var(--spectrum-colorloupe-checkerboard-dark-color);
}
.spectrum-ColorLoupe-checkerboard-background {
- fill: var(--spectrum-opacity-checkerboard-square-light);
+ fill: var(--spectrum-colorloupe-checkerboard-light-color);
}
.spectrum-ColorLoupe-checkerboard-fill {
diff --git a/components/colorloupe/package.json b/components/colorloupe/package.json
index 854cc7ced9c..c3d967a5b51 100644
--- a/components/colorloupe/package.json
+++ b/components/colorloupe/package.json
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
"@spectrum-css/tokens": {
diff --git a/components/colorloupe/stories/colorloupe.stories.js b/components/colorloupe/stories/colorloupe.stories.js
index f07cdf83ee7..fd827e3994f 100644
--- a/components/colorloupe/stories/colorloupe.stories.js
+++ b/components/colorloupe/stories/colorloupe.stories.js
@@ -46,6 +46,7 @@ export default {
packageJson,
metadata,
},
+ tags: ["migrated"],
};
export const Default = ColorLoupeGroup.bind({});
diff --git a/components/colorslider/dist/metadata.json b/components/colorslider/dist/metadata.json
index ea202a9f0a0..497550155a7 100644
--- a/components/colorslider/dist/metadata.json
+++ b/components/colorslider/dist/metadata.json
@@ -37,15 +37,16 @@
"--spectrum-color-slider-border-opacity",
"--spectrum-color-slider-border-rounding",
"--spectrum-color-slider-border-width",
+ "--spectrum-color-slider-control-track-width",
+ "--spectrum-color-slider-fill-color-disabled",
"--spectrum-color-slider-length",
"--spectrum-color-slider-minimum-length"
],
"global": [
"--spectrum-color-control-track-width",
"--spectrum-disabled-background-color",
- "--spectrum-gray-900-rgb"
+ "--spectrum-gray-1000-rgb"
],
- "system-theme": [],
"passthroughs": ["--mod-colorhandle-hitarea-border-radius"],
"high-contrast": [
"--highcontrast-color-slider-background-color-disabled",
diff --git a/components/colorslider/index.css b/components/colorslider/index.css
index 2876596753d..50983a0e53a 100644
--- a/components/colorslider/index.css
+++ b/components/colorslider/index.css
@@ -11,28 +11,24 @@
* governing permissions and limitations under the License.
*/
-@media (forced-colors: active) {
- .spectrum-ColorSlider {
- --highcontrast-color-slider-border-color: CanvasText;
- --highcontrast-color-slider-border-color-disabled: GrayText;
- --highcontrast-color-slider-background-color-disabled: Canvas;
- forced-color-adjust: none;
- }
-}
-
.spectrum-ColorSlider {
+ /* Size and Spacing */
+ --spectrum-color-slider-control-track-width: var(--spectrum-color-control-track-width);
+
/* @todo Refactor with --spectrum-color-slider-border-color once gray rgb token is no longer necessary to workaround nested rgb color token value using rgba(). */
- --spectrum-color-slider-border-color-default: rgba(var(--spectrum-gray-900-rgb), var(--spectrum-color-slider-border-opacity));
+ --spectrum-color-slider-border-color-default: rgba(var(--spectrum-gray-1000-rgb), var(--spectrum-color-slider-border-opacity));
/* @passthrough -- settings for nested color handle */
--mod-colorhandle-hitarea-border-radius: var(--mod-color-slider-handle-hitarea-border-radius, 0px);
+ --spectrum-color-slider-fill-color-disabled: var(--spectrum-disabled-background-color);
+
position: relative;
display: block;
min-inline-size: var(--mod-color-slider-minimum-length, var(--spectrum-color-slider-minimum-length));
inline-size: var(--mod-color-slider-length, var(--spectrum-color-slider-length));
- block-size: var(--mod-color-slider-control-track-width, var(--spectrum-color-control-track-width));
+ block-size: var(--mod-color-slider-control-track-width, var(--spectrum-color-slider-control-track-width));
/* Otherwise we randomly drag a file icon */
user-select: none;
@@ -58,7 +54,7 @@
min-block-size: var(--mod-color-slider-vertical-minimum-height, var(--mod-color-slider-minimum-length, var(--spectrum-color-slider-minimum-length)));
block-size: var(--mod-color-slider-vertical-height, var(--mod-color-slider-length, var(--spectrum-color-slider-length)));
min-inline-size: 0;
- inline-size: var(--mod-color-slider-vertical-control-track-width, var(--mod-color-slider-control-track-height, var(--spectrum-color-control-track-width)));
+ inline-size: var(--mod-color-slider-vertical-control-track-width, var(--mod-color-slider-control-track-height, var(--spectrum-color-slider-control-track-width)));
.spectrum-ColorSlider-handle {
inset-inline-start: 50%;
@@ -85,8 +81,8 @@
}
.spectrum-ColorSlider.is-disabled & {
- --spectrum-color-slider-border-color-local: var(--highcontrast-color-slider-border-color-disabled, var(--mod-color-slider-border-color-disabled, var(--spectrum-disabled-background-color)));
- background: var(--highcontrast-color-slider-background-color-disabled, var(--mod-color-slider-background-color-disabled, var(--spectrum-disabled-background-color)));
+ --spectrum-color-slider-border-color-local: var(--highcontrast-color-slider-border-color-disabled, var(--mod-color-slider-border-color-disabled, var(--spectrum-color-slider-fill-color-disabled)));
+ background: var(--highcontrast-color-slider-background-color-disabled, var(--mod-color-slider-background-color-disabled, var(--spectrum-color-slider-fill-color-disabled)));
}
}
@@ -114,3 +110,12 @@
margin: 0;
pointer-events: none;
}
+
+@media (forced-colors: active) {
+ .spectrum-ColorSlider {
+ --highcontrast-color-slider-border-color: CanvasText;
+ --highcontrast-color-slider-border-color-disabled: GrayText;
+ --highcontrast-color-slider-background-color-disabled: Canvas;
+ forced-color-adjust: none;
+ }
+}
diff --git a/components/colorslider/stories/colorslider.stories.js b/components/colorslider/stories/colorslider.stories.js
index 633fa48b8be..010b0f31510 100644
--- a/components/colorslider/stories/colorslider.stories.js
+++ b/components/colorslider/stories/colorslider.stories.js
@@ -19,18 +19,20 @@ export default {
component: "ColorSlider",
argTypes: {
colorHandleStyle: { table: { disable: true } },
- vertical: { table: { disable: true } },
isDisabled,
isFocused: {
...isFocused,
if: { arg: "isDisabled", truthy: false },
},
- gradientStops: {
- name: "Gradient stops",
+ color: {
+ name: "Color",
description:
- "The value of the CSS linear-gradient. Can be multiple stops separated by commas.",
- type: { name: "array" },
- table: { disable: true },
+ "Supports standard color input or any valid input for the background
property such as, linear-gradient(red, blue)
.",
+ type: { name: "string", required: true },
+ table: {
+ type: { summary: "string" },
+ },
+ control: "color",
},
selectedColor: {
name: "Selected color",
@@ -40,12 +42,19 @@ export default {
control: "color",
},
gradientType: {
- name: "Gradient type",
- description: "The gradient can be defined in the markup using CSS or with an image.",
- options: ["gradient", "image"],
+ name: "Color type",
+ description:
+ "The color can be defined in the markup using CSS or with an image.",
+ options: ["color", "image"],
control: { type: "select" },
table: { disable: true },
},
+ vertical: {
+ name: "Vertical",
+ description: "The orientation of the component.",
+ type: { name: "boolean" },
+ control: "boolean",
+ },
},
args: {
rootClass: "spectrum-ColorSlider",
@@ -70,8 +79,8 @@ export default {
*/
export const Default = ColorSliderGroup.bind({});
Default.args = {
- gradientStops:
- ["rgb(255, 0, 0) 0%", "rgb(255, 255, 0) 17%", "rgb(0, 255, 0) 33%", "rgb(0, 255, 255) 50%", "rgb(0, 0, 255) 67%", "rgb(255, 0, 255) 83%", "rgb(255, 0, 0) 100%"],
+ color:
+ "linear-gradient(to right, rgb(255, 0, 0) 0%, rgb(255, 255, 0) 17%, rgb(0, 255, 0) 33%, rgb(0, 255, 255) 50%, rgb(0, 0, 255) 67%, rgb(255, 0, 255) 83%, rgb(255, 0, 0) 100%)",
};
// ********* VRT ONLY ********* //
@@ -81,7 +90,7 @@ WithForcedColors.tags = ["!autodocs", "!dev"];
WithForcedColors.parameters = {
chromatic: {
forcedColors: "active",
- modes: disableDefaultModes
+ modes: disableDefaultModes,
},
};
@@ -92,6 +101,8 @@ WithForcedColors.parameters = {
export const Vertical = Template.bind({});
Vertical.args = {
vertical: true,
+ color:
+ "linear-gradient(to bottom, rgb(255, 0, 0) 0%, rgb(255, 255, 0) 17%, rgb(0, 255, 0) 33%, rgb(0, 255, 255) 50%, rgb(0, 0, 255) 67%, rgb(255, 0, 255) 83%, rgb(255, 0, 0) 100%)",
};
Vertical.tags = ["!dev"];
Vertical.parameters = {
@@ -100,7 +111,7 @@ Vertical.parameters = {
export const Alpha = Template.bind({});
Alpha.args = {
- gradientStops: ["rgba(0, 0, 0, 1) 0%", "rgba(0, 0, 0, 0) 100%"],
+ color: "linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%)",
selectedColor: "rgba(0, 0, 0, 1)",
};
Alpha.tags = ["!dev"];
diff --git a/components/colorslider/stories/colorslider.test.js b/components/colorslider/stories/colorslider.test.js
index 166960e9353..ceb4f5dac81 100644
--- a/components/colorslider/stories/colorslider.test.js
+++ b/components/colorslider/stories/colorslider.test.js
@@ -14,6 +14,7 @@ export const ColorSliderGroup = Variants({
{
testHeading: "Vertical",
vertical: true,
+ color: "linear-gradient(to bottom, rgb(255, 0, 0) 0%, rgb(255, 255, 0) 17%, rgb(0, 255, 0) 33%, rgb(0, 255, 255) 50%, rgb(0, 0, 255) 67%, rgb(255, 0, 255) 83%, rgb(255, 0, 0) 100%)",
wrapperStyles: {
// Adjust for the indicator
"padding-block": "20px",
@@ -21,7 +22,7 @@ export const ColorSliderGroup = Variants({
},
{
testHeading: "Alpha",
- gradientStops: ["rgba(0, 0, 0, 1) 0%", "rgba(0, 0, 0, 0) 100%"],
+ color: "linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%)",
selectedColor: "rgba(0, 0, 0, 1)",
wrapperStyles: {
// Adjust for the indicator
diff --git a/components/colorslider/stories/template.js b/components/colorslider/stories/template.js
index f4c15735012..73f7f123568 100644
--- a/components/colorslider/stories/template.js
+++ b/components/colorslider/stories/template.js
@@ -7,83 +7,83 @@ import { when } from "lit/directives/when.js";
import "../index.css";
-export const Template = ({
- rootClass = "spectrum-ColorSlider",
- customClasses = [],
- customStyles = {},
- isDisabled = false,
- isFocused = false,
- vertical = false,
- gradientStops = [
- "rgb(255, 0, 0) 0%",
- "rgb(255, 255, 0) 17%",
- "rgb(0, 255, 0) 33%",
- "rgb(0, 255, 255) 50%",
- "rgb(0, 0, 255) 67%",
- "rgb(255, 0, 255) 83%",
- "rgb(255, 0, 0)",
- ],
- gradientType = "gradient",
- selectedColor = "rgba(255, 0, 0, 1)",
- colorHandleStyle = {},
-} = {}, context = {}) => {
+export const Template = (
+ {
+ rootClass = "spectrum-ColorSlider",
+ customClasses = [],
+ customStyles = {},
+ isDisabled = false,
+ isFocused = false,
+ vertical = false,
+ color = "linear-gradient(to right, rgb(255, 0, 0) 0%, rgb(255, 255, 0) 17%, rgb(0, 255, 0) 33%, rgb(0, 255, 255) 50%, rgb(0, 0, 255) 67%, rgb(255, 0, 255) 83%, rgb(255, 0, 0) 100%)",
+ gradientType = "gradient",
+ selectedColor = "rgba(255, 0, 0, 1)",
+ colorHandleStyle = {},
+ } = {},
+ context = {},
+) => {
const { updateArgs } = context;
return html`
- ({ ...a, [c]: true }), {}),
- })}
- style=${styleMap(customStyles)}
- @focusin=${function() {
- updateArgs({ isFocused: true });
- }}
- @focusout=${function() {
- updateArgs({ isFocused: false });
- }}
- >
- ${OpacityCheckerboard({
- customClasses: [`${rootClass}-checkerboard`],
- content: [
- when(
- gradientType === "image",
- () => html`
`,
- () => html`
- styleMap({
- background: `linear-gradient(to ${
- vertical ? "bottom" : "right"
- }, ${gradientStops.join(", ")})`,
- })
- )}
- >
`
- ),
- ],
- role: "presentation",
- }, context)}
- ${ColorHandle({
- isDisabled,
- isFocused,
- selectedColor,
- customClasses: [`${rootClass}-handle`],
- customStyles: colorHandleStyle,
- }, context)}
-
-
- `;
+ ({ ...a, [c]: true }), {}),
+ })}
+ style=${styleMap(customStyles)}
+ @focusin=${function () {
+ updateArgs({ isFocused: true });
+ }}
+ @focusout=${function () {
+ updateArgs({ isFocused: false });
+ }}
+ >
+ ${OpacityCheckerboard(
+ {
+ customClasses: [`${rootClass}-checkerboard`],
+ content: [
+ when(
+ gradientType === "image",
+ () =>
+ html`
`,
+ () =>
+ html`
`,
+ ),
+ ],
+ role: "presentation",
+ },
+ context,
+ )}
+ ${ColorHandle(
+ {
+ isDisabled,
+ isFocused,
+ selectedColor,
+ customClasses: [`${rootClass}-handle`],
+ customStyles: colorHandleStyle,
+ },
+ context,
+ )}
+
+
+ `;
};
diff --git a/components/colorwheel/CHANGELOG.md b/components/colorwheel/CHANGELOG.md
index 31b1cf6d386..893487cdf60 100644
--- a/components/colorwheel/CHANGELOG.md
+++ b/components/colorwheel/CHANGELOG.md
@@ -1,5 +1,32 @@
# Change log
+## 7.0.0-next.0
+
+### Major Changes
+
+- [#3390](https://github.com/adobe/spectrum-css/pull/3390) [`b9f61e4`](https://github.com/adobe/spectrum-css/commit/b9f61e42486c3619de95423e0575e10ccc9be167) Thanks [@cdransf](https://github.com/cdransf)! - # colorwheel S2 migration
+
+ This change migrates the colorwheel component to S2. It adds the `--spectrum-colorwheel-border-color-rgb` and `--spectrum-colorwheel-border-opacity` custom properties. It updates `--spectrum-colorwheel-border-color` to leverage these tokens in an `rgba(...)` function.
+
+ This removes the `spectrum-ColorWheel-border` and associated template DOM node as the outside/underlying border are no longer present in the S2 designs. `::before` and `::after` pseudo elements are now used to draw the exterior and interior borders that overlay the exterior and interior edges of the color wheel.
+
+ Support is provided for the `240px` and `192px` sizes outlined in the design requirements.
+
+ The `forced-colors` media query has been moved to the bottom of the file consistent with our other component implementations.
+
+ Stories, tests and documentation have been updated to be consistent with these changes.
+
+ The following mods have been removed:
+
+ ```css
+ --mod-colorwheel-height
+ --mod-colorwheel-width
+ --mod-colorwheel-min-width
+ --mod-colorwheel-path-borders
+ --mod-colorwheel-colorarea-margin
+ --mod-colorwheel-border-width
+ ```
+
## 6.1.0
### Minor Changes
diff --git a/components/colorwheel/dist/metadata.json b/components/colorwheel/dist/metadata.json
index c321e1aca27..3876b601d64 100644
--- a/components/colorwheel/dist/metadata.json
+++ b/components/colorwheel/dist/metadata.json
@@ -4,8 +4,6 @@
".spectrum-ColorWheel",
".spectrum-ColorWheel-ColorArea-handle",
".spectrum-ColorWheel-ColorArea-handle:dir(rtl)",
- ".spectrum-ColorWheel-border",
- ".spectrum-ColorWheel-border.is-disabled",
".spectrum-ColorWheel-colorarea-container",
".spectrum-ColorWheel-handle",
".spectrum-ColorWheel-inner",
@@ -13,44 +11,47 @@
".spectrum-ColorWheel-wheel",
".spectrum-ColorWheel-wheel.is-disabled",
".spectrum-ColorWheel.is-disabled",
+ ".spectrum-ColorWheel.is-disabled .spectrum-ColorWheel-inner:before",
+ ".spectrum-ColorWheel.is-disabled:after",
+ ".spectrum-ColorWheel.is-disabled:before",
".spectrum-ColorWheel.is-dragged",
".spectrum-ColorWheel.is-focused",
+ ".spectrum-ColorWheel:after",
+ ".spectrum-ColorWheel:before",
"[dir=\"rtl\"] .spectrum-ColorWheel-ColorArea-handle"
],
"modifiers": [
+ "--mod-colorwheel-block-size",
"--mod-colorwheel-border-color",
- "--mod-colorwheel-border-width",
"--mod-colorwheel-colorarea-container-size",
- "--mod-colorwheel-colorarea-margin",
"--mod-colorwheel-fill-color-disabled",
- "--mod-colorwheel-height",
- "--mod-colorwheel-min-width",
+ "--mod-colorwheel-inline-size",
+ "--mod-colorwheel-min-inline-size",
"--mod-colorwheel-path",
- "--mod-colorwheel-path-borders",
- "--mod-colorwheel-track-width",
- "--mod-colorwheel-width"
+ "--mod-colorwheel-track-width"
],
"component": [
- "--spectrum-color-wheel-color-area-margin",
+ "--spectrum-color-wheel-border-opacity",
"--spectrum-color-wheel-minimum-width",
"--spectrum-color-wheel-width",
+ "--spectrum-colorwheel-block-size",
"--spectrum-colorwheel-border-color",
+ "--spectrum-colorwheel-border-color-rgb",
+ "--spectrum-colorwheel-border-opacity",
"--spectrum-colorwheel-border-width",
"--spectrum-colorwheel-colorarea-container-size",
"--spectrum-colorwheel-fill-color-disabled",
- "--spectrum-colorwheel-height",
+ "--spectrum-colorwheel-inline-size",
+ "--spectrum-colorwheel-min-inline-size",
"--spectrum-colorwheel-path",
- "--spectrum-colorwheel-path-borders",
- "--spectrum-colorwheel-track-width",
- "--spectrum-colorwheel-width"
+ "--spectrum-colorwheel-track-width"
],
"global": [
"--spectrum-border-width-100",
"--spectrum-color-control-track-width",
"--spectrum-disabled-background-color",
- "--spectrum-transparent-black-300"
+ "--spectrum-gray-1000-rgb"
],
- "system-theme": ["--system-color-wheel-border-color"],
"passthroughs": [],
"high-contrast": [
"--highcontrast-colorwheel-border-color-disabled",
diff --git a/components/colorwheel/index.css b/components/colorwheel/index.css
index e44d21045f0..3be6579b960 100644
--- a/components/colorwheel/index.css
+++ b/components/colorwheel/index.css
@@ -1,5 +1,5 @@
/*!
- * Copyright 2024 Adobe. All rights reserved.
+ * Copyright 2025 Adobe. All rights reserved.
*
* 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
@@ -11,45 +11,81 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
+.spectrum-ColorWheel {
+ --spectrum-colorwheel-inline-size: var(--spectrum-color-wheel-width);
+ --spectrum-colorwheel-block-size: var(--spectrum-color-wheel-width);
+ --spectrum-colorwheel-min-inline-size: var(--spectrum-color-wheel-minimum-width);
-/* Windows High Contrast Mode */
-@media (forced-colors: active) {
- .spectrum-ColorWheel {
- --highcontrast-colorwheel-border-color-disabled: GrayText;
- --highcontrast-colorwheel-fill-color-disabled: Canvas;
+ /* @TODO: leveraging the rgb token in this case to achieve the desired border color implementation as rgb + opacity are required by the `rgba` function. */
+ --spectrum-colorwheel-border-color-rgb: var(--spectrum-gray-1000-rgb);
- forced-color-adjust: none;
- }
-}
+ --spectrum-colorwheel-border-opacity: var(--spectrum-color-wheel-border-opacity);
+ --spectrum-colorwheel-border-color: rgba(var(--spectrum-colorwheel-border-color-rgb), var(--spectrum-colorwheel-border-opacity));
-.spectrum-ColorWheel {
- --spectrum-colorwheel-width: var(--mod-colorwheel-width, var(--spectrum-color-wheel-width));
- --spectrum-colorwheel-height: var(--mod-colorwheel-height, var(--spectrum-color-wheel-width));
- --spectrum-colorwheel-fill-color-disabled: var(--mod-colorwheel-fill-color-disabled, var(--spectrum-disabled-background-color));
+ --spectrum-colorwheel-border-width: var(--spectrum-border-width-100);
+ --spectrum-colorwheel-track-width: var(--spectrum-color-control-track-width);
- --spectrum-colorwheel-border-width: var(--mod-colorwheel-border-width, var(--spectrum-border-width-100));
- --spectrum-colorwheel-track-width: var(--mod-colorwheel-track-width, var(--spectrum-color-control-track-width));
+ --spectrum-colorwheel-fill-color-disabled: var(--spectrum-disabled-background-color);
/* stylelint-disable-next-line spectrum-tools/no-unused-custom-properties -- used with JS in calculating the clip-path paths and colorarea-container-size */
- --_track-width: var(--spectrum-colorwheel-track-width);
+ --_track-width: var(--mod-colorwheel-track-width, var(--spectrum-colorwheel-track-width));
/* stylelint-disable-next-line spectrum-tools/no-unused-custom-properties -- used with JS in calculating the clip-path paths and colorarea-container-size */
--_border-width: var(--spectrum-colorwheel-border-width);
position: relative;
display: block;
- min-inline-size: var(--mod-colorwheel-min-width, var(--spectrum-color-wheel-minimum-width));
- inline-size: var(--spectrum-colorwheel-width);
- block-size: var(--spectrum-colorwheel-height);
+ min-inline-size: var(--mod-colorwheel-min-inline-size, var(--spectrum-colorwheel-min-inline-size));
+ inline-size: var(--mod-colorwheel-inline-size, var(--spectrum-colorwheel-inline-size));
+ block-size: var(--mod-colorwheel-block-size, var(--spectrum-colorwheel-block-size));
user-select: none;
cursor: default;
+ /**
+ * Color wheel exterior border
+ * - Calcs for `inline-size` and `block-size` subtract 4 times the component's border width
+ * (to account for the inset width of the exterior border) from the component's width.
+ */
+ &::before {
+ inline-size: calc(var(--mod-colorwheel-inline-size, var(--spectrum-colorwheel-inline-size)) - calc(4 * var(--spectrum-colorwheel-border-width)));
+ block-size: calc(var(--mod-colorwheel-inline-size, var(--spectrum-colorwheel-inline-size)) - calc(4 * var(--spectrum-colorwheel-border-width)));
+ inset: var(--spectrum-colorwheel-border-width);
+ content: "";
+ position: absolute;
+ border-width: var(--spectrum-colorwheel-border-width);
+ border-style: solid;
+ border-color: var(--mod-colorwheel-border-color, var(--spectrum-colorwheel-border-color));
+ border-radius: 100%;
+ z-index: 1;
+ }
+
+ /**
+ * Color wheel interior border
+ * - Calcs for `inset` 2 times the component's border width from the
+ * track width (to account for the inset width of the interior border)
+ */
+ &::after {
+ inset: calc(var(--mod-colorwheel-track-width, var(--spectrum-colorwheel-track-width)) - (calc(2 * var(--spectrum-colorwheel-border-width))));
+ content: "";
+ position: absolute;
+ border-width: var(--spectrum-colorwheel-border-width);
+ border-style: solid;
+ border-color: var(--mod-colorwheel-border-color, var(--spectrum-colorwheel-border-color));
+ border-radius: 100%;
+ z-index: 1;
+ }
+
&.is-focused {
z-index: 2;
}
&.is-disabled {
pointer-events: none;
+
+ &::before,
+ &::after,
+ .spectrum-ColorWheel-inner::before {
+ border-color: var(--highcontrast-colorwheel-border-color-disabled, transparent);
+ }
}
&.is-dragged {
@@ -76,7 +112,6 @@
display: flex;
align-items: center;
justify-content: center;
- margin: var(--mod-colorwheel-colorarea-margin, var(--spectrum-color-wheel-color-area-margin));
}
.spectrum-ColorWheel-slider {
@@ -92,7 +127,7 @@
}
.spectrum-ColorWheel-handle {
- transform: translate(calc(var(--spectrum-colorwheel-width) / 2 - var(--spectrum-colorwheel-track-width) / 2), 0);
+ transform: translate(calc(var(--mod-colorwheel-inline-size, var(--spectrum-colorwheel-inline-size)) / 2 - var(--mod-colorwheel-track-width, var(--mod-colorwheel-track-width, var(--spectrum-colorwheel-track-width))) / 2), 0);
inset-block-start: 50%;
inset-inline: 50%;
}
@@ -106,19 +141,6 @@
}
}
-/* a clip-path set border-width wider than than spectrum-colorwheel-wheel to create the appreance of a border */
-.spectrum-ColorWheel-border {
- position: relative;
- background-color: var(--mod-colorwheel-border-color, var(--spectrum-colorwheel-border-color));
- inline-size: var(--spectrum-colorwheel-width);
- block-size: var(--spectrum-colorwheel-height);
- clip-path: path(evenodd, var(--mod-colorwheel-path-borders, var(--spectrum-colorwheel-path-borders)));
-
- &.is-disabled {
- background-color: var(--highcontrast-colorwheel-border-color-disabled, var(--spectrum-colorwheel-fill-color-disabled));
- }
-}
-
.spectrum-ColorWheel-wheel {
position: absolute;
background: conic-gradient(from 90deg, red, rgb(255 128 0), rgb(255 255 0), rgb(128 255 0), rgb(0 255 0), rgb(0 255 128), rgb(0 255 255), rgb(0 128 255), rgb(0 0 255), rgb(128 0 255), rgb(255 0 255), rgb(255 0 128), red);
@@ -128,6 +150,16 @@
&.is-disabled {
pointer-events: none;
- background: var(--highcontrast-colorwheel-fill-color-disabled, var(--spectrum-colorwheel-fill-color-disabled));
+ background: var(--highcontrast-colorwheel-fill-color-disabled, var(--mod-colorwheel-fill-color-disabled, var(--spectrum-colorwheel-fill-color-disabled)));
+ }
+}
+
+/* Windows High Contrast Mode */
+@media (forced-colors: active) {
+ .spectrum-ColorWheel {
+ --highcontrast-colorwheel-border-color-disabled: GrayText;
+ --highcontrast-colorwheel-fill-color-disabled: Canvas;
+
+ forced-color-adjust: none;
}
}
diff --git a/components/colorwheel/package.json b/components/colorwheel/package.json
index 4f11e9e3bd4..44e9eca628c 100644
--- a/components/colorwheel/package.json
+++ b/components/colorwheel/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/colorwheel",
- "version": "6.1.0",
+ "version": "7.0.0-next.0",
"description": "The Spectrum CSS Color Area component",
"license": "Apache-2.0",
"author": "Adobe",
diff --git a/components/colorwheel/stories/colorwheel.stories.js b/components/colorwheel/stories/colorwheel.stories.js
index 15bba48a20a..c8332ea4ceb 100644
--- a/components/colorwheel/stories/colorwheel.stories.js
+++ b/components/colorwheel/stories/colorwheel.stories.js
@@ -23,7 +23,16 @@ export default {
if: { arg: "isDisabled", truthy: false },
},
isWithColorArea: {
- name: "With Color Area",
+ name: "With color area",
+ type: { name: "boolean" },
+ table: {
+ type: { summary: "boolean" },
+ category: "State",
+ },
+ control: "boolean",
+ },
+ isWithColorLoupe: {
+ name: "With color loupe",
type: { name: "boolean" },
table: {
type: { summary: "boolean" },
@@ -44,6 +53,7 @@ export default {
isDisabled: false,
isFocused: false,
isWithColorArea: false,
+ isWithColorLoupe: true,
selectedColor: "rgba(255, 0, 0, 50%)",
},
parameters: {
@@ -59,6 +69,30 @@ export default {
export const Default = ColorWheelGroup.bind({});
Default.args = {};
+/**
+ * By default, the color wheel has both a fixed size and a minimum size. The color wheel may be displayed at custom sizes by setting some of its modifiable custom properties. Below, the wheel is displayed at `300px` with the following mod values:
+ * ```
+ * "--mod-colorwheel-inline-size": "300px",
+ * "--mod-colorwheel-block-size": "300px",
+ * "--mod-colorwheel-track-width": "30px",
+ * "--mod-colorwheel-path": '"M 149 149 m -149 0 a 149 149 0 1 0 298 0 a 149 149 0 1 0 -298 0 M 149 149 m -121 0 a 121 121 0 1 0 242 0 a 121 121 0 1 0 -242 0"',
+ * ```
+ */
+export const CustomSizing = Template.bind({});
+CustomSizing.tags = ["!dev"];
+CustomSizing.args = {
+ customStyles: {
+ "--mod-colorwheel-inline-size": "300px",
+ "--mod-colorwheel-block-size": "300px",
+ "--mod-colorwheel-track-width": "30px",
+ "--mod-colorwheel-path": "\"M 149 149 m -149 0 a 149 149 0 1 0 298 0 a 149 149 0 1 0 -298 0 M 149 149 m -121 0 a 121 121 0 1 0 242 0 a 121 121 0 1 0 -242 0\"",
+ }
+};
+CustomSizing.parameters = {
+ chromatic: { disableSnapshot: true },
+};
+
+
// ********* DOCS ONLY ********* //
export const Disabled = Template.bind({});
Disabled.tags = ["!dev"];
@@ -76,7 +110,9 @@ Disabled.parameters = {
*
* The `.spectrum-colorwheel-colorarea-container-size` is hard coded to position the color area within the color wheel using `.spectrum-color-wheel-color-area-margin`. Implementations using JS can calculate the container size with `Math.sqrt(2 * R * R)`, where `R` is the inner radius as calculated for the clip paths.
*
- * `.spectrum-colorwheel-path`, `.spectrum-colorwheel-path-borders` and `.spectrum-colorwheel-colorarea-container` are hard coded in CSS, and include token values as custom CSS variables so they can be accessed with JS. To use and calculate these values, implementations should consider:
+* Implementations should factor in the value of `--spectrum-color-wheel-color-area-margin`, as illustrated in the token specs, when calculating the size of the color area relative to the color wheel that contains it.
+ *
+ * `--spectrum-colorwheel-path` and `--spectrum-colorwheel-colorarea-container-size` are hard coded in CSS, and include token values as custom CSS variables so they can be accessed with JS. To use and calculate these values, implementations should consider:
* ```
* const wheel = document.querySelector(".spectrum-ColorWheel-wheel")
* getComputedStyle(wheel).getPropertyValue('--track-width')
diff --git a/components/colorwheel/stories/colorwheel.test.js b/components/colorwheel/stories/colorwheel.test.js
index 7271a8d0808..9bea3ef333c 100644
--- a/components/colorwheel/stories/colorwheel.test.js
+++ b/components/colorwheel/stories/colorwheel.test.js
@@ -11,6 +11,19 @@ export const ColorWheelGroup = Variants({
testHeading: "With color area",
isWithColorArea: true,
},
+ {
+ testHeading: "Without color loupe",
+ isWithColorLoupe: false,
+ },
+ {
+ testHeading: "Custom sizing",
+ customStyles: {
+ "--mod-colorwheel-inline-size": "300px",
+ "--mod-colorwheel-block-size": "300px",
+ "--mod-colorwheel-track-width": "30px",
+ "--mod-colorwheel-path": "\"M 149 149 m -149 0 a 149 149 0 1 0 298 0 a 149 149 0 1 0 -298 0 M 149 149 m -121 0 a 121 121 0 1 0 242 0 a 121 121 0 1 0 -242 0\"",
+ },
+ }
],
stateData: [
{
diff --git a/components/colorwheel/stories/template.js b/components/colorwheel/stories/template.js
index 851150ffd37..fe46f3ef157 100644
--- a/components/colorwheel/stories/template.js
+++ b/components/colorwheel/stories/template.js
@@ -2,12 +2,10 @@ import { Template as ColorArea } from "@spectrum-css/colorarea/stories/template.
import { Template as ColorHandle } from "@spectrum-css/colorhandle/stories/template.js";
import { html } from "lit";
import { classMap } from "lit/directives/class-map.js";
+import { styleMap } from "lit/directives/style-map.js";
import { when } from "lit/directives/when.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-ColorWheel",
@@ -15,16 +13,21 @@ export const Template = ({
isDisabled = false,
isFocused = false,
isWithColorArea = false,
+ isWithColorLoupe = true,
colorHandleStyle = {},
selectedColor = "rgba(255, 0, 0, 50%)",
+ customStyles = {},
} = {}, context = {}) => {
return html`
- ({ ...a, [c]: true }), {}),
- })}>
+
({ ...a, [c]: true }), {}),
+ })}
+ style=${styleMap(customStyles)}
+ >
${when(isWithColorArea, () => html`
@@ -40,20 +43,16 @@ export const Template = ({
+ })}>
${ColorHandle({
isDisabled,
isFocused,
customClasses: [`${rootClass}-handle`],
selectedColor,
customStyles: colorHandleStyle,
+ isWithColorLoupe,
}, context)}
diff --git a/components/colorwheel/themes/express.css b/components/colorwheel/themes/express.css
deleted file mode 100644
index 9fd550418f2..00000000000
--- a/components/colorwheel/themes/express.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
diff --git a/components/colorwheel/themes/spectrum-two.css b/components/colorwheel/themes/spectrum-two.css
deleted file mode 100644
index b80c228ebb8..00000000000
--- a/components/colorwheel/themes/spectrum-two.css
+++ /dev/null
@@ -1,18 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-ColorWheel {
- --spectrum-colorwheel-border-color: var(--spectrum-transparent-black-300);
- }
-}
diff --git a/components/colorwheel/themes/spectrum.css b/components/colorwheel/themes/spectrum.css
deleted file mode 100644
index 9c47a280a66..00000000000
--- a/components/colorwheel/themes/spectrum.css
+++ /dev/null
@@ -1,22 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-ColorWheel {
- --spectrum-colorwheel-border-color: var(--spectrum-transparent-black-200);
- }
-}
diff --git a/components/combobox/CHANGELOG.md b/components/combobox/CHANGELOG.md
index 95351bb623d..4a5512a67a5 100644
--- a/components/combobox/CHANGELOG.md
+++ b/components/combobox/CHANGELOG.md
@@ -1,14 +1,26 @@
# Change log
+## 5.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies:
+ - @spectrum-css/menu@10.0.0-next.0
+ - @spectrum-css/pickerbutton@7.0.0-next.0
+ - @spectrum-css/popover@9.0.0-next.0
+ - @spectrum-css/textfield@9.0.0-next.0
+
## 4.1.2
### Patch Changes
-- [#3609](https://github.com/adobe/spectrum-css/pull/3609) [`851be13`](https://github.com/adobe/spectrum-css/commit/851be13295f9d42d548894fee6626009f053de61) Thanks [@marissahuysentruyt](https://github.com/marissahuysentruyt)! - Fast follow fixes for combobox
+📝 [#3609](https://github.com/adobe/spectrum-css/pull/3609) [`851be13`](https://github.com/adobe/spectrum-css/commit/851be13295f9d42d548894fee6626009f053de61) Thanks [@marissahuysentruyt](https://github.com/marissahuysentruyt)!
+
+#### Fast follow fixes for combobox
- - corrects container query for the `--system` reference to "legacy" in the combobox/themes/spectrum.css file
- - corrects the border colors for several combobox states including focus, keyboardFocus, focus+hover, disabled, read-only for all themes
- - adds `--spectrum-combobox-readonly-input-border-color: var(--spectrum-gray-400);` to express.css theme so that the default border and read-only border colors are the same
+- corrects container query for the `--system` reference to "legacy" in the combobox/themes/spectrum.css file
+- corrects the border colors for several combobox states including focus, keyboardFocus, focus+hover, disabled, read-only for all themes
+- adds `--spectrum-combobox-readonly-input-border-color: var(--spectrum-gray-400);` to express.css theme so that the default border and read-only border colors are the same
## 4.1.1
diff --git a/components/combobox/dist/metadata.json b/components/combobox/dist/metadata.json
index bdf2685d75f..c0626f6390e 100644
--- a/components/combobox/dist/metadata.json
+++ b/components/combobox/dist/metadata.json
@@ -18,7 +18,6 @@
".spectrum-Combobox--quiet.spectrum-Combobox--sizeS",
".spectrum-Combobox--quiet.spectrum-Combobox--sizeXL",
".spectrum-Combobox--sizeL",
- ".spectrum-Combobox--sizeM",
".spectrum-Combobox--sizeS",
".spectrum-Combobox--sizeXL",
".spectrum-Combobox-button",
@@ -251,16 +250,6 @@
"--spectrum-workflow-icon-size-300",
"--spectrum-workflow-icon-size-75"
],
- "system-theme": [
- "--system-combobox-background-color-disabled",
- "--system-combobox-border-color-default",
- "--system-combobox-border-color-disabled",
- "--system-combobox-border-color-focus",
- "--system-combobox-border-color-focus-hover",
- "--system-combobox-border-color-hover",
- "--system-combobox-border-color-key-focus",
- "--system-combobox-readonly-input-border-color"
- ],
"passthroughs": [
"--mod-picker-button-background-color",
"--mod-picker-button-background-color-disabled",
diff --git a/components/combobox/index.css b/components/combobox/index.css
index 1718cb5d750..a1e1797971b 100644
--- a/components/combobox/index.css
+++ b/components/combobox/index.css
@@ -11,13 +11,8 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
.spectrum-Combobox {
- --spectrum-combobox-inline-size: var(--spectrum-field-width);
--spectrum-combobox-block-size: var(--spectrum-component-height-100);
- --spectrum-combobox-min-inline-size: calc(var(--spectrum-combo-box-minimum-width-multiplier) * var(--spectrum-combobox-block-size));
- --spectrum-combobox-button-width: var(--spectrum-combobox-block-size);
--spectrum-combobox-icon-size: var(--spectrum-workflow-icon-size-100);
--spectrum-combobox-font-size: var(--spectrum-font-size-100);
@@ -30,6 +25,10 @@
--spectrum-combobox-spacing-inline-start-edge-to-text: var(--spectrum-component-edge-to-text-100);
--spectrum-combobox-spacing-inline-end-edge-to-text: var(--spectrum-component-edge-to-text-100);
+ --spectrum-combobox-inline-size: var(--spectrum-field-width);
+ --spectrum-combobox-min-inline-size: calc(var(--spectrum-combo-box-minimum-width-multiplier) * var(--spectrum-combobox-block-size));
+ --spectrum-combobox-button-width: var(--spectrum-combobox-block-size);
+
--spectrum-combobox-focus-indicator-thickness: var(--spectrum-focus-indicator-thickness);
--spectrum-combobox-focus-indicator-gap: var(--spectrum-focus-indicator-gap);
--spectrum-combobox-focus-indicator-color: var(--spectrum-focus-indicator-color);
@@ -42,6 +41,15 @@
--spectrum-combobox-font-style: var(--spectrum-default-font-style);
--spectrum-combobox-line-height: var(--spectrum-line-height-100);
+ --spectrum-combobox-background-color-disabled: var(--spectrum-gray-25);
+
+ --spectrum-combobox-border-color-default: var(--spectrum-gray-500);
+ --spectrum-combobox-border-color-hover: var(--spectrum-gray-600);
+ --spectrum-combobox-border-color-focus: var(--spectrum-gray-800);
+ --spectrum-combobox-border-color-focus-hover: var(--spectrum-gray-900);
+ --spectrum-combobox-border-color-key-focus: var(--spectrum-gray-800);
+ --spectrum-combobox-border-color-disabled: var(--spectrum-disabled-border-color);
+
--spectrum-combobox-border-color-invalid-default: var(--spectrum-negative-border-color-default);
--spectrum-combobox-border-color-invalid-hover: var(--spectrum-negative-border-color-hover);
--spectrum-combobox-border-color-invalid-focus: var(--spectrum-negative-border-color-focus);
@@ -100,22 +108,6 @@
--spectrum-combobox-readonly-border-color-disabled: var(--spectrum-disabled-border-color);
}
-.spectrum-Combobox,
-.spectrum-Combobox--sizeM {
- --spectrum-combobox-block-size: var(--spectrum-component-height-100);
- --spectrum-combobox-icon-size: var(--spectrum-workflow-icon-size-100);
- --spectrum-combobox-font-size: var(--spectrum-font-size-100);
-
- --spectrum-combobox-spacing-inline-icon-to-button: var(--spectrum-combo-box-visual-to-field-button-medium);
- --spectrum-combobox-block-spacing-edge-to-progress-circle: var(--spectrum-field-top-to-progress-circle-medium);
- --spectrum-combobox-block-spacing-edge-to-alert: var(--spectrum-field-top-to-alert-icon-medium);
- --spectrum-combobox-spacing-edge-to-menu: var(--spectrum-component-to-menu-medium);
- --spectrum-combobox-spacing-block-start-edge-to-text: var(--spectrum-component-top-to-text-100);
- --spectrum-combobox-spacing-block-end-edge-to-text: var(--spectrum-component-bottom-to-text-100);
- --spectrum-combobox-spacing-inline-start-edge-to-text: var(--spectrum-component-edge-to-text-100);
- --spectrum-combobox-spacing-inline-end-edge-to-text: var(--spectrum-component-edge-to-text-100);
-}
-
.spectrum-Combobox--sizeS {
--spectrum-combobox-block-size: var(--spectrum-component-height-75);
--spectrum-combobox-icon-size: var(--spectrum-workflow-icon-size-75);
@@ -167,8 +159,13 @@
--spectrum-combobox-spacing-inline-start-edge-to-text: var(--spectrum-field-edge-to-text-quiet);
--spectrum-combobox-spacing-label-to-combobox: var(--spectrum-field-label-to-component-quiet-medium);
--spectrum-combobox-button-inline-offset: calc((var(--mod-combobox-block-size, var(--spectrum-combobox-block-size)) / 2) - (var(--mod-combobox-icon-size, var(--spectrum-combobox-icon-size)) / 2));
+
--mod-textfield-border-color-disabled: var(--mod-combobox-border-color-disabled, initial);
+ /* Settings for nested Picker Button component. */
+ --mod-picker-button-background-color-quiet: transparent;
+ --mod-picker-button-border-color-quiet: transparent;
+
&.spectrum-Combobox--sizeS {
--spectrum-combobox-spacing-label-to-combobox: var(--spectrum-field-label-to-component-quiet-small);
}
@@ -184,10 +181,6 @@
&.spectrum-Combobox--sizeXL {
--spectrum-combobox-spacing-label-to-combobox: var(--spectrum-field-label-to-component-quiet-extra-large);
}
-
- /* Settings for nested Picker Button component. */
- --mod-picker-button-background-color-quiet: transparent;
- --mod-picker-button-border-color-quiet: transparent;
}
@media (forced-colors: active) {
diff --git a/components/combobox/package.json b/components/combobox/package.json
index 76653eab3b5..6c59c3c84e4 100644
--- a/components/combobox/package.json
+++ b/components/combobox/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/combobox",
- "version": "4.1.2",
+ "version": "5.0.0-next.0",
"description": "The Spectrum CSS combobox component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,11 +25,11 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/menu": ">=9.0.0 <10.0.0",
- "@spectrum-css/pickerbutton": ">=6.0.0 <7.0.0",
- "@spectrum-css/popover": ">=8.0.0 <9.0.0",
+ "@spectrum-css/menu": ">=10.0.0-next.0",
+ "@spectrum-css/pickerbutton": ">=7.0.0-next.0",
+ "@spectrum-css/popover": ">=9.0.0-next.0",
"@spectrum-css/progresscircle": ">=5.0.0 <6.0.0",
- "@spectrum-css/textfield": ">=8.0.0 <9.0.0",
+ "@spectrum-css/textfield": ">=9.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -53,11 +53,11 @@
}
},
"devDependencies": {
- "@spectrum-css/menu": "9.2.0",
- "@spectrum-css/pickerbutton": "6.1.1",
- "@spectrum-css/popover": "8.2.0",
+ "@spectrum-css/menu": "10.0.0-next.1",
+ "@spectrum-css/pickerbutton": "7.0.0-next.0",
+ "@spectrum-css/popover": "9.0.0-next.1",
"@spectrum-css/progresscircle": "5.1.0",
- "@spectrum-css/textfield": "8.1.1",
+ "@spectrum-css/textfield": "9.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/combobox/stories/combobox.stories.js b/components/combobox/stories/combobox.stories.js
index baea4599d01..df57778d72d 100644
--- a/components/combobox/stories/combobox.stories.js
+++ b/components/combobox/stories/combobox.stories.js
@@ -171,6 +171,11 @@ DefaultGroup.args = Default.args;
DefaultGroup.tags = ["!dev"];
DefaultGroup.parameters = {
chromatic: { disableSnapshot: true },
+ docs: {
+ story: {
+ height: "360px",
+ },
+ },
};
export const QuietGroup = VariantGroup.bind({});
@@ -182,6 +187,11 @@ QuietGroup.args = {
QuietGroup.tags = ["!dev"];
QuietGroup.parameters = {
chromatic: { disableSnapshot: true },
+ docs: {
+ story: {
+ height: "360px",
+ },
+ },
};
/**
diff --git a/components/combobox/stories/combobox.test.js b/components/combobox/stories/combobox.test.js
index 5c7d94e7d44..b74a71a388b 100644
--- a/components/combobox/stories/combobox.test.js
+++ b/components/combobox/stories/combobox.test.js
@@ -4,9 +4,6 @@ import { Template } from "./template.js";
export const ComboBoxGroup = Variants({
Template,
sizeDirection: "row",
- wrapperStyles: {
- "align-items": "flex-start",
- },
testData: [
{
testHeading: "Default",
@@ -20,11 +17,17 @@ export const ComboBoxGroup = Variants({
{
testHeading: "Open",
isOpen: true,
+ wrapperStyles: {
+ "min-block-size": "250px",
+ },
},
{
testHeading: "Quiet + open",
isQuiet: true,
isOpen: true,
+ wrapperStyles: {
+ "min-block-size": "250px",
+ },
},
{
testHeading: "With field label top",
diff --git a/components/combobox/stories/template.js b/components/combobox/stories/template.js
index fe68d45cba9..f8cc0dbc1b1 100644
--- a/components/combobox/stories/template.js
+++ b/components/combobox/stories/template.js
@@ -10,9 +10,6 @@ import { styleMap } from "lit/directives/style-map.js";
import { when } from "lit/directives/when.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
const Combobox = ({
rootClass = "spectrum-Combobox",
@@ -66,7 +63,7 @@ const Combobox = ({
],
customInputClasses: [`${rootClass}-input`],
isLoading,
- customProgressCircleClasses: ["spectrum-Combobox-progress-circle"],
+ customInfieldProgressCircleClasses: ["spectrum-Combobox-progress-circle"],
name: "field",
isReadOnly,
value,
diff --git a/components/combobox/themes/express.css b/components/combobox/themes/express.css
deleted file mode 100644
index dc19625a853..00000000000
--- a/components/combobox/themes/express.css
+++ /dev/null
@@ -1,28 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
-
-@container style(--system: express) {
- .spectrum-Combobox {
- --spectrum-combobox-border-color-default: var(--spectrum-gray-400);
- --spectrum-combobox-border-color-hover: var(--spectrum-gray-500);
- --spectrum-combobox-border-color-focus: var(--spectrum-gray-900);
- --spectrum-combobox-border-color-focus-hover: var(--spectrum-gray-800);
- --spectrum-combobox-border-color-key-focus: var(--spectrum-gray-900);
-
- --spectrum-combobox-readonly-input-border-color: var(--spectrum-gray-400);
- }
-}
diff --git a/components/combobox/themes/spectrum-two.css b/components/combobox/themes/spectrum-two.css
deleted file mode 100644
index 9d8502ebb3e..00000000000
--- a/components/combobox/themes/spectrum-two.css
+++ /dev/null
@@ -1,27 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-Combobox {
- --spectrum-combobox-border-color-default: var(--spectrum-gray-500);
- --spectrum-combobox-border-color-hover: var(--spectrum-gray-600);
- --spectrum-combobox-border-color-focus: var(--spectrum-gray-800);
- --spectrum-combobox-border-color-focus-hover: var(--spectrum-gray-900);
- --spectrum-combobox-border-color-key-focus: var(--spectrum-gray-800);
-
- --spectrum-combobox-readonly-input-border-color: var(--spectrum-gray-500);
-
- --spectrum-combobox-background-color-disabled: var(--spectrum-gray-25);
- --spectrum-combobox-border-color-disabled: var(--spectrum-disabled-border-color);
- }
-}
diff --git a/components/combobox/themes/spectrum.css b/components/combobox/themes/spectrum.css
deleted file mode 100644
index 5b0a3eea8bf..00000000000
--- a/components/combobox/themes/spectrum.css
+++ /dev/null
@@ -1,29 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-Combobox {
- --spectrum-combobox-border-color-focus: var(--spectrum-gray-500);
- --spectrum-combobox-border-color-focus-hover: var(--spectrum-gray-600);
- --spectrum-combobox-border-color-key-focus: var(--spectrum-gray-600);
-
- --spectrum-combobox-readonly-input-border-color: var(--spectrum-gray-500);
-
- --spectrum-combobox-background-color-disabled: var(--spectrum-disabled-background-color);
- --spectrum-combobox-border-color-disabled: transparent;
- }
-}
diff --git a/components/commons/basebutton.css b/components/commons/basebutton.css
index fa015bc145f..ca0caa6bba2 100644
--- a/components/commons/basebutton.css
+++ b/components/commons/basebutton.css
@@ -29,39 +29,40 @@
/* Remove button the margin in Firefox and Safari. */
margin: 0;
- /* @deprecation --mod-sans-font-family-stack has been renamed and will be removed in a future version. */
- font-family: var(--mod-button-font-family, var(--mod-sans-font-family-stack, var(--spectrum-sans-font-family-stack)));
+ font-family: var(--mod-button-font-family, var(--spectrum-sans-font-family-stack));
+
+ /* Adjacent buttons should be aligned correctly */
+ vertical-align: top;
-webkit-font-smoothing: antialiased;
/* Font smoothing for Firefox */
-moz-osx-font-smoothing: grayscale;
- /* @deprecation --mod-line-height-100 has been renamed and will be removed in a future version. */
- line-height: var(--mod-button-line-height, var(--mod-line-height-100, var(--spectrum-line-height-100)));
+ line-height: var(--mod-button-line-height, var(--spectrum-line-height-100));
text-decoration: none;
/* Remove the inheritance of text transform on button in Edge, Firefox, and IE. */
text-transform: none;
- /* Adjacent buttons should be aligned correctly */
- vertical-align: top;
-
/* stylelint-disable-next-line property-no-vendor-prefix -- Correct the inability to style clickable types in iOS and Safari (normalize). */
-webkit-appearance: button;
- border-style: solid;
-
transition:
- background var(--mod-button-animation-duration, var(--mod-animation-duration-100, var(--spectrum-animation-duration-100))) ease-out,
- border-color var(--mod-button-animation-duration, var(--mod-animation-duration-100, var(--spectrum-animation-duration-100))) ease-out,
- color var(--mod-button-animation-duration, var(--mod-animation-duration-100, var(--spectrum-animation-duration-100))) ease-out,
- box-shadow var(--mod-button-animation-duration, var(--mod-animation-duration-100, var(--spectrum-animation-duration-100))) ease-out;
+ background var(--mod-button-animation-duration, var(--spectrum-animation-duration-100)) ease-out,
+ border-color var(--mod-button-animation-duration, var(--spectrum-animation-duration-100)) ease-out,
+ color var(--mod-button-animation-duration, var(--spectrum-animation-duration-100)) ease-out,
+ box-shadow var(--mod-button-animation-duration, var(--spectrum-animation-duration-100)) ease-out;
/* Fix Firefox */
&::-moz-focus-inner {
- border-style: none;
+ margin-block-start: -2px;
+ margin-block-end: -2px;
padding: 0;
+ border: 0;
+
+ /* Remove the inner border and padding for button in Firefox. */
+ border-style: none;
}
&:focus {
@@ -90,12 +91,11 @@
inset-inline-end: 0;
display: block;
-
- margin: calc(-1 * var(--mod-button-focus-indicator-gap, var(--spectrum-focus-indicator-gap)));
+ margin: calc(var(--mod-button-focus-indicator-gap, var(--spectrum-focus-indicator-gap)) * -1);
transition:
- opacity var(--mod-button-animation-duration, var(--mod-button-animation-duration, var(--spectrum-animation-duration-100))) ease-out,
- margin var(--mod-button-animation-duration, var(--mod-button-animation-duration, var(--spectrum-animation-duration-100))) ease-out;
+ opacity var(--mod-button-animation-duration, var(--spectrum-animation-duration-100)) ease-out,
+ margin var(--mod-button-animation-duration, var(--spectrum-animation-duration-100)) ease-out;
}
&:focus-visible::after {
diff --git a/components/contextualhelp/CHANGELOG.md b/components/contextualhelp/CHANGELOG.md
index 8a70ab46a92..586beab78ff 100644
--- a/components/contextualhelp/CHANGELOG.md
+++ b/components/contextualhelp/CHANGELOG.md
@@ -1,5 +1,20 @@
# Change log
+## 6.0.0-next.1
+
+### Patch Changes
+
+- Updated dependencies [[`c88fcdc`](https://github.com/adobe/spectrum-css/commit/c88fcdcfa4866f4b3ff7a1027e4253b8f2114351)]:
+ - @spectrum-css/link@8.0.0-next.0
+
+## 6.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @spectrum-css/actionbutton@8.0.0-next.0
+ - @spectrum-css/popover@9.0.0-next.0
+
## 5.1.2
### Patch Changes
diff --git a/components/contextualhelp/dist/metadata.json b/components/contextualhelp/dist/metadata.json
index 4f7dbd58c5b..8711f77b47f 100644
--- a/components/contextualhelp/dist/metadata.json
+++ b/components/contextualhelp/dist/metadata.json
@@ -31,7 +31,6 @@
"--spectrum-spacing-300",
"--spectrum-spacing-400"
],
- "system-theme": [],
"passthroughs": [],
"high-contrast": [
"--highcontrast-contextual-help-body-color",
diff --git a/components/contextualhelp/package.json b/components/contextualhelp/package.json
index 014b80869e5..bee6f04918d 100644
--- a/components/contextualhelp/package.json
+++ b/components/contextualhelp/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/contextualhelp",
- "version": "5.1.2",
+ "version": "6.0.0-next.1",
"description": "The Spectrum CSS contextualhelp component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,9 +25,9 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/actionbutton": ">=7.0.0 <8.0.0",
- "@spectrum-css/link": ">=7.0.0 <8.0.0",
- "@spectrum-css/popover": ">=8.0.0 <9.0.0",
+ "@spectrum-css/actionbutton": ">=8.0.0-next.0",
+ "@spectrum-css/link": ">=8.0.0-next.0",
+ "@spectrum-css/popover": ">=9.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -45,9 +45,9 @@
}
},
"devDependencies": {
- "@spectrum-css/actionbutton": "7.1.2",
- "@spectrum-css/link": "7.1.0",
- "@spectrum-css/popover": "8.2.0",
+ "@spectrum-css/actionbutton": "8.0.0-next.1",
+ "@spectrum-css/link": "8.0.0-next.0",
+ "@spectrum-css/popover": "9.0.0-next.1",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/datepicker/CHANGELOG.md b/components/datepicker/CHANGELOG.md
index 153de006cac..0a4b5706e4b 100644
--- a/components/datepicker/CHANGELOG.md
+++ b/components/datepicker/CHANGELOG.md
@@ -1,5 +1,15 @@
# Change log
+## 5.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @spectrum-css/pickerbutton@7.0.0-next.0
+ - @spectrum-css/calendar@8.0.0-next.0
+ - @spectrum-css/popover@9.0.0-next.0
+ - @spectrum-css/textfield@9.0.0-next.0
+
## 4.1.1
### Patch Changes
@@ -250,6 +260,7 @@ Output for all component CSS files is now being run through a lightweight optimi
### 🛑 BREAKING CHANGE
- Removes component-builder & component-builder-simple for script leveraging postcss
+
- Imports added to index.css and themes/express.css
## 2.1.4
diff --git a/components/datepicker/dist/metadata.json b/components/datepicker/dist/metadata.json
index f52f1b93cd6..cf8fffe86db 100644
--- a/components/datepicker/dist/metadata.json
+++ b/components/datepicker/dist/metadata.json
@@ -140,7 +140,6 @@
"--spectrum-text-to-visual-100",
"--spectrum-workflow-icon-size-100"
],
- "system-theme": ["--system-date-picker-initial-height"],
"passthroughs": [
"--mod-picker-button-background-color",
"--mod-picker-button-background-color-hover-disabled",
diff --git a/components/datepicker/index.css b/components/datepicker/index.css
index 7b20a28ae6b..2c6cd24fc1f 100644
--- a/components/datepicker/index.css
+++ b/components/datepicker/index.css
@@ -11,13 +11,14 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
.spectrum-DatePicker {
+ --spectrum-datepicker-initial-height: var(--spectrum-component-height-100);
+
--spectrum-datepicker-border-radius: var(--mod-datepicker-border-radius, var(--spectrum-corner-radius-100));
--spectrum-datepicker-border-radius-quiet: var(--mod-datepicker-border-radius-quiet, 0);
--spectrum-datepicker-border-width: var(--spectrum-border-width-100);
--spectrum-datepicker-min-width: var(--mod-datepicker-min-width, var(--spectrum-field-width));
+ --spectrum-datepicker-initial-height: var(--spectrum-component-height-100);
--spectrum-datepicker-icon-size: var(--spectrum-workflow-icon-size-100);
/* button */
@@ -85,8 +86,10 @@
}
&.is-invalid {
+ /* @passthrough start */
--mod-textfield-icon-spacing-inline-end-invalid: calc(var(--spectrum-datepicker-pickerbutton-width) + var(--spectrum-datepicker-invalid-icon-to-button));
--mod-textfield-icon-spacing-inline-end-quiet-invalid: calc(var(--spectrum-datepicker-pickerbutton-width-quiet) + var(--spectrum-datepicker-invalid-icon-to-button-quiet));
+ /* @passthrough end */
}
&:not(.spectrum-DatePicker--quiet, .is-disabled) {
diff --git a/components/datepicker/package.json b/components/datepicker/package.json
index 726d537c70d..93763a55bc0 100644
--- a/components/datepicker/package.json
+++ b/components/datepicker/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/datepicker",
- "version": "4.1.1",
+ "version": "5.0.0-next.0",
"description": "The Spectrum CSS datepicker component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,10 +25,10 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/calendar": ">=7.0.0 <8.0.0",
- "@spectrum-css/pickerbutton": ">=6.0.0 <7.0.0",
- "@spectrum-css/popover": ">=8.0.0 <9.0.0",
- "@spectrum-css/textfield": ">=8.0.0 <9.0.0",
+ "@spectrum-css/calendar": ">=8.0.0-next.0",
+ "@spectrum-css/pickerbutton": ">=7.0.0-next.0",
+ "@spectrum-css/popover": ">=9.0.0-next.0",
+ "@spectrum-css/textfield": ">=9.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -49,10 +49,10 @@
}
},
"devDependencies": {
- "@spectrum-css/calendar": "7.1.0",
- "@spectrum-css/pickerbutton": "6.1.1",
- "@spectrum-css/popover": "8.2.0",
- "@spectrum-css/textfield": "8.1.1",
+ "@spectrum-css/calendar": "8.0.0-next.0",
+ "@spectrum-css/pickerbutton": "7.0.0-next.0",
+ "@spectrum-css/popover": "9.0.0-next.1",
+ "@spectrum-css/textfield": "9.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/datepicker/stories/template.js b/components/datepicker/stories/template.js
index 2d56102d24e..eebb928df80 100644
--- a/components/datepicker/stories/template.js
+++ b/components/datepicker/stories/template.js
@@ -9,9 +9,6 @@ import { classMap } from "lit/directives/class-map.js";
import { ifDefined } from "lit/directives/if-defined.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const DatePicker = ({
rootClass = "spectrum-DatePicker",
diff --git a/components/datepicker/themes/express.css b/components/datepicker/themes/express.css
deleted file mode 100644
index ead071e6f18..00000000000
--- a/components/datepicker/themes/express.css
+++ /dev/null
@@ -1,22 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
-
-@container style(--system: express) {
- .spectrum-DatePicker {
- --spectrum-datepicker-initial-height: var(--spectrum-component-height-75);
- }
-}
diff --git a/components/datepicker/themes/spectrum-two.css b/components/datepicker/themes/spectrum-two.css
deleted file mode 100644
index 05b3ca88ae4..00000000000
--- a/components/datepicker/themes/spectrum-two.css
+++ /dev/null
@@ -1,18 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-DatePicker {
- --spectrum-datepicker-initial-height: var(--spectrum-component-height-100);
- }
-}
diff --git a/components/datepicker/themes/spectrum.css b/components/datepicker/themes/spectrum.css
deleted file mode 100644
index 3d81bc564b5..00000000000
--- a/components/datepicker/themes/spectrum.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
diff --git a/components/dial/CHANGELOG.md b/components/dial/CHANGELOG.md
index 3cdd7615c66..03c0d4bb1a6 100644
--- a/components/dial/CHANGELOG.md
+++ b/components/dial/CHANGELOG.md
@@ -4,7 +4,9 @@
### Minor Changes
-- [#3527](https://github.com/adobe/spectrum-css/pull/3527) [`5f1751c`](https://github.com/adobe/spectrum-css/commit/5f1751c82a5fe55ae0d999f5f50cfeca4c8a5c75) Thanks [@castastrophe](https://github.com/castastrophe)! - By updating the postcss-preset-env to the latest breaking change version, output for this component no longer injects the `.js-focus-within` and '[focus-within]` selectors for the focus-within polyfill. As this feature is not used in the SWC consumption, risk to the end user for this removal is low.
+📝 [#3527](https://github.com/adobe/spectrum-css/pull/3527) [`5f1751c`](https://github.com/adobe/spectrum-css/commit/5f1751c82a5fe55ae0d999f5f50cfeca4c8a5c75) Thanks [@castastrophe](https://github.com/castastrophe)!
+
+By updating the postcss-preset-env to the latest breaking change version, output for this component no longer injects the `.js-focus-within` and '[focus-within]` selectors for the focus-within polyfill. As this feature is not used in the SWC consumption, risk to the end user for this removal is low.
## 5.1.0
diff --git a/components/dial/dist/metadata.json b/components/dial/dist/metadata.json
index cf8d026a3b2..1d91c2bb539 100644
--- a/components/dial/dist/metadata.json
+++ b/components/dial/dist/metadata.json
@@ -112,10 +112,6 @@
"--spectrum-gray-800",
"--spectrum-line-height-200"
],
- "system-theme": [
- "--system-dial-background-color-default",
- "--system-dial-handle-marker-color-key-focus"
- ],
"passthroughs": [],
"high-contrast": [
"--highcontrast-dial-border-color",
diff --git a/components/dial/index.css b/components/dial/index.css
index 8aee8cef361..4e891ef1b17 100644
--- a/components/dial/index.css
+++ b/components/dial/index.css
@@ -11,9 +11,10 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
.spectrum-Dial {
+ --spectrum-dial-background-color-default: var(--spectrum-gray-75);
+ --spectrum-dial-handle-marker-color-key-focus: var(--spectrum-gray-25);
+
--spectrum-dial-handle-marker-color: var(--spectrum-gray-700);
--spectrum-dial-border-color: var(--spectrum-gray-700);
@@ -24,6 +25,8 @@
--spectrum-dial-min-max-tick-color: var(--spectrum-gray-600);
+ --spectrum-dial-handle-marker-color-key-focus: var(--spectrum-gray-25);
+
--spectrum-dial-label-text-color: var(--spectrum-gray-700);
--spectrum-dial-label-text-color-disabled: var(--spectrum-gray-700);
--spectrum-dial-handle-border-color-disabled: var(--spectrum-gray-400);
diff --git a/components/dial/stories/dial.stories.js b/components/dial/stories/dial.stories.js
index 9e9970e234b..51c3dbbedfc 100644
--- a/components/dial/stories/dial.stories.js
+++ b/components/dial/stories/dial.stories.js
@@ -36,6 +36,7 @@ export default {
packageJson,
metadata,
},
+ tags: ["migrated"],
};
export const Default = DialGroup.bind();
diff --git a/components/dial/stories/template.js b/components/dial/stories/template.js
index c8f25c2175b..547fb97f661 100644
--- a/components/dial/stories/template.js
+++ b/components/dial/stories/template.js
@@ -5,9 +5,6 @@ import { ifDefined } from "lit/directives/if-defined.js";
import { when } from "lit/directives/when.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-Dial",
diff --git a/components/dial/themes/express.css b/components/dial/themes/express.css
deleted file mode 100644
index 9fd550418f2..00000000000
--- a/components/dial/themes/express.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
diff --git a/components/dial/themes/spectrum-two.css b/components/dial/themes/spectrum-two.css
deleted file mode 100644
index 410196c3916..00000000000
--- a/components/dial/themes/spectrum-two.css
+++ /dev/null
@@ -1,19 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-Dial {
- --spectrum-dial-background-color-default: var(--spectrum-gray-75);
- --spectrum-dial-handle-marker-color-key-focus: var(--spectrum-gray-25);
- }
-}
diff --git a/components/dial/themes/spectrum.css b/components/dial/themes/spectrum.css
deleted file mode 100644
index 24077607a8b..00000000000
--- a/components/dial/themes/spectrum.css
+++ /dev/null
@@ -1,23 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-Dial {
- --spectrum-dial-background-color-default: var(--spectrum-gray-100);
- --spectrum-dial-handle-marker-color-key-focus: var(--spectrum-gray-50);
- }
-}
diff --git a/components/dialog/CHANGELOG.md b/components/dialog/CHANGELOG.md
index e2ddffb8aaa..d402c3ccdf4 100644
--- a/components/dialog/CHANGELOG.md
+++ b/components/dialog/CHANGELOG.md
@@ -1,5 +1,28 @@
# Change log
+## 13.0.0-next.2
+
+### Patch Changes
+
+- Updated dependencies [[`cb1b957`](https://github.com/adobe/spectrum-css/commit/cb1b957c05ecf02d3f473de09a8bfd5f2b5d42bf)]:
+ - @spectrum-css/modal@7.1.1-next.0
+
+## 13.0.0-next.1
+
+### Patch Changes
+
+- Updated dependencies [[`c6836fb`](https://github.com/adobe/spectrum-css/commit/c6836fb132effcfb09e4ca6d0d8923564bfe2914)]:
+ - @spectrum-css/divider@6.0.0-next.0
+
+## 13.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @spectrum-css/button@15.0.0-next.0
+ - @spectrum-css/closebutton@7.0.0-next.0
+ - @spectrum-css/buttongroup@10.0.0-next.0
+
## 12.1.0
### Minor Changes
@@ -238,6 +261,7 @@ Output for all component CSS files is now being run through a lightweight optimi
### 🛑 BREAKING CHANGE
- Removes component-builder & component-builder-simple for script leveraging postcss
+
- Imports added to index.css and themes/express.css
## 9.2.4
diff --git a/components/dialog/dist/metadata.json b/components/dialog/dist/metadata.json
index 812542da227..738156392db 100644
--- a/components/dialog/dist/metadata.json
+++ b/components/dialog/dist/metadata.json
@@ -2,100 +2,140 @@
"sourceFile": "index.css",
"selectors": [
".spectrum-Dialog",
- ".spectrum-Dialog .spectrum-Dialog-divider",
- ".spectrum-Dialog .spectrum-Dialog-grid",
".spectrum-Dialog .spectrum-Dialog-header",
+ ".spectrum-Dialog--dismissible .spectrum-Dialog-grid",
+ ".spectrum-Dialog--dismissible .spectrum-Dialog-grid .spectrum-Dialog-footer",
".spectrum-Dialog--fullscreen",
".spectrum-Dialog--fullscreen .spectrum-Dialog-buttonGroup",
+ ".spectrum-Dialog--fullscreen .spectrum-Dialog-closeButton",
".spectrum-Dialog--fullscreen .spectrum-Dialog-content",
".spectrum-Dialog--fullscreen .spectrum-Dialog-footer",
+ ".spectrum-Dialog--fullscreen .spectrum-Dialog-grid",
+ ".spectrum-Dialog--fullscreen .spectrum-Dialog-header",
+ ".spectrum-Dialog--fullscreen .spectrum-Dialog-header > .spectrum-Dialog-headerContentWrapper",
".spectrum-Dialog--fullscreen .spectrum-Dialog-heading",
- ".spectrum-Dialog--fullscreen .spectrum-Dialog-heading + .spectrum-Dialog-divider",
".spectrum-Dialog--fullscreen.spectrum-Dialog .spectrum-Dialog-grid",
".spectrum-Dialog--fullscreenTakeover",
".spectrum-Dialog--fullscreenTakeover .spectrum-Dialog-buttonGroup",
+ ".spectrum-Dialog--fullscreenTakeover .spectrum-Dialog-closeButton",
".spectrum-Dialog--fullscreenTakeover .spectrum-Dialog-content",
".spectrum-Dialog--fullscreenTakeover .spectrum-Dialog-footer",
+ ".spectrum-Dialog--fullscreenTakeover .spectrum-Dialog-grid",
+ ".spectrum-Dialog--fullscreenTakeover .spectrum-Dialog-header",
+ ".spectrum-Dialog--fullscreenTakeover .spectrum-Dialog-header > .spectrum-Dialog-headerContentWrapper",
".spectrum-Dialog--fullscreenTakeover .spectrum-Dialog-heading",
".spectrum-Dialog--fullscreenTakeover.spectrum-Dialog .spectrum-Dialog-grid",
- ".spectrum-Dialog--noDivider .spectrum-Dialog-divider",
- ".spectrum-Dialog--noDivider .spectrum-Dialog-heading",
".spectrum-Dialog--sizeL",
".spectrum-Dialog--sizeS",
".spectrum-Dialog-buttonGroup",
- ".spectrum-Dialog-buttonGroup.spectrum-Dialog-buttonGroup--noFooter",
+ ".spectrum-Dialog-buttonGroup--noFooter",
".spectrum-Dialog-closeButton",
".spectrum-Dialog-content",
".spectrum-Dialog-footer",
- ".spectrum-Dialog-footer > *",
- ".spectrum-Dialog-footer > .spectrum-Button + .spectrum-Button",
+ ".spectrum-Dialog-footer .spectrum-Dialog-footerContent",
+ ".spectrum-Dialog-footer:has(.spectrum-Dialog-buttonGroup)",
+ ".spectrum-Dialog-footer:has(.spectrum-Dialog-footerContent)",
+ ".spectrum-Dialog-grid",
".spectrum-Dialog-header",
+ ".spectrum-Dialog-header > .spectrum-Dialog-headerContentWrapper",
".spectrum-Dialog-heading",
- ".spectrum-Dialog-heading.spectrum-Dialog-heading--noHeader",
- ".spectrum-Dialog-hero",
- ".spectrum-Dialog.spectrum-Dialog--dismissable .spectrum-Dialog-grid",
- ".spectrum-Dialog.spectrum-Dialog--dismissable .spectrum-Dialog-grid .spectrum-Dialog-buttonGroup",
- ".spectrum-Dialog.spectrum-Dialog--dismissable .spectrum-Dialog-grid .spectrum-Dialog-footer"
+ ".spectrum-Dialog-hero"
],
"modifiers": [
- "--mod-dialog-confirm-border-radius",
- "--mod-dialog-confirm-buttongroup-padding-top",
- "--mod-dialog-confirm-close-button-padding",
- "--mod-dialog-confirm-close-button-size",
- "--mod-dialog-confirm-description-font-weight",
- "--mod-dialog-confirm-description-margin",
- "--mod-dialog-confirm-description-padding",
- "--mod-dialog-confirm-description-text-color",
- "--mod-dialog-confirm-description-text-line-height",
- "--mod-dialog-confirm-description-text-size",
- "--mod-dialog-confirm-divider-block-spacing-end",
- "--mod-dialog-confirm-divider-block-spacing-start",
- "--mod-dialog-confirm-divider-height",
- "--mod-dialog-confirm-footer-padding-top",
- "--mod-dialog-confirm-gap-size",
- "--mod-dialog-confirm-hero-height",
- "--mod-dialog-confirm-large-width",
- "--mod-dialog-confirm-medium-width",
- "--mod-dialog-confirm-padding-grid",
- "--mod-dialog-confirm-small-width",
- "--mod-dialog-confirm-title-text-color",
- "--mod-dialog-confirm-title-text-line-height",
- "--mod-dialog-confirm-title-text-size",
- "--mod-dialog-fullscreen-header-text-size",
- "--mod-dialog-heading-font-weight",
- "--mod-dialog-min-inline-size",
- "--mod-dialog-width"
- ],
- "component": [
- "--spectrum-dialog-confirm-border-radius",
- "--spectrum-dialog-confirm-buttongroup-padding-top",
- "--spectrum-dialog-confirm-close-button-padding",
- "--spectrum-dialog-confirm-close-button-size",
- "--spectrum-dialog-confirm-description-padding",
- "--spectrum-dialog-confirm-description-text-color",
- "--spectrum-dialog-confirm-description-text-size",
- "--spectrum-dialog-confirm-divider-block-spacing-end",
- "--spectrum-dialog-confirm-divider-block-spacing-start",
- "--spectrum-dialog-confirm-gap-size",
- "--spectrum-dialog-confirm-hero-height",
- "--spectrum-dialog-confirm-padding-grid",
- "--spectrum-dialog-confirm-title-text-size"
+ "--mod-standard-dialog-background-color",
+ "--mod-standard-dialog-border-radius",
+ "--mod-standard-dialog-description-font-size",
+ "--mod-standard-dialog-description-font-weight",
+ "--mod-standard-dialog-description-line-height",
+ "--mod-standard-dialog-description-text-color",
+ "--mod-standard-dialog-header-content-font-size",
+ "--mod-standard-dialog-heading-font-size",
+ "--mod-standard-dialog-heading-font-weight",
+ "--mod-standard-dialog-heading-line-height",
+ "--mod-standard-dialog-heading-text-color",
+ "--mod-standard-dialog-hero-block-size",
+ "--mod-standard-dialog-max-width",
+ "--mod-standard-dialog-max-width-large",
+ "--mod-standard-dialog-max-width-small",
+ "--mod-standard-dialog-min-inline-size",
+ "--mod-standard-dialog-spacing-description-to-footer",
+ "--mod-standard-dialog-spacing-edge-to-close-button",
+ "--mod-standard-dialog-spacing-footer-to-button-group",
+ "--mod-standard-dialog-spacing-grid-padding",
+ "--mod-standard-dialog-spacing-title-to-description",
+ "--mod-standard-dialog-spacing-title-to-header-content",
+ "--mod-takeover-dialog-grid-spacing",
+ "--mod-takeover-dialog-spacing-header-content-gap",
+ "--mod-takeover-dialog-title-font-size"
],
+ "component": [],
"global": [
- "--spectrum-component-bottom-to-text-300",
- "--spectrum-component-height-100",
- "--spectrum-component-pill-edge-to-text-100",
- "--spectrum-gray-800",
- "--spectrum-gray-900",
- "--spectrum-heading-sans-serif-font-weight",
- "--spectrum-line-height-100",
- "--spectrum-regular-font-weight",
+ "--spectrum-background-layer-2-color",
+ "--spectrum-black-rgb",
+ "--spectrum-body-color",
+ "--spectrum-body-sans-serif-font-style",
+ "--spectrum-body-sans-serif-font-weight",
+ "--spectrum-corner-radius-extra-large-default",
+ "--spectrum-heading-color",
+ "--spectrum-line-height-200",
+ "--spectrum-overlay-opacity",
+ "--spectrum-sans-font-family-stack",
"--spectrum-spacing-200",
"--spectrum-spacing-300",
- "--spectrum-spacing-50",
- "--spectrum-spacing-600"
+ "--spectrum-spacing-400",
+ "--spectrum-spacing-500",
+ "--spectrum-standard-dialog-background-color",
+ "--spectrum-standard-dialog-body-font-size",
+ "--spectrum-standard-dialog-border-radius",
+ "--spectrum-standard-dialog-description-font-family",
+ "--spectrum-standard-dialog-description-font-size",
+ "--spectrum-standard-dialog-description-font-style",
+ "--spectrum-standard-dialog-description-font-weight",
+ "--spectrum-standard-dialog-description-line-height",
+ "--spectrum-standard-dialog-description-text-color",
+ "--spectrum-standard-dialog-header-content-font-size",
+ "--spectrum-standard-dialog-heading-font-family",
+ "--spectrum-standard-dialog-heading-font-size",
+ "--spectrum-standard-dialog-heading-font-style",
+ "--spectrum-standard-dialog-heading-font-weight",
+ "--spectrum-standard-dialog-heading-line-height",
+ "--spectrum-standard-dialog-heading-text-color",
+ "--spectrum-standard-dialog-hero-block-size",
+ "--spectrum-standard-dialog-max-width",
+ "--spectrum-standard-dialog-maximum-width-large",
+ "--spectrum-standard-dialog-maximum-width-medium",
+ "--spectrum-standard-dialog-maximum-width-small",
+ "--spectrum-standard-dialog-min-inline-size",
+ "--spectrum-standard-dialog-minimum-width",
+ "--spectrum-standard-dialog-padding",
+ "--spectrum-standard-dialog-spacing-description-to-footer",
+ "--spectrum-standard-dialog-spacing-edge-to-close-button",
+ "--spectrum-standard-dialog-spacing-edge-to-content",
+ "--spectrum-standard-dialog-spacing-edge-to-header-content-inline-end",
+ "--spectrum-standard-dialog-spacing-footer-to-button-group",
+ "--spectrum-standard-dialog-spacing-grid-padding",
+ "--spectrum-standard-dialog-spacing-title-to-description",
+ "--spectrum-standard-dialog-spacing-title-to-header-content",
+ "--spectrum-standard-dialog-title-font-size",
+ "--spectrum-takeover-dialog-block-size",
+ "--spectrum-takeover-dialog-grid-spacing",
+ "--spectrum-takeover-dialog-height",
+ "--spectrum-takeover-dialog-inline-size",
+ "--spectrum-takeover-dialog-spacing-grid-padding",
+ "--spectrum-takeover-dialog-spacing-header-content-gap",
+ "--spectrum-takeover-dialog-spacing-header-gap",
+ "--spectrum-takeover-dialog-spacing-title-to-body",
+ "--spectrum-takeover-dialog-spacing-title-to-content",
+ "--spectrum-takeover-dialog-title-font-size",
+ "--spectrum-takeover-dialog-width",
+ "--spectrum-title-line-height",
+ "--spectrum-title-sans-serif-font-style",
+ "--spectrum-title-sans-serif-font-weight",
+ "--spectrum-title-size-xxl"
+ ],
+ "passthroughs": [
+ "--mod-buttongroup-flex-wrap",
+ "--mod-buttongroup-justify-content"
],
- "system-theme": [],
- "passthroughs": [],
"high-contrast": []
}
diff --git a/components/dialog/index.css b/components/dialog/index.css
index 39ed5be57c7..b4ea3002d30 100644
--- a/components/dialog/index.css
+++ b/components/dialog/index.css
@@ -12,200 +12,235 @@
*/
.spectrum-Dialog {
- --spectrum-dialog-confirm-divider-block-spacing-start: var(--spectrum-spacing-300);
- --spectrum-dialog-confirm-divider-block-spacing-end: var(--spectrum-spacing-200);
- --spectrum-dialog-confirm-description-text-color: var(--spectrum-gray-800);
- --spectrum-dialog-confirm-description-padding: var(--spectrum-spacing-50);
- --spectrum-dialog-confirm-gap-size: var(--spectrum-component-pill-edge-to-text-100);
- --spectrum-dialog-confirm-buttongroup-padding-top: var(--spectrum-spacing-600);
- --spectrum-dialog-confirm-close-button-size: var(--spectrum-component-height-100);
- --spectrum-dialog-confirm-close-button-padding: calc(26px - var(--spectrum-component-bottom-to-text-300));
+ --spectrum-standard-dialog-max-width: var(--spectrum-standard-dialog-maximum-width-medium);
+ --spectrum-standard-dialog-min-inline-size: var(--spectrum-standard-dialog-minimum-width);
+ --spectrum-standard-dialog-border-radius: var(--spectrum-corner-radius-extra-large-default);
+
+ /* Fonts */
+ --spectrum-standard-dialog-heading-font-weight: var(--spectrum-title-sans-serif-font-weight);
+ --spectrum-standard-dialog-heading-font-size: var(--spectrum-standard-dialog-title-font-size);
+ --spectrum-standard-dialog-heading-font-style: var(--spectrum-title-sans-serif-font-style);
+ --spectrum-standard-dialog-heading-font-family: var(--spectrum-sans-font-family-stack);
+ --spectrum-standard-dialog-description-font-weight: var(--spectrum-body-sans-serif-font-weight);
+ --spectrum-standard-dialog-description-font-size: var(--spectrum-standard-dialog-body-font-size);
+ --spectrum-standard-dialog-description-font-style: var(--spectrum-body-sans-serif-font-style);
+ --spectrum-standard-dialog-description-font-family: var(--spectrum-sans-font-family-stack);
+ --spectrum-standard-dialog-header-content-font-size: var(--spectrum-standard-dialog-body-font-size);
+
+ --spectrum-standard-dialog-heading-line-height: var(--spectrum-title-line-height);
+ --spectrum-standard-dialog-description-line-height: var(--spectrum-line-height-200);
+
+ /* Colors */
+ --spectrum-standard-dialog-heading-text-color: var(--spectrum-heading-color);
+ --spectrum-standard-dialog-description-text-color: var(--spectrum-body-color);
+ --spectrum-standard-dialog-background-color: var(--spectrum-background-layer-2-color);
+
+ /* Spacing */
+ --spectrum-standard-dialog-padding: var(--spectrum-standard-dialog-spacing-edge-to-content);
+ --spectrum-standard-dialog-spacing-title-to-description: var(--spectrum-spacing-300);
+ --spectrum-standard-dialog-spacing-description-to-footer: var(--spectrum-spacing-500);
+ --spectrum-standard-dialog-spacing-title-to-header-content: var(--spectrum-spacing-400);
+ --spectrum-standard-dialog-spacing-edge-to-header-content-inline-end: var(--spectrum-spacing-400);
+ --spectrum-standard-dialog-spacing-footer-to-button-group: var(--spectrum-spacing-400);
+
+ /* Grid */
+ --spectrum-standard-dialog-spacing-grid-padding: var(--spectrum-standard-dialog-padding);
+ --spectrum-standard-dialog-spacing-edge-to-close-button: var(--spectrum-spacing-200);
+
+ /* Hero */
+ --spectrum-standard-dialog-hero-block-size: 140px;
+
+ /* Passthrough for nested component(s) */
+ --mod-buttongroup-justify-content: flex-end;
+ --mod-buttongroup-flex-wrap: nowrap;
+
+ /* Fullscreen/fullscreenTakeover */
+ --spectrum-takeover-dialog-title-font-size: var(--spectrum-title-size-xxl);
+ --spectrum-takeover-dialog-grid-spacing: var(--spectrum-takeover-dialog-spacing-grid-padding);
+ --spectrum-takeover-dialog-spacing-header-content-gap: var(--spectrum-takeover-dialog-spacing-header-gap);
+ --spectrum-takeover-dialog-spacing-title-to-content: var(--spectrum-takeover-dialog-spacing-title-to-body);
+ --spectrum-takeover-dialog-inline-size: var(--spectrum-takeover-dialog-width);
+ --spectrum-takeover-dialog-block-size: var(--spectrum-takeover-dialog-height);
+}
+.spectrum-Dialog {
/* Be a flexbox to allow a full sized content area that scrolls */
display: flex;
/* Allow 100% width, taking into account padding */
box-sizing: border-box;
- /* Be no bigger than max-width, but also be 90% if the viewport is smaller than max-width */
- inline-size: var(--mod-dialog-width, var(--mod-dialog-confirm-medium-width, 480px));
- min-inline-size: var(--mod-dialog-min-inline-size, 288px);
+ /* Be no bigger than max-width, but also be 90% if the viewport is smaller than max-width */
+ inline-size: var(--mod-standard-dialog-max-width, var(--spectrum-standard-dialog-max-width));
+ min-inline-size: var(--mod-standard-dialog-min-inline-size, var(--spectrum-standard-dialog-min-inline-size));
max-inline-size: 100%;
-
max-block-size: inherit;
-
+ background-color: var(--mod-standard-dialog-background-color, var(--spectrum-standard-dialog-background-color));
outline: none;
+ border-radius: var(--mod-standard-dialog-border-radius, var(--spectrum-standard-dialog-border-radius));
+ overflow: hidden;
}
.spectrum-Dialog--sizeS {
- --mod-dialog-width: var(--mod-dialog-confirm-small-width, 400px);
+ --spectrum-standard-dialog-max-width: var(--spectrum-standard-dialog-maximum-width-small);
+ inline-size: var(--mod-standard-dialog-max-width-small, var(--spectrum-standard-dialog-max-width));
}
.spectrum-Dialog--sizeL {
- --mod-dialog-width: var(--mod-dialog-confirm-large-width, 640px);
+ --spectrum-standard-dialog-max-width: var(--spectrum-standard-dialog-maximum-width-large);
+ inline-size: var(--mod-standard-dialog-max-width-large, var(--spectrum-standard-dialog-max-width));
}
.spectrum-Dialog-hero {
grid-area: hero;
- block-size: var(--mod-dialog-confirm-hero-height, var(--spectrum-dialog-confirm-hero-height));
- border-start-start-radius: var(--mod-dialog-confirm-border-radius, var(--spectrum-dialog-confirm-border-radius));
- border-start-end-radius: var(--mod-dialog-confirm-border-radius, var(--spectrum-dialog-confirm-border-radius));
+ block-size: var(--mod-standard-dialog-hero-block-size, var(--spectrum-standard-dialog-hero-block-size));
background-size: cover;
background-position: center center;
- overflow: hidden;
}
-.spectrum-Dialog .spectrum-Dialog-grid {
+/* Non-Dismissible Dialog (no close button) */
+.spectrum-Dialog-grid {
display: grid;
grid-template-columns:
- var(--mod-dialog-confirm-padding-grid, var(--spectrum-dialog-confirm-padding-grid)) auto 1fr auto minmax(0, auto)
- var(--mod-dialog-confirm-padding-grid, var(--spectrum-dialog-confirm-padding-grid));
+ var(--mod-standard-dialog-spacing-grid-padding, var(--spectrum-standard-dialog-spacing-grid-padding))
+ auto
+ 1fr
+ auto
+ var(--mod-standard-dialog-spacing-grid-padding, var(--spectrum-standard-dialog-spacing-grid-padding))
+ minmax(0, auto)
+ var(--mod-standard-dialog-spacing-grid-padding, var(--spectrum-standard-dialog-spacing-grid-padding));
+ grid-template-rows:
+ auto
+ var(--mod-standard-dialog-spacing-grid-padding, var(--spectrum-standard-dialog-spacing-grid-padding))
+ auto
+ 1fr
+ auto
+ var(--mod-standard-dialog-spacing-grid-padding, var(--spectrum-standard-dialog-spacing-grid-padding));
grid-template-areas:
- "hero hero hero hero hero hero"
- ". . . . . ."
- ". heading header header header ."
- ". divider divider divider divider ."
- ". content content content content ."
- ". footer footer buttonGroup buttonGroup ."
- ". . . . . .";
- grid-template-rows: auto var(--mod-dialog-confirm-padding-grid, var(--spectrum-dialog-confirm-padding-grid)) auto auto 1fr auto var(--mod-dialog-confirm-padding-grid, var(--spectrum-dialog-confirm-padding-grid));
+ "hero hero hero hero hero hero hero"
+ ". . . . . . ."
+ ". heading header header header header ."
+ ". content content content content content ."
+ ". footer footer footer buttonGroup buttonGroup ."
+ ". . . . . . .";
inline-size: 100%;
}
+/* the dialog's heading/title */
.spectrum-Dialog-heading {
grid-area: heading;
- margin: 0;
-
- font-size: var(--mod-dialog-confirm-title-text-size, var(--spectrum-dialog-confirm-title-text-size));
- font-weight: var(--mod-dialog-heading-font-weight, var(--spectrum-heading-sans-serif-font-weight));
- line-height: var(--mod-dialog-confirm-title-text-line-height, var(--spectrum-line-height-100));
- color: var(--mod-dialog-confirm-title-text-color, var(--spectrum-gray-900));
+ margin-block: 0;
+ font-size: var(--mod-standard-dialog-heading-font-size, var(--spectrum-standard-dialog-heading-font-size));
+ font-weight: var(--mod-standard-dialog-heading-font-weight, var(--spectrum-standard-dialog-heading-font-weight));
+ font-style: var(--spectrum-standard-dialog-heading-font-style);
+ font-family: var(--spectrum-standard-dialog-heading-font-family);
+ line-height: var(--mod-standard-dialog-heading-line-height, var(--spectrum-standard-dialog-heading-line-height));
+ color: var(--mod-standard-dialog-heading-text-color, var(--spectrum-standard-dialog-heading-text-color));
outline: none; /* Hide focus outline */
-
- padding-inline-end: var(--mod-dialog-confirm-gap-size, var(--spectrum-dialog-confirm-gap-size));
-
- &.spectrum-Dialog-heading--noHeader {
- grid-area: heading-start / heading-start / header-end / header-end;
- padding-inline-end: 0;
- }
}
+/* the container for the heading and any additional header content */
.spectrum-Dialog-header {
grid-area: header;
display: flex;
+ max-inline-size: 100%;
+ margin-block-end: var(--mod-standard-dialog-spacing-title-to-description, var(--spectrum-standard-dialog-spacing-title-to-description));
+ gap: var(--mod-standard-dialog-spacing-title-to-header-content, var(--spectrum-standard-dialog-spacing-title-to-header-content));
- /* Without this, buttons will be stretched */
- align-items: center;
- justify-content: flex-end;
+ /* Without this, buttons will be stretched */
+ align-items: flex-start;
+ justify-content: space-between;
box-sizing: border-box;
outline: none; /* Hide focus outline around header */
-}
-
-.spectrum-Dialog .spectrum-Dialog-divider {
- grid-area: divider;
- inline-size: 100%;
- margin-block-start: var(--mod-dialog-confirm-divider-block-spacing-end, var(--spectrum-dialog-confirm-divider-block-spacing-end));
- margin-block-end: var(--mod-dialog-confirm-divider-block-spacing-start, var(--spectrum-dialog-confirm-divider-block-spacing-start));
-}
-/* remove top vertical padding of spectrum-Dialog-content from bottom margin of first divider after heading */
-.spectrum-Dialog--fullscreen .spectrum-Dialog-heading + .spectrum-Dialog-divider {
- margin-block-end: calc(var(--mod-dialog-confirm-divider-block-spacing-start, var(--spectrum-dialog-confirm-divider-block-spacing-start)) - (var(--mod-dialog-confirm-description-padding, var(--spectrum-dialog-confirm-description-padding)) * 2));
-}
-
-.spectrum-Dialog--noDivider {
- .spectrum-Dialog-divider {
- display: none;
- }
-
- .spectrum-Dialog-heading {
- padding-block-end: calc(var(--mod-dialog-confirm-divider-block-spacing-end, var(--spectrum-dialog-confirm-divider-block-spacing-end)) + var(--mod-dialog-confirm-divider-block-spacing-start, var(--spectrum-dialog-confirm-divider-block-spacing-start)) + var(--mod-dialog-confirm-divider-height, var(--spectrum-spacing-50)));
+ /* additional header content should grow/shrink with the text, but only until it takes up half of the header */
+ > .spectrum-Dialog-headerContentWrapper {
+ max-inline-size: fit-content;
+ flex: 1 1 100%;
+ font-size: var(--mod-standard-dialog-header-content-font-size, var(--spectrum-standard-dialog-header-content-font-size));
+ text-wrap: pretty;
}
}
.spectrum-Dialog-content {
grid-area: content;
box-sizing: border-box;
-
- /*
- v2 is currently worse, inputs that get focus rings get a slight clipping unless overflow: visible replaces this line
- we should think of a better way to handle this, see padding/margin below for fix
- */
overflow-y: auto;
-webkit-overflow-scrolling: touch;
outline: none; /* Hide focus outline */
-
- font-size: var(--mod-dialog-confirm-description-text-size, var(--spectrum-dialog-confirm-description-text-size));
- font-weight: var(--mod-dialog-confirm-description-font-weight, var(--spectrum-regular-font-weight));
- line-height: var(--mod-dialog-confirm-description-text-line-height, var(--spectrum-line-height-100));
- color: var(--mod-dialog-confirm-description-text-color, var(--spectrum-dialog-confirm-description-text-color));
-
- /* this is kinda dumb, but needed for the keyboard focus rings so they don't get clipped. is there a better way to treat this */
- padding: calc(var(--mod-dialog-confirm-description-padding, var(--spectrum-dialog-confirm-description-padding)) * 2);
- margin: 0 var(--mod-dialog-confirm-description-margin, calc(var(--spectrum-spacing-50) * -1));
+ font-size: var(--mod-standard-dialog-description-font-size, var(--spectrum-standard-dialog-description-font-size));
+ font-weight: var(--mod-standard-dialog-description-font-weight, var(--spectrum-standard-dialog-description-font-weight));
+ font-family: var(--spectrum-standard-dialog-description-font-family);
+ font-style: var(--spectrum-standard-dialog-description-font-style);
+ line-height: var(--mod-standard-dialog-description-line-height, var(--spectrum-standard-dialog-description-line-height));
+ color: var(--mod-standard-dialog-description-text-color, var(--spectrum-standard-dialog-description-text-color));
}
.spectrum-Dialog-footer {
- grid-area: footer;
+ grid-area: footer / footer / buttonGroup / buttonGroup;
+ max-inline-size: 100%;
+ display: flex;
+ align-items: flex-end;
- /* this padding isn't built into the grid because it disappears with this footer */
- padding-block-start: var(--mod-dialog-confirm-footer-padding-top, var(--spectrum-spacing-600));
+ /* this recreates padding between the footer content and button group. It should be safe as button group is always end aligned */
+ gap: var(--mod-standard-dialog-spacing-footer-to-button-group, var(--spectrum-standard-dialog-spacing-footer-to-button-group));
- display: flex;
- flex-wrap: wrap;
+ /* this padding isn't built into the grid because it disappears with this footer */
+ padding-block-start: var(--mod-standard-dialog-spacing-description-to-footer, var(--spectrum-standard-dialog-spacing-description-to-footer));
outline: none; /* Hide focus outline */
- /* Both selectors are required to override the button + button rule */
- > *,
- > .spectrum-Button + .spectrum-Button {
- margin-block-end: 0;
+ .spectrum-Dialog-footerContent {
+ /* this attempts to give as much space as possible for the button group, particularly to avoid stacking on mobile. Some sizes still may have to stack. */
+ flex: 1 1 100%;
+ }
+
+ &:has(.spectrum-Dialog-footerContent),
+ &:has(.spectrum-Dialog-buttonGroup) {
+ justify-content: space-between;
}
}
.spectrum-Dialog-buttonGroup {
grid-area: buttonGroup;
+}
- /* this padding isn't built into the grid because it disappears with this buttonGroup */
- padding-block-start: var(--mod-dialog-confirm-buttongroup-padding-top, var(--spectrum-dialog-confirm-buttongroup-padding-top));
- display: flex;
- justify-content: flex-end;
-
- /* this padding should be safe as button group is always end aligned */
- padding-inline-start: var(--mod-dialog-confirm-gap-size, var(--spectrum-dialog-confirm-gap-size));
-
- &.spectrum-Dialog-buttonGroup--noFooter {
- grid-area: footer-start / footer-start / buttonGroup-end / buttonGroup-end;
- }
+.spectrum-Dialog-buttonGroup--noFooter {
+ padding-block-start: var(--mod-standard-dialog-spacing-description-to-footer, var(--spectrum-standard-dialog-spacing-description-to-footer));
}
-.spectrum-Dialog.spectrum-Dialog--dismissable .spectrum-Dialog-grid {
+/* Dismissible Dialog (with close button) */
+.spectrum-Dialog--dismissible .spectrum-Dialog-grid {
grid-template-columns:
- var(--mod-dialog-confirm-padding-grid, var(--spectrum-dialog-confirm-padding-grid)) auto 1fr auto minmax(0, auto)
- minmax(0, var(--mod-dialog-confirm-close-button-size, var(--spectrum-dialog-confirm-close-button-size))) var(--mod-dialog-confirm-padding-grid, var(--spectrum-dialog-confirm-padding-grid));
+ var(--mod-standard-dialog-spacing-grid-padding, var(--spectrum-standard-dialog-spacing-grid-padding))
+ auto
+ 1fr
+ auto
+ minmax(0, var(--spectrum-standard-dialog-spacing-edge-to-header-content-inline-end))
+ var(--mod-standard-dialog-spacing-grid-padding, var(--spectrum-standard-dialog-spacing-grid-padding));
+ grid-template-rows:
+ auto
+ var(--mod-standard-dialog-spacing-grid-padding, var(--spectrum-standard-dialog-spacing-grid-padding))
+ auto
+ 1fr
+ auto
+ var(--mod-standard-dialog-spacing-grid-padding, var(--spectrum-standard-dialog-spacing-grid-padding));
grid-template-areas:
- "hero hero hero hero hero hero hero"
- ". . . . . closeButton closeButton"
- ". heading header header typeIcon closeButton closeButton"
- ". divider divider divider divider divider ."
- ". content content content content content ."
- ". footer footer buttonGroup buttonGroup buttonGroup ."
- ". . . . . . .";
- grid-template-rows: auto var(--mod-dialog-confirm-padding-grid, var(--spectrum-dialog-confirm-padding-grid)) auto auto 1fr auto var(--mod-dialog-confirm-padding-grid, var(--spectrum-dialog-confirm-padding-grid));
-
- .spectrum-Dialog-buttonGroup {
- display: none;
- }
+ "hero hero hero hero hero hero"
+ ". . . . closeButton closeButton"
+ ". heading header header closeButton closeButton"
+ ". content content content content ."
+ ". footer footer footer footer ."
+ ". . . . . .";
.spectrum-Dialog-footer {
- grid-area: footer / footer/ buttonGroup / buttonGroup;
- color: var(--mod-dialog-confirm-description-text-color, var(--spectrum-dialog-confirm-description-text-color));
+ grid-area: footer;
}
}
@@ -216,19 +251,18 @@
align-self: start;
justify-self: end;
- margin-inline-end: var(--mod-dialog-confirm-close-button-padding, var(--spectrum-dialog-confirm-close-button-padding));
- margin-block-start: var(--mod-dialog-confirm-close-button-padding, var(--spectrum-dialog-confirm-close-button-padding));
+ margin-block-start: var(--mod-standard-dialog-spacing-edge-to-close-button, var(--spectrum-standard-dialog-spacing-edge-to-close-button));
+ margin-inline-end: var(--mod-standard-dialog-spacing-edge-to-close-button, var(--spectrum-standard-dialog-spacing-edge-to-close-button));
}
.spectrum-Dialog--fullscreen {
- inline-size: 100%;
- block-size: 100%;
+ inline-size: var(--spectrum-takeover-dialog-inline-size);
+ block-size: var(--spectrum-takeover-dialog-block-size);
}
.spectrum-Dialog--fullscreenTakeover {
- inline-size: 100%;
- block-size: 100%;
-
+ inline-size: var(--spectrum-takeover-dialog-inline-size);
+ block-size: var(--spectrum-takeover-dialog-block-size);
border-radius: 0;
}
@@ -237,29 +271,50 @@
max-block-size: none;
max-inline-size: none;
- &.spectrum-Dialog .spectrum-Dialog-grid {
+ .spectrum-Dialog-grid {
display: grid;
- grid-template-columns: var(--mod-dialog-confirm-padding-grid, var(--spectrum-dialog-confirm-padding-grid)) 1fr auto auto var(--mod-dialog-confirm-padding-grid, var(--spectrum-dialog-confirm-padding-grid));
- grid-template-rows: var(--mod-dialog-confirm-padding-grid, var(--spectrum-dialog-confirm-padding-grid)) auto auto 1fr var(--mod-dialog-confirm-padding-grid, var(--spectrum-dialog-confirm-padding-grid));
+ grid-template-columns:
+ var(--mod-takeover-dialog-grid-spacing, var(--spectrum-takeover-dialog-grid-spacing))
+ 1fr
+ auto
+ auto
+ var(--mod-takeover-dialog-grid-spacing, var(--spectrum-takeover-dialog-grid-spacing));
+ grid-template-rows:
+ var(--mod-takeover-dialog-grid-spacing, var(--spectrum-takeover-dialog-grid-spacing))
+ auto
+ 1fr
+ var(--mod-takeover-dialog-grid-spacing, var(--spectrum-takeover-dialog-grid-spacing));
grid-template-areas:
". . . . ."
". heading header buttonGroup ."
- ". divider divider divider ."
". content content content ."
". . . . .";
}
+ .spectrum-Dialog-header {
+ grid-area: heading;
+ gap: var(--mod-takeover-dialog-spacing-header-content-gap, var(--spectrum-takeover-dialog-spacing-header-content-gap));
+ margin-inline-end: var(--mod-takeover-dialog-spacing-header-content-gap, var(--spectrum-takeover-dialog-spacing-header-content-gap));
+ margin-block-end: var(--spectrum-takeover-dialog-spacing-title-to-content);
+
+ /* components in fullscreen/fullscreenTakeover dialogs are centered in the headerContentWrapper */
+ > .spectrum-Dialog-headerContentWrapper {
+ max-inline-size: unset;
+ display: inline-flex;
+ justify-content: center;
+ }
+ }
+
.spectrum-Dialog-heading {
- font-size: var(--mod-dialog-fullscreen-header-text-size, 28px);
+ font-size: var(--mod-takeover-dialog-title-font-size, var(--spectrum-takeover-dialog-title-font-size));
}
- .spectrum-Dialog-content {
- max-block-size: none;
+ .spectrum-Dialog-closeButton {
+ display: none;
}
- .spectrum-Dialog-footer,
- .spectrum-Dialog-buttonGroup {
- padding-block-start: 0;
+ .spectrum-Dialog-content {
+ max-block-size: none;
}
.spectrum-Dialog-footer {
@@ -268,75 +323,119 @@
.spectrum-Dialog-buttonGroup {
grid-area: buttonGroup;
- align-self: start;
}
}
@media screen and (width <= 700px) {
- .spectrum-Dialog .spectrum-Dialog-grid {
+ .spectrum-Dialog-grid {
grid-template-columns:
- var(--mod-dialog-confirm-padding-grid, var(--spectrum-dialog-confirm-padding-grid)) auto 1fr auto minmax(0, auto)
- var(--mod-dialog-confirm-padding-grid, var(--spectrum-dialog-confirm-padding-grid));
- grid-template-rows: auto var(--mod-dialog-confirm-padding-grid, var(--spectrum-dialog-confirm-padding-grid)) auto auto auto 1fr auto var(--mod-dialog-confirm-padding-grid, var(--spectrum-dialog-confirm-padding-grid));
+ var(--mod-standard-dialog-spacing-grid-padding, var(--spectrum-standard-dialog-spacing-grid-padding))
+ auto
+ 1fr
+ auto
+ minmax(0, auto)
+ var(--mod-standard-dialog-spacing-grid-padding, var(--spectrum-standard-dialog-spacing-grid-padding));
+ grid-template-rows:
+ auto
+ var(--mod-standard-dialog-spacing-grid-padding, var(--spectrum-standard-dialog-spacing-grid-padding))
+ auto
+ auto
+ 1fr
+ auto
+ var(--mod-standard-dialog-spacing-grid-padding, var(--spectrum-standard-dialog-spacing-grid-padding));
+
+ /* TODO: investigate if we could refactor the grid to make the footer text/checkbox stack on top of the button group */
grid-template-areas:
"hero hero hero hero hero hero"
". . . . . ."
- ". heading heading heading heading ."
+ ". heading heading heading heading ."
". header header header header ."
- ". divider divider divider divider ."
". content content content content ."
". footer footer buttonGroup buttonGroup ."
". . . . . .";
}
- .spectrum-Dialog.spectrum-Dialog--dismissable .spectrum-Dialog-grid {
+ .spectrum-Dialog-footer {
+ flex-direction: column;
+ }
+
+ .spectrum-Dialog--dismissible .spectrum-Dialog-grid {
grid-template-columns:
- var(--mod-dialog-confirm-padding-grid, var(--spectrum-dialog-confirm-padding-grid)) auto 1fr auto minmax(0, auto)
- minmax(0, var(--mod-dialog-confirm-close-button-size, var(--spectrum-dialog-confirm-close-button-size))) var(--mod-dialog-confirm-padding-grid, var(--spectrum-dialog-confirm-padding-grid));
- grid-template-rows: auto var(--mod-dialog-confirm-padding-grid, var(--spectrum-dialog-confirm-padding-grid)) auto auto auto 1fr auto var(--mod-dialog-confirm-padding-grid, var(--spectrum-dialog-confirm-padding-grid));
+ var(--mod-standard-dialog-spacing-grid-padding, var(--spectrum-standard-dialog-spacing-grid-padding))
+ auto
+ 1fr
+ auto
+ minmax(0, auto)
+ minmax(0, calc(var(--spectrum-standard-dialog-spacing-edge-to-content) - var(--spectrum-standard-dialog-spacing-edge-to-close-button)))
+ var(--mod-standard-dialog-spacing-grid-padding, var(--spectrum-standard-dialog-spacing-grid-padding));
+ grid-template-rows:
+ auto
+ var(--mod-standard-dialog-spacing-grid-padding, var(--spectrum-standard-dialog-spacing-grid-padding))
+ auto
+ auto
+ 1fr
+ auto
+ var(--mod-standard-dialog-spacing-grid-padding, var(--spectrum-standard-dialog-spacing-grid-padding));
grid-template-areas:
"hero hero hero hero hero hero hero"
". . . . . closeButton closeButton"
- ". heading heading heading heading closeButton closeButton"
+ ". heading heading heading heading closeButton closeButton"
". header header header header header ."
- ". divider divider divider divider divider ."
". content content content content content ."
- ". footer footer buttonGroup buttonGroup buttonGroup ."
+ ". footer footer footer footer footer ."
". . . . . . .";
}
.spectrum-Dialog .spectrum-Dialog-header {
+ display: flex;
+ flex-direction: column;
+ align-items: flex-start;
justify-content: flex-start;
+ gap: 0;
}
.spectrum-Dialog--fullscreen,
.spectrum-Dialog--fullscreenTakeover {
&.spectrum-Dialog .spectrum-Dialog-grid {
display: grid;
- grid-template-columns: var(--mod-dialog-confirm-padding-grid, var(--spectrum-dialog-confirm-padding-grid)) 1fr var(--mod-dialog-confirm-padding-grid, var(--spectrum-dialog-confirm-padding-grid));
- grid-template-rows: var(--mod-dialog-confirm-padding-grid, var(--spectrum-dialog-confirm-padding-grid)) auto auto auto 1fr auto var(--mod-dialog-confirm-padding-grid, var(--spectrum-dialog-confirm-padding-grid));
+ grid-template-columns:
+ var(--mod-standard-dialog-spacing-grid-padding, var(--spectrum-standard-dialog-spacing-grid-padding))
+ 1fr
+ var(--mod-standard-dialog-spacing-grid-padding, var(--spectrum-standard-dialog-spacing-grid-padding));
+ grid-template-rows:
+ var(--mod-standard-dialog-spacing-grid-padding, var(--spectrum-standard-dialog-spacing-grid-padding))
+ auto
+ auto
+ 1fr
+ var(--mod-standard-dialog-spacing-grid-padding, var(--spectrum-standard-dialog-spacing-grid-padding))
+ auto
+ var(--mod-standard-dialog-spacing-grid-padding, var(--spectrum-standard-dialog-spacing-grid-padding));
grid-template-areas:
". . ."
". heading ."
". header ."
- ". divider ."
". content ."
+ ". . ."
". buttonGroup ."
". . .";
}
- .spectrum-Dialog-buttonGroup {
- padding-block-start: var(--mod-dialog-confirm-buttongroup-padding-top, var(--spectrum-dialog-confirm-buttongroup-padding-top));
+ .spectrum-Dialog-header {
+ margin-inline-end: 0;
}
.spectrum-Dialog-heading {
- font-size: var(--mod-dialog-confirm-title-text-size, var(--spectrum-dialog-confirm-title-text-size));
+ margin-inline-end: 0;
}
}
+
+ .spectrum-Dialog-heading {
+ margin-block-end: var(--spectrum-standard-dialog-spacing-title-to-description);
+ }
}
@media (forced-colors: active) {
.spectrum-Dialog {
- border: solid;
+ border: 1px solid rgba(var(--spectrum-black-rgb), var(--spectrum-overlay-opacity));
}
}
diff --git a/components/dialog/package.json b/components/dialog/package.json
index 019f93ce9be..bd22e48410e 100644
--- a/components/dialog/package.json
+++ b/components/dialog/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/dialog",
- "version": "12.1.0",
+ "version": "13.0.0-next.2",
"description": "The Spectrum CSS dialog component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,13 +25,21 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/closebutton": ">=6.0.0 <7.0.0",
- "@spectrum-css/divider": ">=5.0.0 <6.0.0",
- "@spectrum-css/modal": ">=7.0.0 <8.0.0",
+ "@spectrum-css/button": ">=15.0.0-next.0",
+ "@spectrum-css/buttongroup": ">=10.0.0-next.0",
+ "@spectrum-css/closebutton": ">=7.0.0-next.0",
+ "@spectrum-css/divider": ">=6.0.0-next.0",
+ "@spectrum-css/modal": ">=7.1.1-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0",
"@spectrum-css/underlay": ">=6.0.0 <7.0.0"
},
"peerDependenciesMeta": {
+ "@spectrum-css/button": {
+ "optional": true
+ },
+ "@spectrum-css/buttongroup": {
+ "optional": true
+ },
"@spectrum-css/closebutton": {
"optional": true
},
@@ -49,11 +57,13 @@
}
},
"devDependencies": {
- "@spectrum-css/buttongroup": "9.1.0",
- "@spectrum-css/closebutton": "6.1.0",
- "@spectrum-css/divider": "5.1.0",
- "@spectrum-css/modal": "7.1.0",
+ "@spectrum-css/button": "15.0.0-next.0",
+ "@spectrum-css/buttongroup": "10.0.0-next.0",
+ "@spectrum-css/closebutton": "7.0.0-next.0",
+ "@spectrum-css/divider": "6.0.0-next.0",
+ "@spectrum-css/modal": "7.1.1-next.0",
"@spectrum-css/tokens": "16.0.1",
+ "@spectrum-css/typography": "8.1.0",
"@spectrum-css/underlay": "6.1.0"
},
"keywords": [
diff --git a/components/dialog/stories/dialog.stories.js b/components/dialog/stories/dialog.stories.js
index 45bec9bc1d1..9e862c31749 100644
--- a/components/dialog/stories/dialog.stories.js
+++ b/components/dialog/stories/dialog.stories.js
@@ -1,6 +1,8 @@
import { withUnderlayWrapper } from "@spectrum-css/preview/decorators";
import { disableDefaultModes } from "@spectrum-css/preview/modes";
import { isOpen, size } from "@spectrum-css/preview/types";
+import { Template as Table } from "@spectrum-css/table/stories/template.js";
+import { Template as Steplist } from "@spectrum-css/steplist/stories/template.js";
import { Template as Typography } from "@spectrum-css/typography/stories/template.js";
import metadata from "../dist/metadata.json";
import packageJson from "../package.json";
@@ -8,16 +10,32 @@ import { DialogFullscreen, DialogFullscreenTakeover, DialogGroup } from "./dialo
import { Template } from "./template.js";
/**
- * A dialog displays important information that users need to acknowledge. They appear over the interface and block further interactions.
+ * A dialog displays important information that users need to acknowledge. They appear over the interface and block further interactions. Standard dialogs are the most frequent type of dialogs. They appear in the center of the screen over the interface and should be used for moderately complex tasks. Takeover dialogs are large types of dialogs. They use the totality of the screen and should be used for modal experiences with complex workflows.
+ *
+ * The alert variants that were previously a part of Dialog were moved to their own component, [alert dialog](/docs/components-alert-dialog--docs).
+ *
+ * ## Usage with modal component
+ * When a dialog component is used in tandem with a [modal](/docs/components-modal--docs), implementations should set `--mod-modal-background-color` to `transparent`. This will prevent any background color used in the modal from peeking through from behind the dialog at the rounded corners, allowing the dialog's background color to take precedence.
*
- * The alert variants that were previously a part of Dialog were moved to their own component, [Alert Dialog](/docs/components-alert-dialog--docs).
*/
export default {
title: "Dialog",
component: "Dialog",
argTypes: {
+ size: size(["s", "m", "l"]),
heading: {
name: "Heading",
+ description: "Title for the dialog.",
+ type: { name: "string" },
+ table: {
+ type: { summary: "string" },
+ category: "Content",
+ },
+ control: { type: "text" },
+ },
+ header: {
+ name: "Additional header content",
+ description: "Controls header content.",
type: { name: "string" },
table: {
type: { summary: "string" },
@@ -28,6 +46,7 @@ export default {
content: { table: { disable: true } },
hasFooter: {
name: "Has footer",
+ description: "Adds a footer to the dialog, containing the button group, checkbox, and footer text. Currently only supported in the default layout.",
type: { name: "boolean" },
table: {
type: { summary: "boolean" },
@@ -35,8 +54,29 @@ export default {
},
control: "boolean",
},
- footer: { table: { disable: true } },
- size: size(["s", "m", "l"]),
+ isOpen,
+ footer: {
+ name: "Footer text",
+ description: "Text content of the dialog footer. Represents the checkbox label if a checkbox is present, or stands alone if there is no checkbox. Currently only supported in the default layout.",
+ type: { name: "string" },
+ table: {
+ type: { summary: "string" },
+ category: "Content",
+ },
+ control: { type: "text" },
+ if: { arg: "hasFooter", truthy: true, },
+ },
+ hasCheckbox: {
+ name: "Has checkbox",
+ description: "Adds a checkbox to the footer content. Currently only supported in the default layout.",
+ type: { name: "boolean" },
+ table: {
+ type: { summary: "boolean" },
+ category: "Content",
+ },
+ control: { type: "boolean" },
+ if: { arg: "hasFooter", truthy: true, },
+ },
layout: {
name: "Layout",
type: { name: "string" },
@@ -45,6 +85,7 @@ export default {
type: { summary: "string" },
category: "Component",
defaultValue: { summary: "Default" },
+ disable: true,
},
options: ["default", "fullscreen", "fullscreenTakeover"],
control: "select",
@@ -59,8 +100,8 @@ export default {
control: "boolean",
if: { arg: "layout", eq: "default" },
},
- hasDivider: {
- name: "Divider",
+ showModal: {
+ name: "Wrap the dialog in a modal",
type: { name: "boolean" },
table: {
type: { summary: "boolean" },
@@ -68,42 +109,46 @@ export default {
},
control: "boolean",
},
- showModal: {
- name: "Wrap the dialog in a modal",
+ hasHeroImage: {
+ name: "Has hero image",
type: { name: "boolean" },
+ description: "Adds a cover image to the header of a dialog.",
table: {
type: { summary: "boolean" },
- category: "Component",
+ category: "Content",
},
control: "boolean",
+ if: { arg: "layout", eq: "default" },
},
- isOpen,
heroImageUrl: {
name: "Hero Image",
type: { name: "string" },
- description: "Adds a cover image to the header of a dialog.",
+ description: "Select a cover image for the hero section of a dialog.",
+ defaultValue: "example-card-portrait.png",
table: {
type: { summary: "string" },
category: "Content",
+ defaultValue: { summary: "example-card-portrait.png" },
},
control: { type: "file", accept: ".svg,.png,.jpg,.jpeg,.webc" },
- if: { arg: "layout", eq: "default" },
+ if: { arg: "hasHeroImage", truthy: true },
},
},
args: {
rootClass: "spectrum-Dialog",
hasFooter: true,
+ footer: "Do not show this message again.",
isDismissible: false,
- hasDivider: true,
isOpen: true,
- showModal: true,
+ showModal: false,
size: "m",
layout: "default",
+ hasCheckbox: true,
+ hasHeroImage: false,
},
parameters: {
- layout: "fullscreen",
actions: {
- handles: ["click .spectrum-Dialog button"],
+ handles: [],
},
docs: {
story: {
@@ -117,22 +162,26 @@ export default {
},
packageJson,
metadata,
+ layout: "fullscreen",
},
decorators: [
withUnderlayWrapper,
],
+ tags: ["migrated"],
};
-const ExampleContent = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Auctor augue mauris augue neque gravida. Libero volutpat sed ornare arcu. Quisque egestas diam in arcu cursus euismod quis viverra. Posuere ac ut consequat semper viverra nam libero justo laoreet. Enim ut tellus elementum sagittis vitae et leo duis ut. Neque laoreet suspendisse interdum consectetur libero id faucibus nisl. Diam volutpat commodo sed egestas egestas. Dolor magna eget est lorem ipsum dolor. Vitae suscipit tellus mauris a diam maecenas sed. Turpis in eu mi bibendum neque egestas congue. Rhoncus est pellentesque elit ullamcorper dignissim cras lobortis.";
+const ExampleContent = "Standard dialog description. This should briefly communicate any additional information or context about the standard dialog title, to help users make one of the decisions offered by the buttons. Make it no more than a few short sentences.";
/**
- * The default size for dialog is medium.
+ * The default size for dialog is medium. The default dialog also has a checkbox in the footer.
*/
export const Default = DialogGroup.bind({});
Default.args = {
heading: "Lorem ipsum dolor sit amet, consectetur adipiscing elit",
+ header: "* Required",
+ showModal: true,
content: [
- (passthroughs, context) => Typography({
+ (passthroughs, context) => Typography({
semantics: "body",
size: "m",
content: [ ExampleContent ],
@@ -165,7 +214,7 @@ DefaultLarge.args = {
};
/**
- * A dialog that can be dismissed without taking an action. Dismissible dialogs should never have buttons.
+ * A dialog that can be dismissed without taking an action.
*/
export const Dismissible = Template.bind({});
Dismissible.tags = ["!dev"];
@@ -177,25 +226,12 @@ Dismissible.args = {
isDismissible: true,
};
-/**
- * Dialogs can forgo the divider if they have content that spans the entire width of the dialog.
- */
-export const NoDivider = Template.bind({});
-NoDivider.tags = ["!dev"];
-NoDivider.parameters = {
- chromatic: { disableSnapshot: true },
-};
-NoDivider.args = {
- ...Default.args,
- isDismissible: true,
- hasDivider: false,
-};
-
/**
* Dialogs can have a hero or cover image header.
*/
export const WithHero = Template.bind({});
WithHero.tags = ["!dev"];
+WithHero.storyName = "With hero image";
WithHero.parameters = {
docs: {
story: {
@@ -206,9 +242,7 @@ WithHero.parameters = {
};
WithHero.args = {
...Default.args,
- isDismissible: true,
hasHeroImage: true,
- heroImageUrl: "example-card-portrait.png",
};
/**
@@ -217,54 +251,121 @@ WithHero.args = {
export const WithScroll = Template.bind({});
WithScroll.args = {
...Default.args,
+ content: [ ExampleContent, ExampleContent, ExampleContent, ExampleContent ],
customStyles: {
"max-block-size": "400px",
}
};
+WithScroll.storyName = "Scrollable";
WithScroll.tags = ["!dev"];
WithScroll.parameters = {
chromatic: { disableSnapshot: true },
};
/**
- * A fullscreen dialog will automatically fill almost all of the available screen space. A margin is included around the outside of the dialog.
+ * The fullscreen variant shows a large dialog background, only revealing a small portion of the page around the outside of the dialog, behind an overlay. The size of the dialog varies with the size of the screen, in both width and height.
+ *
+ * Fullscreen dialogs do not support a close button, and are not dismissible.
+ *
+ * Implementations may swap out the extra header content and body content for other components, like the [steplist](/docs/components-steplist--docs) and [table](/docs/components-table--docs) seen in this example. Components in the extra header content area will be centered.
*/
export const Fullscreen = DialogFullscreen.bind({});
+Fullscreen.args = {
+ ...Default.args,
+ header:[
+ (passthroughs, context) => Steplist({
+ ...passthroughs,
+ items: [
+ {
+ label: "Enter records",
+ isComplete: true,
+ },
+ {
+ label: "Confirmation",
+ isComplete: true,
+ },
+ {
+ label: "Summary",
+ isSelected: true,
+ },
+ ],
+ }, context),
+ ],
+ content: [
+ (passthroughs, context) => Table({
+ ...passthroughs,
+ showThumbnails: true,
+ rowItems: [
+ {
+ cellContent: ["Table Row Alpha", "Test", "2"],
+ },
+ {
+ cellContent: ["Table Row Bravo", "Test", "28"],
+ },
+ {
+ cellContent: [
+ "Table Row Charlie. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.",
+ "Test",
+ "23",
+ ],
+ },
+ {
+ cellContent: ["Table Row Delta", "Test", "7"],
+ },
+ {
+ cellContent: ["Summary Row", "", "60"],
+ isSummaryRow: true,
+ },
+ ],
+ }, context),
+ ],
+ layout: "fullscreen",
+ hasFooter: false,
+};
Fullscreen.parameters = {
chromatic: { disableSnapshot: true },
design: {
type: "figma",
url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=61935-5399",
- },
+ }
};
-Fullscreen.args = {
- ...Default.args,
- layout: "fullscreen",
+
+// TODO: Because storybook doesn't support for multiple conditionals, we've removed the hasFooter
+// arg from the control table for the fullscreen and fullscreenTakeover stories only. Ideally, we
+// could have some of our controls display when more than one arg is met to avoid custom argTypes.
+// For instance, hasCheckbox would appear when layout: "default", AND footer is truthy.
+// https://github.com/storybookjs/storybook/discussions/18542
+Fullscreen.argTypes = {
+ hasFooter: { table: { disable: true, } },
+ header: { table: { disable: true, } },
};
/**
- * A fullscreen takeover dialog will fill all of the available screen space.
+ * The fullscreen takeover variant is similar to the fullscreen variant except that the background covers the entire screen. The page behind the dialog is not visible. This variant should be reserved for workflows where displaying a second dialog on top of the first one is to be expected.
+ *
+ * Fullscreen takeover dialogs do not support a close button, and are not dismissible.
*/
export const FullscreenTakeover = DialogFullscreenTakeover.bind({});
+FullscreenTakeover.storyName = "Fullscreen takeover";
FullscreenTakeover.parameters = {
chromatic: { disableSnapshot: true },
design: {
type: "figma",
url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=61935-5399",
- },
+ }
};
FullscreenTakeover.args = {
...Default.args,
layout: "fullscreenTakeover",
- content: [ () => Typography({
- semantics: "body",
- size: "m",
- content: [ ExampleContent, ExampleContent, ExampleContent, ExampleContent ],
- })],
+ hasFooter: false,
+ content: [ ExampleContent, ExampleContent, ExampleContent, ExampleContent, ExampleContent, ExampleContent, ExampleContent, ExampleContent ],
+};
+FullscreenTakeover.argTypes = {
+ hasFooter: { table: { disable: true, } },
};
// ********* VRT ONLY ********* //
-export const WithForcedColors = DialogGroup.bind({});
+export const WithForcedColors = Default.bind({});
WithForcedColors.args = Default.args;
WithForcedColors.tags = ["!autodocs", "!dev"];
WithForcedColors.parameters = {
diff --git a/components/dialog/stories/dialog.test.js b/components/dialog/stories/dialog.test.js
index f9b5acb6b2e..d5a9a5f076d 100644
--- a/components/dialog/stories/dialog.test.js
+++ b/components/dialog/stories/dialog.test.js
@@ -16,10 +16,6 @@ export const DialogGroup = Variants({
// TODO: The dialog's heading arg is getting passed as the "Sizing" heading arg (instead of the
// TODO: word "Sizing"). We should be able to remove this arg once that no longers happens.
heading: showTestingGrid ? "Lorem ipsum dolor sit amet, consectetur adipiscing elit" : args.heading,
- customStyles: {
- ...(args.customStyles ?? {}),
- "background-color": showTestingGrid ? "var(--spectrum-gray-100)" : undefined,
- },
}, context);
},
sizeDirection: "column",
@@ -42,41 +38,33 @@ export const DialogGroup = Variants({
},
{
testHeading: "With hero/cover image",
+ hasHeroImage: true,
heroImageUrl: "example-card-portrait.png",
},
{
testHeading: "With hero/cover image, dismissible",
+ hasHeroImage: true,
heroImageUrl: "example-card-portrait.png",
isDismissible: true,
hasFooter: false,
},
- {
- testHeading: "No divider",
- hasDivider: false,
- },
- {
- testHeading: "No divider, dismissible",
- hasDivider: false,
- isDismissible: true,
- hasFooter: false,
- },
- {
- testHeading: "With hero/cover image, no divider",
- hasDivider: false,
- heroImageUrl: "example-card-portrait.png",
- },
- {
- testHeading: "With hero/cover image, no divider, dismissible",
- hasDivider: false,
- isDismissible: true,
- hasFooter: false,
- heroImageUrl: "example-card-portrait.png",
- },
],
});
export const DialogFullscreen = Variants({
- Template,
+ Template: (args, context) => {
+ const { parameters: { showTestingGrid = false } = {} } = context;
+
+ return Template({
+ ...args,
+ /*
+ * Custom styles were added to make sure the VRTs catch the rounded corners
+ */
+ customStyles: {
+ margin: showTestingGrid ? "16px" : undefined,
+ },
+ }, context);
+ },
withSizes: false,
wrapperStyles: {
"background-color": "var(--spectrum-gray-50)"
@@ -92,9 +80,6 @@ export const DialogFullscreen = Variants({
export const DialogFullscreenTakeover = Variants({
Template,
withSizes: false,
- wrapperStyles: {
- "background-color": "var(--spectrum-gray-50)"
- },
testData: [
{
showModal: false,
diff --git a/components/dialog/stories/template.js b/components/dialog/stories/template.js
index 86d2af5d050..b8c84b04a92 100644
--- a/components/dialog/stories/template.js
+++ b/components/dialog/stories/template.js
@@ -1,6 +1,6 @@
import { Template as ButtonGroup } from "@spectrum-css/buttongroup/stories/template.js";
+import { Template as Checkbox } from "@spectrum-css/checkbox/stories/template.js";
import { Template as CloseButton } from "@spectrum-css/closebutton/stories/template.js";
-import { Template as Divider } from "@spectrum-css/divider/stories/template.js";
import { Template as Modal } from "@spectrum-css/modal/stories/template.js";
import { getRandomId, renderContent } from "@spectrum-css/preview/decorators";
import { html } from "lit";
@@ -14,17 +14,19 @@ import "../index.css";
export const Template = ({
rootClass = "spectrum-Dialog",
isDismissible = false,
- hasDivider = true,
isOpen = true,
showModal = false,
hasFooter = false,
heading,
+ header = [],
+ hasCheckbox = false,
content = [],
footer = [],
customClasses = [],
id = getRandomId("dialog"),
size = "m",
layout,
+ hasHeroImage = false,
heroImageUrl,
customStyles = {},
} = {}, context = {}) => {
@@ -38,10 +40,9 @@ export const Template = ({
layout !== l),
+ [`${rootClass}--dismissible`]: isDismissible && ["fullscreen", "fullscreenTakeover"].every(l => layout !== l),
[`${rootClass}--${layout}`]: typeof layout !== "undefined",
[`${rootClass}--size${size?.toUpperCase()}`]: typeof size !== "undefined",
- [`${rootClass}--noDivider`]: !hasDivider,
...customClasses.reduce((a, c) => ({ ...a, [c]: true }), {}),
})}
id=${ifDefined(id)}
@@ -51,72 +52,126 @@ export const Template = ({
style=${ifDefined(styleMap(customStyles))}
>
- ${when(typeof heroImageUrl !== "undefined", () =>
+ ${when(hasHeroImage, () =>
html`
+ style="background-image:url(${heroImageUrl ? heroImageUrl : "example-card-portrait.png"})">
`
)}
- ${when(heading, () => html`
-
${heading}
- `)}
- ${when(hasDivider, () =>
- Divider({
- horizontal: true,
- customClasses: [`${rootClass}-divider`],
- }, context),
+
+
${renderContent(content)}
+ ${when(isDismissible, () =>
CloseButton({
customClasses: [`${rootClass}-closeButton`],
onclick: toggleOpen,
}, context)
)}
+ ${when(layout === "fullscreen" || layout === "fullscreenTakeover", () => html`
+
+ ${ButtonGroup({
+ items: [
+ {
+ label: "Cancel",
+ treatment: "outline",
+ variant: "secondary",
+ },
+ {
+ label: "Save",
+ treatment: "fill",
+ variant: "accent"
+ },
+ ],
+ onclick: () => {
+ updateArgs(toggleOpen);
+ },
+ }, context)}
+
+ `)}
+ ${when(hasFooter, () => html`
+
+ `,
+ () => html`
+
+ `)}
`;
if (showModal) {
- return html`
- ${Modal({
- isOpen,
- content: [ () => Dialog],
- variant: layout,
- }, context)}
- `;
+ return Modal({
+ isOpen,
+ content: Dialog,
+ variant: layout,
+ }, context);
}
else {
return Dialog;
diff --git a/components/divider/CHANGELOG.md b/components/divider/CHANGELOG.md
index fcd5812ea1b..9630d4b66b5 100644
--- a/components/divider/CHANGELOG.md
+++ b/components/divider/CHANGELOG.md
@@ -1,5 +1,46 @@
# Change log
+## 6.0.0-next.0
+
+### Major Changes
+
+- [#3557](https://github.com/adobe/spectrum-css/pull/3557) [`c6836fb`](https://github.com/adobe/spectrum-css/commit/c6836fb132effcfb09e4ca6d0d8923564bfe2914) Thanks [@cdransf](https://github.com/cdransf)!
+
+#### S2 divider migration
+
+This migrates the `divider` component to S2. Custom properties have been remapped and updated per the design specificiations.
+
+##### New properties
+
+```css
+--spectrum-divider-horizontal-minimum-width
+--spectrum-divider-vertical-minimum-height
+```
+
+##### New mods
+
+```css
+--mod-divider-inline-minimum-size
+--mod-divider-block-minimum-size
+```
+
+##### Removed mods
+
+```css
+--mod-divider-background-color-large-static-black
+--mod-divider-background-color-large-static-white
+--mod-divider-background-color-medium-static-black
+--mod-divider-background-color-medium-static-white
+--mod-divider-background-color-small-static-black
+--mod-divider-background-color-small-static-white
+```
+
+##### Additions
+
+This adds new minimum width and height tokens for the divider and the `minDimensionValues` arg has been removed in favor of these tokens and the rules with which they're applied.
+
+The default size for the Storybook control has been changed to `medium` (the new default size for the component). All sizes are now displayed for the static color variants in the docs.
+
## 5.1.0
### Minor Changes
diff --git a/components/divider/dist/metadata.json b/components/divider/dist/metadata.json
index a485bf25e3b..94ce19f83fd 100644
--- a/components/divider/dist/metadata.json
+++ b/components/divider/dist/metadata.json
@@ -6,20 +6,15 @@
".spectrum-Divider--sizeS",
".spectrum-Divider--staticBlack",
".spectrum-Divider--staticBlack.spectrum-Divider--sizeL",
- ".spectrum-Divider--staticBlack.spectrum-Divider--sizeS",
".spectrum-Divider--staticWhite",
".spectrum-Divider--staticWhite.spectrum-Divider--sizeL",
- ".spectrum-Divider--staticWhite.spectrum-Divider--sizeS",
- ".spectrum-Divider--vertical"
+ ".spectrum-Divider--vertical",
+ ".spectrum-Divider:not(.spectrum-Divider.spectrum-Divider--vertical)"
],
"modifiers": [
"--mod-divider-background-color",
- "--mod-divider-background-color-large-static-black",
- "--mod-divider-background-color-large-static-white",
- "--mod-divider-background-color-medium-static-black",
- "--mod-divider-background-color-medium-static-white",
- "--mod-divider-background-color-small-static-black",
- "--mod-divider-background-color-small-static-white",
+ "--mod-divider-block-minimum-size",
+ "--mod-divider-inline-minimum-size",
"--mod-divider-thickness",
"--mod-divider-vertical-align",
"--mod-divider-vertical-height",
@@ -27,12 +22,14 @@
],
"component": [
"--spectrum-divider-background-color",
- "--spectrum-divider-background-color-static-black",
- "--spectrum-divider-background-color-static-white",
+ "--spectrum-divider-block-minimum-size",
+ "--spectrum-divider-horizontal-minimum-width",
+ "--spectrum-divider-inline-minimum-size",
"--spectrum-divider-thickness",
"--spectrum-divider-thickness-large",
"--spectrum-divider-thickness-medium",
- "--spectrum-divider-thickness-small"
+ "--spectrum-divider-thickness-small",
+ "--spectrum-divider-vertical-minimum-height"
],
"global": [
"--spectrum-gray-200",
@@ -42,11 +39,6 @@
"--spectrum-transparent-white-200",
"--spectrum-transparent-white-800"
],
- "system-theme": [
- "--system-divider-background-color",
- "--system-divider-background-color-static-black",
- "--system-divider-background-color-static-white"
- ],
"passthroughs": [],
"high-contrast": ["--highcontrast-divider-background-color"]
}
diff --git a/components/divider/index.css b/components/divider/index.css
index 188aeea7ecf..b793b6c86a1 100644
--- a/components/divider/index.css
+++ b/components/divider/index.css
@@ -1,5 +1,5 @@
/*!
- * Copyright 2024 Adobe. All rights reserved.
+ * Copyright 2025 Adobe. All rights reserved.
*
* 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
@@ -11,17 +11,13 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
-/* windows high contrast mode */
-@media (forced-colors: active) {
- .spectrum-Divider {
- --highcontrast-divider-background-color: CanvasText;
- }
-}
-
.spectrum-Divider {
+ --spectrum-divider-background-color: var(--spectrum-gray-200);
+
--spectrum-divider-thickness: var(--spectrum-divider-thickness-medium);
+
+ --spectrum-divider-inline-minimum-size: var(--spectrum-divider-horizontal-minimum-width);
+ --spectrum-divider-block-minimum-size: var(--spectrum-divider-vertical-minimum-height);
}
.spectrum-Divider--sizeS {
@@ -35,33 +31,19 @@
/* static white variant colors */
.spectrum-Divider--staticWhite {
- /** @deprecated --mod-divider-background-color-medium-static-white, use --mod-divider-background-color instead */
- --mod-divider-background-color: var(--mod-divider-background-color-medium-static-white, var(--spectrum-divider-background-color-static-white));
-
- &.spectrum-Divider--sizeS {
- /** @deprecated --mod-divider-background-color-small-static-white, use --mod-divider-background-color instead */
- --mod-divider-background-color: var(--mod-divider-background-color-small-static-white, var(--spectrum-divider-background-color-static-white));
- }
+ --spectrum-divider-background-color: var(--spectrum-transparent-white-200);
&.spectrum-Divider--sizeL {
- /** @deprecated --mod-divider-background-color-large-static-white, use --mod-divider-background-color instead */
- --mod-divider-background-color: var(--mod-divider-background-color-large-static-white, var(--spectrum-transparent-white-800));
+ --spectrum-divider-background-color: var(--spectrum-transparent-white-800);
}
}
/* static black variant colors */
.spectrum-Divider--staticBlack {
- /** @deprecated --mod-divider-background-color-medium-static-black, use --mod-divider-background-color instead */
- --mod-divider-background-color: var(--mod-divider-background-color-medium-static-black, var(--spectrum-divider-background-color-static-black));
-
- &.spectrum-Divider--sizeS {
- /** @deprecated --mod-divider-background-color-small-static-black, use --mod-divider-background-color instead */
- --mod-divider-background-color: var(--mod-divider-background-color-small-static-black, var(--spectrum-divider-background-color-static-black));
- }
+ --spectrum-divider-background-color: var(--spectrum-transparent-black-200);
&.spectrum-Divider--sizeL {
- /** @deprecated --mod-divider-background-color-large-static-black, use --mod-divider-background-color instead */
- --mod-divider-background-color: var(--mod-divider-background-color-large-static-black, var(--spectrum-transparent-black-800));
+ --spectrum-divider-background-color: var(--spectrum-transparent-black-800);
}
}
@@ -77,13 +59,24 @@
border-radius: var(--mod-divider-thickness, var(--spectrum-divider-thickness));
background-color: var(--highcontrast-divider-background-color, var(--mod-divider-background-color, var(--spectrum-divider-background-color)));
+
+ &:not(&.spectrum-Divider--vertical) {
+ min-inline-size: var(--mod-divider-inline-minimum-size, var(--spectrum-divider-inline-minimum-size));
+ }
}
/* vertical dividers */
.spectrum-Divider--vertical {
inline-size: var(--mod-divider-thickness, var(--spectrum-divider-thickness));
+ min-block-size: var(--mod-divider-block-minimum-size, var(--spectrum-divider-block-minimum-size));
+ margin-block: var(--mod-divider-vertical-margin, 0);
block-size: var(--mod-divider-vertical-height, 100%);
+ align-self: var(--mod-divider-vertical-align, flex-start);
+}
- margin-block: var(--mod-divider-vertical-margin);
- align-self: var(--mod-divider-vertical-align);
+/* windows high contrast mode */
+@media (forced-colors: active) {
+ .spectrum-Divider {
+ --highcontrast-divider-background-color: CanvasText;
+ }
}
diff --git a/components/divider/package.json b/components/divider/package.json
index 78b8e624467..6d35daa5477 100644
--- a/components/divider/package.json
+++ b/components/divider/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/divider",
- "version": "5.1.0",
+ "version": "6.0.0-next.0",
"description": "The Spectrum CSS divider component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
"@spectrum-css/tokens": {
diff --git a/components/divider/stories/divider.stories.js b/components/divider/stories/divider.stories.js
index 306e5c0c453..84f65e83bd4 100644
--- a/components/divider/stories/divider.stories.js
+++ b/components/divider/stories/divider.stories.js
@@ -25,13 +25,11 @@ export default {
control: "boolean",
},
tag: { table: { disable: true } },
- minDimensionValues: {table: { disable: true }},
},
args: {
rootClass: "spectrum-Divider",
- size: "s",
+ size: "m",
vertical: false,
- minDimensionValues: true,
},
parameters: {
design: {
@@ -44,16 +42,14 @@ export default {
};
/**
- * By default, dividers are horizontal and should be used for separating content vertically. The small divider is the default size.
+ * By default, dividers are horizontal and should be used for separating content vertically. The medium divider is the default size.
*/
export const Default = DividerGroup.bind({});
Default.args = {};
// ********* DOCS ONLY ********* //
/**
- * To divide similar components such as table rows, action button groups, and components within a panel, use the default, small divider.
- *
- * The medium divider is used for dividing subsections on a page, or to separate different groupings of components such as panels, rails, etc.
+ * To divide similar components such as table rows, action button groups, and components within a panel, use the default, medium divider.
*
* Only use the large divider for page titles or section titles.
*/
@@ -63,9 +59,6 @@ export const Sizing = (args, context) => Sizes({
withBorder: false,
...args,
}, context);
-Sizing.args = {
- minDimensionValues: true,
-};
Sizing.tags = ["!dev"];
Sizing.parameters = {
chromatic: { disableSnapshot: true },
@@ -84,13 +77,17 @@ VerticalSizing.storyName = "Vertical";
VerticalSizing.tags = ["!dev"];
VerticalSizing.args = {
vertical: true,
- minDimensionValues: true,
};
VerticalSizing.parameters = {
chromatic: { disableSnapshot: true },
};
-export const StaticWhiteGroup = Default.bind({});
+export const StaticWhiteGroup = (args, context) => Sizes({
+ Template,
+ withHeading: false,
+ withBorder: false,
+ ...args,
+}, context);
StaticWhiteGroup.storyName = "Static white";
StaticWhiteGroup.tags = ["!dev"];
StaticWhiteGroup.args = {
@@ -100,7 +97,12 @@ StaticWhiteGroup.parameters = {
chromatic: { disableSnapshot: true },
};
-export const StaticBlackGroup = Default.bind({});
+export const StaticBlackGroup = (args, context) => Sizes({
+ Template,
+ withHeading: false,
+ withBorder: false,
+ ...args,
+}, context);
StaticBlackGroup.storyName = "Static black";
StaticBlackGroup.tags = ["!dev"];
StaticBlackGroup.args = {
diff --git a/components/divider/stories/divider.test.js b/components/divider/stories/divider.test.js
index a670bfd6872..c4b708206db 100644
--- a/components/divider/stories/divider.test.js
+++ b/components/divider/stories/divider.test.js
@@ -7,18 +7,15 @@ export const DividerGroup = Variants({
{
testHeading: "Default",
vertical: false,
- minDimensionValues: true,
},
{
testHeading: "Non-HR",
tag: "div",
vertical: false,
- minDimensionValues: true,
},
{
testHeading: "Vertical",
vertical: true,
- minDimensionValues: true,
},
{
testHeading: "Static black",
diff --git a/components/divider/stories/template.js b/components/divider/stories/template.js
index ac2ffa2a4c1..149a9626674 100644
--- a/components/divider/stories/template.js
+++ b/components/divider/stories/template.js
@@ -4,9 +4,6 @@ import { styleMap } from "lit/directives/style-map.js";
import { capitalize, upperCase } from "lodash-es";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-Divider",
@@ -14,7 +11,6 @@ export const Template = ({
tag = "hr",
staticColor,
vertical = false,
- minDimensionValues,
customClasses = [],
customStyles = {},
} = {}) => {
@@ -28,11 +24,7 @@ export const Template = ({
typeof staticColor !== "undefined",
...customClasses.reduce((a, c) => ({ ...a, [c]: true }), {}),
})}
- style=${styleMap({
- "min-inline-size": minDimensionValues && !vertical ? "200px": undefined,
- "min-block-size": minDimensionValues && vertical ? "20px": undefined,
- ...customStyles,
- })}
+ style=${styleMap({...customStyles})}
role="separator"
/>`;
}
@@ -46,11 +38,7 @@ export const Template = ({
typeof staticColor !== "undefined",
...customClasses.reduce((a, c) => ({ ...a, [c]: true }), {}),
})}
- style=${styleMap({
- "min-inline-size": minDimensionValues && !vertical ? "200px": undefined,
- "min-block-size": minDimensionValues && vertical ? "20px": undefined,
- ...customStyles,
- })}
+ style=${styleMap({...customStyles})}
role="separator"
> `;
};
diff --git a/components/divider/themes/express.css b/components/divider/themes/express.css
deleted file mode 100644
index 9fd550418f2..00000000000
--- a/components/divider/themes/express.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
diff --git a/components/divider/themes/spectrum-two.css b/components/divider/themes/spectrum-two.css
deleted file mode 100644
index 58f8de9a767..00000000000
--- a/components/divider/themes/spectrum-two.css
+++ /dev/null
@@ -1,25 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-Divider {
- /* background colors */
- --spectrum-divider-background-color: var(--spectrum-gray-200);
-
- /* static white background colors */
- --spectrum-divider-background-color-static-white: var(--spectrum-transparent-white-200);
-
- /* static black background colors */
- --spectrum-divider-background-color-static-black: var(--spectrum-transparent-black-200);
- }
-}
diff --git a/components/divider/themes/spectrum.css b/components/divider/themes/spectrum.css
deleted file mode 100644
index ecfe3f3a46a..00000000000
--- a/components/divider/themes/spectrum.css
+++ /dev/null
@@ -1,29 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-Divider {
- /* background colors */
- --spectrum-divider-background-color: var(--spectrum-gray-300);
-
- /* static white background colors */
- --spectrum-divider-background-color-static-white: var(--spectrum-transparent-white-300);
-
- /* static black background colors */
- --spectrum-divider-background-color-static-black: var(--spectrum-transparent-black-300);
- }
-}
diff --git a/components/dropindicator/CHANGELOG.md b/components/dropindicator/CHANGELOG.md
index 9dc622cbc2d..cf667be8319 100644
--- a/components/dropindicator/CHANGELOG.md
+++ b/components/dropindicator/CHANGELOG.md
@@ -1,5 +1,12 @@
# Change log
+## 8.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+
## 7.1.0
### Minor Changes
diff --git a/components/dropindicator/dist/metadata.json b/components/dropindicator/dist/metadata.json
index dd3a7a50810..294d6ad70bb 100644
--- a/components/dropindicator/dist/metadata.json
+++ b/components/dropindicator/dist/metadata.json
@@ -23,7 +23,6 @@
"--spectrum-dropindicator-color"
],
"global": ["--spectrum-border-width-200"],
- "system-theme": [],
"passthroughs": [],
"high-contrast": ["--highcontrast-dropindicator-color"]
}
diff --git a/components/dropindicator/package.json b/components/dropindicator/package.json
index f55b41f1c3e..5faca06906b 100644
--- a/components/dropindicator/package.json
+++ b/components/dropindicator/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/dropindicator",
- "version": "7.1.0",
+ "version": "8.0.0-next.0",
"description": "The Spectrum CSS dropindicator component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -37,7 +37,7 @@
}
},
"devDependencies": {
- "@spectrum-css/icon": "9.1.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/dropzone/CHANGELOG.md b/components/dropzone/CHANGELOG.md
index daaec19cfb9..0ba416a347a 100644
--- a/components/dropzone/CHANGELOG.md
+++ b/components/dropzone/CHANGELOG.md
@@ -1,5 +1,61 @@
# Change log
+## 9.0.0-next.2
+
+### Patch Changes
+
+- Updated dependencies [[`c88fcdc`](https://github.com/adobe/spectrum-css/commit/c88fcdcfa4866f4b3ff7a1027e4253b8f2114351)]:
+ - @spectrum-css/link@8.0.0-next.0
+
+## 9.0.0-next.1
+
+### Major Changes
+
+- [#3429](https://github.com/adobe/spectrum-css/pull/3429) [`924fc7f`](https://github.com/adobe/spectrum-css/commit/924fc7f040b84731c06fd3c59dbb1aca9001b642) Thanks [@aramos-adobe](https://github.com/aramos-adobe)!
+
+#### Dropzone S2 Migration
+
+Since dropzone shares a lot of illustrated message's new content tokens (typography and spacing), tons of unused`--mods` were removed.
+
+The component reflects the [new design](https://www.figma.com/design/eoZHKJH9a3LJkHYCGt60Vb/S2-token-specs?node-id=10141-2822&m=dev) of the borders that includes dash length and dash gap.
+
+##### SVG Border
+
+To support the intention of the design, an SVG element is used. There are custom `--mod` tokens to adjust the length of dashed lines and the gap between them. It's understood it may be too much to consume an additional element so there's a fallback where the SVG element is not necessary - dropzone will use the standard `border` CSS property.
+
+##### New mods
+
+`--mod-drop-zone-content-height`
+`--mod-drop-zone-edge-to-text`
+`--mod-drop-zone-title-line-height`
+`--mod-drop-zone-border-dash-length`
+`--mod-drop-zone-border-dash-gap`
+
+##### Removed mods
+
+`--mod-drop-zone-body-color`
+`--mod-drop-zone-body-font-family`
+`--mod-drop-zone-body-font-style`
+`--mod-drop-zone-body-font-weight`
+`--mod-drop-zone-body-line-height`
+`--mod-drop-zone-content-color`
+`--mod-drop-zone-content-edge-to-text`
+`--mod-drop-zone-content-font-size`
+`--mod-drop-zone-heading-color`
+`--mod-drop-zone-heading-font-family`
+`--mod-drop-zone-heading-font-size`
+`--mod-drop-zone-heading-font-style`
+`--mod-drop-zone-heading-font-weight`
+`--mod-drop-zone-heading-line-height`
+`--mod-drop-zone-heading-to-body` `--mod-drop-zone-illustration-to-heading` `--mod-drop-zone-illustration-to-title`
+
+## 9.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @spectrum-css/actionbutton@8.0.0-next.0
+
## 8.1.0
### Minor Changes
diff --git a/components/dropzone/dist/metadata.json b/components/dropzone/dist/metadata.json
index 3044ecfc906..e91812f2d27 100644
--- a/components/dropzone/dist/metadata.json
+++ b/components/dropzone/dist/metadata.json
@@ -2,133 +2,116 @@
"sourceFile": "index.css",
"selectors": [
".spectrum-DropZone",
+ ".spectrum-DropZone .spectrum-IllustratedMessage",
+ ".spectrum-DropZone-actions",
".spectrum-DropZone-button",
+ ".spectrum-DropZone-button .spectrum-Button-label",
".spectrum-DropZone-button:focus",
".spectrum-DropZone-button:hover",
".spectrum-DropZone-content",
+ ".spectrum-DropZone-stroke",
+ ".spectrum-DropZone-strokePath",
".spectrum-DropZone.is-dragged",
+ ".spectrum-DropZone.is-dragged .spectrum-DropZone-strokePath",
".spectrum-DropZone.is-filled",
".spectrum-DropZone.is-filled.is-dragged",
+ ".spectrum-DropZone.is-filled.is-dragged .spectrum-DropZone-actions",
+ ".spectrum-DropZone.is-filled.is-dragged .spectrum-DropZone-content",
".spectrum-DropZone:focus-visible",
- ".spectrum-DropZone:lang(ja)",
- ".spectrum-DropZone:lang(ko)",
- ".spectrum-DropZone:lang(zh)"
+ ".spectrum-DropZone:has(.spectrum-DropZone-stroke)"
],
"modifiers": [
"--mod-drop-zone-background-color",
"--mod-drop-zone-background-color-opacity",
"--mod-drop-zone-background-color-opacity-filled",
- "--mod-drop-zone-body-color",
- "--mod-drop-zone-body-font-family",
"--mod-drop-zone-body-font-size",
- "--mod-drop-zone-body-font-style",
- "--mod-drop-zone-body-font-weight",
- "--mod-drop-zone-body-line-height",
+ "--mod-drop-zone-body-to-action",
"--mod-drop-zone-border-color",
"--mod-drop-zone-border-color-hover",
+ "--mod-drop-zone-border-dash-gap",
+ "--mod-drop-zone-border-dash-length",
"--mod-drop-zone-border-style",
"--mod-drop-zone-border-style-dragged",
"--mod-drop-zone-border-width",
"--mod-drop-zone-content-background-color",
"--mod-drop-zone-content-bottom-to-text",
- "--mod-drop-zone-content-color",
- "--mod-drop-zone-content-display",
- "--mod-drop-zone-content-edge-to-text",
"--mod-drop-zone-content-font-family",
"--mod-drop-zone-content-font-size",
- "--mod-drop-zone-content-font-style",
"--mod-drop-zone-content-font-weight",
"--mod-drop-zone-content-height",
- "--mod-drop-zone-content-line-height",
"--mod-drop-zone-content-max-width",
"--mod-drop-zone-content-maximum-width",
"--mod-drop-zone-content-top-to-text",
"--mod-drop-zone-corner-radius",
- "--mod-drop-zone-heading-color",
- "--mod-drop-zone-heading-font-family",
- "--mod-drop-zone-heading-font-size",
- "--mod-drop-zone-heading-font-style",
- "--mod-drop-zone-heading-font-weight",
- "--mod-drop-zone-heading-line-height",
- "--mod-drop-zone-heading-to-body",
- "--mod-drop-zone-illustration-color",
+ "--mod-drop-zone-edge-to-text",
"--mod-drop-zone-illustration-color-hover",
- "--mod-drop-zone-illustration-to-heading",
+ "--mod-drop-zone-inline-size",
"--mod-drop-zone-padding",
- "--mod-drop-zone-width"
+ "--mod-drop-zone-title-line-height"
],
"component": [
"--spectrum-drop-zone-background-color",
"--spectrum-drop-zone-background-color-opacity",
"--spectrum-drop-zone-background-color-opacity-filled",
"--spectrum-drop-zone-background-color-rgb",
- "--spectrum-drop-zone-body-size",
+ "--spectrum-drop-zone-body-font-size",
+ "--spectrum-drop-zone-body-to-action",
"--spectrum-drop-zone-border-color",
"--spectrum-drop-zone-border-color-hover",
+ "--spectrum-drop-zone-border-dash-gap",
+ "--spectrum-drop-zone-border-dash-length",
"--spectrum-drop-zone-border-width",
- "--spectrum-drop-zone-cjk-title-size",
+ "--spectrum-drop-zone-component-height",
"--spectrum-drop-zone-content-background-color",
+ "--spectrum-drop-zone-content-bottom-to-text",
+ "--spectrum-drop-zone-content-font-family",
+ "--spectrum-drop-zone-content-font-size",
+ "--spectrum-drop-zone-content-font-weight",
+ "--spectrum-drop-zone-content-max-width",
"--spectrum-drop-zone-content-maximum-width",
- "--spectrum-drop-zone-illustration-color",
- "--spectrum-drop-zone-title-size",
+ "--spectrum-drop-zone-content-top-to-text",
+ "--spectrum-drop-zone-corner-radius",
+ "--spectrum-drop-zone-dragged-background-color",
+ "--spectrum-drop-zone-edge-to-text",
+ "--spectrum-drop-zone-illustration-color-hover",
+ "--spectrum-drop-zone-inline-size",
+ "--spectrum-drop-zone-padding",
+ "--spectrum-drop-zone-stroke-dash-gap",
+ "--spectrum-drop-zone-stroke-dash-length",
+ "--spectrum-drop-zone-title-line-height",
"--spectrum-drop-zone-width"
],
"global": [
+ "--spectrum-accent-content-color-default",
"--spectrum-accent-visual-color",
- "--spectrum-body-color",
- "--spectrum-body-line-height",
- "--spectrum-body-sans-serif-font-style",
- "--spectrum-body-sans-serif-font-weight",
"--spectrum-bold-font-weight",
"--spectrum-border-width-200",
"--spectrum-component-bottom-to-text-300",
"--spectrum-component-edge-to-text-300",
"--spectrum-component-height-300",
"--spectrum-component-top-to-text-300",
- "--spectrum-corner-radius-100",
- "--spectrum-default-font-style",
+ "--spectrum-corner-radius-500",
+ "--spectrum-corner-radius-700",
"--spectrum-font-size-300",
- "--spectrum-gray-200",
- "--spectrum-heading-color",
- "--spectrum-heading-line-height",
- "--spectrum-heading-sans-serif-font-style",
- "--spectrum-heading-sans-serif-font-weight",
+ "--spectrum-gray-300",
"--spectrum-line-height-100",
- "--spectrum-neutral-visual-color",
"--spectrum-sans-font-family-stack",
- "--spectrum-spacing-400",
- "--spectrum-spacing-75",
- "--spectrum-white"
+ "--spectrum-spacing-300",
+ "--spectrum-spacing-400"
],
- "system-theme": ["--system-drop-zone-border-color"],
"passthroughs": [
- "--mod-actionbutton-edge-to-text",
- "--mod-actionbutton-font-size",
- "--mod-actionbutton-label-color",
- "--mod-illustrated-message-content-maximum-width",
- "--mod-illustrated-message-description-color",
- "--mod-illustrated-message-description-font-family",
+ "--mod-button-border-radius",
"--mod-illustrated-message-description-font-size",
- "--mod-illustrated-message-description-font-style",
- "--mod-illustrated-message-description-font-weight",
- "--mod-illustrated-message-description-line-height",
"--mod-illustrated-message-description-position",
+ "--mod-illustrated-message-description-to-action",
"--mod-illustrated-message-description-z-index",
"--mod-illustrated-message-display",
- "--mod-illustrated-message-heading-to-body",
- "--mod-illustrated-message-heading-to-description",
"--mod-illustrated-message-illustration-color",
- "--mod-illustrated-message-title-color",
- "--mod-illustrated-message-title-font-family",
- "--mod-illustrated-message-title-font-size",
- "--mod-illustrated-message-title-font-style",
- "--mod-illustrated-message-title-font-weight",
- "--mod-illustrated-message-title-line-height",
- "--mod-illustrated-message-title-to-heading"
+ "--mod-illustrated-message-vertical-maximum-width"
],
"high-contrast": [
+ "--highcontrast-drop-zone-border-color",
"--highcontrast-drop-zone-border-color-hover",
- "--highcontrast-drop-zone-illustration-color",
- "--highcontrast-illustrated-message-illustration-color"
+ "--highcontrast-drop-zone-button-color"
]
}
diff --git a/components/dropzone/index.css b/components/dropzone/index.css
index 2b3fbefe0c7..c5824560074 100644
--- a/components/dropzone/index.css
+++ b/components/dropzone/index.css
@@ -11,127 +11,188 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
.spectrum-DropZone {
+ /* Sizing */
+ --spectrum-drop-zone-padding: var(--spectrum-spacing-400);
--spectrum-drop-zone-border-width: var(--spectrum-border-width-200);
+ --spectrum-drop-zone-corner-radius: var(--spectrum-corner-radius-700);
+ --spectrum-drop-zone-border-color: var(--spectrum-gray-300);
+ --spectrum-drop-zone-inline-size: var(--spectrum-drop-zone-width);
+
+ /* Color */
--spectrum-drop-zone-background-color: var(--spectrum-drop-zone-background-color-rgb);
--spectrum-drop-zone-border-color-hover: var(--spectrum-accent-visual-color);
- --spectrum-drop-zone-illustration-color: var(--spectrum-neutral-visual-color);
+ --spectrum-drop-zone-illustration-color-hover: var(--spectrum-accent-content-color-default);
+ --spectrum-drop-zone-body-to-action: var(--spectrum-spacing-300);
+ --spectrum-drop-zone-stroke-dash-gap: var(--spectrum-drop-zone-border-dash-gap);
+ --spectrum-drop-zone-stroke-dash-length: var(--spectrum-drop-zone-border-dash-length);
+ --spectrum-drop-zone-dragged-background-color: var(--spectrum-drop-zone-background-color-opacity);
+
+ /* Filled styles */
+ --spectrum-drop-zone-content-max-width: var(--spectrum-drop-zone-content-maximum-width);
+ --spectrum-drop-zone-content-top-to-text: var(--spectrum-component-top-to-text-300);
+ --spectrum-drop-zone-content-bottom-to-text: var(--spectrum-component-bottom-to-text-300);
+ --spectrum-drop-zone-component-height: var(--spectrum-component-height-300);
+ --spectrum-drop-zone-edge-to-text: var(--spectrum-component-edge-to-text-300);
+
+ --spectrum-drop-zone-content-font-family: var(--spectrum-sans-font-family-stack);
+ --spectrum-drop-zone-content-font-weight: var(--spectrum-bold-font-weight);
+ --spectrum-drop-zone-content-font-size: var(--spectrum-font-size-300);
+ --spectrum-drop-zone-title-line-height: var(--spectrum-line-height-100);
+
--spectrum-drop-zone-content-background-color: var(--spectrum-accent-visual-color);
- /* @passthrough start -- IllustratedMessage -- settings for a nested illustrated message */
- --mod-illustrated-message-content-maximum-width: var(--mod-drop-zone-content-maximum-width, var(--spectrum-drop-zone-content-maximum-width));
- --mod-illustrated-message-illustration-color: var(--mod-drop-zone-illustration-color, var(--spectrum-drop-zone-illustration-color));
- --mod-illustrated-message-title-to-heading: var(--mod-drop-zone-illustration-to-heading, var(--spectrum-spacing-400));
- --mod-illustrated-message-heading-to-body: var(--mod-drop-zone-heading-to-body, var(--spectrum-spacing-75));
- --mod-illustrated-message-title-font-family: var(--mod-drop-zone-heading-font-family, var(--spectrum-sans-font-family-stack));
- --mod-illustrated-message-title-font-weight: var(--mod-drop-zone-heading-font-weight, var(--spectrum-heading-sans-serif-font-weight));
- --mod-illustrated-message-title-font-style: var(--mod-drop-zone-heading-font-style, var(--spectrum-heading-sans-serif-font-style));
- --mod-illustrated-message-title-font-size: var(--mod-drop-zone-heading-font-size, var(--spectrum-drop-zone-title-size));
- --mod-illustrated-message-title-line-height: var(--mod-drop-zone-heading-line-height, var(--spectrum-heading-line-height));
- --mod-illustrated-message-title-color: var(--mod-drop-zone-heading-color, var(--spectrum-heading-color));
+ /* Settings for a nested illustrated message */
+ --mod-illustrated-message-vertical-maximum-width: var(--mod-drop-zone-content-maximum-width, var(--spectrum-drop-zone-content-maximum-width));
+ --mod-illustrated-message-description-to-action: var(--mod-drop-zone-body-to-action, var(--spectrum-drop-zone-body-to-action));
--mod-illustrated-message-description-position: relative;
--mod-illustrated-message-description-z-index: 10;
- --mod-illustrated-message-heading-to-description: 0;
- --mod-illustrated-message-description-font-family: var(--mod-drop-zone-body-font-family, var(--spectrum-sans-font-family-stack));
- --mod-illustrated-message-description-font-weight: var(--mod-drop-zone-body-font-weight, var(--spectrum-body-sans-serif-font-weight));
- --mod-illustrated-message-description-font-style: var(--mod-drop-zone-body-font-style, var(--spectrum-body-sans-serif-font-style));
- --mod-illustrated-message-description-font-size: var(--mod-drop-zone-body-font-size, var(--spectrum-drop-zone-body-size));
- --mod-illustrated-message-description-line-height: var(--mod-drop-zone-body-line-height, var(--spectrum-body-line-height));
- --mod-illustrated-message-description-color: var(--mod-drop-zone-body-color, var(--spectrum-body-color));
- /* @passthrough end */
-
- /* @passthrough start -- ActionButton settings for a nested actionbutton */
- --mod-actionbutton-font-size: var(--mod-drop-zone-content-font-size, var(--spectrum-font-size-300));
- --mod-actionbutton-label-color: var(--mod-drop-zone-content-color, var(--spectrum-white));
- --mod-actionbutton-edge-to-text: var(--mod-drop-zone-content-edge-to-text, var(--spectrum-component-edge-to-text-300));
- /* @passthrough end */
+ --mod-illustrated-message-description-font-size: var(--mod-drop-zone-body-font-size, var(--spectrum-drop-zone-body-font-size));
+
+ /* Adjusts height of filled & dragged dropzone state */
+ --mod-drop-zone-content-height: 280px;
+}
+.spectrum-DropZone {
+ display: flex;
+ justify-content: center;
+ align-items: center;
box-sizing: border-box;
- inline-size: var(--mod-drop-zone-width, var(--spectrum-drop-zone-width));
- padding: calc(var(--mod-drop-zone-padding, var(--spectrum-spacing-400)) - var(--mod-drop-zone-border-width, var(--spectrum-drop-zone-border-width)));
- text-align: center;
- border-color: var(--mod-drop-zone-border-color, var(--spectrum-drop-zone-border-color));
- border-width: var(--mod-drop-zone-border-width, var(--spectrum-drop-zone-border-width));
- border-radius: var(--mod-drop-zone-corner-radius, var(--spectrum-corner-radius-100));
- border-style: var(--mod-drop-zone-border-style, dashed);
- background-color: var(--mod-drop-zone-background-color, var(--spectrum-drop-zone-background-color));
+ inline-size: var(--mod-drop-zone-inline-size, var(--spectrum-drop-zone-inline-size));
+ padding: calc(var(--mod-drop-zone-padding, var(--spectrum-drop-zone-padding)) - var(--mod-drop-zone-border-width, var(--spectrum-drop-zone-border-width)));
+ border-radius: var(--mod-drop-zone-corner-radius, var(--spectrum-drop-zone-corner-radius));
background-size: cover;
-
- &:lang(ja),
- &:lang(zh),
- &:lang(ko) {
- /* @passthrough -- updated value for cjk font size */
- --mod-illustrated-message-title-font-size: var(--spectrum-drop-zone-cjk-title-size);
- }
+ background-color: var(--mod-drop-zone-background-color, var(--spectrum-drop-zone-background-color));
+ position: relative;
+ border: var(--mod-drop-zone-border-width, var(--spectrum-drop-zone-border-width)) dashed var(--highcontrast-drop-zone-border-color, var(--mod-drop-zone-border-color, var(--spectrum-drop-zone-border-color)));
&.is-dragged {
--mod-drop-zone-border-style: var(--mod-drop-zone-border-style-dragged, solid);
- --mod-drop-zone-background-color: rgba(var(--spectrum-drop-zone-background-color), var(--mod-drop-zone-background-color-opacity, var(--spectrum-drop-zone-background-color-opacity)));
- --mod-drop-zone-border-color: var(--highcontrast-drop-zone-border-color-hover, var(--mod-drop-zone-border-color-hover, var(--spectrum-drop-zone-border-color-hover)));
+ --mod-drop-zone-background-color: rgba(var(--spectrum-drop-zone-background-color), var(--mod-drop-zone-background-color-opacity, var(--spectrum-drop-zone-dragged-background-color)));
+ --spectrum-drop-zone-border-color: var(--highcontrast-drop-zone-border-color-hover, var(--mod-drop-zone-border-color-hover, var(--spectrum-drop-zone-border-color-hover)));
+
+ /* Updated values for a nested illustrated message when state changes */
+ --mod-illustrated-message-illustration-color: var(--mod-drop-zone-illustration-color-hover, var(--spectrum-drop-zone-illustration-color-hover));
+ color: var(--spectrum-drop-zone-illustration-color-hover);
+ border-style: solid;
- /* @passthrough -- Updated values for a nested illustrated message when state changes */
- --mod-illustrated-message-illustration-color: var(--mod-drop-zone-illustration-color-hover, var(--spectrum-accent-visual-color));
+ .spectrum-DropZone-strokePath {
+ stroke-dasharray: none;
+ }
}
&.is-filled {
/* note: the below applies to .is-filled.is-dragged but works here b/c dragged is the only state applying background color */
--mod-drop-zone-background-color: rgba(var(--spectrum-drop-zone-background-color), var(--mod-drop-zone-background-color-opacity-filled, var(--spectrum-drop-zone-background-color-opacity-filled)));
- /* @passthrough -- Updated values for a nested illustrated message when state changes */
+ /* Updated values for a nested illustrated message when state changes */
--mod-illustrated-message-display: none;
}
&.is-filled.is-dragged {
- --mod-drop-zone-content-display: flex;
+ background-position: center;
+ block-size: var(--mod-drop-zone-content-height);
+ background-blend-mode: multiply;
+
+ .spectrum-DropZone-content {
+ block-size: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ }
+
+ .spectrum-DropZone-actions {
+ margin-block-start: 0;
+ }
}
&:focus-visible {
- --mod-drop-zone-border-style: solid;
- --mod-drop-zone-border-color: var(--highcontrast-drop-zone-border-color-hover, var(--mod-drop-zone-border-color-hover, var(--spectrum-drop-zone-border-color-hover)));
-
+ --spectrum-drop-zone-border-color: var(--highcontrast-drop-zone-border-color-hover, var(--mod-drop-zone-border-color-hover, var(--spectrum-drop-zone-border-color-hover)));
outline: 0;
}
}
-.spectrum-DropZone-content {
- display: var(--mod-drop-zone-content-display, none);
+.spectrum-DropZone:has(.spectrum-DropZone-stroke) {
+ border: none;
+}
+
+.spectrum-DropZone-stroke {
+ position: absolute;
+ inset-block-start: 0;
+ inset-inline-start: 0;
+ inline-size: 100%;
block-size: 100%;
- align-items: center;
- justify-content: center;
- position: relative;
- z-index: 10;
+ pointer-events: none;
+}
+
+.spectrum-DropZone-strokePath {
+ stroke: var(--highcontrast-drop-zone-border-color, var(--mod-drop-zone-border-color, var(--spectrum-drop-zone-border-color)));
+ stroke-dasharray: var(--mod-drop-zone-border-dash-length, var(--spectrum-drop-zone-stroke-dash-length)) var(--mod-drop-zone-border-dash-gap, var(--spectrum-drop-zone-stroke-dash-gap));
+ rx: var(--spectrum-drop-zone-corner-radius);
+ ry: var(--spectrum-drop-zone-corner-radius);
+ stroke-width: var(--mod-drop-zone-border-width, var(--spectrum-drop-zone-border-width));
+ inline-size: calc(100% - var(--mod-drop-zone-border-width, var(--spectrum-drop-zone-border-width)));
+ block-size: calc(100% - var(--mod-drop-zone-border-width, var(--spectrum-drop-zone-border-width)));
+}
+
+.spectrum-DropZone-content {
+ max-inline-size: var(--mod-illustrated-message-vertical-maximum-width);
+}
+
+.spectrum-DropZone-actions {
+ margin-block-start: var(--spectrum-drop-zone-body-to-action);
+ text-align: center;
}
.spectrum-DropZone-button {
+ /* Adjust corner radius of button component is dragged & filled state */
+ --mod-button-border-radius: var(--spectrum-corner-radius-500);
box-sizing: border-box;
border: none;
- block-size: var(--mod-drop-zone-content-height, var(--spectrum-component-height-300));
- max-inline-size: var(--mod-drop-zone-content-max-width, var(--spectrum-drop-zone-content-maximum-width));
- padding-block-start: var(--mod-drop-zone-content-top-to-text, var(--spectrum-component-top-to-text-300));
- padding-block-end: var(--mod-drop-zone-content-bottom-to-text, var(--spectrum-component-bottom-to-text-300));
- background-color: var(--mod-drop-zone-content-background-color, var(--spectrum-drop-zone-content-background-color));
-
- font-family: var(--mod-drop-zone-content-font-family, var(--spectrum-sans-font-family-stack));
- font-weight: var(--mod-drop-zone-content-font-weight, var(--spectrum-bold-font-weight));
- font-style: var(--mod-drop-zone-content-font-style, var(--spectrum-default-font-style));
- line-height: var(--mod-drop-zone-content-line-height, var(--spectrum-line-height-100));
+ block-size: auto;
+
+ max-inline-size: var(--mod-drop-zone-content-max-width, var(--spectrum-drop-zone-content-max-width));
+ padding-block-start: var(--mod-drop-zone-content-top-to-text, var(--spectrum-drop-zone-content-top-to-text));
+ padding-block-end: var(--mod-drop-zone-content-bottom-to-text, var(--spectrum-drop-zone-content-bottom-to-text));
+ padding-inline: var(--mod-drop-zone-edge-to-text, var(--spectrum-drop-zone-edge-to-text));
+ background-color: var(--highcontrast-drop-zone-button-color, var(--mod-drop-zone-content-background-color, var(--spectrum-drop-zone-content-background-color)));
+ max-block-size: var(--spectrum-drop-zone-component-height);
+
+ font-family: var(--mod-drop-zone-content-font-family, var(--spectrum-drop-zone-content-font-family));
+ font-weight: var(--mod-drop-zone-content-font-weight, var(--spectrum-drop-zone-content-font-weight));
+ line-height: var(--mod-drop-zone-title-line-height, var(--spectrum-drop-zone-title-line-height));
+
+ .spectrum-Button-label {
+ font-size: var(--mod-drop-zone-content-font-size, var(--spectrum-drop-zone-content-font-size));
+ padding: unset;
+ }
&:hover,
&:focus {
- background-color: var(--mod-drop-zone-content-background-color, var(--spectrum-drop-zone-content-background-color));
+ background-color: var(--highcontrast-drop-zone-button-color, var(--mod-drop-zone-content-background-color, var(--spectrum-drop-zone-content-background-color)));
+ }
+}
+
+/********* Illustrated Message *********/
+.spectrum-DropZone {
+ .spectrum-IllustratedMessage {
+ justify-content: center;
}
}
/********* WHCM *********/
@media (forced-colors: active) {
.spectrum-DropZone {
- --highcontrast-drop-zone-illustration-color: CanvasText;
-
--highcontrast-drop-zone-border-color-hover: Highlight;
+ --highcontrast-drop-zone-button-color: ButtonText;
+ --highcontrast-drop-zone-border-color: ButtonText;
+
+ &.is-dragged {
+ border-color: var(--highcontrast-drop-zone-border-color-hover);
- /* @passthrough -- updated values for a nested illustrated message when in a high contrast state */
- --highcontrast-illustrated-message-illustration-color: var(--highcontrast-drop-zone-illustration-color);
+ .spectrum-DropZone-strokePath {
+ stroke: var(--highcontrast-drop-zone-border-color-hover);
+ }
+ }
}
}
diff --git a/components/dropzone/package.json b/components/dropzone/package.json
index e039414b801..669542e4a74 100644
--- a/components/dropzone/package.json
+++ b/components/dropzone/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/dropzone",
- "version": "8.1.0",
+ "version": "9.0.0-next.2",
"description": "The Spectrum CSS dropzone component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,9 +25,9 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/actionbutton": ">=7.0.0 <8.0.0",
+ "@spectrum-css/actionbutton": ">=8.0.0-next.0",
"@spectrum-css/illustratedmessage": ">=9.0.0 <10.0.0",
- "@spectrum-css/link": ">=7.0.0 <8.0.0",
+ "@spectrum-css/link": ">=8.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -45,9 +45,9 @@
}
},
"devDependencies": {
- "@spectrum-css/actionbutton": "7.1.2",
+ "@spectrum-css/actionbutton": "8.0.0-next.1",
"@spectrum-css/illustratedmessage": "9.1.0",
- "@spectrum-css/link": "7.1.0",
+ "@spectrum-css/link": "8.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/dropzone/stories/dropzone.stories.js b/components/dropzone/stories/dropzone.stories.js
index 9d0d7e4c3d2..eef7e95d4d2 100644
--- a/components/dropzone/stories/dropzone.stories.js
+++ b/components/dropzone/stories/dropzone.stories.js
@@ -1,12 +1,12 @@
import { default as ActionButton } from "@spectrum-css/actionbutton/stories/actionbutton.stories.js";
import { default as IllustratedMessage } from "@spectrum-css/illustratedmessage/stories/illustratedmessage.stories.js";
-import { Template as Link } from "@spectrum-css/link/stories/template.js";
+import { Sizes } from "@spectrum-css/preview/decorators";
import { disableDefaultModes } from "@spectrum-css/preview/modes";
import { isDragged } from "@spectrum-css/preview/types";
-import { html } from "lit";
import metadata from "../dist/metadata.json";
import packageJson from "../package.json";
import { DropzoneGroup } from "./dropzone.test.js";
+import { Template } from "./template.js";
/**
* A drop zone is an area on the screen into a which an object can be dragged and dropped to accomplish a task. It's a common interaction in uploading and file management workflows. For example, a drop zone might be used in an upload workflow to enable the user to simply drop a file from their operating system into the drop zone, which is a more efficient and intuitive action, rather than utilizing the standard "Choose file" dialog.
@@ -27,12 +27,17 @@ export default {
if: { arg: "isDragged", truthy: true },
},
...IllustratedMessage.argTypes,
+ hasButtons: { table: { disable: true }},
+ isHorizontal: { table: { disable: true }},
label: ActionButton.argTypes.label,
},
args: {
rootClass: "spectrum-DropZone",
isDragged: false,
isFilled: false,
+ title: "Drag and drop your file",
+ description: "Or, select a file from your computer.",
+ label: "Browse files",
},
parameters: {
design: {
@@ -45,18 +50,28 @@ export default {
};
export const Default = DropzoneGroup.bind({});
-Default.args = {
- heading: "Drag and drop your file",
- description: [
- () => {
- return html`${Link({ url: "#", text: "Select a file" })} from your computer.`;
- },
- ],
- label: "Drop file to replace",
- useAccentColor: true,
- customStyles: {
- width: "300px",
- },
+Default.args = {};
+
+export const Dragged = Template.bind({});
+Dragged.args = {
+ isDragged: true,
+};
+Dragged.tags = ["!dev"];
+Dragged.parameters = {
+ chromatic: { disableSnapshot: true },
+};
+
+/**
+ * The filled state of a drop zone is used to indicate that a file has been dropped into the drop zone. Since the type size doesn't change in this state, the dropzone size would be identical in all size variants.
+*/
+export const Filled = Template.bind({});
+Filled.args = {
+ isDragged: true,
+ isFilled: true,
+};
+Filled.tags = ["!dev"];
+Filled.parameters = {
+ chromatic: { disableSnapshot: true },
};
// ********* VRT ONLY ********* //
@@ -69,3 +84,15 @@ WithForcedColors.parameters = {
modes: disableDefaultModes
},
};
+
+export const Sizing = (args, context) => Sizes({
+ Template,
+ withBorder: false,
+ withHeader: false,
+ ...args
+}, context);
+Sizing.args = {};
+Sizing.tags = ["!dev"];
+Sizing.parameters = {
+ chromatic: { disableSnapshot: true },
+};
diff --git a/components/dropzone/stories/dropzone.test.js b/components/dropzone/stories/dropzone.test.js
index 52303b56d69..258da1cd653 100644
--- a/components/dropzone/stories/dropzone.test.js
+++ b/components/dropzone/stories/dropzone.test.js
@@ -1,22 +1,10 @@
-import { Template as Link } from "@spectrum-css/link/stories/template.js";
import { Variants } from "@spectrum-css/preview/decorators";
-import { html } from "lit";
import { Template } from "./template.js";
export const DropzoneGroup = Variants({
Template,
testData: [
{},
- {
- testHeading: "Verbose example",
- heading: "Drag and drop your file to upload",
- description: [
- () => {
- return html`You can also ${Link({ url: "#", text: "select a file" })} from your computer.`;
- },
- ],
- label: "Drag and drop to replace file upload",
- },
],
stateData: [
{
@@ -29,5 +17,4 @@ export const DropzoneGroup = Variants({
isDragged: true,
},
],
- withSizes: false,
});
diff --git a/components/dropzone/stories/template.js b/components/dropzone/stories/template.js
index 9eb2dfface7..77e260501c2 100644
--- a/components/dropzone/stories/template.js
+++ b/components/dropzone/stories/template.js
@@ -1,4 +1,4 @@
-import { Template as ActionButton } from "@spectrum-css/actionbutton/stories/template.js";
+import { Template as Button } from "@spectrum-css/button/stories/template.js";
import { Template as IllustratedMessage } from "@spectrum-css/illustratedmessage/stories/template.js";
import { getRandomId } from "@spectrum-css/preview/decorators";
import { html } from "lit";
@@ -7,9 +7,6 @@ import { ifDefined } from "lit/directives/if-defined.js";
import { styleMap } from "lit/directives/style-map.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-DropZone",
@@ -17,35 +14,70 @@ export const Template = ({
isFilled = false,
customClasses = [],
customStyles = {},
- heading,
+ title,
description,
label,
id = getRandomId("dropzone"),
+ size = "m",
+ image = "dropzone-illustration.png",
} = {}, context = {}) => {
return html`
- ({ ...a, [c]: true }), {}),
- })}
- id=${ifDefined(id)}
- role="region"
- tabindex="0"
- style=${styleMap(customStyles)}
- >
- ${IllustratedMessage({ heading, description }, context)}
-
-
- ${ActionButton(
- {
- label,
- customClasses: [`${rootClass}-button`],
- },
- context
- )}
+ })}
+ id=${ifDefined(id)}
+ role="region"
+ tabindex="0"
+ style=${styleMap(customStyles), [isDragged && isFilled ? `background-image:url(${image});` : null].filter(Boolean).join(" ")}
+ >
+
+
+
+
+ ${IllustratedMessage({
+ title: title,
+ description: description,
+ customIllustration: customSvg,
+ size: size
+ }, context )}
+
+ ${isDragged && isFilled
+ ? Button({
+ label: label,
+ customClasses: [`${rootClass}-button`],
+ variant: "accent",
+ })
+ : Button({
+ label: label,
+ size: size
+ })}
- `;
+
`;
};
+
+const customSvg = () => html`
+
+
+
+`;
diff --git a/components/dropzone/themes/express.css b/components/dropzone/themes/express.css
deleted file mode 100644
index 9fd550418f2..00000000000
--- a/components/dropzone/themes/express.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
diff --git a/components/dropzone/themes/spectrum-two.css b/components/dropzone/themes/spectrum-two.css
deleted file mode 100644
index cf71b766c33..00000000000
--- a/components/dropzone/themes/spectrum-two.css
+++ /dev/null
@@ -1,18 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-DropZone {
- --spectrum-drop-zone-border-color: var(--spectrum-gray-200);
- }
-}
diff --git a/components/dropzone/themes/spectrum.css b/components/dropzone/themes/spectrum.css
deleted file mode 100644
index 0760508568f..00000000000
--- a/components/dropzone/themes/spectrum.css
+++ /dev/null
@@ -1,22 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-DropZone {
- --spectrum-drop-zone-border-color: var(--spectrum-gray-300);
- }
-}
diff --git a/components/fieldgroup/CHANGELOG.md b/components/fieldgroup/CHANGELOG.md
index f4acc1c9185..b3fb430ce30 100644
--- a/components/fieldgroup/CHANGELOG.md
+++ b/components/fieldgroup/CHANGELOG.md
@@ -1,5 +1,14 @@
# Change log
+## 8.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @spectrum-css/checkbox@11.0.0-next.0
+ - @spectrum-css/helptext@8.0.0-next.0
+ - @spectrum-css/radio@11.0.0-next.0
+
## 7.1.0
### Minor Changes
diff --git a/components/fieldgroup/dist/metadata.json b/components/fieldgroup/dist/metadata.json
index c8875b9d3a9..3c2343b1019 100644
--- a/components/fieldgroup/dist/metadata.json
+++ b/components/fieldgroup/dist/metadata.json
@@ -13,7 +13,6 @@
"modifiers": [],
"component": [],
"global": ["--spectrum-spacing-300"],
- "system-theme": [],
"passthroughs": [],
"high-contrast": []
}
diff --git a/components/fieldgroup/package.json b/components/fieldgroup/package.json
index 89e43c688fb..65742e31386 100644
--- a/components/fieldgroup/package.json
+++ b/components/fieldgroup/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/fieldgroup",
- "version": "7.1.0",
+ "version": "8.0.0-next.0",
"description": "The Spectrum CSS fieldgroup component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,9 +25,9 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/checkbox": ">=10.0.0 <11.0.0",
- "@spectrum-css/helptext": ">=7.0.0 <8.0.0",
- "@spectrum-css/radio": ">=10.0.0 <11.0.0",
+ "@spectrum-css/checkbox": ">=11.0.0-next.0",
+ "@spectrum-css/helptext": ">=8.0.0-next.0",
+ "@spectrum-css/radio": ">=11.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -45,9 +45,9 @@
}
},
"devDependencies": {
- "@spectrum-css/checkbox": "10.1.2",
- "@spectrum-css/helptext": "7.1.0",
- "@spectrum-css/radio": "10.1.0",
+ "@spectrum-css/checkbox": "11.0.0-next.0",
+ "@spectrum-css/helptext": "8.0.0-next.0",
+ "@spectrum-css/radio": "11.0.0-next.1",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/fieldlabel/CHANGELOG.md b/components/fieldlabel/CHANGELOG.md
index c799025402c..818623f8ea3 100644
--- a/components/fieldlabel/CHANGELOG.md
+++ b/components/fieldlabel/CHANGELOG.md
@@ -1,5 +1,12 @@
# Change log
+## 11.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+
## 10.1.0
### Minor Changes
diff --git a/components/fieldlabel/dist/metadata.json b/components/fieldlabel/dist/metadata.json
index cc26c19a022..2a55dbd82f4 100644
--- a/components/fieldlabel/dist/metadata.json
+++ b/components/fieldlabel/dist/metadata.json
@@ -5,9 +5,10 @@
".spectrum-FieldLabel--left",
".spectrum-FieldLabel--right",
".spectrum-FieldLabel--sizeL",
- ".spectrum-FieldLabel--sizeM",
".spectrum-FieldLabel--sizeS",
".spectrum-FieldLabel--sizeXL",
+ ".spectrum-FieldLabel--staticBlack",
+ ".spectrum-FieldLabel--staticWhite",
".spectrum-FieldLabel-requiredIcon",
".spectrum-FieldLabel.is-disabled",
".spectrum-FieldLabel:lang(ja)",
@@ -15,35 +16,20 @@
".spectrum-FieldLabel:lang(zh)"
],
"modifiers": [
- "--mod-disabled-content-color",
- "--mod-field-label-asterisk-vertical-align",
- "--mod-field-label-bottom-to-text",
- "--mod-field-label-text-to-asterisk",
- "--mod-field-label-top-to-text",
- "--mod-fieldlabel-color",
+ "--mod-fieldlabel-asterisk-vertical-align",
+ "--mod-fieldlabel-bottom-to-text",
"--mod-fieldlabel-font-size",
"--mod-fieldlabel-font-weight",
"--mod-fieldlabel-line-height",
"--mod-fieldlabel-line-height-cjk",
- "--mod-fieldlabel-margin-block",
- "--mod-fieldlabel-margin-block-end",
- "--mod-fieldlabel-margin-block-start",
- "--mod-fieldlabel-margin-inline",
- "--mod-fieldlabel-margin-inline-end",
- "--mod-fieldlabel-margin-inline-start",
"--mod-fieldlabel-min-height",
- "--mod-fieldlabel-padding-block",
"--mod-fieldlabel-padding-inline",
"--mod-fieldlabel-side-margin-block-start",
- "--mod-fieldlabel-side-padding-right"
+ "--mod-fieldlabel-side-padding-right",
+ "--mod-fieldlabel-text-to-asterisk",
+ "--mod-fieldlabel-top-to-text"
],
"component": [
- "--spectrum-field-label-bottom-to-text",
- "--spectrum-field-label-font-size",
- "--spectrum-field-label-min-height",
- "--spectrum-field-label-side-margin-block-start",
- "--spectrum-field-label-side-padding-right",
- "--spectrum-field-label-text-to-asterisk",
"--spectrum-field-label-text-to-asterisk-extra-large",
"--spectrum-field-label-text-to-asterisk-large",
"--spectrum-field-label-text-to-asterisk-medium",
@@ -52,30 +38,44 @@
"--spectrum-field-label-top-margin-large",
"--spectrum-field-label-top-margin-medium",
"--spectrum-field-label-top-margin-small",
- "--spectrum-field-label-top-to-text"
+ "--spectrum-fieldlabel-bottom-to-text",
+ "--spectrum-fieldlabel-color",
+ "--spectrum-fieldlabel-font-size",
+ "--spectrum-fieldlabel-font-weight",
+ "--spectrum-fieldlabel-line-height",
+ "--spectrum-fieldlabel-min-height",
+ "--spectrum-fieldlabel-side-margin-block-start",
+ "--spectrum-fieldlabel-side-padding-right",
+ "--spectrum-fieldlabel-text-to-asterisk",
+ "--spectrum-fieldlabel-top-to-text"
],
"global": [
+ "--spectrum-black",
"--spectrum-cjk-line-height-100",
"--spectrum-component-bottom-to-text-100",
"--spectrum-component-bottom-to-text-200",
+ "--spectrum-component-bottom-to-text-300",
"--spectrum-component-bottom-to-text-75",
"--spectrum-component-height-100",
"--spectrum-component-height-200",
+ "--spectrum-component-height-300",
"--spectrum-component-height-75",
"--spectrum-component-top-to-text-100",
"--spectrum-component-top-to-text-200",
+ "--spectrum-component-top-to-text-300",
"--spectrum-component-top-to-text-75",
"--spectrum-disabled-content-color",
"--spectrum-font-size-100",
"--spectrum-font-size-200",
+ "--spectrum-font-size-300",
"--spectrum-font-size-75",
"--spectrum-line-height-100",
"--spectrum-neutral-subdued-content-color-default",
"--spectrum-regular-font-weight",
"--spectrum-spacing-100",
- "--spectrum-spacing-200"
+ "--spectrum-spacing-200",
+ "--spectrum-white"
],
- "system-theme": [],
"passthroughs": [],
- "high-contrast": ["--highcontrast-field-label-content-color"]
+ "high-contrast": ["--highcontrast-fieldlabel-disabled-content-color"]
}
diff --git a/components/fieldlabel/index.css b/components/fieldlabel/index.css
index 4e5b4653efd..174875f109a 100644
--- a/components/fieldlabel/index.css
+++ b/components/fieldlabel/index.css
@@ -11,104 +11,111 @@
* governing permissions and limitations under the License.
*/
-/* @todo align modifiers to use field-label or fieldlabel but not both */
+.spectrum-FieldLabel {
+ --spectrum-fieldlabel-min-height: var(--spectrum-component-height-100);
+ --spectrum-fieldlabel-color: var(--spectrum-neutral-subdued-content-color-default);
+
+ --spectrum-fieldlabel-top-to-text: var(--spectrum-component-top-to-text-100);
+ --spectrum-fieldlabel-bottom-to-text: var(--spectrum-component-bottom-to-text-100);
+ --spectrum-fieldlabel-text-to-asterisk: var(--spectrum-field-label-text-to-asterisk-medium);
-.spectrum-FieldLabel,
-.spectrum-FieldLabel--sizeM {
- --spectrum-field-label-min-height: var(--spectrum-component-height-75);
- --spectrum-field-label-top-to-text: var(--spectrum-component-top-to-text-75);
- --spectrum-field-label-bottom-to-text: var(--spectrum-component-bottom-to-text-75);
- --spectrum-field-label-font-size: var(--spectrum-font-size-75);
+ --spectrum-fieldlabel-font-size: var(--spectrum-font-size-100);
+ --spectrum-fieldlabel-font-weight: var(--spectrum-regular-font-weight);
+ --spectrum-fieldlabel-line-height: var(--spectrum-line-height-100);
- --spectrum-field-label-side-margin-block-start: var(--spectrum-field-label-top-margin-medium);
- --spectrum-field-label-side-padding-right: var(--spectrum-spacing-200);
+ --spectrum-fieldlabel-side-margin-block-start: var(--spectrum-field-label-top-margin-medium);
+ --spectrum-fieldlabel-side-padding-right: var(--spectrum-spacing-200);
+
+ /* CJK (Chinese, Japanese, and Korean) language support */
+ &:lang(ja),
+ &:lang(zh),
+ &:lang(ko) {
+ --mod-fieldlabel-line-height: var(--mod-fieldlabel-line-height-cjk, var(--spectrum-cjk-line-height-100));
+ }
- --spectrum-field-label-text-to-asterisk: var(--spectrum-field-label-text-to-asterisk-medium);
+ /********* Disabled state *********/
+ &.is-disabled {
+ --spectrum-fieldlabel-color: var(--highcontrast-fieldlabel-disabled-content-color, var(--spectrum-disabled-content-color));
+ }
}
.spectrum-FieldLabel--sizeS {
- --spectrum-field-label-min-height: var(--spectrum-component-height-75);
- --spectrum-field-label-top-to-text: var(--spectrum-component-top-to-text-75);
- --spectrum-field-label-bottom-to-text: var(--spectrum-component-bottom-to-text-75);
- --spectrum-field-label-font-size: var(--spectrum-font-size-75);
+ --spectrum-fieldlabel-min-height: var(--spectrum-component-height-75);
+ --spectrum-fieldlabel-top-to-text: var(--spectrum-component-top-to-text-75);
+ --spectrum-fieldlabel-bottom-to-text: var(--spectrum-component-bottom-to-text-75);
+ --spectrum-fieldlabel-text-to-asterisk: var(--spectrum-field-label-text-to-asterisk-small);
- --spectrum-field-label-side-margin-block-start: var(--spectrum-field-label-top-margin-small);
- --spectrum-field-label-side-padding-right: var(--spectrum-spacing-100);
+ --spectrum-fieldlabel-font-size: var(--spectrum-font-size-75);
- --spectrum-field-label-text-to-asterisk: var(--spectrum-field-label-text-to-asterisk-small);
+ --spectrum-fieldlabel-side-margin-block-start: var(--spectrum-field-label-top-margin-small);
+ --spectrum-fieldlabel-side-padding-right: var(--spectrum-spacing-100);
}
.spectrum-FieldLabel--sizeL {
- --spectrum-field-label-min-height: var(--spectrum-component-height-100);
- --spectrum-field-label-top-to-text: var(--spectrum-component-top-to-text-100);
- --spectrum-field-label-bottom-to-text: var(--spectrum-component-bottom-to-text-100);
- --spectrum-field-label-font-size: var(--spectrum-font-size-100);
+ --spectrum-fieldlabel-min-height: var(--spectrum-component-height-200);
+ --spectrum-fieldlabel-top-to-text: var(--spectrum-component-top-to-text-200);
+ --spectrum-fieldlabel-bottom-to-text: var(--spectrum-component-bottom-to-text-200);
+ --spectrum-fieldlabel-text-to-asterisk: var(--spectrum-field-label-text-to-asterisk-large);
- --spectrum-field-label-side-margin-block-start: var(--spectrum-field-label-top-margin-large);
- --spectrum-field-label-side-padding-right: var(--spectrum-spacing-200);
+ --spectrum-fieldlabel-font-size: var(--spectrum-font-size-200);
- --spectrum-field-label-text-to-asterisk: var(--spectrum-field-label-text-to-asterisk-large);
+ --spectrum-fieldlabel-side-margin-block-start: var(--spectrum-field-label-top-margin-large);
+ --spectrum-fieldlabel-side-padding-right: var(--spectrum-spacing-200);
}
.spectrum-FieldLabel--sizeXL {
- --spectrum-field-label-min-height: var(--spectrum-component-height-200);
- --spectrum-field-label-top-to-text: var(--spectrum-component-top-to-text-200);
- --spectrum-field-label-bottom-to-text: var(--spectrum-component-bottom-to-text-200);
- --spectrum-field-label-font-size: var(--spectrum-font-size-200);
+ --spectrum-fieldlabel-min-height: var(--spectrum-component-height-300);
+ --spectrum-fieldlabel-top-to-text: var(--spectrum-component-top-to-text-300);
+ --spectrum-fieldlabel-bottom-to-text: var(--spectrum-component-bottom-to-text-300);
+ --spectrum-fieldlabel-text-to-asterisk: var(--spectrum-field-label-text-to-asterisk-extra-large);
+
+ --spectrum-fieldlabel-font-size: var(--spectrum-font-size-300);
- --spectrum-field-label-side-margin-block-start: var(--spectrum-field-label-top-margin-extra-large);
- --spectrum-field-label-side-padding-right: var(--spectrum-spacing-200);
+ --spectrum-fieldlabel-side-margin-block-start: var(--spectrum-field-label-top-margin-extra-large);
+ --spectrum-fieldlabel-side-padding-right: var(--spectrum-spacing-200);
+}
- --spectrum-field-label-text-to-asterisk: var(--spectrum-field-label-text-to-asterisk-extra-large);
+.spectrum-FieldLabel--staticBlack {
+ --spectrum-fieldlabel-color: var(--spectrum-black);
+}
+
+.spectrum-FieldLabel--staticWhite {
+ --spectrum-fieldlabel-color: var(--spectrum-white);
}
.spectrum-FieldLabel {
display: block;
box-sizing: border-box;
- min-block-size: var(--mod-fieldlabel-min-height, var(--spectrum-field-label-min-height));
+ min-block-size: var(--mod-fieldlabel-min-height, var(--spectrum-fieldlabel-min-height));
- padding-block: var(--mod-fieldlabel-padding-block, var(--mod-field-label-top-to-text, var(--spectrum-field-label-top-to-text)) var(--mod-field-label-bottom-to-text, var(--spectrum-field-label-bottom-to-text)));
+ padding-block: var(--mod-fieldlabel-top-to-text, var(--spectrum-fieldlabel-top-to-text)) var(--mod-fieldlabel-bottom-to-text, var(--spectrum-fieldlabel-bottom-to-text));
padding-inline: var(--mod-fieldlabel-padding-inline, 0);
- margin-block: var(--mod-fieldlabel-margin-block, var(--mod-fieldlabel-margin-block-start, 0) var(--mod-fieldlabel-margin-block-end, 0));
- margin-inline: var(--mod-fieldlabel-margin-inline, var(--mod-fieldlabel-margin-inline-start, 0) var(--mod-fieldlabel-margin-inline-end, 0));
- font-size: var(--mod-fieldlabel-font-size, var(--spectrum-field-label-font-size));
- font-weight: var(--mod-fieldlabel-font-weight, var(--spectrum-regular-font-weight));
+ font-size: var(--mod-fieldlabel-font-size, var(--spectrum-fieldlabel-font-size));
+ font-weight: var(--mod-fieldlabel-font-weight, var(--spectrum-fieldlabel-font-weight));
- line-height: var(--mod-fieldlabel-line-height, var(--spectrum-line-height-100));
+ line-height: var(--mod-fieldlabel-line-height, var(--spectrum-fieldlabel-line-height));
-webkit-font-smoothing: subpixel-antialiased;
-moz-osx-font-smoothing: auto;
- color: var(--highcontrast-field-label-content-color, var(--mod-fieldlabel-color, var(--spectrum-neutral-subdued-content-color-default)));
-
- /* CJK (Chinese, Japanese, and Korean) language support */
- &:lang(ja),
- &:lang(zh),
- &:lang(ko) {
- --mod-fieldlabel-line-height: var(--mod-fieldlabel-line-height-cjk, var(--spectrum-cjk-line-height-100));
- }
-
- /********* Disabled state *********/
- &.is-disabled {
- --mod-fieldlabel-color: var(--mod-disabled-content-color, var(--spectrum-disabled-content-color));
- }
+ color: var(--spectrum-fieldlabel-color);
}
.spectrum-FieldLabel-requiredIcon {
color: inherit;
margin-block: 0;
- margin-inline: var(--mod-field-label-text-to-asterisk, var(--spectrum-field-label-text-to-asterisk)) 0;
- vertical-align: var(--mod-field-label-asterisk-vertical-align, baseline);
+ margin-inline: var(--mod-fieldlabel-text-to-asterisk, var(--spectrum-fieldlabel-text-to-asterisk)) 0;
+ vertical-align: var(--mod-fieldlabel-asterisk-vertical-align, baseline);
}
.spectrum-FieldLabel--left,
.spectrum-FieldLabel--right {
display: inline-block;
- margin-block-start: var(--mod-fieldlabel-side-margin-block-start, var(--spectrum-field-label-side-margin-block-start));
+ margin-block-start: var(--mod-fieldlabel-side-margin-block-start, var(--spectrum-fieldlabel-side-margin-block-start));
margin-block-end: 0;
- margin-inline-end: var(--mod-fieldlabel-side-padding-right, var(--spectrum-field-label-side-padding-right));
+ margin-inline-end: var(--mod-fieldlabel-side-padding-right, var(--spectrum-fieldlabel-side-padding-right));
vertical-align: top;
}
@@ -119,7 +126,7 @@
/********* WHCM *********/
@media (forced-colors: active) {
- .spectrum-FieldLabel.is-disabled {
- --highcontrast-field-label-content-color: GrayText;
+ .spectrum-FieldLabel {
+ --highcontrast-fieldlabel-disabled-content-color: GrayText;
}
}
diff --git a/components/fieldlabel/package.json b/components/fieldlabel/package.json
index cbd75939f46..4d35441a3e2 100644
--- a/components/fieldlabel/package.json
+++ b/components/fieldlabel/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/fieldlabel",
- "version": "10.1.0",
+ "version": "11.0.0-next.0",
"description": "The Spectrum CSS fieldlabel component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -37,7 +37,7 @@
}
},
"devDependencies": {
- "@spectrum-css/icon": "9.1.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/fieldlabel/stories/fieldlabel.stories.js b/components/fieldlabel/stories/fieldlabel.stories.js
index 1a268284d7f..296ef716310 100644
--- a/components/fieldlabel/stories/fieldlabel.stories.js
+++ b/components/fieldlabel/stories/fieldlabel.stories.js
@@ -1,6 +1,6 @@
import { Sizes } from "@spectrum-css/preview/decorators";
import { disableDefaultModes } from "@spectrum-css/preview/modes";
-import { isDisabled, isRequired, size } from "@spectrum-css/preview/types";
+import { isDisabled, isRequired, size, staticColor } from "@spectrum-css/preview/types";
import metadata from "../dist/metadata.json";
import packageJson from "../package.json";
import { FieldLabelGroup } from "./fieldlabel.test.js";
@@ -35,6 +35,7 @@ export default {
},
isDisabled,
isRequired,
+ staticColor,
},
args: {
rootClass: "spectrum-FieldLabel",
@@ -52,6 +53,7 @@ export default {
packageJson,
metadata,
},
+ tags: ["migrated"],
};
/**
@@ -136,6 +138,32 @@ Disabled.parameters = {
chromatic: { disableSnapshot: true },
};
+/**
+ * Use static white on dark color or image backgrounds, regardless of color theme. Make sure that the background and the link color meet the minimum color contrast ratio.
+ */
+export const StaticWhite = Default.bind({});
+StaticWhite.storyName = "Static white";
+StaticWhite.args = {
+ staticColor: "white",
+};
+StaticWhite.tags = ["!dev"];
+StaticWhite.parameters = {
+ chromatic: { disableSnapshot: true },
+};
+
+/**
+ * Use static black on light color or image backgrounds, regardless of color theme. Make sure that the background and the link color meet the minimum color contrast ratio.
+ */
+export const StaticBlack = Default.bind({});
+StaticBlack.storyName = "Static black";
+StaticBlack.args = {
+ staticColor: "black",
+};
+StaticBlack.tags = ["!dev"];
+StaticBlack.parameters = {
+ chromatic: { disableSnapshot: true },
+};
+
// ********* VRT ONLY ********* //
export const WithForcedColors = FieldLabelGroup.bind({});
WithForcedColors.args = Default.args;
diff --git a/components/fieldlabel/stories/template.js b/components/fieldlabel/stories/template.js
index 7f5477e4d5f..d5e4a14b42e 100644
--- a/components/fieldlabel/stories/template.js
+++ b/components/fieldlabel/stories/template.js
@@ -5,6 +5,7 @@ import { classMap } from "lit/directives/class-map.js";
import { ifDefined } from "lit/directives/if-defined.js";
import { styleMap } from "lit/directives/style-map.js";
import { when } from "lit/directives/when.js";
+import { capitalize, lowerCase } from "lodash-es";
import "../index.css";
@@ -20,6 +21,7 @@ export const Template = ({
alignment,
isDisabled,
isRequired,
+ staticColor,
} = {}, context = {}) => {
if (!label) {
console.warn("FieldLabel: please provide a label for the field label.");
@@ -49,6 +51,7 @@ export const Template = ({
[`${rootClass}--size${size?.toUpperCase()}`]:
typeof size !== "undefined",
[`${rootClass}--${alignment}`]: typeof alignment !== "undefined",
+ [`${rootClass}--static${capitalize(lowerCase(staticColor))}`]: typeof staticColor !== "undefined",
"is-disabled": isDisabled,
...customClasses.reduce((a, c) => ({ ...a, [c]: true }), {}),
})}
diff --git a/components/floatingactionbutton/dist/metadata.json b/components/floatingactionbutton/dist/metadata.json
index 7daf062a329..0ddd22d190a 100644
--- a/components/floatingactionbutton/dist/metadata.json
+++ b/components/floatingactionbutton/dist/metadata.json
@@ -72,7 +72,6 @@
"--spectrum-white",
"--spectrum-workflow-icon-size-200"
],
- "system-theme": [],
"passthroughs": [],
"high-contrast": [
"--highcontrast-floating-action-button-background-color",
diff --git a/components/floatingactionbutton/package.json b/components/floatingactionbutton/package.json
index 21e13f719a5..df6ab7b469c 100644
--- a/components/floatingactionbutton/package.json
+++ b/components/floatingactionbutton/package.json
@@ -26,7 +26,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
"@spectrum-css/tokens": {
diff --git a/components/form/dist/metadata.json b/components/form/dist/metadata.json
index 88655f8edd3..c07dfdca8d9 100644
--- a/components/form/dist/metadata.json
+++ b/components/form/dist/metadata.json
@@ -31,7 +31,6 @@
"--spectrum-spacing-200",
"--spectrum-spacing-300"
],
- "system-theme": [],
"passthroughs": [],
"high-contrast": ["--highcontrast-form-item-disabled-content-color"]
}
diff --git a/components/form/package.json b/components/form/package.json
index 0b38d9056a7..8bc2bcbd83a 100644
--- a/components/form/package.json
+++ b/components/form/package.json
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
"@spectrum-css/tokens": {
diff --git a/components/form/stories/form.stories.js b/components/form/stories/form.stories.js
index 233f18adb21..5677a09d8ab 100644
--- a/components/form/stories/form.stories.js
+++ b/components/form/stories/form.stories.js
@@ -108,6 +108,7 @@ export default {
packageJson,
metadata,
},
+ tags: ["migrated"],
};
/**
diff --git a/components/helptext/CHANGELOG.md b/components/helptext/CHANGELOG.md
index 8e2b1c04cbd..f0254b003e8 100644
--- a/components/helptext/CHANGELOG.md
+++ b/components/helptext/CHANGELOG.md
@@ -1,5 +1,12 @@
# Change log
+## 8.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+
## 7.1.0
### Minor Changes
diff --git a/components/helptext/dist/metadata.json b/components/helptext/dist/metadata.json
index f730c33a671..5eab153c21a 100644
--- a/components/helptext/dist/metadata.json
+++ b/components/helptext/dist/metadata.json
@@ -77,7 +77,6 @@
"--spectrum-workflow-icon-size-300",
"--spectrum-workflow-icon-size-75"
],
- "system-theme": [],
"passthroughs": [],
"high-contrast": [
"--highcontrast-helptext-content-color-default",
diff --git a/components/helptext/package.json b/components/helptext/package.json
index 6634f970948..1b81f3f1e05 100644
--- a/components/helptext/package.json
+++ b/components/helptext/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/helptext",
- "version": "7.1.0",
+ "version": "8.0.0-next.0",
"description": "The Spectrum CSS helptext component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -37,7 +37,7 @@
}
},
"devDependencies": {
- "@spectrum-css/icon": "9.1.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/helptext/stories/template.js b/components/helptext/stories/template.js
index 74fa628ae2a..0b19659c9de 100644
--- a/components/helptext/stories/template.js
+++ b/components/helptext/stories/template.js
@@ -34,7 +34,7 @@ export const Template = ({
${when(!hideIcon && variant == "negative", () =>
Icon(
{
- iconName: "Alert",
+ iconName: "AlertTriangle",
setName: "workflow",
size,
customClasses: [`${rootClass}-validationIcon`],
diff --git a/components/icon/CHANGELOG.md b/components/icon/CHANGELOG.md
index 94db4c20d1a..95e9e167cea 100644
--- a/components/icon/CHANGELOG.md
+++ b/components/icon/CHANGELOG.md
@@ -1,5 +1,13 @@
# Change log
+## 10.0.0-next.0
+
+### Major Changes
+
+📝 [#2352](https://github.com/adobe/spectrum-css/pull/2352) [`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b) Thanks [@pfulton](https://github.com/pfulton)!
+
+Updates the icon component to use the new Spectrum 2 icon sets. The `.spectrum-UIIcon--medium` and `.spectrum-UIIcon--large` classes have been removed, as UI icons are now delivered with a single SVG. The color property also now makes use of the `--iconPrimary` custom property that is defined in some of the SVG files. Storybook has been updated to use and load the new SVGs, whose name format and directories have changed.
+
## 9.1.0
### Minor Changes
@@ -168,6 +176,7 @@ Output for all component CSS files is now being run through a lightweight optimi
### 🛑 BREAKING CHANGE
- Removes component-builder & component-builder-simple for script leveraging postcss
+
- Imports added to index.css and themes/express.css
## 6.0.5
diff --git a/components/icon/dist/metadata.json b/components/icon/dist/metadata.json
index 7f5d27e3789..72722ba0b6b 100644
--- a/components/icon/dist/metadata.json
+++ b/components/icon/dist/metadata.json
@@ -11,8 +11,6 @@
".spectrum-Icon--sizeXXL",
".spectrum-Icon--sizeXXS",
".spectrum-UIIcon",
- ".spectrum-UIIcon--large",
- ".spectrum-UIIcon--medium",
".spectrum-UIIcon-ArrowDown100",
".spectrum-UIIcon-ArrowDown200",
".spectrum-UIIcon-ArrowDown300",
@@ -105,9 +103,7 @@
"--mod-icon-block-size",
"--mod-icon-color",
"--mod-icon-inline-size",
- "--mod-icon-size",
- "--mod-ui-icon-large-display",
- "--mod-ui-icon-medium-display"
+ "--mod-icon-size"
],
"component": [
"--spectrum-icon-block-size",
@@ -160,8 +156,6 @@
"--spectrum-dash-icon-size-500",
"--spectrum-dash-icon-size-600",
"--spectrum-dash-icon-size-75",
- "--spectrum-ui-icon-large-display",
- "--spectrum-ui-icon-medium-display",
"--spectrum-workflow-icon-size-100",
"--spectrum-workflow-icon-size-200",
"--spectrum-workflow-icon-size-300",
@@ -170,7 +164,6 @@
"--spectrum-workflow-icon-size-xxl",
"--spectrum-workflow-icon-size-xxs"
],
- "system-theme": [],
"passthroughs": [],
"high-contrast": []
}
diff --git a/components/icon/icons.css b/components/icon/icons.css
index e413ba95173..ff0a39b001d 100644
--- a/components/icon/icons.css
+++ b/components/icon/icons.css
@@ -13,6 +13,9 @@
.spectrum-Icon,
.spectrum-UIIcon {
+ /* stylelint-disable-next-line custom-property-pattern -- variable name defined by A4U output */
+ --iconPrimary: var(--mod-icon-color, currentColor);
+
--spectrum-icon-inline-size: var(--mod-icon-inline-size, var(--mod-icon-size, var(--spectrum-icon-size)));
--spectrum-icon-block-size: var(--mod-icon-block-size, var(--mod-icon-size, var(--spectrum-icon-size)));
@@ -24,7 +27,8 @@
color: var(--mod-icon-color, inherit);
/* Fill should match the current text color. */
- fill: currentColor;
+ /* stylelint-disable-next-line custom-property-pattern -- map this to the same value as what's used by the icon's SVG code */
+ fill: var(--iconPrimary);
/* Don't catch clicks or hover, otherwise they may not escape the SVG. */
pointer-events: none;
diff --git a/components/icon/package.json b/components/icon/package.json
index 4a4d22b16dc..edf26ad37f2 100644
--- a/components/icon/package.json
+++ b/components/icon/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/icon",
- "version": "9.1.0",
+ "version": "10.0.0-next.0",
"description": "The Spectrum CSS icon component",
"license": "Apache-2.0",
"author": "Adobe",
diff --git a/components/icon/stories/icon.mdx b/components/icon/stories/icon.mdx
index 6425344761a..8aa57f0b338 100644
--- a/components/icon/stories/icon.mdx
+++ b/components/icon/stories/icon.mdx
@@ -20,20 +20,26 @@ The SVG icons used in Spectrum CSS are a part of two different icon sets, "workf
### Workflow icons
-The workflow icon set contains several hundred icons to choose from.
-These icons can be seen in use within Button, Action button, Menu, and many other components.
+The workflow icon set contains several hundred icons to choose from. For a full list of all icons within this set, see **[workflow icons](/story/components-icon--workflow)**.
+These icons can be seen in use within button, action button, menu, and many other components.
Here is an example with just a few of these icons:
-These icons use "t-shirt" sizes (e.g. small, medium), that are the same width and height for each icon in the set:
+#### T-shirt sizing
+
+Workflow icons use "t-shirt" sizes, e.g. small or medium, that are the same width and height for each icon in the set. Note that the
+extra-extra-large size is currently _not_ part of the design specifications and may be deprecated in the near future:
### UI icons
UI icons are atomic pieces (e.g., arrows, crosses, etc.) that are used as part of some components. The chevron within
-the [Combobox component](?path=/docs/components-combobox--docs) is one example.
+the [Combobox component](/docs/components-combobox--docs) is one example. For a full list of all icons within this
+set, see **[ui icons](/story/components-icon--ui)**.
+
+#### Numbered sizing
Unlike workflow icons, each UI icon comes in specific numbered sizes. They do not use "t-shirt" sizing.
They have unique classes applied that set their size in CSS. For example:
@@ -49,6 +55,8 @@ An example of some UI icons in their available sizes:
+#### Directional icons
+
Directional UI icons such as Chevron and Arrow have classes for each direction. They rotate the same base icon with a CSS `transform: rotate`. For example, the `Arrow100.svg` icon is used
with:
@@ -59,6 +67,14 @@ with:
+## Missing workflow icon placeholder
+
+In Storybook documentation, if a workflow icon name does not exist in the set, the placeholder "Circle" icon
+will be shown. Missing ui icons will render nothing. The following example purposefully uses an
+icon name that does not exist to demonstrate this behavior.
+
+
+
## Repositories for the icon SVG files
The UI icon SVGs are within the Spectrum CSS repository, which has its own package published to NPM:
diff --git a/components/icon/stories/icon.stories.js b/components/icon/stories/icon.stories.js
index 5411a9d2d09..8fefeb451e1 100644
--- a/components/icon/stories/icon.stories.js
+++ b/components/icon/stories/icon.stories.js
@@ -1,29 +1,11 @@
+import { Sizes } from "@spectrum-css/preview/decorators";
import { disableDefaultModes } from "@spectrum-css/preview/modes";
import { size } from "@spectrum-css/preview/types";
-import { Template as Typography } from "@spectrum-css/typography/stories/template.js";
-import { html } from "lit";
-import { styleMap } from "lit/directives/style-map.js";
import metadata from "../dist/metadata.json";
import packageJson from "../package.json";
import { IconGroup } from "./icon.test.js";
-import { Template } from "./template.js";
-import { uiIconSizes, uiIconsWithDirections, workflowIcons } from "./utilities.js";
-
-/**
- * Create a list of all UI Icons with their sizing numbers.
- *
- * The list is a little long until Storybook adds a way to use conditional options
- * in controls, e.g. a "uiSize" control with options pulled from uiIconSizes:
- * @see https://github.com/storybookjs/storybook/discussions/24235
- */
-const uiIconNameOptions = uiIconsWithDirections.map((iconName) => {
- const baseIconName = iconName.replace(/(Left|Right|Up|Down)$/, "");
- // Icons like Gripper that don't have sizes yet, represented by any empty array.
- if (uiIconSizes[baseIconName]?.length == 0) {
- return [baseIconName];
- }
- return uiIconSizes[baseIconName]?.map(sizeNum => iconName + sizeNum) ?? [];
-}).flat();
+import { FullIconSetTemplate, Template, UIArrowsTemplate, UIDefaultTemplate, WorkflowDefaultTemplate } from "./template";
+import { uiIconsWithDirections, workflowIconsCleaned, workflowSizes } from "./utilities.js";
/**
* The Icon component contains all of the CSS used for displaying both workflow and UI icons.
@@ -33,7 +15,7 @@ export default {
component: "Icon",
argTypes: {
size: {
- ...size(["xs", "s", "m", "l", "xl", "xxl"]),
+ ...size(workflowSizes),
if: { arg: "setName", eq: "workflow" },
},
setName: {
@@ -53,7 +35,7 @@ export default {
type: { summary: "string" },
category: "Content",
},
- options: workflowIcons,
+ options: workflowIconsCleaned,
control: "select",
if: { arg: "setName", eq: "workflow" },
},
@@ -64,9 +46,7 @@ export default {
type: { summary: "string" },
category: "Content",
},
- options: [
- ...uiIconNameOptions,
- ],
+ options: uiIconsWithDirections,
control: "select",
if: { arg: "setName", eq: "ui" },
},
@@ -79,18 +59,32 @@ export default {
},
control: "color",
},
- useRef: { table: { disable: true } },
+ useRef: {
+ name: "Use sprite sheet reference",
+ description: "Storybook only: whether to display an SVG with a `` reference to the icon within a loaded sprite sheet. This improves Storybook performance, especially for multiple icons. When set to `false`, the icon file's full markup is used.",
+ type: { name: "boolean" },
+ table: {
+ type: { summary: "boolean" },
+ category: "Advanced",
+ },
+ control: "boolean",
+ },
},
args: {
rootClass: "spectrum-Icon",
setName: "workflow",
- iconName: "ABC",
+ iconName: "Color",
+ uiIconName: "Checkmark400",
size: "xl",
useRef: true,
},
parameters: {
packageJson,
metadata,
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/9qeVZSJ9t0kv6r7njzgHx7/S2-%2F-Styles-visualizer-(WIP)?node-id=295-24257&t=ZC7fyaQ0VQYQ5VYM-1",
+ },
},
tags: ["!autodocs"],
};
@@ -98,6 +92,44 @@ export default {
export const Default = IconGroup.bind({});
Default.args = {};
+/**
+ * All icons in the Workflow icon set.
+ */
+export const Workflow = FullIconSetTemplate.bind({});
+Workflow.storyName = "Workflow icons";
+Workflow.args = {
+ setName: "workflow",
+ useRef: true,
+};
+Workflow.argTypes = {
+ setName: { table: { disable: true } },
+ iconName: { table: { disable: true } },
+};
+Workflow.parameters = {
+ chromatic: { disableSnapshot: true },
+ // Layout other than "centered" needed for dynamic grid columns CSS to work correctly.
+ layout: "padded",
+};
+
+/**
+ * All icons in the UI icon set.
+ */
+export const UI = FullIconSetTemplate.bind({});
+UI.storyName = "UI icons";
+UI.args = {
+ setName: "ui",
+ useRef: true,
+};
+UI.argTypes = {
+ setName: { table: { disable: true } },
+ uiIconName: { table: { disable: true } },
+};
+UI.parameters = {
+ chromatic: { disableSnapshot: true },
+ // Layout other than "centered" needed for dynamic grid columns CSS to work correctly.
+ layout: "padded",
+};
+
// ********* VRT ONLY ********* //
export const WithForcedColors = IconGroup.bind({});
WithForcedColors.tags = ["!autodocs", "!dev"];
@@ -111,50 +143,13 @@ WithForcedColors.parameters = {
},
};
-/**
- * Helper template function to display multiple icons using an array of icon names.
- */
-const IconListTemplate = (args, iconsList = [], context) => html`
-
- ${iconsList.map(
- (iconName) => Template({ ...args, iconName }, context)
- )}
-
-`;
-
-/* Stories for the MDX "Docs" only. */
+// ********* DOCS ONLY ********* //
/**
* A sampling of multiple Workflow icons.
*/
-export const WorkflowDefault = (args, context) => IconListTemplate(
- {
- ...args,
- setName: "workflow",
- size: "xl",
- },
- [
- "Alert",
- "Asset",
- "Actions",
- "ArrowDown",
- "Camera",
- "Copy",
- "DeviceDesktop",
- "Download",
- "FilterAdd",
- "Form",
- "Light",
- "Polygon",
- ],
- context
-);
+export const WorkflowDefault = WorkflowDefaultTemplate.bind({});
+WorkflowDefault.storyName = "Workflow icons";
WorkflowDefault.tags = ["!dev"];
WorkflowDefault.parameters = {
chromatic: { disableSnapshot: true },
@@ -162,49 +157,14 @@ WorkflowDefault.parameters = {
/**
* An example of a Workflow icon displayed at all sizes, from small to extra-large.
+ * Note that the extra-extra-large size is currently *not* part of the design specifications and may be deprecated in the near future.
*/
-export const WorkflowSizing = (args, context) => html`
-
- ${["xs","s","m","l","xl"].map(
- (size) => html`
-
- ${Typography({
- semantics: "heading",
- size: "xs",
- content: [
- {
- xs: "Extra-small",
- s: "Small",
- m: "Medium",
- l: "Large",
- xl: "Extra-large",
- }[size],
- ],
- customStyles: {
- "white-space": "nowrap",
- "--mod-detail-font-color": "var(--spectrum-seafoam-900)",
- }
- })}
- ${Template({ ...args, size }, context)}
-
- `
- )}
-
-`;
+export const WorkflowSizing = (args, context) => Sizes({
+ Template,
+ withBorder: false,
+ withHeading: false,
+ ...args,
+}, context);
WorkflowSizing.tags = ["!dev"];
WorkflowSizing.args = {
setName: "workflow",
@@ -217,40 +177,8 @@ WorkflowSizing.parameters = {
/**
* A sampling of a few UI icons.
*/
-export const UIDefault = (args, context) => html`
-
- ${IconListTemplate(
- {
- ...args,
- setName: "ui",
- },
- [
- "Asterisk100",
- "Asterisk200",
- "Asterisk300",
- ],
- context
- )}
-
-
- ${IconListTemplate(
- {
- ...args,
- setName: "ui",
- },
- [
- "ChevronDown50",
- "ChevronDown75",
- "ChevronDown100",
- "ChevronDown200",
- "ChevronDown300",
- "ChevronDown400",
- ],
- context
- )}
-
-`;
-UIDefault.storyName = "UI Default";
+export const UIDefault = UIDefaultTemplate.bind({});
+UIDefault.storyName = "UI icons";
UIDefault.tags = ["!dev"];
UIDefault.parameters = {
chromatic: { disableSnapshot: true },
@@ -259,21 +187,26 @@ UIDefault.parameters = {
/**
* A UI arrow displayed for all directions (left, right, up, down).
*/
-export const UIArrows = (args, context) => IconListTemplate(
- {
- ...args,
- setName: "ui",
- },
- [
- "ArrowRight100",
- "ArrowLeft100",
- "ArrowDown100",
- "ArrowUp100",
- ],
- context
-);
+export const UIArrows = UIArrowsTemplate.bind({});
UIArrows.storyName = "UI Arrows";
UIArrows.tags = ["!dev"];
UIArrows.parameters = {
chromatic: { disableSnapshot: true },
};
+
+/**
+ * In Storybook documentation, if a workflow icon name does not exist in the set, the
+ * placeholder "Circle" icon will be shown. Missing ui icons will render
+ * nothing. The following example purposefully uses an icon name that does
+ * not exist to demonstrate this behavior.
+ */
+export const MissingWorkflowIcon = Default.bind({});
+MissingWorkflowIcon.storyName = "Missing workflow icon placeholder";
+MissingWorkflowIcon.tags = ["!dev"];
+MissingWorkflowIcon.args = {
+ setName: "workflow",
+ iconName: "ThisIconNameDoesNotExist",
+};
+MissingWorkflowIcon.parameters = {
+ chromatic: { disableSnapshot: true },
+};
diff --git a/components/icon/stories/icon.test.js b/components/icon/stories/icon.test.js
index fc81d4cb922..34202826597 100644
--- a/components/icon/stories/icon.test.js
+++ b/components/icon/stories/icon.test.js
@@ -1,99 +1,127 @@
-import { Variants } from "@spectrum-css/preview/decorators";
+import { Container, Variants } from "@spectrum-css/preview/decorators";
+import { Template as Typography } from "@spectrum-css/typography/stories/template.js";
import { html } from "lit";
import { styleMap } from "lit/directives/style-map.js";
-import { when } from "lit/directives/when.js";
import { Template } from "./template.js";
-import { uiIconSizes, uiIconsWithDirections } from "./utilities.js";
+import { uiIconsWithDirections, uniqueUiIconBaseNames, workflowSizes } from "./utilities.js";
/**
* Chromatic VRT template that displays multiple icons to cover various options.
+ * Includes Chromatic-only testing grid with:
+ * - Several workflow icons, at all sizes, with some set to a color
+ * - All UI icons, organized within a grid by sizing number and name
*/
-const TestTemplate = (args, context) => {
- return html`
-
-
- ${[
- {
- setName: "workflow",
- iconName: "Alert",
- fill: "var(--spectrum-negative-content-color-default)",
- },
- {
- setName: "workflow",
- iconName: "Hand",
- },
- {
- setName: "workflow",
- iconName: "Help",
- },
- {
- setName: "workflow",
- iconName: "ArrowLeft",
- },
- {
- setName: "workflow",
- iconName: "ArrowRight",
- },
- {
- setName: "workflow",
- iconName: "ChevronDown",
- }
- ].map((row_args) => html`
-
- ${["xs","s","m","l","xl","xxl"].map(
- (size) => Template({ ...args, ...row_args, size })
- )}
-
`
- )}
-
-
- ${uiIconsWithDirections.map(iconName => html`
-
- ${uiIconSizes[iconName.replace(/(Left|Right|Up|Down)$/, "")]?.map((iconSize) =>
- Template({ ...args, setName: "ui", iconName: iconName + iconSize }, context)
- )}
- ${when(uiIconSizes[iconName]?.length == 0, () =>
- Template({ ...args, setName: "ui", iconName }, context)
- )}
-
`
- )}
-
-
- `;
-};
+export const TestTemplate = (args, context) => html`
+ ${Container({
+ heading: "Workflow icon examples",
+ withBorder: false,
+ direction: "row",
+ wrapperStyles: {
+ columnGap: "12px",
+ },
+ content: html`
+
+ ${workflowSizes.map(scale => html`
+
+ ${Typography({
+ customClasses: ["chromatic-ignore"],
+ semantics: "detail",
+ size: "s",
+ content: [scale],
+ customStyles: {
+ "--mod-detail-font-color": "var(--spectrum-seafoam-900)",
+ }
+ })}
+
+ `)}
+ ${[
+ "Add",
+ "AlertTriangle",
+ "Edit",
+ "File",
+ "Folder",
+ "MenuHamburger",
+ "SelectRectangle",
+ "Redo",
+ "Star",
+ "StarFilled",
+ "User",
+ "ColorHarmony",
+ "CornerRadiusBottomLeft",
+ ].map((iconName, idx) => html`
+ ${workflowSizes.map((size) => Template({
+ ...args,
+ useRef: true,
+ iconName,
+ setName: "workflow",
+ size,
+ fill: idx % 5 === 0 ? "var(--spectrum-negative-content-color-default)" : undefined
+ }, context))}
+ `)}
+
+ `,
+ }, context)}
+
+ ${Container({
+ heading: "UI icon set",
+ withBorder: false,
+ direction: "row",
+ wrapperStyles: {
+ columnGap: "12px",
+ },
+ content: html`
+
+ ${["50", "75", "100", "200", "300", "400", "500", "600"].map(scale => html`
+
+ ${Typography({
+ customClasses: ["chromatic-ignore"],
+ semantics: "detail",
+ size: "s",
+ content: [scale],
+ customStyles: {
+ "--mod-detail-font-color": "var(--spectrum-seafoam-900)",
+ }
+ })}
+
+ `)}
+ ${uniqueUiIconBaseNames.sort().reduce((print, iconName) => {
+ let output = Array(8).fill(html`
`);
+ ["50", "75", "100", "200", "300", "400", "500", "600"].forEach((scale, idx) => {
+ if (uiIconsWithDirections.includes(`${iconName}${scale}`)) {
+ output[idx] = Template({
+ ...args,
+ setName: "ui",
+ useRef: false,
+ uiIconName: `${iconName}${scale}`,
+ }, context);
+ }
+ });
+ print.push(...output);
+ return print;
+ }, [])}
+
+ `,
+ }, context)}
+`;
export const IconGroup = Variants({
Template,
diff --git a/components/icon/stories/template.js b/components/icon/stories/template.js
index 408107755e7..75826ee6d40 100644
--- a/components/icon/stories/template.js
+++ b/components/icon/stories/template.js
@@ -1,8 +1,12 @@
import { getRandomId } from "@spectrum-css/preview/decorators";
+import { Template as Typography } from "@spectrum-css/typography/stories/template.js";
import { html } from "lit";
import { classMap } from "lit/directives/class-map.js";
import { ifDefined } from "lit/directives/if-defined.js";
+import { styleMap } from "lit/directives/style-map.js";
import { unsafeSVG } from "lit/directives/unsafe-svg.js";
+import { when } from "lit/directives/when.js";
+import { appendUiIconDefaultSizing, getSpriteSheetName, uiIconsWithDirections, workflowIconsCleaned } from "./utilities.js";
import "../index.css";
@@ -11,78 +15,8 @@ import "../index.css";
* @typedef { IconArgs & { scale: string, setName: 'workflow' | 'ui' } } IconProps
*/
-const fetchIconDetails = ({
- icons,
- workflowIcons = [],
- uiIcons = [],
- uiIconSizes = {},
-}) => {
- if (!icons || Object.keys(icons).length == 0) {
- // Fetch loaded data if not provided
- if (window.icons) icons = window.icons;
- else {
- return {
- workflowIcons: [],
- uiIcons: [],
- uiIconSizes: {},
- uiIconsWithDirections: [],
- };
- }
- }
-
- // clean up loaded icon data
- icons = Object.entries(icons).reduce((acc, [setName, data]) => {
- acc[setName] = Object.entries(data).reduce((acc, [size, data]) => {
- acc[size] = Object.entries(data).reduce((acc, [iconName, svg]) => {
- // simplify icon name
- iconName = iconName.split("/").pop().replace(/\.svg$/, "");
- acc[iconName] = svg;
-
- // Add the icon name to the workflowIcons list if it's from the workflow set
- if (setName === "workflow") {
- workflowIcons.push(iconName);
- }
- else {
- const iconNameRoot = iconName.replace(/\d{2,3}$/, "").replace(/(Right|Left|Down|Up)$/, "");
- const iconNameSize = iconName.match(/\d{2,3}/g)?.[0];
- uiIcons.push(iconNameRoot);
- uiIconSizes[iconNameRoot] = [
- ...new Set([
- ...uiIconSizes[iconNameRoot] ?? [],
- ...(iconNameSize ? [iconNameSize] : []),
- ])
- ];
- }
- return acc;
- }, {});
- return acc;
- }, {});
- return acc;
- }, {});
-
- return {
- icons,
- workflowIcons: [...new Set(workflowIcons)],
- uiIcons: [...new Set(uiIcons)],
- uiIconSizes,
- uiIconsWithDirections: [
- ...new Set([
- ...(uiIcons.filter((c) => !["Chevron", "Arrow"].includes(c)) ?? []),
- "ArrowRight",
- "ArrowLeft",
- "ArrowUp",
- "ArrowDown",
- "ChevronRight",
- "ChevronLeft",
- "ChevronUp",
- "ChevronDown",
- ])
- ],
- };
-};
-
/**
- * Template for rendering an icon
+ * Template for rendering an icon.
* @description Icon template that renders an icon based on the provided icon name and set name.
* @param {IconProps} props
* @param {string} props.rootClass
@@ -93,146 +27,76 @@ const fetchIconDetails = ({
* @param {string} props.fill
* @param {string} props.id
* @param {string[]} props.customClasses
+ * @param {boolean} props.useRef [true] Whether to use an SVG with a reference to the icon within the sprite sheet. When false, returns the the individual SVG's entire markup.
* @returns {import('lit').TemplateResult<1>}
*/
export const Template = ({
rootClass = "spectrum-Icon",
size = "m",
- setName,
+ setName = "workflow",
iconName,
uiIconName,
fill,
id = getRandomId("icon"),
customClasses = [],
- icons,
useRef = true,
- workflowIcons,
- uiIcons,
- uiIconSizes,
} = {}, context = {}) => {
- const { globals = {}, loaded = {} } = context;
+ // All icons SVG markup from the global IconLoader are in loaded.icons
+ const { loaded } = context;
- const scale = globals.scale ?? "medium";
-
- if (!workflowIcons || !uiIcons || !uiIconSizes) {
- const details = fetchIconDetails({
- icons: loaded.icons,
- workflowIcons,
- uiIcons,
- uiIconSizes
- });
-
- if(details.icons) {
- icons = details.icons;
- }
-
- if (!workflowIcons && details.workflowIcons) {
- workflowIcons = details.workflowIcons;
- }
-
- if (!uiIcons && details.uiIcons) {
- uiIcons = details.uiIcons;
- }
-
- if (!uiIconSizes && details.uiIconSizes) {
- uiIconSizes = details.uiIconSizes;
- }
- }
-
- // UI icons are selected from a different control.
+ // Treat "iconName" as the icon name regardless of the icon set.
+ // UI icons are selected from a different control and arg.
if (setName === "ui" && uiIconName) {
iconName = uiIconName;
}
- if (!iconName) {
+ // Make sure icon set is provided.
+ if (!["ui","workflow"].includes(setName)) {
console.warn(
- "Icon: Could not render a result because no icon name was provided to the icon template."
+ `Icon "${iconName}" is missing its icon set. Make sure you are explicitly setting either the workflow or ui icon set.`
);
return html``;
}
- let idKey = iconName;
-
- // If icon set was not provided, try determine which icon set contains this icon.
- // Note: icon sets can contain the same icon name, with different icons.
- if (!["workflow","ui"].includes(setName)) {
- if (workflowIcons.includes(idKey)) {
- setName = "workflow";
- }
- else if (uiIcons.includes(idKey.replace(/\d{2,3}$/, "").replace(/(Right|Left|Down|Up)$/, ""))) {
- setName = "ui";
- }
+ // Make sure icon name is provided.
+ if (!iconName) {
+ console.warn("Icon: Could not render a result because no icon name was provided to the icon template.");
+ return html``;
}
- // Prefer full SVG for UI icons because sizing is more consistent.
- if (setName === "ui" && uiIconName) {
- useRef = false;
+ /**
+ * Append approximate sizing number to UI icons passed in without a sizing number.
+ *
+ * Note: It's preferred for components to provide the specific UI sizing numbers in the UI icon
+ * name, rather than relying on this approximation, as UI icons do not use t-shirt sizing.
+ */
+ if (setName === "ui") {
+ iconName = appendUiIconDefaultSizing(iconName, size);
}
- if (!setName) {
- console.warn(
- `Icon: Could not determine the icon set for the provided icon name: ${idKey}.`
- );
+ // Make sure icon exists in the set.
+ if (setName == "ui" && !uiIconsWithDirections.includes(iconName)) {
+ console.warn(`Icon: Could not render an icon with the name "${iconName}" because it does not exist in the "ui" icon set.`);
return html``;
}
- // If a descriptor like Right, Left, Down, or Up is present for the UI icons Chevron or
- // Arrow, use that only for the class and not the icon fetch.
- if (
- setName == "ui" &&
- uiIcons.some((c) => idKey.startsWith(c)) &&
- ["Right", "Left", "Down", "Up"].some((c) => idKey.includes(c))
- ) {
- idKey = idKey.replace(/(Right|Left|Down|Up)/, "");
+ if (setName == "workflow" && !workflowIconsCleaned.includes(iconName)) {
+ console.warn(`Icon: Could not render the correct icon with the name "${iconName}" because it does not exist in the "workflow" icon set. Rendering the placeholder icon instead.`);
+ iconName = "Circle";
}
- /**
- * Fallback UI Icon sizing number.
- *
- * If the icon name includes its scale, we want to leave that scale. This is preferred,
- * as UI icons do not use workflow icon sizing.
- *
- * If the UI icon name does not include scale, reformat it to match the provided sizing.
- * E.g. with a size of "s", the icon name "ChevronRight" would become "ChevronRight75".
- */
+ // Name of icon that corresponds with SVG file. This may differ from the icon name, such as with
+ // directional icons that use a single icon.
+ let iconNameToLoad = iconName;
+
+ // If a descriptor like "Right", "Left", "Down", or "Up" is present for the UI icons Chevron or
+ // Arrow, use that only for the class name and not the icon fetch. This is because these use a
+ // single icon file that is rotated in CSS.
if (
- setName == "ui" &&
- // Exists in the list of available UI icons.
- uiIcons.includes(idKey.replace(/\d{2,3}$/, "")) &&
- // Does not already have size number at the end.
- !idKey.match(/^(?!\d).*\d{2,3}$/) &&
- // Exclude some UI icons that do not (yet) have size numbers.
- uiIconSizes[idKey]?.length != 0
+ ["Right", "Left", "Down", "Up"].some((c) => iconNameToLoad.includes(c)) &&
+ setName === "ui"
) {
- let sizeVal;
- switch (size) {
- case "xs":
- case "s":
- sizeVal = "75";
- break;
- case "l":
- sizeVal = "200";
- break;
- case "xl":
- case "xxl":
- sizeVal = "300";
- break;
- default:
- sizeVal = "100";
- break;
- }
-
- idKey += sizeVal;
- iconName += sizeVal;
- }
-
- // Fetch SVG file markup, and set optional fill color.
- let inlineStyle;
- if (fill) inlineStyle = `color: ${fill}`;
-
- let svgString;
- if (!useRef && icons && icons[setName]?.[scale]?.[idKey]) {
- svgString = icons[setName][scale][idKey];
+ iconNameToLoad = iconNameToLoad.replace(/(Right|Left|Down|Up)/, "");
}
/**
@@ -242,7 +106,6 @@ export const Template = ({
const classList = {
[rootClass]: true,
[`spectrum-UIIcon-${iconName}`]: !!(setName === "ui"),
- [`${rootClass}--${scale}`]: !!(setName === "ui" && scale),
[`${rootClass}--size${size?.toUpperCase()}`]: !!(
(!setName || setName === "workflow") &&
size
@@ -250,34 +113,205 @@ export const Template = ({
...customClasses.reduce((a, c) => ({ ...a, [c]: true }), {}),
};
- if (svgString) {
- const classesAsString = Object.entries(classList).reduce((acc, [key, value]) => {
- if (value) acc += `${key} `;
- return acc;
- }, "");
+ /**
+ * Display full SVG file markup from global IconLoader data, when not using a reference to the sprite sheet.
+ */
+ if (!useRef) {
+ let svgString;
+ if (loaded?.icons && loaded?.icons[setName]?.[iconNameToLoad]) {
+ svgString = loaded.icons[setName][iconNameToLoad];
+ }
+
+ // Return the individual SVG's entire markup.
+ if (svgString) {
+ const classesAsString = Object.entries(classList).reduce((acc, [key, value]) => {
+ if (value) acc += `${key} `;
+ return acc;
+ }, "");
- return html`${unsafeSVG(
- svgString.replace(/
- ${idKey.replace(/([A-Z])/g, " $1").trim()}
+ ${iconNameToLoad.replace(/([A-Z])/g, " $1").trim()}
`;
};
+
+/**
+ * Display all icons in the icon set within a grid.
+ */
+export const FullIconSetTemplate = (args, context) => {
+ return html`
+
+ ${when(args.setName === "workflow", () => {
+ return workflowIconsCleaned.sort().map((iconName) => IconWithLabelTemplate({ ...args, iconName }, context));
+ }, () => {
+ return uiIconsWithDirections.sort().map((iconName) => IconWithLabelTemplate({ ...args, uiIconName: iconName }, context));
+ })}
+
+ `;
+};
+
+/**
+ * Display a single icon in the icon set with a label showing the icon name.
+ */
+export const IconWithLabelTemplate = (args, context) => html`
+
+ ${Template({
+ useRef: true,
+ size: "xxl",
+ setName: args.setName,
+ iconName: args?.iconName ?? undefined,
+ uiIconName: args?.uiIconName ?? undefined,
+ ...args,
+ }, context)}
+ ${Typography({
+ customClasses: ["chromatic-ignore"],
+ semantics: "body",
+ size: "xxs",
+ content: [
+ args.setName == "ui" ? args.uiIconName : args.iconName,
+ ],
+ })}
+
+`;
+
+/**
+ * Helper template function to display multiple icons using an array of icon names.
+ */
+export const IconListTemplate = (args, context, iconsList = []) => html`
+
+ ${iconsList.map(
+ (iconName) => Template({
+ ...args,
+ iconName: args?.setName === "workflow" ? iconName : undefined,
+ uiIconName: args?.setName === "ui" ? iconName : undefined,
+ }, context)
+ )}
+
+`;
+
+/**
+ * Display examples of multiple workflow icons.
+ */
+export const WorkflowDefaultTemplate = (args, context) => html`
+ ${IconListTemplate(
+ {
+ ...args,
+ setName: "workflow",
+ size: "xl",
+ },
+ context,
+ [
+ "AlertTriangle",
+ "Bell",
+ "Camera",
+ "Color",
+ "Copy",
+ "DeviceDesktop",
+ "Download",
+ "Draw",
+ "Files",
+ "Hand",
+ "Lightbulb",
+ "InfoCircle",
+ ]
+ )}
+`;
+
+/**
+ * Display examples of all directions of a single UI arrow.
+ */
+export const UIArrowsTemplate = (args, context) => html`
+ ${IconListTemplate(
+ {
+ ...args,
+ setName: "ui",
+ },
+ context,
+ [
+ "ArrowRight100",
+ "ArrowLeft100",
+ "ArrowDown100",
+ "ArrowUp100",
+ ]
+ )}
+`;
+
+/**
+ * Display examples of multiple UI icons.
+ */
+export const UIDefaultTemplate = (args, context) => html`
+
+ ${IconListTemplate(
+ {
+ ...args,
+ setName: "ui",
+ },
+ context,
+ [
+ "Asterisk100",
+ "Asterisk200",
+ "Asterisk300",
+ ]
+ )}
+
+
+ ${IconListTemplate(
+ {
+ ...args,
+ setName: "ui",
+ },
+ context,
+ [
+ "ChevronDown50",
+ "ChevronDown75",
+ "ChevronDown100",
+ "ChevronDown200",
+ "ChevronDown300",
+ "ChevronDown400",
+ ]
+ )}
+
+`;
diff --git a/components/icon/stories/utilities.js b/components/icon/stories/utilities.js
index d4219af7974..16faf30eaa3 100644
--- a/components/icon/stories/utilities.js
+++ b/components/icon/stories/utilities.js
@@ -1,44 +1,216 @@
-// Imports an array of all icon names in the workflow set
-import iconOpts from "@adobe/spectrum-css-workflow-icons";
+// Import arrays containing data with all icon names in both icon sets.
+import workflowIconOpts from "@adobe/spectrum-css-workflow-icons/dist/manifest.json";
+import uiIconOpts from "@spectrum-css/ui-icons/dist/icons.json";
-export const workflowIcons = (iconOpts || []).map((icon) =>
- icon.replace(/\.svg$/, "")
+/**
+ * Clean workflow icon name to strip out unnecessary prefix and postfix text.
+ * Also removes file extension if present.
+ * Example: "S2_Icon_AlertCircle_20_N" becomes "AlertCircle"
+ *
+ * @param {string} iconName
+ * @returns {string}
+ */
+export const cleanWorkflowIconName = (iconName) => (
+ iconName.replace(/\.svg$/, "").replace(/^S2_Icon_/, "").replace(/_N$/, "").replace(/_20$/, "")
+);
+
+/**
+ * Clean UI icon name to remove file extension and any unnecessary text.
+ *
+ * @param {string} iconName
+ * @returns {string}
+ */
+export const cleanUiIconName = (iconName) => (
+ iconName.replace(/\.svg$/, "")
);
/**
- * UI Icons have specific sizes represented by a number.
- * Each size has its own individual file and a CSS class with defined dimensions.
- */
-export const uiIconSizes = {
- "Arrow": ["75","100","200","300","400","500","600"],
- "Asterisk": ["75","100","200","300"],
- "Checkmark": ["50","75","100","200","300","400","500","600"],
- "Chevron": ["50","75","100","200","300","400","500"],
- "CornerTriangle": ["75","100","200","300"],
- "Cross": ["75","100","200","300","400","500","600"],
- "Dash": ["50","75","100","200","300","400","500","600"],
- "SingleGripper": [],
- "DoubleGripper": [],
- "TripleGripper": [],
+ * Get the ID of the icon within the sprite sheet.
+ *
+ * The sprite sheets are single SVG files containing all of the icons in the set, each with a
+ * unique ID. The ID can then be used to display the icon elsewhere by referencing the ID
+ * within an SVG element.
+ *
+ * Example of the format of IDs within the different sprite sheets:
+ * ui ID: #spectrum-css-icon-alert-triangle
+ * workflow ID: #icon-spectrum-css-icon-Arrow100
+ *
+ * @param {string} iconName Icon name (original or cleaned).
+ * @param {string} setName Icon set.
+ * @returns {string} Icon name with original file name prefix and postfix added.
+ */
+export const getSpriteSheetName = (iconName, setName) => {
+ if (setName == "ui") {
+ return "spectrum-css-icon-" + iconName;
+ }
+ else if (setName == "workflow") {
+ // Use cleaned name, without file name prefix/postfix.
+ let iconID = cleanWorkflowIconName(iconName);
+
+ // These regexes convert camel case or pascal case strings into kebab-case:
+ // -------
+ // Matches a lowercase letter or digit followed by an uppercase letter and inserts a hyphen between them.
+ // E.g. "AddCircle" becomes "Add-Circle".
+ // Digits are included in the first grouping because of the exception of "3D" being "3-d" in the IDs.
+ iconID = iconID.replaceAll(/([a-z0-9])([A-Z])/g, "$1-$2");
+
+ // Matches an uppercase sequence followed by an uppercase letter with a lowercase letter.
+ // Replacing this separately helps prevent uppercase acronyms like CC and CCW from being split up by dashes.
+ iconID = iconID.replaceAll(/([A-Z]+)([A-Z][a-z])/g, "$1-$2");
+ // -------
+
+ // Underscores become dashes.
+ iconID = iconID.replace("_", "-");
+
+ // All IDs begin with this prefix and are lowercase.
+ iconID = "icon-" + iconID.toLowerCase();
+
+ return iconID;
+ }
+ else {
+ console.error("setSpriteSheetName received an invalid setName and could not create the ID.");
+ return "";
+ }
};
/**
- * List of UI icon names, corresponding to files.
+ * Sorted array with all the SVG workflow icon names, cleaned to remove file extension and
+ * unnecessary prefix and postfix text. These might look something like "3DAsset".
+ *
+ * Excludes 22x20 icons, which currently do not match workflow icon sizing.
*/
-export const uiIcons = Object.keys(uiIconSizes);
+export const workflowIconsCleaned = (workflowIconOpts?.svg ?? [])
+ .filter(iconName => !iconName.includes("22x20"))
+ .map(iconName => cleanWorkflowIconName(iconName))
+ .sort(alphaNumericSort);
/**
- * List of all UI icon names for CSS. Chevron and Arrow have directional suffixes
+ * Sorted array with all UI icon names, without the file extension.
+ */
+export const uiIconsCleaned = (uiIconOpts || [])
+ .map(iconName => cleanUiIconName(iconName))
+ .sort(alphaNumericSort);
+
+/**
+ * @description A custom alpha-numeric sort that helps keep the order of the sizing numbers at the end of the string.
+ * @param {string} a
+ * @param {string} b
+ * @returns {number}
+ */
+function alphaNumericSort(a, b) {
+ const aSet = a.match(/^([a-zA-Z]+)([0-9]+)(\.svg)?$/i);
+ const bSet = b.match(/^([a-zA-Z]+)([0-9]+)(\.svg)?$/i);
+
+ // Handle cases where match fails
+ if (!aSet || !bSet) return 0;
+
+ // Compare characters at start of string (case-insensitive)
+ const aChar = aSet[1].toLowerCase();
+ const bChar = bSet[1].toLowerCase();
+ if (aChar !== bChar) return aChar > bChar ? 1 : -1;
+
+ // Compare numbers at end of string
+ const aInt = parseInt(aSet[2]);
+ const bInt = parseInt(bSet[2]);
+ return aInt - bInt;
+}
+
+/**
+ * Array of all UI icon names for CSS. Chevron and Arrow have directional suffixes
* for rotating the same base icon, e.g. Arrow becomes ArrowRight, ArrowDown, etc.
+ *
+ * @param {string[]} uiIcons Array of icon names.
+ * @returns {string[]}
+ */
+export const getUiIconsWithDirections = (uiIcons) => [
+ ...uiIcons.filter((c) => !["Chevron", "Arrow"].some(prefix => c.startsWith(prefix))),
+ ...uiIcons.filter((c) => ["Chevron", "Arrow"].some(prefix => c.startsWith(prefix))).map(i => i.replace(/(Chevron|Arrow)(\d{2,3})/, "$1Right$2")),
+ ...uiIcons.filter((c) => ["Chevron", "Arrow"].some(prefix => c.startsWith(prefix))).map(i => i.replace(/(Chevron|Arrow)(\d{2,3})/, "$1Left$2")),
+ ...uiIcons.filter((c) => ["Chevron", "Arrow"].some(prefix => c.startsWith(prefix))).map(i => i.replace(/(Chevron|Arrow)(\d{2,3})/, "$1Up$2")),
+ ...uiIcons.filter((c) => ["Chevron", "Arrow"].some(prefix => c.startsWith(prefix))).map(i => i.replace(/(Chevron|Arrow)(\d{2,3})/, "$1Down$2")),
+].sort(alphaNumericSort);
+
+/**
+ * Array of all cleaned UI icon names for CSS. Including sizing numbers and directional suffixes.
*/
-export const uiIconsWithDirections = [
- ...uiIcons.filter((c) => !["Chevron", "Arrow"].includes(c)),
- "ArrowRight",
- "ArrowLeft",
- "ArrowUp",
- "ArrowDown",
- "ChevronRight",
- "ChevronLeft",
- "ChevronUp",
- "ChevronDown",
+export const uiIconsWithDirections = getUiIconsWithDirections(uiIconsCleaned);
+
+/**
+ * Array of all unique base UI icon names without their sizing numbers.
+ */
+export const getUniqueUiIconBaseNames = (uiIcons) => [
+ ...new Set(uiIcons.map(ui => ui.replace(/\d{2,3}$/, "")))
];
+
+/**
+ * Array of all base UI icon names (without sizing numbers) for CSS (including directional suffixes).
+ */
+export const uniqueUiIconBaseNames = getUniqueUiIconBaseNames(uiIconsWithDirections);
+
+/**
+ * Workflow icon sizes. Does not apply to UI icons. Note: XXL is not part of the design
+ * spec and may be deprecated in the future.
+ */
+export const workflowSizes = ["xs", "s", "m", "l", "xl", "xxl"];
+
+/**
+ * Create an object where the key is the UI icon name, and the value is an array of
+ * strings with every sizing number available.
+ *
+ * Returns something like the following:
+ * {
+ * "Arrow": ['100', '400'],
+ * "Asterisk": ['100', '200', '300'],
+ * ...
+ * }
+ *
+ * @param {string[]} uiIcons Array of all UI icon names.
+ * @returns {object}
+ */
+export const getUiIconSizes = (uiIcons) => {
+ let uiIconSizes = {};
+
+ uiIcons.forEach(iconName => {
+ // UI icon name without the sizing number at the end.
+ const iconNameRoot = iconName.replace(/\d{2,3}$/, "");
+
+ // Sizing number at the end of the icon name (e.g. "100").
+ const iconNameSize = iconName.match(/\d{2,3}/g)?.[0];
+
+ // Add to object (with no duplicates).
+ uiIconSizes[iconNameRoot] = [
+ ...new Set([
+ ...uiIconSizes[iconNameRoot] ?? [],
+ ...(iconNameSize ? [iconNameSize] : []),
+ ])
+ ];
+ });
+
+ return uiIconSizes;
+};
+
+export const uiIconSizes = getUiIconSizes(uiIconsWithDirections);
+
+/**
+ * If UI icon name does not have a sizing number appended, add one to approximate the provided
+ * t-shirt sizing for the component, based on the most common mapping.
+ *
+ * @param {string} uiIconName
+ * @param {string} size t-shirt sizing
+ * @returns {string} uiIconName with appended default sizing number, if one is not already present.
+ */
+export const appendUiIconDefaultSizing = (uiIconName, size = "m") => {
+ // If icon name already has a size number on the end, no change is needed.
+ if (uiIconName.match(/\d{2,3}$/)) {
+ return uiIconName;
+ }
+
+ return uiIconName + ({
+ xs: "50",
+ s: "75",
+ m: "100",
+ l: "200",
+ xl: "300",
+ xxl: "400",
+ }[size] || "100");
+};
diff --git a/components/icon/ui-icons.css b/components/icon/ui-icons.css
index ce39d50ea8c..000c6671d44 100644
--- a/components/icon/ui-icons.css
+++ b/components/icon/ui-icons.css
@@ -11,22 +11,6 @@
* governing permissions and limitations under the License.
*/
-/*
- * Medium/large scale
- * ------------------
- * In the "combined" versiom of the UI Icon SVGs, the medium and the large icons are
- * contained within the same SVG. The two separate elements are shown or hidden based
- * on the current platform scale.
- */
-
-.spectrum-UIIcon--medium {
- display: var(--mod-ui-icon-medium-display, var(--spectrum-ui-icon-medium-display, block));
-}
-
-.spectrum-UIIcon--large {
- display: var(--mod-ui-icon-large-display, var(--spectrum-ui-icon-large-display, none));
-}
-
/*
* UI icons list
* -------------
diff --git a/components/illustratedmessage/dist/metadata.json b/components/illustratedmessage/dist/metadata.json
index 24de798ac33..12705f6822e 100644
--- a/components/illustratedmessage/dist/metadata.json
+++ b/components/illustratedmessage/dist/metadata.json
@@ -2,7 +2,18 @@
"sourceFile": "index.css",
"selectors": [
".spectrum-IllustratedMessage",
- ".spectrum-IllustratedMessage-accent",
+ ".spectrum-IllustratedMessage--horizontal",
+ ".spectrum-IllustratedMessage--horizontal .spectrum-IllustratedMessage-illustration",
+ ".spectrum-IllustratedMessage--sizeL",
+ ".spectrum-IllustratedMessage--sizeL:lang(ja)",
+ ".spectrum-IllustratedMessage--sizeL:lang(ko)",
+ ".spectrum-IllustratedMessage--sizeL:lang(zh)",
+ ".spectrum-IllustratedMessage--sizeS",
+ ".spectrum-IllustratedMessage--sizeS:lang(ja)",
+ ".spectrum-IllustratedMessage--sizeS:lang(ko)",
+ ".spectrum-IllustratedMessage--sizeS:lang(zh)",
+ ".spectrum-IllustratedMessage-actions",
+ ".spectrum-IllustratedMessage-content",
".spectrum-IllustratedMessage-description",
".spectrum-IllustratedMessage-heading",
".spectrum-IllustratedMessage-illustration",
@@ -11,23 +22,24 @@
".spectrum-IllustratedMessage:lang(zh)"
],
"modifiers": [
- "--mod-illustrated-message-content-maximum-width",
"--mod-illustrated-message-description-color",
"--mod-illustrated-message-description-font-family",
"--mod-illustrated-message-description-font-size",
"--mod-illustrated-message-description-font-style",
"--mod-illustrated-message-description-font-weight",
"--mod-illustrated-message-description-line-height",
- "--mod-illustrated-message-description-max-inline-size",
"--mod-illustrated-message-description-pointer-events",
"--mod-illustrated-message-description-position",
+ "--mod-illustrated-message-description-to-action",
"--mod-illustrated-message-description-z-index",
"--mod-illustrated-message-display",
- "--mod-illustrated-message-heading-max-inline-size",
- "--mod-illustrated-message-heading-to-body",
"--mod-illustrated-message-heading-to-description",
- "--mod-illustrated-message-illustration-accent-color",
+ "--mod-illustrated-message-horizontal-maximum-width",
+ "--mod-illustrated-message-illustrated-inline-size",
+ "--mod-illustrated-message-illustration-block-size",
"--mod-illustrated-message-illustration-color",
+ "--mod-illustrated-message-illustration-size",
+ "--mod-illustrated-message-illustration-to-heading",
"--mod-illustrated-message-pointer-events",
"--mod-illustrated-message-title-color",
"--mod-illustrated-message-title-font-family",
@@ -35,51 +47,55 @@
"--mod-illustrated-message-title-font-style",
"--mod-illustrated-message-title-font-weight",
"--mod-illustrated-message-title-line-height",
- "--mod-illustrated-message-title-to-heading"
+ "--mod-illustrated-message-vertical-maximum-width"
],
"component": [
- "--spectrum-illustrated-message-body-size",
- "--spectrum-illustrated-message-cjk-title-size",
"--spectrum-illustrated-message-description-color",
"--spectrum-illustrated-message-description-font-family",
"--spectrum-illustrated-message-description-font-size",
"--spectrum-illustrated-message-description-font-style",
"--spectrum-illustrated-message-description-font-weight",
"--spectrum-illustrated-message-description-line-height",
- "--spectrum-illustrated-message-description-max-inline-size",
- "--spectrum-illustrated-message-heading-max-inline-size",
+ "--spectrum-illustrated-message-description-to-action",
"--spectrum-illustrated-message-heading-to-description",
- "--spectrum-illustrated-message-illustration-accent-color",
+ "--spectrum-illustrated-message-horizontal-maximum-width",
"--spectrum-illustrated-message-illustration-color",
- "--spectrum-illustrated-message-maximum-width",
+ "--spectrum-illustrated-message-illustration-size",
+ "--spectrum-illustrated-message-illustration-to-content",
+ "--spectrum-illustrated-message-illustration-to-heading",
+ "--spectrum-illustrated-message-large-body-font-size",
+ "--spectrum-illustrated-message-large-cjk-title-font-size",
+ "--spectrum-illustrated-message-large-title-font-size",
+ "--spectrum-illustrated-message-medium-body-font-size",
+ "--spectrum-illustrated-message-medium-cjk-title-font-size",
+ "--spectrum-illustrated-message-medium-title-font-size",
+ "--spectrum-illustrated-message-small-body-font-size",
+ "--spectrum-illustrated-message-small-cjk-title-font-size",
+ "--spectrum-illustrated-message-small-title-font-size",
"--spectrum-illustrated-message-title-color",
"--spectrum-illustrated-message-title-font-family",
"--spectrum-illustrated-message-title-font-size",
"--spectrum-illustrated-message-title-font-style",
"--spectrum-illustrated-message-title-font-weight",
"--spectrum-illustrated-message-title-line-height",
- "--spectrum-illustrated-message-title-size",
- "--spectrum-illustrated-message-title-to-heading"
+ "--spectrum-illustrated-message-vertical-maximum-width"
],
"global": [
- "--spectrum-accent-visual-color",
"--spectrum-body-color",
- "--spectrum-body-line-height",
"--spectrum-body-sans-serif-font-style",
"--spectrum-body-sans-serif-font-weight",
"--spectrum-heading-color",
- "--spectrum-heading-line-height",
- "--spectrum-heading-sans-serif-font-style",
- "--spectrum-heading-sans-serif-font-weight",
- "--spectrum-neutral-visual-color",
+ "--spectrum-line-height-200",
+ "--spectrum-neutral-content-color-default",
"--spectrum-sans-font-family-stack",
- "--spectrum-spacing-400",
- "--spectrum-spacing-75"
+ "--spectrum-spacing-100",
+ "--spectrum-spacing-200",
+ "--spectrum-spacing-300",
+ "--spectrum-spacing-75",
+ "--spectrum-title-line-height",
+ "--spectrum-title-sans-serif-font-style",
+ "--spectrum-title-sans-serif-font-weight"
],
- "system-theme": [],
- "passthroughs": [],
- "high-contrast": [
- "--highcontrast-illustrated-message-illustration-accent-color",
- "--highcontrast-illustrated-message-illustration-color"
- ]
+ "passthroughs": ["--mod-buttongroup-justify-content"],
+ "high-contrast": ["--highcontrast-illustrated-message-illustration-color"]
}
diff --git a/components/illustratedmessage/index.css b/components/illustratedmessage/index.css
index 6b588504d11..39894c695a1 100644
--- a/components/illustratedmessage/index.css
+++ b/components/illustratedmessage/index.css
@@ -1,82 +1,96 @@
/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
+Copyright 2024 Adobe. All rights reserved.
+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
-@media (forced-colors: active) {
- .spectrum-IllustratedMessage {
- --highcontrast-illustrated-message-illustration-color: CanvasText;
- --highcontrast-illustrated-message-illustration-accent-color: Highlight;
- }
-}
+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
+governing permissions and limitations under the License.
+*/
.spectrum-IllustratedMessage {
/* Size & Spacing */
- --spectrum-illustrated-message-description-max-inline-size: var(--spectrum-illustrated-message-maximum-width);
- --spectrum-illustrated-message-heading-max-inline-size: var(--spectrum-illustrated-message-maximum-width);
- --spectrum-illustrated-message-title-to-heading: var(--spectrum-spacing-400);
--spectrum-illustrated-message-heading-to-description: var(--spectrum-spacing-75);
+ --spectrum-illustrated-message-illustration-to-heading: var(--spectrum-spacing-200);
+ --spectrum-illustrated-message-illustration-to-content: var(--spectrum-spacing-200);
+ --spectrum-illustrated-message-description-to-action: var(--spectrum-spacing-300);
+ /* @passthrough -- settings for nested button group */
+ --mod-buttongroup-justify-content: center;
/* Illustration */
- --spectrum-illustrated-message-illustration-color: var(--spectrum-neutral-visual-color);
- --spectrum-illustrated-message-illustration-accent-color: var(--spectrum-accent-visual-color);
+ --spectrum-illustrated-message-illustration-color: var(--spectrum-neutral-content-color-default);
+ --spectrum-illustrated-message-illustration-size: 96px;
/* Title */
--spectrum-illustrated-message-title-font-family: var(--spectrum-sans-font-family-stack);
- --spectrum-illustrated-message-title-font-weight: var(--spectrum-heading-sans-serif-font-weight);
- --spectrum-illustrated-message-title-font-style: var(--spectrum-heading-sans-serif-font-style);
- --spectrum-illustrated-message-title-font-size: var(--spectrum-illustrated-message-title-size);
- --spectrum-illustrated-message-title-line-height: var(--spectrum-heading-line-height);
+ --spectrum-illustrated-message-title-font-weight: var(--spectrum-title-sans-serif-font-weight);
+ --spectrum-illustrated-message-title-font-style: var(--spectrum-title-sans-serif-font-style);
+ --spectrum-illustrated-message-title-font-size: var(--spectrum-illustrated-message-medium-title-font-size);
+ --spectrum-illustrated-message-title-line-height: var(--spectrum-title-line-height);
--spectrum-illustrated-message-title-color: var(--spectrum-heading-color);
/* Description */
--spectrum-illustrated-message-description-font-family: var(--spectrum-sans-font-family-stack);
--spectrum-illustrated-message-description-font-weight: var(--spectrum-body-sans-serif-font-weight);
--spectrum-illustrated-message-description-font-style: var(--spectrum-body-sans-serif-font-style);
- --spectrum-illustrated-message-description-font-size: var(--spectrum-illustrated-message-body-size);
- --spectrum-illustrated-message-description-line-height: var(--spectrum-body-line-height);
+ --spectrum-illustrated-message-description-font-size: var(--spectrum-illustrated-message-medium-body-font-size);
+ --spectrum-illustrated-message-description-line-height: var(--spectrum-line-height-200);
--spectrum-illustrated-message-description-color: var(--spectrum-body-color);
- block-size: 100%;
-
- display: var(--mod-illustrated-message-display, flex);
- flex-direction: column;
- align-items: center;
- justify-content: center;
+ /* CJK (Chinese, Japanese, and Korean) language support */
+ &:lang(ja),
+ &:lang(zh),
+ &:lang(ko) {
+ --spectrum-illustrated-message-title-font-size: var(--spectrum-illustrated-message-medium-cjk-title-font-size);
+ }
+}
- text-align: center;
- pointer-events: var(--mod-illustrated-message-pointer-events, auto);
- max-inline-size: var(--mod-illustrated-message-content-maximum-width);
+.spectrum-IllustratedMessage--sizeS {
+ --spectrum-illustrated-message-title-font-size: var(--spectrum-illustrated-message-small-title-font-size);
+ --spectrum-illustrated-message-description-font-size: var(--spectrum-illustrated-message-small-body-font-size);
- /* CJK (Chinese, Japanese, and Korean) language support */
&:lang(ja),
&:lang(zh),
&:lang(ko) {
- --spectrum-illustrated-message-title-font-size: var(--spectrum-illustrated-message-cjk-title-size);
+ --spectrum-illustrated-message-title-font-size: var(--spectrum-illustrated-message-small-cjk-title-font-size);
}
}
-.spectrum-IllustratedMessage-illustration {
- margin-block-end: var(--mod-illustrated-message-title-to-heading, var(--spectrum-illustrated-message-title-to-heading));
- color: var(--highcontrast-illustrated-message-illustration-color, var(--mod-illustrated-message-illustration-color, var(--spectrum-illustrated-message-illustration-color)));
- fill: currentColor;
- stroke: currentColor;
+.spectrum-IllustratedMessage--sizeL {
+ --spectrum-illustrated-message-illustration-size: 160px;
+ --spectrum-illustrated-message-illustration-to-heading: var(--spectrum-spacing-100);
+ --spectrum-illustrated-message-illustration-to-content: var(--spectrum-spacing-100);
+ --spectrum-illustrated-message-title-font-size: var(--spectrum-illustrated-message-large-title-font-size);
+ --spectrum-illustrated-message-description-font-size: var(--spectrum-illustrated-message-large-body-font-size);
+
+ &:lang(ja),
+ &:lang(zh),
+ &:lang(ko) {
+ --spectrum-illustrated-message-title-font-size: var(--spectrum-illustrated-message-large-cjk-title-font-size);
+ }
}
-.spectrum-IllustratedMessage-accent {
- color: var(--highcontrast-illustrated-message-illustration-accent-color, var(--mod-illustrated-message-illustration-accent-color, var(--spectrum-illustrated-message-illustration-accent-color)));
+.spectrum-IllustratedMessage {
+ block-size: 100%;
+ display: var(--mod-illustrated-message-display, grid);
+ grid-template-areas:
+ ". illustration ."
+ "body body body";
+ text-align: center;
+ pointer-events: var(--mod-illustrated-message-pointer-events, auto);
+ max-inline-size: var(--mod-illustrated-message-vertical-maximum-width, var(--spectrum-illustrated-message-vertical-maximum-width));
+}
- /* Safari 16.3 🐛🛠️: Repeated stroke/fill properties is a workaround for a currentcolor bug that was fixed in 16.4. */
+.spectrum-IllustratedMessage-illustration {
+ margin-block-end: var(--mod-illustrated-message-illustration-to-heading, var(--spectrum-illustrated-message-illustration-to-heading));
+ color: var(--highcontrast-illustrated-message-illustration-color, var(--mod-illustrated-message-illustration-color, var(--spectrum-illustrated-message-illustration-color)));
fill: currentColor;
stroke: currentColor;
+ block-size: var(--mod-illustrated-message-illustration-block-size, var(--mod-illustrated-message-illustration-size, var(--spectrum-illustrated-message-illustration-size)));
+ inline-size: var(--mod-illustrated-message-illustrated-inline-size, var(--mod-illustrated-message-illustration-size, var(--spectrum-illustrated-message-illustration-size)));
+ grid-area: illustration;
}
.spectrum-IllustratedMessage-heading {
@@ -88,9 +102,8 @@
color: var(--mod-illustrated-message-title-color, var(--spectrum-illustrated-message-title-color));
- max-inline-size: var(--mod-illustrated-message-heading-max-inline-size, var(--spectrum-illustrated-message-heading-max-inline-size));
margin-block-start: 0;
- margin-block-end: var(--mod-illustrated-message-heading-to-body, 0);
+ margin-block-end: var(--mod-illustrated-message-heading-to-description, var(--spectrum-illustrated-message-heading-to-description));
}
.spectrum-IllustratedMessage-description {
@@ -106,7 +119,32 @@
color: var(--mod-illustrated-message-description-color, var(--spectrum-illustrated-message-description-color));
- max-inline-size: var(--mod-illustrated-message-description-max-inline-size, var(--spectrum-illustrated-message-description-max-inline-size));
- margin-block-start: var(--mod-illustrated-message-heading-to-description, var(--spectrum-illustrated-message-heading-to-description));
- margin-block-end: 0;
+ margin-block: 0;
+}
+
+.spectrum-IllustratedMessage--horizontal {
+ --mod-buttongroup-justify-content: flex-start;
+ max-inline-size: var(--mod-illustrated-message-horizontal-maximum-width, var(--spectrum-illustrated-message-horizontal-maximum-width));
+ text-align: start;
+ gap: var(--spectrum-illustrated-message-illustration-to-content);
+ grid-template-areas: "illustration body";
+ align-items: center;
+
+ .spectrum-IllustratedMessage-illustration {
+ margin-block-end: 0;
+ }
+}
+
+.spectrum-IllustratedMessage-actions {
+ margin-block-start: var(--mod-illustrated-message-description-to-action, var(--spectrum-illustrated-message-description-to-action));
+}
+
+.spectrum-IllustratedMessage-content {
+ grid-area: body;
+}
+
+@media (forced-colors: active) {
+ .spectrum-IllustratedMessage {
+ --highcontrast-illustrated-message-illustration-color: CanvasText;
+ }
}
diff --git a/components/illustratedmessage/stories/illustratedmessage.stories.js b/components/illustratedmessage/stories/illustratedmessage.stories.js
index 2b00b063d31..794accd74da 100644
--- a/components/illustratedmessage/stories/illustratedmessage.stories.js
+++ b/components/illustratedmessage/stories/illustratedmessage.stories.js
@@ -1,20 +1,38 @@
-import { Template as Link } from "@spectrum-css/link/stories/template.js";
+import { Sizes } from "@spectrum-css/preview/decorators";
import { disableDefaultModes } from "@spectrum-css/preview/modes";
-import { html } from "lit";
import metadata from "../dist/metadata.json";
import packageJson from "../package.json";
import { IllustratedMessageGroup } from "./illustratedmessage.test.js";
import { Template } from "./template.js";
/**
- * The Illustrated Message displays an illustration along with a heading and description. Optionally, part of the illustration can use an accent color. It can be used for status and errors, or as a call to action. For example, the Drop Zone component makes use of Illustrated Message as an area to drag and drop files.
+ * The Illustrated Message displays an illustration along with a heading, description and group of buttons. It can be used for status and errors, or as a call to action. For example, the Drop Zone component makes use of Illustrated Message as an area to drag and drop files.
*/
export default {
title: "Illustrated message",
component: "IllustratedMessage",
argTypes: {
- useAccentColor: {
- name: "Illustration accent color",
+ title: {
+ name: "Title",
+ type: { name: "string" },
+ table: {
+ type: { summary: "string" },
+ category: "Content",
+ },
+ control: "text",
+ },
+ description: {
+ name: "Description",
+ type: { name: "string" },
+ table: {
+ type: { summary: "string" },
+ category: "Content",
+ },
+ control: "text",
+ },
+ isHorizontal: {
+ name: "Horizontal orientation",
+ description: "The default content orientation is vertical. Add the horizontal class to horizontally align the illustration with the content. The illustration will align left or right determined by the global direction of the text.",
type: { name: "boolean" },
table: {
type: { summary: "boolean" },
@@ -22,26 +40,33 @@ export default {
},
control: "boolean",
},
- heading: {
- name: "Heading",
- type: { name: "string" },
+ size: {
+ name: "Size",
+ type: { name: "string", required: true },
table: {
type: { summary: "string" },
- category: "Content",
+ category: "Component",
},
- control: "text",
+ options: ["s", "m", "l"],
+ control: "select",
},
- description: {
- name: "Description",
+ hasButtons: {
+ name: "Show button group",
+ type: { name: "boolean" },
table: {
- category: "Content",
- disable: true,
+ type: { summary: "boolean" },
+ category: "Component",
},
+ control: "boolean",
},
},
args: {
rootClass: "spectrum-IllustratedMessage",
- useAccentColor: false,
+ isHorizontal: false,
+ size: "m",
+ hasButtons: true,
+ title: "Error 404: Page not found",
+ description: "This page isn't available. Try checking the URL or visit a different page.",
},
parameters: {
design: {
@@ -50,32 +75,22 @@ export default {
},
packageJson,
metadata,
+ layout: "centered"
},
};
export const Default = IllustratedMessageGroup.bind({});
-Default.args = {
- heading: "Error 404: Page not found",
- description: [
- "This page isn't available. Try checking the URL or visit a different page.",
- ],
-};
+Default.args = {};
/**
- * To use the accent color, the class `.spectrum-IllustratedMessage-accent` can be added to element(s) within the illustration SVG.
- */
-export const AccentColor = Template.bind({});
-AccentColor.tags = ["!dev"];
-AccentColor.args = {
- heading: "Drag and drop your file",
- description: [
- () => {
- return html`${Link({ url: "#", text: "Select a file" })} from your computer.`;
- },
- ],
- useAccentColor: true,
+ * Horizontal illustrated messages are displayed on extra large screen sizes or in a menu.
+*/
+export const Horizontal = Template.bind({});
+Horizontal.tags = ["!dev"];
+Horizontal.args = {
+ isHorizontal: true
};
-AccentColor.parameters = {
+Horizontal.parameters = {
chromatic: { disableSnapshot: true },
};
@@ -88,3 +103,21 @@ WithForcedColors.parameters = {
modes: disableDefaultModes
},
};
+/**
+ * Illustrated message comes in three sizes: small, medium, and large.
+ * - Small illustrated message is typically used in quick or in-line actions.
+ * - The medium size is the default, and often used in panels.
+ * - The large size illustrated message is generally used in full page layouts and dialogs.
+ */
+export const Sizing = (args, context) => Sizes({
+ Template: Template,
+ withBorder: false,
+ withHeader: false,
+ ...args
+}, context);
+
+Sizing.args = {};
+Sizing.tags = ["!dev"];
+Sizing.parameters = {
+ chromatic: { disableSnapshot: true },
+};
diff --git a/components/illustratedmessage/stories/illustratedmessage.test.js b/components/illustratedmessage/stories/illustratedmessage.test.js
index 2b7b85946a1..a6da8059521 100644
--- a/components/illustratedmessage/stories/illustratedmessage.test.js
+++ b/components/illustratedmessage/stories/illustratedmessage.test.js
@@ -1,25 +1,17 @@
-import { Template as Link } from "@spectrum-css/link/stories/template.js";
import { Variants } from "@spectrum-css/preview/decorators";
-import { html } from "lit";
import { Template } from "./template.js";
export const IllustratedMessageGroup = Variants({
Template,
testData: [{
- heading: "Error 404: Page not found",
- description: [
- "This page isn't available. Try checking the URL or visit a different page.",
- ],
- useAccentColor: false,
- }, {
- testHeading: "With accent color",
- heading: "Drag and drop your file",
- description: [
- () => {
- return html`${Link({ url: "#", text: "Select a file" })} from your computer.`;
- },
- ],
- useAccentColor: true,
- }
+ },
+ {
+ testHeading: "Horizontal layout",
+ isHorizontal: true
+ },
+ {
+ testHeading: "W/o button group",
+ hasButtons: false
+ },
],
});
diff --git a/components/illustratedmessage/stories/template.js b/components/illustratedmessage/stories/template.js
index ace824ddae9..8ee5daa77b0 100644
--- a/components/illustratedmessage/stories/template.js
+++ b/components/illustratedmessage/stories/template.js
@@ -1,4 +1,4 @@
-import { Template as Typography } from "@spectrum-css/typography/stories/template.js";
+import { Template as ButtonGroup } from "@spectrum-css/buttongroup/stories/template.js";
import { html } from "lit";
import { classMap } from "lit/directives/class-map.js";
import { when } from "lit/directives/when.js";
@@ -7,111 +7,76 @@ import "../index.css";
export const Template = ({
rootClass = "spectrum-IllustratedMessage",
- heading,
+ title,
description,
customClasses = [],
- useAccentColor = false,
-} = {}, context = {}) => {
+ hasButtons = false,
+ isHorizontal = false,
+ size = "m",
+ customIllustration,
+}) => {
+ const descriptionContent = Array.isArray(description)
+ ? description
+ : [() => html`${description}`];
return html`
- ({ ...a, [c]: true }), {}),
- })}
- >
- ${illustrationSvgMarkup(useAccentColor)}
- ${when(heading, () =>
- Typography({
- semantics: "heading",
- "size": "m",
- customClasses: [`${rootClass}-heading`],
- content: [heading],
- }, context)
+
({ ...a, [c]: true }), {}),
+ })}
+ >
+ ${customIllustration
+ ? customIllustration()
+ : illustrationSvgMarkup(size)}
+
+ ${when(
+ title,
+ () =>
+ html`
+ ${title}
+ `
)}
- ${when(description, () =>
- Typography({
- semantics: "body",
- "size": "s",
- customClasses: [`${rootClass}-description`],
- content: [
- ...description.map((c) => (typeof c === "function" ? c({}) : c))
- ],
- }, context)
+ ${when(
+ descriptionContent,
+ () =>
+ html`
+ ${descriptionContent.map((c) =>
+ typeof c === "function" ? c({}) : c
+ )}
+
`
+ )}
+ ${when(hasButtons, () =>
+ ButtonGroup({
+ size,
+ customClasses: ["spectrum-IllustratedMessage-actions"],
+ items: [
+ {
+ variant: "secondary",
+ treatment: "outline",
+ label: "Remind me later",
+ },
+ {
+ variant: "accent",
+ treatment: "fill",
+ label: "Rate now",
+ },
+ ]
+ })
)}
- `;
+
+`;
};
-const illustrationSvgMarkup = (withAccentColorClass = false) => html`
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-`;
+const illustrationSvgMarkup = (size = "m") => {
+ const computedSize = size === "l" ? 160 : 96;
+ return html`
+
+
+
+ `;
+};
diff --git a/components/infieldbutton/CHANGELOG.md b/components/infieldbutton/CHANGELOG.md
index 47a91a0f120..244ccc31f11 100644
--- a/components/infieldbutton/CHANGELOG.md
+++ b/components/infieldbutton/CHANGELOG.md
@@ -1,5 +1,12 @@
# Change log
+## 7.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+
## 6.1.1
### Patch Changes
diff --git a/components/infieldbutton/dist/metadata.json b/components/infieldbutton/dist/metadata.json
index 08964986f5d..9b4476f0a4a 100644
--- a/components/infieldbutton/dist/metadata.json
+++ b/components/infieldbutton/dist/metadata.json
@@ -132,23 +132,12 @@
"--spectrum-disabled-content-color",
"--spectrum-gray-100",
"--spectrum-gray-200",
+ "--spectrum-gray-50",
"--spectrum-neutral-content-color-default",
"--spectrum-neutral-content-color-down",
"--spectrum-neutral-content-color-hover",
"--spectrum-neutral-content-color-key-focus"
],
- "system-theme": [
- "--system-infield-button-background-color",
- "--system-infield-button-background-color-down",
- "--system-infield-button-background-color-hover",
- "--system-infield-button-background-color-key-focus",
- "--system-infield-button-border-color",
- "--system-infield-button-border-radius",
- "--system-infield-button-border-radius-reset",
- "--system-infield-button-border-width",
- "--system-infield-button-stacked-bottom-border-radius-end-start",
- "--system-infield-button-stacked-top-border-radius-start-start"
- ],
"passthroughs": [],
"high-contrast": [
"--highcontrast-infield-button-border-color",
diff --git a/components/infieldbutton/index.css b/components/infieldbutton/index.css
index ab1533eeacc..84bb9389975 100644
--- a/components/infieldbutton/index.css
+++ b/components/infieldbutton/index.css
@@ -11,9 +11,22 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
.spectrum-InfieldButton {
+ --spectrum-infield-button-border-width: var(--spectrum-border-width-100);
+ --spectrum-infield-button-border-color: inherit;
+
+ --spectrum-infield-button-border-radius: var(--spectrum-corner-radius-100);
+ --spectrum-infield-button-border-radius-reset: 0;
+
+ /* Have to call these out specifically due to Express differences */
+ --spectrum-infield-button-stacked-top-border-radius-start-start: var(--spectrum-infield-button-border-radius-reset);
+ --spectrum-infield-button-stacked-bottom-border-radius-end-start: var(--spectrum-infield-button-border-radius-reset);
+
+ --spectrum-infield-button-background-color: var(--spectrum-gray-50);
+ --spectrum-infield-button-background-color-hover: var(--spectrum-gray-100);
+ --spectrum-infield-button-background-color-down: var(--spectrum-gray-200);
+ --spectrum-infield-button-background-color-key-focus: var(--spectrum-gray-100);
+
/* Medium size is the default */
--spectrum-infield-button-height: var(--spectrum-component-height-100);
--spectrum-infield-button-width: var(--spectrum-component-height-100);
diff --git a/components/infieldbutton/package.json b/components/infieldbutton/package.json
index 66ae9550b32..e21c2644e1e 100644
--- a/components/infieldbutton/package.json
+++ b/components/infieldbutton/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/infieldbutton",
- "version": "6.1.1",
+ "version": "7.0.0-next.0",
"description": "The Spectrum CSS infield button component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -37,7 +37,7 @@
}
},
"devDependencies": {
- "@spectrum-css/icon": "9.1.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/infieldbutton/stories/template.js b/components/infieldbutton/stories/template.js
index 7f0b4ee8db1..5cc77d42045 100644
--- a/components/infieldbutton/stories/template.js
+++ b/components/infieldbutton/stories/template.js
@@ -4,9 +4,6 @@ import { classMap } from "lit/directives/class-map.js";
import { when } from "lit/directives/when.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = (
{
diff --git a/components/infieldbutton/themes/express.css b/components/infieldbutton/themes/express.css
deleted file mode 100644
index 1d930d4cfee..00000000000
--- a/components/infieldbutton/themes/express.css
+++ /dev/null
@@ -1,34 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
-
-@container style(--system: express) {
- .spectrum-InfieldButton {
- --spectrum-infield-button-border-width: 0;
- --spectrum-infield-button-border-color: transparent;
-
- --spectrum-infield-button-border-radius: var(--spectrum-corner-radius-75);
- --spectrum-infield-button-border-radius-reset: var(--spectrum-corner-radius-75);
-
- --spectrum-infield-button-stacked-top-border-radius-start-start: var(--spectrum-corner-radius-75);
- --spectrum-infield-button-stacked-bottom-border-radius-end-start: var(--spectrum-corner-radius-75);
-
- --spectrum-infield-button-background-color: var(--spectrum-gray-200);
- --spectrum-infield-button-background-color-hover: var(--spectrum-gray-300);
- --spectrum-infield-button-background-color-down: var(--spectrum-gray-400);
- --spectrum-infield-button-background-color-key-focus: var(--spectrum-gray-300);
- }
-}
diff --git a/components/infieldbutton/themes/spectrum-two.css b/components/infieldbutton/themes/spectrum-two.css
deleted file mode 100644
index 9cd01ec53c9..00000000000
--- a/components/infieldbutton/themes/spectrum-two.css
+++ /dev/null
@@ -1,31 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-InfieldButton {
- --spectrum-infield-button-border-width: var(--spectrum-border-width-100);
- --spectrum-infield-button-border-color: inherit;
-
- --spectrum-infield-button-border-radius: var(--spectrum-corner-radius-100);
- --spectrum-infield-button-border-radius-reset: 0;
-
- /* Have to call these out specifically due to Express differences */
- --spectrum-infield-button-stacked-top-border-radius-start-start: var(--spectrum-infield-button-border-radius-reset);
- --spectrum-infield-button-stacked-bottom-border-radius-end-start: var(--spectrum-infield-button-border-radius-reset);
-
- --spectrum-infield-button-background-color: var(--spectrum-gray-100);
- --spectrum-infield-button-background-color-hover: var(--spectrum-gray-200);
- --spectrum-infield-button-background-color-down: var(--spectrum-gray-200);
- --spectrum-infield-button-background-color-key-focus: var(--spectrum-gray-200);
- }
-}
diff --git a/components/infieldbutton/themes/spectrum.css b/components/infieldbutton/themes/spectrum.css
deleted file mode 100644
index ff95c7c2dce..00000000000
--- a/components/infieldbutton/themes/spectrum.css
+++ /dev/null
@@ -1,25 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-InfieldButton {
- --spectrum-infield-button-background-color: var(--spectrum-gray-75);
- --spectrum-infield-button-background-color-hover: var(--spectrum-gray-200);
- --spectrum-infield-button-background-color-down: var(--spectrum-gray-300);
- --spectrum-infield-button-background-color-key-focus: var(--spectrum-gray-200);
- }
-}
diff --git a/components/infieldprogresscircle/CHANGELOG.md b/components/infieldprogresscircle/CHANGELOG.md
new file mode 100644
index 00000000000..7b3a7ceecaf
--- /dev/null
+++ b/components/infieldprogresscircle/CHANGELOG.md
@@ -0,0 +1,9 @@
+# @spectrum-css/infieldprogresscircle
+
+## 1.0.0-next.0
+
+### Major Changes
+
+- [#2352](https://github.com/adobe/spectrum-css/pull/2352) [`fb80825`](https://github.com/adobe/spectrum-css/commit/fb80825cc31d6b5eb46dc42e595bce253e7db805) Thanks [@pfulton](https://github.com/pfulton)! - ## Infield Progresscircle S2 Migration
+
+ In-field progress circle is a new component created to replace progress circle (size S) in t-shirt size components. The button, textfield, combo box, and picker `template.js` files have all been updated to call for infield progress circles. This component comes in four sizes: (S, M, L, XL), has updated color variants (default, white, black), and has a unified track thickness.
diff --git a/components/infieldprogresscircle/README.md b/components/infieldprogresscircle/README.md
new file mode 100644
index 00000000000..4d411cc9502
--- /dev/null
+++ b/components/infieldprogresscircle/README.md
@@ -0,0 +1,7 @@
+# @spectrum-css/infieldprogresscircle
+
+> The Spectrum CSS infield progress circle component
+
+This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
+
+See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
diff --git a/components/infieldprogresscircle/dist/metadata.json b/components/infieldprogresscircle/dist/metadata.json
new file mode 100644
index 00000000000..ffc95f11390
--- /dev/null
+++ b/components/infieldprogresscircle/dist/metadata.json
@@ -0,0 +1,25 @@
+{
+ "sourceFile": "index.css",
+ "selectors": [
+ ".spectrum-InfieldProgressCircle",
+ ".spectrum-InfieldProgressCircle .spectrum-ProgressCircle-fill",
+ ".spectrum-InfieldProgressCircle--sizeL",
+ ".spectrum-InfieldProgressCircle--sizeS",
+ ".spectrum-InfieldProgressCircle--sizeXL"
+ ],
+ "modifiers": [],
+ "component": [
+ "--spectrum-in-field-progress-circle-edge-to-fill",
+ "--spectrum-in-field-progress-circle-size-100",
+ "--spectrum-in-field-progress-circle-size-200",
+ "--spectrum-in-field-progress-circle-size-300",
+ "--spectrum-in-field-progress-circle-size-75",
+ "--spectrum-infieldprogresscircle-padding-block"
+ ],
+ "global": ["--spectrum-progress-circle-thickness-small"],
+ "passthroughs": [
+ "--mod-progress-circle-size",
+ "--mod-progress-circle-thickness"
+ ],
+ "high-contrast": []
+}
diff --git a/components/infieldprogresscircle/index.css b/components/infieldprogresscircle/index.css
new file mode 100644
index 00000000000..e3525eccc40
--- /dev/null
+++ b/components/infieldprogresscircle/index.css
@@ -0,0 +1,37 @@
+/*!
+Copyright 2025 Adobe. All rights reserved.
+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
+governing permissions and limitations under the License.
+*/
+
+.spectrum-InfieldProgressCircle {
+ --mod-progress-circle-thickness: var(--spectrum-progress-circle-thickness-small);
+ --mod-progress-circle-size: var(--spectrum-in-field-progress-circle-size-100);
+ --spectrum-infieldprogresscircle-padding-block: var(--spectrum-in-field-progress-circle-edge-to-fill);
+}
+
+.spectrum-InfieldProgressCircle--sizeS {
+ --mod-progress-circle-size: var(--spectrum-in-field-progress-circle-size-75);
+}
+
+.spectrum-InfieldProgressCircle--sizeL {
+ --mod-progress-circle-size: var(--spectrum-in-field-progress-circle-size-200);
+}
+
+.spectrum-InfieldProgressCircle--sizeXL {
+ --mod-progress-circle-size: var(--spectrum-in-field-progress-circle-size-300);
+}
+
+.spectrum-InfieldProgressCircle {
+ padding-block: var(--spectrum-infieldprogresscircle-padding-block);
+
+ .spectrum-ProgressCircle-fill {
+ stroke-linecap: square;
+ }
+}
diff --git a/components/infieldprogresscircle/package.json b/components/infieldprogresscircle/package.json
new file mode 100644
index 00000000000..a6a1da3defa
--- /dev/null
+++ b/components/infieldprogresscircle/package.json
@@ -0,0 +1,57 @@
+{
+ "name": "@spectrum-css/infieldprogresscircle",
+ "version": "1.0.0-next.0",
+ "description": "The Spectrum CSS infieldprogresscircle component",
+ "license": "Apache-2.0",
+ "author": "Adobe",
+ "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-in-field-progress-circle--docs",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/adobe/spectrum-css.git",
+ "directory": "components/infieldprogresscircle"
+ },
+ "bugs": {
+ "url": "https://github.com/adobe/spectrum-css/issues"
+ },
+ "exports": {
+ ".": "./dist/index.css",
+ "./*.md": "./*.md",
+ "./dist/*": "./dist/*",
+ "./index-*.css": "./dist/index-*.css",
+ "./index.css": "./dist/index.css",
+ "./metadata.json": "./dist/metadata.json",
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
+ },
+ "main": "dist/index.css",
+ "peerDependencies": {
+ "@spectrum-css/tokens": ">=16"
+ },
+ "devDependencies": {
+ "@spectrum-css/tokens": "16.0.1"
+ },
+ "keywords": [
+ "design-system",
+ "spectrum",
+ "spectrum-css",
+ "adobe",
+ "adobe-spectrum",
+ "component",
+ "css"
+ ],
+ "publishConfig": {
+ "access": "public"
+ },
+ "spectrum": [
+ {
+ "guidelines": "https://spectrum.adobe.com/page/progress-circle",
+ "rootClass": "spectrum-InfieldProgressCircle",
+ "swc": "https://opensource.adobe.com/spectrum-web-components/components/progress-circle/"
+ }
+ ],
+ "peerDependenciesMeta": {
+ "@spectrum-css/tokens": {
+ "optional": true
+ }
+ }
+}
diff --git a/components/infieldprogresscircle/project.json b/components/infieldprogresscircle/project.json
new file mode 100644
index 00000000000..ff11b0651fc
--- /dev/null
+++ b/components/infieldprogresscircle/project.json
@@ -0,0 +1,17 @@
+{
+ "$schema": "../../node_modules/nx/schemas/project-schema.json",
+ "name": "infieldprogresscircle",
+ "tags": ["component"],
+ "targets": {
+ "build": {},
+ "clean": {},
+ "compare": {},
+ "format": {},
+ "lint": {},
+ "report": {},
+ "test": {
+ "defaultConfiguration": "scope"
+ },
+ "validate": {}
+ }
+}
diff --git a/components/infieldprogresscircle/stories/infieldprogresscircle.stories.js b/components/infieldprogresscircle/stories/infieldprogresscircle.stories.js
new file mode 100644
index 00000000000..e8c60ee9d6d
--- /dev/null
+++ b/components/infieldprogresscircle/stories/infieldprogresscircle.stories.js
@@ -0,0 +1,121 @@
+import { Sizes } from "@spectrum-css/preview/decorators";
+import { disableDefaultModes } from "@spectrum-css/preview/modes";
+import { size } from "@spectrum-css/preview/types";
+import { default as ProgressCircle } from "@spectrum-css/progresscircle/stories/progresscircle.stories.js";
+import metadata from "../dist/metadata.json";
+import packageJson from "../package.json";
+import { InfieldProgressCircleGroup } from "./infieldprogresscircle.test.js";
+import { Template } from "./template.js";
+
+/**
+ * In-field progress circles are used in t-shirt size components such as [buttons](/docs/components-button--docs), [combo boxes](/docs/components-combobox--docs), and [pickers](/docs/components-picker--docs). The in-field progress circle can be used in place of an icon or in tight spaces when space is limited both vertically and horizontally.
+*/
+
+export default {
+ title: "In-field progress circle",
+ component: "InfieldProgressCircle",
+ argTypes: {
+ ...ProgressCircle.argTypes,
+ size: size(["s", "m", "l", "xl"]),
+ },
+ args: {
+ ...ProgressCircle.args,
+ rootClass: "spectrum-InfieldProgressCircle",
+ },
+ parameters: {
+ ...ProgressCircle.parameters,
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/eoZHKJH9a3LJkHYCGt60Vb/S2-token-specs?node-id=14970-6050",
+ },
+ packageJson,
+ metadata,
+ }
+};
+
+export const Default = InfieldProgressCircleGroup.bind({});
+Default.args = {};
+
+// ********* VRT ONLY ********* //
+export const WithForcedColors = InfieldProgressCircleGroup.bind({});
+WithForcedColors.args = Default.args;
+WithForcedColors.tags = ["!autodocs", "!dev"];
+WithForcedColors.parameters = {
+ chromatic: {
+ forcedColors: "active",
+ modes: disableDefaultModes,
+ },
+};
+
+// ********* DOCS ONLY ********* //
+
+export const Sizing = (args, context) => Sizes({
+ Template,
+ withHeading: false,
+ withBorder: false,
+ ...args,
+}, context);
+Sizing.args = {};
+Sizing.tags = ["!dev"];
+Sizing.parameters = {
+ chromatic: { disableSnapshot: true },
+};
+
+/**
+ * The indeterminate progress circle displays a repeating animation for the inner fill.
+ */
+export const Indeterminate = (args, context) => Sizes({
+ Template,
+ withHeading: false,
+ withBorder: false,
+ ...args,
+}, context);
+Indeterminate.args = {
+ isIndeterminate: true,
+};
+Indeterminate.tags = ["!dev"];
+Indeterminate.parameters = {
+ chromatic: { disableSnapshot: true },
+};
+
+export const StaticWhiteDeterminate = Sizing.bind({});
+StaticWhiteDeterminate.tags = ["!dev"];
+StaticWhiteDeterminate.storyName = "Static white, default";
+StaticWhiteDeterminate.args = {
+ staticColor: "white",
+};
+StaticWhiteDeterminate.parameters = {
+ chromatic: { disableSnapshot: true },
+};
+
+export const StaticWhiteIndeterminate = Sizing.bind({});
+StaticWhiteIndeterminate.tags = ["!dev"];
+StaticWhiteIndeterminate.storyName = "Static white, indeterminate";
+StaticWhiteIndeterminate.args = {
+ staticColor: "white",
+ isIndeterminate: true,
+};
+StaticWhiteIndeterminate.parameters = {
+ chromatic: { disableSnapshot: true },
+};
+
+export const StaticBlackDeterminate = Sizing.bind({});
+StaticBlackDeterminate.tags = ["!dev"];
+StaticBlackDeterminate.storyName = "Static black, default";
+StaticBlackDeterminate.args = {
+ staticColor: "black",
+};
+StaticBlackDeterminate.parameters = {
+ chromatic: { disableSnapshot: true },
+};
+
+export const StaticBlackIndeterminate = Sizing.bind({});
+StaticBlackIndeterminate.tags = ["!dev"];
+StaticBlackIndeterminate.storyName = "Static black, indeterminate";
+StaticBlackIndeterminate.args = {
+ staticColor: "black",
+ isIndeterminate: true,
+};
+StaticBlackIndeterminate.parameters = {
+ chromatic: { disableSnapshot: true },
+};
diff --git a/components/infieldprogresscircle/stories/infieldprogresscircle.test.js b/components/infieldprogresscircle/stories/infieldprogresscircle.test.js
new file mode 100644
index 00000000000..2ef07f947ab
--- /dev/null
+++ b/components/infieldprogresscircle/stories/infieldprogresscircle.test.js
@@ -0,0 +1,25 @@
+import { Variants } from "@spectrum-css/preview/decorators";
+import { Template } from "./template.js";
+
+export const InfieldProgressCircleGroup = Variants({
+ Template,
+ testData: [
+ {
+ testHeading: "Default",
+ },
+ {
+ testHeading: "Static white",
+ staticColor: "white",
+ },
+ {
+ testHeading: "Static black",
+ staticColor: "black",
+ },
+ ],
+ stateData: [
+ {
+ testHeading: "Indeterminate",
+ isIndeterminate: true,
+ }
+ ]
+});
diff --git a/components/infieldprogresscircle/stories/template.js b/components/infieldprogresscircle/stories/template.js
new file mode 100644
index 00000000000..7f8fc1f8de1
--- /dev/null
+++ b/components/infieldprogresscircle/stories/template.js
@@ -0,0 +1,21 @@
+import { Template as ProgressCircle } from "@spectrum-css/progresscircle/stories/template.js";
+import { capitalize } from "lodash-es";
+import "../index.css";
+
+export const Template = ({
+ customClasses = [],
+ rootClass = "spectrum-InfieldProgressCircle",
+ size = "m",
+ staticColor,
+ ...item
+} = {}, context = {}) => ProgressCircle({
+ customClasses: [
+ rootClass,
+ typeof size !== "undefined" ? `${rootClass}--size${size.toUpperCase()}` : null,
+ typeof staticColor !== "undefined" ? `${rootClass}--static${capitalize(staticColor)}` : null,
+ ...customClasses
+ ].filter(Boolean),
+ size,
+ staticColor,
+ ...item
+}, context );
diff --git a/components/inlinealert/CHANGELOG.md b/components/inlinealert/CHANGELOG.md
index 0917d027041..274f7932438 100644
--- a/components/inlinealert/CHANGELOG.md
+++ b/components/inlinealert/CHANGELOG.md
@@ -1,5 +1,13 @@
# Change log
+## 11.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+ - @spectrum-css/button@15.0.0-next.0
+
## 10.1.0
### Minor Changes
diff --git a/components/inlinealert/dist/metadata.json b/components/inlinealert/dist/metadata.json
index 935c89f08a3..bd5894d28c9 100644
--- a/components/inlinealert/dist/metadata.json
+++ b/components/inlinealert/dist/metadata.json
@@ -98,7 +98,6 @@
"--spectrum-spacing-400",
"--spectrum-workflow-icon-size-100"
],
- "system-theme": [],
"passthroughs": [],
"high-contrast": [
"--highcontrast-inlinealert-background-color",
diff --git a/components/inlinealert/package.json b/components/inlinealert/package.json
index c1e06dbf222..f6cc54475c0 100644
--- a/components/inlinealert/package.json
+++ b/components/inlinealert/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/inlinealert",
- "version": "10.1.0",
+ "version": "11.0.0-next.0",
"description": "The Spectrum CSS in-line alert component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,8 +25,8 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/button": ">=14.0.0 <15.0.0",
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
+ "@spectrum-css/button": ">=15.0.0-next.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -41,8 +41,8 @@
}
},
"devDependencies": {
- "@spectrum-css/button": "14.1.3",
- "@spectrum-css/icon": "9.1.0",
+ "@spectrum-css/button": "15.0.0-next.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/link/CHANGELOG.md b/components/link/CHANGELOG.md
index 82f09e93090..3f4feed99b5 100644
--- a/components/link/CHANGELOG.md
+++ b/components/link/CHANGELOG.md
@@ -1,5 +1,39 @@
# Change log
+## 8.0.0-next.0
+
+### Major Changes
+
+- [#3570](https://github.com/adobe/spectrum-css/pull/3570) [`c88fcdc`](https://github.com/adobe/spectrum-css/commit/c88fcdcfa4866f4b3ff7a1027e4253b8f2114351) Thanks [@aramos-adobe](https://github.com/aramos-adobe)!
+
+#### Link S2 migration
+
+ The link component is updated with S2 specifications, colors, and typography. There is a new inline variant which uses the `.spectrum-Link--inline` modifier class and the default is the standalone variant.
+
+ ##### Note
+
+ - Quiet styling does not apply to the inline variant so that it is distinguishable from the surrounding text and the underline indicator is clear
+ - `--mod-spectrum-link-font-weight` can be used to adjust inline variant to match surrounding text. Apply font weights to this mod `inherit` does not apply.
+
+ #### New tokens
+
+ ##### Color
+
+ `spectrum-link-focus-indicator-color`
+ `spectrum-link-focus-indicator-thickness`
+ `spectrum-link-focus-indicator-gap`
+ `spectrum-link-corner-radius`
+
+ ##### Typography
+
+ `spectrum-link-line-height`
+ `spectrum-link-line-height-cjk-100`
+ `spectrum-link-font-size`
+ `spectrum-link-font-style`
+ `spectrum-link-font-weight`
+ `spectrum-link-text-underline-thickness`
+ `spectrum-link-text-underline-gap`
+
## 7.1.0
### Minor Changes
diff --git a/components/link/dist/metadata.json b/components/link/dist/metadata.json
index 9befaceefc4..5bebb76f6d0 100644
--- a/components/link/dist/metadata.json
+++ b/components/link/dist/metadata.json
@@ -2,6 +2,7 @@
"sourceFile": "index.css",
"selectors": [
".spectrum-Link",
+ ".spectrum-Link--inline",
".spectrum-Link--quiet",
".spectrum-Link--quiet:hover",
".spectrum-Link--secondary",
@@ -9,26 +10,41 @@
".spectrum-Link--staticWhite",
".spectrum-Link:active",
".spectrum-Link:focus-visible",
- ".spectrum-Link:hover"
+ ".spectrum-Link:hover",
+ ".spectrum-Link:lang(ja)",
+ ".spectrum-Link:lang(ko)",
+ ".spectrum-Link:lang(zh)"
],
"modifiers": [
"--mod-link-animation-duration",
+ "--mod-link-inline-font-weight",
+ "--mod-link-line-height-cjk",
"--mod-link-text-color",
"--mod-link-text-color-active",
"--mod-link-text-color-black",
"--mod-link-text-color-focus",
"--mod-link-text-color-hover",
- "--mod-link-text-color-primary-active",
- "--mod-link-text-color-primary-default",
- "--mod-link-text-color-primary-focus",
- "--mod-link-text-color-primary-hover",
"--mod-link-text-color-secondary-active",
"--mod-link-text-color-secondary-default",
"--mod-link-text-color-secondary-focus",
"--mod-link-text-color-secondary-hover",
"--mod-link-text-color-white"
],
- "component": [],
+ "component": [
+ "--spectrum-link-corner-radius",
+ "--spectrum-link-default-font-family",
+ "--spectrum-link-focus-indicator-color",
+ "--spectrum-link-focus-indicator-gap",
+ "--spectrum-link-focus-indicator-thickness",
+ "--spectrum-link-font-size",
+ "--spectrum-link-font-style",
+ "--spectrum-link-font-weight",
+ "--spectrum-link-inline-font-weight",
+ "--spectrum-link-line-height",
+ "--spectrum-link-line-height-cjk",
+ "--spectrum-link-text-underline-gap",
+ "--spectrum-link-text-underline-thickness"
+ ],
"global": [
"--spectrum-accent-content-color-default",
"--spectrum-accent-content-color-down",
@@ -36,13 +52,28 @@
"--spectrum-accent-content-color-key-focus",
"--spectrum-animation-duration-100",
"--spectrum-black",
+ "--spectrum-cjk-line-height-100",
+ "--spectrum-corner-radius-100",
+ "--spectrum-default-font-style",
+ "--spectrum-focus-indicator-color",
+ "--spectrum-focus-indicator-gap",
+ "--spectrum-focus-indicator-thickness",
+ "--spectrum-font-size-100",
+ "--spectrum-line-height-100",
+ "--spectrum-medium-font-weight",
"--spectrum-neutral-content-color-default",
"--spectrum-neutral-content-color-down",
"--spectrum-neutral-content-color-hover",
"--spectrum-neutral-content-color-key-focus",
+ "--spectrum-regular-font-weight",
+ "--spectrum-sans-font-family-stack",
+ "--spectrum-text-underline-gap",
+ "--spectrum-text-underline-thickness",
"--spectrum-white"
],
- "system-theme": [],
"passthroughs": [],
- "high-contrast": ["--highcontrast-link-text-color"]
+ "high-contrast": [
+ "--highcontrast-link-focus-indicator-color",
+ "--highcontrast-link-text-color"
+ ]
}
diff --git a/components/link/index.css b/components/link/index.css
index 97a5f291228..0cd89349e43 100644
--- a/components/link/index.css
+++ b/components/link/index.css
@@ -11,21 +11,28 @@
* governing permissions and limitations under the License.
*/
-/* Windows high contrast mode */
-@media (forced-colors: active) {
- .spectrum-Link {
- --highcontrast-link-text-color: LinkText;
- }
-}
+.spectrum-Link {
+ /* Focus state */
+ --spectrum-link-focus-indicator-color: var(--spectrum-focus-indicator-color);
+ --spectrum-link-focus-indicator-thickness: var(--spectrum-focus-indicator-thickness);
+ --spectrum-link-focus-indicator-gap: var(--spectrum-focus-indicator-gap);
+ --spectrum-link-corner-radius: var(--spectrum-corner-radius-100);
-.spectrum-Link--secondary {
- --mod-link-text-color: var(--mod-link-text-color-secondary-default, var(--spectrum-neutral-content-color-default));
- --mod-link-text-color-hover: var(--mod-link-text-color-secondary-hover, var(--spectrum-neutral-content-color-hover));
- --mod-link-text-color-active: var(--mod-link-text-color-secondary-active, var(--spectrum-neutral-content-color-down));
- --mod-link-text-color-focus: var(--mod-link-text-color-secondary-focus, var(--spectrum-neutral-content-color-key-focus));
-}
+ /* Typography */
+ --spectrum-link-default-font-family: var(--spectrum-sans-font-family-stack);
+
+ /* Standalone */
+ --spectrum-link-line-height: var(--spectrum-line-height-100);
+ --spectrum-link-line-height-cjk: var(--spectrum-cjk-line-height-100);
+ --spectrum-link-font-size: var(--spectrum-font-size-100);
+ --spectrum-link-font-style: var(--spectrum-default-font-style);
+ --spectrum-link-font-weight: var(--spectrum-medium-font-weight);
+ --spectrum-link-text-underline-thickness: var(--spectrum-text-underline-thickness);
+ --spectrum-link-text-underline-gap: var(--spectrum-text-underline-gap);
+
+ /* Inline */
+ --spectrum-link-inline-font-weight: var(--spectrum-regular-font-weight);
-.spectrum-Link {
/* Remove the gray background on active links in IE 10. */
background-color: transparent;
@@ -36,29 +43,45 @@
outline: none;
cursor: pointer;
- /* @deprecated --mod-link-text-color-primary-default in favor of --mod-link-text-color */
- color: var(--highcontrast-link-text-color, var(--mod-link-text-color, var(--mod-link-text-color-primary-default, var(--spectrum-accent-content-color-default))));
+ color: var(--highcontrast-link-text-color, var(--mod-link-text-color, var(--spectrum-accent-content-color-default)));
+ font-family: var(--spectrum-link-default-font-family);
+ font-weight: var(--spectrum-link-font-weight);
+ font-size: var(--spectrum-link-font-size);
+ font-style: var(--spectrum-link-font-style);
+ line-height: var(--spectrum-link-line-height);
+ text-decoration-thickness: var(--spectrum-link-text-underline-thickness);
+ text-underline-offset: var(--spectrum-link-text-underline-gap);
&:hover {
- /* @deprecated --mod-link-text-color-primary-hover in favor of --mod-link-text-color-hover */
- --mod-link-text-color: var(--mod-link-text-color-hover, var(--mod-link-text-color-primary-hover, var(--spectrum-accent-content-color-hover)));
+ --mod-link-text-color: var(--mod-link-text-color-hover, var(--spectrum-accent-content-color-hover));
}
&:active {
- /* @deprecated --mod-link-text-color-primary-active in favor of --mod-link-text-color-active */
- --mod-link-text-color: var(--mod-link-text-color-active, var(--mod-link-text-color-primary-active, var(--spectrum-accent-content-color-down)));
+ --mod-link-text-color: var(--mod-link-text-color-active, var(--spectrum-accent-content-color-down));
}
&:focus-visible {
- /* @deprecated --mod-link-text-color-primary-focus in favor of --mod-link-text-color-focus */
- --mod-link-text-color: var(--mod-link-text-color-focus, var(--mod-link-text-color-primary-focus, var(--spectrum-accent-content-color-key-focus)));
+ --mod-link-text-color: var(--mod-link-text-color-focus, var(--spectrum-accent-content-color-key-focus));
- text-decoration: underline;
- text-decoration-style: double;
- text-decoration-color: inherit;
+ outline: var(--spectrum-link-focus-indicator-thickness) solid var(--highcontrast-link-focus-indicator-color, var(--spectrum-link-focus-indicator-color));
+ padding: var(--spectrum-link-focus-indicator-gap);
+ border-radius: var(--spectrum-link-corner-radius);
+ }
+
+ &:lang(ja),
+ &:lang(zh),
+ &:lang(ko) {
+ line-height: var(--mod-link-line-height-cjk, var(--spectrum-link-line-height-cjk));
}
}
+.spectrum-Link--secondary {
+ --mod-link-text-color: var(--mod-link-text-color-secondary-default, var(--spectrum-neutral-content-color-default));
+ --mod-link-text-color-hover: var(--mod-link-text-color-secondary-hover, var(--spectrum-neutral-content-color-hover));
+ --mod-link-text-color-active: var(--mod-link-text-color-secondary-active, var(--spectrum-neutral-content-color-down));
+ --mod-link-text-color-focus: var(--mod-link-text-color-secondary-focus, var(--spectrum-neutral-content-color-key-focus));
+}
+
.spectrum-Link--quiet {
text-decoration: none;
@@ -67,6 +90,10 @@
}
}
+.spectrum-Link--inline {
+ --spectrum-link-font-weight: var(--mod-link-inline-font-weight, var(--spectrum-link-inline-font-weight));
+}
+
.spectrum-Link--staticWhite {
--mod-link-text-color: var(--mod-link-text-color-white, var(--spectrum-white));
--mod-link-text-color-hover: var(--mod-link-text-color-white, var(--spectrum-white));
@@ -80,3 +107,11 @@
--mod-link-text-color-active: var(--mod-link-text-color-black, var(--spectrum-black));
--mod-link-text-color-focus: var(--mod-link-text-color-black, var(--spectrum-black));
}
+
+/* Windows high contrast mode */
+@media (forced-colors: active) {
+ .spectrum-Link {
+ --highcontrast-link-text-color: LinkText;
+ --highcontrast-link-focus-indicator-color: LinkText;
+ }
+}
diff --git a/components/link/package.json b/components/link/package.json
index 36e977af7d1..dc42e02731e 100644
--- a/components/link/package.json
+++ b/components/link/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/link",
- "version": "7.1.0",
+ "version": "8.0.0-next.0",
"description": "The Spectrum CSS link component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
"@spectrum-css/tokens": {
diff --git a/components/link/stories/link.stories.js b/components/link/stories/link.stories.js
index 53c71bfacb2..bdb276051ce 100644
--- a/components/link/stories/link.stories.js
+++ b/components/link/stories/link.stories.js
@@ -3,7 +3,7 @@ import { isActive, isFocused, isHovered, isQuiet, staticColor } from "@spectrum-
import metadata from "../dist/metadata.json";
import packageJson from "../package.json";
import { LinkGroup } from "./link.test.js";
-import { TemplateWithFillerText } from "./template.js";
+import { LinkGroupText, MultilineText, TemplateWithFillerText } from "./template.js";
/**
* A link allows users to navigate to a different location. They can be presented in-line inside a paragraph or as standalone text.
@@ -54,8 +54,20 @@ export default {
},
control: "boolean",
},
+ isInline: {
+ name: "Inline",
+ type: { name: "boolean" },
+ table: {
+ type: { summary: "boolean" },
+ category: "Component",
+ },
+ control: "boolean",
+ },
staticColor,
- isQuiet,
+ isQuiet: {
+ ...isQuiet,
+ if: { arg: "isInline", neq: true },
+ },
},
args: {
rootClass: "spectrum-Link",
@@ -65,6 +77,7 @@ export default {
isActive: false,
isFocused: false,
isVisited: false,
+ isInline: false,
},
parameters: {
actions: {
@@ -76,7 +89,7 @@ export default {
},
packageJson,
metadata,
- },
+ }
};
export const Default = LinkGroup.bind({});
@@ -88,106 +101,83 @@ Default.tags = ["!autodocs"];
// ********* DOCS ONLY ********* //
/**
- * The primary link is the default variant and is blue. This should be used to call attention to the link and for when the blue color won’t feel too overwhelming in the experience.
+ * The standalone link is the default variant with the primary style which appears blue. This should be used to call attention to the link and for when the blue color won’t feel too overwhelming in the experience.
+ * All links can have a quiet style, without an underline. This style should only be used when the placement and context of the link is explicit enough that a visible underline isn’t necessary.
*/
-export const Primary = TemplateWithFillerText.bind({});
-Primary.args = {
- ...Default.args,
- text: "link using spectrum-Link"
-};
+export const Primary = LinkGroupText.bind({});
+Primary.args = {};
Primary.tags = ["!dev"];
Primary.parameters = {
chromatic: { disableSnapshot: true },
};
+Primary.storyName = "Standalone, primary";
/**
* The secondary variant is the same gray color as the paragraph text. Its subdued appearance is optimal for when the primary variant is too overwhelming, such as in blocks of text with several references linked throughout.
+ * Link is using the class `spectrum-Link--secondary`.
*/
-export const Secondary = TemplateWithFillerText.bind({});
+export const Secondary = LinkGroupText.bind({});
Secondary.args = {
variant: "secondary",
- text: "link using spectrum-Link--secondary",
};
Secondary.parameters = {
chromatic: { disableSnapshot: true },
};
Secondary.tags = ["!dev"];
-
-/**
- * All links can have a quiet style, without an underline. This style should only be used when the placement and context of the link is explicit enough that a visible underline isn’t necessary.
- */
-export const QuietPrimary = TemplateWithFillerText.bind({});
-QuietPrimary.storyName = "Primary (quiet)";
-QuietPrimary.args = {
- isQuiet: true,
- text: "link using spectrum-Link--quiet",
-};
-QuietPrimary.parameters = {
- chromatic: { disableSnapshot: true },
-};
-QuietPrimary.tags = ["!dev"];
-
-export const QuietSecondary = TemplateWithFillerText.bind({});
-QuietSecondary.storyName = "Secondary (quiet)";
-QuietSecondary.args = {
- isQuiet: true,
- variant: "secondary",
- text: "link using spectrum-Link--quiet and spectrum-Link--secondary",
-};
-QuietSecondary.parameters = {
- chromatic: { disableSnapshot: true },
-};
-QuietSecondary.tags = ["!dev"];
+Secondary.storyName = "Standalone, secondary";
/**
* Use static white on dark color or image backgrounds, regardless of color theme. Make sure that the background and the link color meet the minimum color contrast ratio.
+ * Link is using the class `spectrum-Link--staticWhite`.
*/
-export const StaticWhite = Default.bind({});
+export const StaticWhite = LinkGroupText.bind({});
StaticWhite.storyName = "Static white";
StaticWhite.args = {
staticColor: "white",
- text: "Link using spectrum-Link--staticWhite",
};
StaticWhite.tags = ["!dev"];
StaticWhite.parameters = {
chromatic: { disableSnapshot: true },
};
+StaticWhite.storyName = "Standalone, static white";
/**
* Use static black on light color or image backgrounds, regardless of color theme. Make sure that the background and the link color meet the minimum color contrast ratio.
+ * Link using is the class `spectrum-Link--staticBlack`.
*/
-export const StaticBlack = Default.bind({});
+export const StaticBlack = LinkGroupText.bind({});
StaticBlack.storyName = "Static black";
StaticBlack.args = {
staticColor: "black",
- text: "Link using spectrum-Link--staticBlack",
};
StaticBlack.tags = ["!dev"];
StaticBlack.parameters = {
chromatic: { disableSnapshot: true },
};
+StaticBlack.storyName = "Standalone, static black";
-export const QuietStaticWhite = Default.bind({});
-QuietStaticWhite.storyName = "Static white (quiet)";
-QuietStaticWhite.args = {
- isQuiet: true,
- staticColor: "white",
- text: "Link using spectrum-Link--staticWhite and spectrum-Link--quiet",
-};
-QuietStaticWhite.tags = ["!dev"];
-QuietStaticWhite.parameters = {
+/**
+ * The focus ring wraps when the link component breaks on multiple rows.
+ */
+export const Multiline = MultilineText.bind({});
+Multiline.args = {};
+Multiline.tags = ["!dev"];
+Multiline.parameters = {
chromatic: { disableSnapshot: true },
};
+Multiline.storyName = "Multiline, focused";
-export const QuietStaticBlack = Default.bind({});
-QuietStaticBlack.storyName = "Static black (quiet)";
-QuietStaticBlack.args = {
- isQuiet: true,
- staticColor: "black",
- text: "Link using spectrum-Link--staticBlack and spectrum-Link--quiet",
+/**
+ * Inline links are used within a paragraph of text. They are styled differently from standalone links in which the font weight is lighter and can be adjusted to match the paragraph text.
+ * Inline links do not have a quiet variant style so that it is distinguishable from the surrounding text and the underline indicator is clear.
+ */
+export const Inline = TemplateWithFillerText.bind({});
+Inline.args = {
+ isInline: true,
+ text: "Inline link",
};
-QuietStaticBlack.tags = ["!dev"];
-QuietStaticBlack.parameters = {
+Inline.tags = ["!dev"];
+Inline.parameters = {
chromatic: { disableSnapshot: true },
};
diff --git a/components/link/stories/link.test.js b/components/link/stories/link.test.js
index 04b33e7abe7..3fdfa9576fe 100644
--- a/components/link/stories/link.test.js
+++ b/components/link/stories/link.test.js
@@ -11,6 +11,15 @@ export const LinkGroup = Variants({
testHeading: "Secondary",
variant: "secondary",
},
+ {
+ testHeading: "Inline",
+ isInline: true,
+ },
+ {
+ testHeading: "Inline - secondary",
+ isInline: true,
+ variant: "secondary",
+ },
{
testHeading: "Quiet",
isQuiet: true,
@@ -47,7 +56,7 @@ export const LinkGroup = Variants({
testHeading: "Static white - quiet",
staticColor: "white",
isQuiet: true,
- },
+ }
],
stateData: [
{
diff --git a/components/link/stories/template.js b/components/link/stories/template.js
index a4faba05967..798f0da7323 100644
--- a/components/link/stories/template.js
+++ b/components/link/stories/template.js
@@ -1,4 +1,4 @@
-import { getRandomId } from "@spectrum-css/preview/decorators";
+import { Container, getRandomId } from "@spectrum-css/preview/decorators";
import { html } from "lit";
import { classMap } from "lit/directives/class-map.js";
import { ifDefined } from "lit/directives/if-defined.js";
@@ -17,6 +17,7 @@ export const Template = ({
isActive = false,
isFocused = false,
isVisited = false,
+ isInline = false,
id = getRandomId("link"),
customClasses = [],
} = {}) => {
@@ -25,6 +26,7 @@ export const Template = ({
class=${classMap({
[rootClass]: true,
[`${rootClass}--quiet`]: isQuiet,
+ [`${rootClass}--inline`]: isInline,
[`${rootClass}--${variant}`]: typeof variant !== "undefined",
[`${rootClass}--static${capitalize(staticColor)}`]:
typeof staticColor !== "undefined",
@@ -43,9 +45,48 @@ export const Template = ({
};
export const TemplateWithFillerText = (args, context) => html`
-
+
Hello, this is a
${Template(args, context)}
. This is just filler text, but if you keep reading maybe something good will happen.
-
+
`;
+
+export const MultilineText = (args, context) => html`
+
+ I like focus styles. They are very important for accessibility. They help users know where they are on the page.
+ ${Template({
+ ...args,
+ text: "This is a link that spans multiple lines",
+ isFocused: true,
+ isInline: true,
+ }, context)}
+ They are also very pretty.
+
+`;
+
+export const LinkGroupText = (args, context) => Container({
+ withBorder: false,
+ direction: "row",
+ content: [
+ Container({
+ withBorder: false,
+ direction: "column",
+ heading: "Default",
+ content: Template({
+ ...args,
+ text: "Learn more",
+ }, context)
+ }, context),
+ Container({
+ withBorder: false,
+ direction: "column",
+ heading: "Quiet",
+ content: Template({
+ ...args,
+ text: "Learn more",
+ isQuiet: true,
+ }, context)
+ }, context)
+ ],
+}, context);
diff --git a/components/logicbutton/dist/metadata.json b/components/logicbutton/dist/metadata.json
index 6adfbf58b24..195d8c87082 100644
--- a/components/logicbutton/dist/metadata.json
+++ b/components/logicbutton/dist/metadata.json
@@ -15,9 +15,7 @@
".spectrum-LogicButton:focus-visible:after"
],
"modifiers": [
- "--mod-animation-duration-100",
"--mod-focus-indicator-gap",
- "--mod-line-height-100",
"--mod-logic-button-and-background-color",
"--mod-logic-button-and-background-color-disabled",
"--mod-logic-button-and-background-color-hover",
@@ -46,8 +44,7 @@
"--mod-logic-button-or-border-color-hover-disabled",
"--mod-logic-button-or-text-color",
"--mod-logic-button-or-text-color-disabled",
- "--mod-logic-button-padding",
- "--mod-sans-font-family-stack"
+ "--mod-logic-button-padding"
],
"component": [
"--spectrum-logic-button-and-background-color",
@@ -88,16 +85,6 @@
"--spectrum-sans-font-family-stack",
"--spectrum-white"
],
- "system-theme": [
- "--system-logic-button-and-background-color-disabled",
- "--system-logic-button-and-background-color-hover-disabled",
- "--system-logic-button-and-border-color-disabled",
- "--system-logic-button-and-border-color-hover-disabled",
- "--system-logic-button-or-background-color-disabled",
- "--system-logic-button-or-background-color-hover-disabled",
- "--system-logic-button-or-border-color-disabled",
- "--system-logic-button-or-border-color-hover-disabled"
- ],
"passthroughs": [
"--mod-button-animation-duration",
"--mod-button-focus-indicator-gap",
diff --git a/components/logicbutton/index.css b/components/logicbutton/index.css
index 4429907705b..8e1c2658fbf 100644
--- a/components/logicbutton/index.css
+++ b/components/logicbutton/index.css
@@ -12,9 +12,18 @@
*/
@import "@spectrum-css/commons/basebutton.css";
-@import "./themes/spectrum-two.css";
.spectrum-LogicButton {
+ --spectrum-logic-button-and-background-color-disabled: var(--spectrum-gray-100);
+ --spectrum-logic-button-and-border-color-disabled: var(--spectrum-gray-100);
+ --spectrum-logic-button-and-background-color-hover-disabled: var(--spectrum-gray-100);
+ --spectrum-logic-button-and-border-color-hover-disabled: var(--spectrum-gray-100);
+
+ --spectrum-logic-button-or-background-color-disabled: var(--spectrum-gray-100);
+ --spectrum-logic-button-or-border-color-disabled: var(--spectrum-gray-100);
+ --spectrum-logic-button-or-background-color-hover-disabled: var(--spectrum-gray-100);
+ --spectrum-logic-button-or-border-color-hover-disabled: var(--spectrum-gray-100);
+
--spectrum-logic-button-border-radius: var(--spectrum-corner-radius-100);
--spectrum-logic-button-and-text-color: var(--spectrum-white);
diff --git a/components/logicbutton/package.json b/components/logicbutton/package.json
index 5e2ea7ecab3..74fccd39c5d 100644
--- a/components/logicbutton/package.json
+++ b/components/logicbutton/package.json
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
"@spectrum-css/tokens": {
diff --git a/components/logicbutton/stories/template.js b/components/logicbutton/stories/template.js
index 5b0730616ef..02f5b3aa028 100644
--- a/components/logicbutton/stories/template.js
+++ b/components/logicbutton/stories/template.js
@@ -2,9 +2,6 @@ import { html } from "lit";
import { classMap } from "lit/directives/class-map.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-LogicButton",
diff --git a/components/logicbutton/themes/express.css b/components/logicbutton/themes/express.css
deleted file mode 100644
index 9fd550418f2..00000000000
--- a/components/logicbutton/themes/express.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
diff --git a/components/logicbutton/themes/spectrum-two.css b/components/logicbutton/themes/spectrum-two.css
deleted file mode 100644
index c0bd0d1b3fb..00000000000
--- a/components/logicbutton/themes/spectrum-two.css
+++ /dev/null
@@ -1,26 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-LogicButton {
- --spectrum-logic-button-and-background-color-disabled: var(--spectrum-gray-100);
- --spectrum-logic-button-and-border-color-disabled: var(--spectrum-gray-100);
- --spectrum-logic-button-and-background-color-hover-disabled: var(--spectrum-gray-100);
- --spectrum-logic-button-and-border-color-hover-disabled: var(--spectrum-gray-100);
-
- --spectrum-logic-button-or-background-color-disabled: var(--spectrum-gray-100);
- --spectrum-logic-button-or-border-color-disabled: var(--spectrum-gray-100);
- --spectrum-logic-button-or-background-color-hover-disabled: var(--spectrum-gray-100);
- --spectrum-logic-button-or-border-color-hover-disabled: var(--spectrum-gray-100);
- }
-}
diff --git a/components/logicbutton/themes/spectrum.css b/components/logicbutton/themes/spectrum.css
deleted file mode 100644
index 4aa43a01048..00000000000
--- a/components/logicbutton/themes/spectrum.css
+++ /dev/null
@@ -1,30 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-LogicButton {
- --spectrum-logic-button-and-background-color-disabled: var(--spectrum-gray-200);
- --spectrum-logic-button-and-border-color-disabled: var(--spectrum-gray-200);
- --spectrum-logic-button-and-background-color-hover-disabled: var(--spectrum-gray-200);
- --spectrum-logic-button-and-border-color-hover-disabled: var(--spectrum-gray-200);
-
- --spectrum-logic-button-or-background-color-disabled: var(--spectrum-gray-200);
- --spectrum-logic-button-or-border-color-disabled: var(--spectrum-gray-200);
- --spectrum-logic-button-or-background-color-hover-disabled: var(--spectrum-gray-200);
- --spectrum-logic-button-or-border-color-hover-disabled: var(--spectrum-gray-200);
- }
-}
diff --git a/components/menu/CHANGELOG.md b/components/menu/CHANGELOG.md
index 45b0fc0ac47..60a328b3f84 100644
--- a/components/menu/CHANGELOG.md
+++ b/components/menu/CHANGELOG.md
@@ -1,10 +1,20 @@
# Change log
-## 9.2.0
+## 10.0.0-next.1
-### Minor Changes
+### Patch Changes
+
+- Updated dependencies [[`c6836fb`](https://github.com/adobe/spectrum-css/commit/c6836fb132effcfb09e4ca6d0d8923564bfe2914)]:
+ - @spectrum-css/divider@6.0.0-next.0
+
+## 10.0.0-next.0
+
+### Patch Changes
-- [#3527](https://github.com/adobe/spectrum-css/pull/3527) [`5f1751c`](https://github.com/adobe/spectrum-css/commit/5f1751c82a5fe55ae0d999f5f50cfeca4c8a5c75) Thanks [@castastrophe](https://github.com/castastrophe)! - By updating the postcss-preset-env to the latest breaking change version, output for this component no longer injects the `.js-focus-within` and '[focus-within]` selectors for the focus-within polyfill. As this feature is not used in the SWC consumption, risk to the end user for this removal is low.
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+ - @spectrum-css/checkbox@11.0.0-next.0
+ - @spectrum-css/tray@6.0.0-next.0
## 10.0.0
@@ -12,7 +22,7 @@
📝 [`205182b`](https://github.com/adobe/spectrum-css/commit/205182bebcbe82813457aa098d8799b0a23423ee) Thanks [@castastrophe](https://github.com/castastrophe)!
-## New feature
+### New feature
Minified and gzipped outputs available for all compiled CSS assets.
@@ -32,6 +42,14 @@ Minified and gzipped outputs available for all compiled CSS assets.
- @spectrum-css/tray@6.0.0
- @spectrum-css/tokens@16.0.1
+## 9.2.0
+
+### Minor Changes
+
+📝 [#3527](https://github.com/adobe/spectrum-css/pull/3527) [`5f1751c`](https://github.com/adobe/spectrum-css/commit/5f1751c82a5fe55ae0d999f5f50cfeca4c8a5c75) Thanks [@castastrophe](https://github.com/castastrophe)!
+
+By updating the postcss-preset-env to the latest breaking change version, output for this component no longer injects the `.js-focus-within` and '[focus-within]` selectors for the focus-within polyfill. As this feature is not used in the SWC consumption, risk to the end user for this removal is low.
+
## 9.1.1
### Patch Changes
diff --git a/components/menu/dist/metadata.json b/components/menu/dist/metadata.json
index 5142e09aa66..3b4f63996b8 100644
--- a/components/menu/dist/metadata.json
+++ b/components/menu/dist/metadata.json
@@ -378,16 +378,6 @@
"--spectrum-workflow-icon-size-300",
"--spectrum-workflow-icon-size-75"
],
- "system-theme": [
- "--system-menu-item-background-color-down",
- "--system-menu-item-background-color-hover",
- "--system-menu-item-background-color-key-focus",
- "--system-menu-item-corner-radius",
- "--system-menu-item-focus-indicator-offset",
- "--system-menu-item-focus-indicator-outline-style",
- "--system-menu-item-focus-indicator-shadow",
- "--system-menu-item-spacing-multiplier"
- ],
"passthroughs": [
"--mod-checkbox-text-to-control",
"--mod-checkbox-top-to-text",
diff --git a/components/menu/index.css b/components/menu/index.css
index 3d48ce76499..c6519dd47d6 100644
--- a/components/menu/index.css
+++ b/components/menu/index.css
@@ -11,8 +11,6 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
@media (forced-colors: active) {
.spectrum-Menu {
--highcontrast-menu-item-background-color-default: ButtonFace;
@@ -81,6 +79,18 @@
}
.spectrum-Menu {
+ --spectrum-menu-item-background-color-hover: rgba(var(--spectrum-gray-1000-rgb), var(--spectrum-transparent-black-200-opacity));
+ --spectrum-menu-item-background-color-down: rgba(var(--spectrum-gray-1000-rgb), var(--spectrum-transparent-black-200-opacity));
+ --spectrum-menu-item-background-color-key-focus: rgba(var(--spectrum-gray-1000-rgb), var(--spectrum-transparent-black-200-opacity));
+
+ --spectrum-menu-item-corner-radius: var(--spectrum-corner-radius-100);
+
+ /* Focus state styling */
+ --spectrum-menu-item-focus-indicator-shadow: none;
+ --spectrum-menu-item-focus-indicator-offset: var(--spectrum-spacing-50);
+ --spectrum-menu-item-spacing-multiplier: 1;
+ --spectrum-menu-item-focus-indicator-outline-style: solid;
+
--spectrum-menu-item-top-to-action: var(--spectrum-spacing-50);
--spectrum-menu-item-top-to-checkbox: var(--spectrum-spacing-50);
@@ -415,8 +425,10 @@
grid-template-rows: 1fr auto;
.spectrum-Menu-itemCheckbox {
+ /* @passthrough start */
--mod-checkbox-top-to-text: 0;
--mod-checkbox-text-to-control: 0;
+ /* @passthrough end */
min-block-size: 0;
diff --git a/components/menu/package.json b/components/menu/package.json
index d93b56a6ad5..fd3dba7b72c 100644
--- a/components/menu/package.json
+++ b/components/menu/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/menu",
- "version": "9.2.0",
+ "version": "10.0.0-next.1",
"description": "The Spectrum CSS menu component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,12 +25,12 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/checkbox": ">=10.0.0 <11.0.0",
- "@spectrum-css/divider": ">=5.0.0 <6.0.0",
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
+ "@spectrum-css/checkbox": ">=11.0.0-next.0",
+ "@spectrum-css/divider": ">=6.0.0-next.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
"@spectrum-css/switch": ">=6.0.0 <7.0.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0",
- "@spectrum-css/tray": ">=5.0.0 <6.0.0"
+ "@spectrum-css/tray": ">=6.0.0-next.0"
},
"peerDependenciesMeta": {
"@spectrum-css/checkbox": {
@@ -53,12 +53,12 @@
}
},
"devDependencies": {
- "@spectrum-css/checkbox": "10.1.2",
- "@spectrum-css/divider": "5.1.0",
- "@spectrum-css/icon": "9.1.0",
+ "@spectrum-css/checkbox": "11.0.0-next.0",
+ "@spectrum-css/divider": "6.0.0-next.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
"@spectrum-css/switch": "6.1.0",
"@spectrum-css/tokens": "16.0.1",
- "@spectrum-css/tray": "5.1.0"
+ "@spectrum-css/tray": "6.0.0-next.2"
},
"keywords": [
"design-system",
diff --git a/components/menu/stories/template.js b/components/menu/stories/template.js
index c50482cb696..98b765fc520 100644
--- a/components/menu/stories/template.js
+++ b/components/menu/stories/template.js
@@ -13,25 +13,6 @@ import { styleMap } from "lit/directives/style-map.js";
import { when } from "lit/directives/when.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
-
-/**
- * Get the tray submenu back arrow name with scale number (defined in design spec).
- */
-const iconWithScale = (size = "m", iconName = "ArrowLeft") => {
- switch (size) {
- case "s":
- return `${iconName}200`;
- case "l":
- return `${iconName}400`;
- case "xl":
- return `${iconName}500`;
- default:
- return `${iconName}300`;
- }
-};
export const MenuItem = (
{
@@ -87,10 +68,7 @@ export const MenuItem = (
${when(isCollapsible || (selectionMode == "single" && isSelected), () =>
Icon(
{
- iconName: iconWithScale(
- size,
- isCollapsible ? "ChevronRight" : "Checkmark",
- ),
+ iconName: isCollapsible ? "ChevronRight" : "Checkmark",
setName: "ui",
useRef: false,
size,
@@ -199,7 +177,7 @@ export const MenuItem = (
${when(isDrillIn, () =>
Icon(
{
- iconName: iconWithScale(size, "ChevronRight"),
+ iconName: "ChevronRight",
setName: "ui",
useRef: false,
size,
@@ -269,7 +247,12 @@ export const MenuGroup = (
>
${Icon(
{
- iconName: iconWithScale(size),
+ iconName: "ArrowRight" + ({
+ s: "100",
+ m: "100",
+ l: "400",
+ xl: "400",
+ }[size] || "100"),
setName: "ui",
size,
customClasses: ["spectrum-Menu-backIcon"],
@@ -476,7 +459,7 @@ export const DisabledItemGroup = (args, context) => {
context,
shouldTruncate: group.shouldTruncate || false,
items: group.items,
- })}
+ }, context)}
`
}, context)}
`)
@@ -585,11 +568,11 @@ export const OverflowGroup = (args, context) => {
context,
shouldTruncate: group.shouldTruncate || false,
items: group.items,
- })}
+ }, context)}
`
- })}
+ }, context)}
`)
- });
+ }, context);
};
export const SelectionGroup = (args, context) => {
@@ -703,12 +686,12 @@ export const SelectionGroup = (args, context) => {
selectionMode: group.selectionMode || "none",
hasActions: group.hasActions || false,
items: group.items,
- })
+ }, context)
}, context))
});
};
-export const SubmenuInPopover = (context) => Popover({
+export const SubmenuInPopover = (args, context) => Popover({
isOpen: true,
position: "end-top",
customStyles: {
@@ -720,7 +703,8 @@ export const SubmenuInPopover = (context) => Popover({
...args,
}, context),
content: [
- (args, context) => Template({
+ Template({
+ ...args,
items: [
{
label: "Language",
@@ -735,9 +719,8 @@ export const SubmenuInPopover = (context) => Popover({
label: "Show grid",
}
],
- ...args
}, context),
- (args, context) => Popover({
+ Popover({
isOpen: true,
position: "end-top",
customStyles: {
@@ -745,7 +728,8 @@ export const SubmenuInPopover = (context) => Popover({
"inline-size": "120px",
},
content: [
- (args, context) => Template({
+ Template({
+ ...args,
selectionMode: "single",
items: [
{
@@ -768,10 +752,8 @@ export const SubmenuInPopover = (context) => Popover({
label: "日本語",
}
],
- ...args,
}, context)
],
- ...args,
}, context)
],
}, context);
diff --git a/components/menu/themes/express.css b/components/menu/themes/express.css
deleted file mode 100644
index 9fd550418f2..00000000000
--- a/components/menu/themes/express.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
diff --git a/components/menu/themes/spectrum-two.css b/components/menu/themes/spectrum-two.css
deleted file mode 100644
index 11951a42550..00000000000
--- a/components/menu/themes/spectrum-two.css
+++ /dev/null
@@ -1,28 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-Menu {
- --spectrum-menu-item-background-color-hover: rgba(var(--spectrum-gray-1000-rgb), var(--spectrum-transparent-black-200-opacity));
- --spectrum-menu-item-background-color-down: rgba(var(--spectrum-gray-1000-rgb), var(--spectrum-transparent-black-200-opacity));
- --spectrum-menu-item-background-color-key-focus: rgba(var(--spectrum-gray-1000-rgb), var(--spectrum-transparent-black-200-opacity));
-
- --spectrum-menu-item-corner-radius: var(--spectrum-corner-radius-100);
-
- /* Focus state styling */
- --spectrum-menu-item-focus-indicator-shadow: none;
- --spectrum-menu-item-focus-indicator-offset: var(--spectrum-spacing-50);
- --spectrum-menu-item-spacing-multiplier: 1;
- --spectrum-menu-item-focus-indicator-outline-style: solid;
- }
-}
diff --git a/components/menu/themes/spectrum.css b/components/menu/themes/spectrum.css
deleted file mode 100644
index 0836ce0774f..00000000000
--- a/components/menu/themes/spectrum.css
+++ /dev/null
@@ -1,32 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-Menu {
- --spectrum-menu-item-background-color-hover: rgba(var(--spectrum-gray-900-rgb), var(--spectrum-transparent-black-200-opacity));
- --spectrum-menu-item-background-color-down: rgba(var(--spectrum-gray-900-rgb), var(--spectrum-transparent-black-200-opacity));
- --spectrum-menu-item-background-color-key-focus: rgba(var(--spectrum-gray-900-rgb), var(--spectrum-transparent-black-200-opacity));
-
- --spectrum-menu-item-corner-radius: 0;
-
- /* Focus state styling */
- --spectrum-menu-item-focus-indicator-shadow: inset;
- --spectrum-menu-item-focus-indicator-offset: 0;
- --spectrum-menu-item-spacing-multiplier: 0;
- --spectrum-menu-item-focus-indicator-outline-style: none;
- }
-}
diff --git a/components/meter/CHANGELOG.md b/components/meter/CHANGELOG.md
index 312da9fb01b..b394a2aff6d 100644
--- a/components/meter/CHANGELOG.md
+++ b/components/meter/CHANGELOG.md
@@ -1,5 +1,12 @@
# Change Log
+## 2.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @spectrum-css/progressbar@7.0.0-next.0
+
## 1.1.0
### Minor Changes
diff --git a/components/meter/dist/metadata.json b/components/meter/dist/metadata.json
index 9bfe3424ce7..12d5893d69d 100644
--- a/components/meter/dist/metadata.json
+++ b/components/meter/dist/metadata.json
@@ -5,8 +5,7 @@
".spectrum-Meter.is-negative",
".spectrum-Meter.is-notice",
".spectrum-Meter.is-positive",
- ".spectrum-Meter.spectrum-Meter--sizeL",
- ".spectrum-Meter.spectrum-Meter--sizeS"
+ ".spectrum-Meter.spectrum-Meter--sizeL"
],
"modifiers": [
"--mod-meter-inline-size",
@@ -27,9 +26,9 @@
"--spectrum-font-size-75",
"--spectrum-negative-visual-color",
"--spectrum-notice-visual-color",
- "--spectrum-positive-visual-color"
+ "--spectrum-positive-visual-color",
+ "--spectrum-progressbar-size-2500"
],
- "system-theme": [],
"passthroughs": [
"--mod-progressbar-fill-color",
"--mod-progressbar-font-size",
diff --git a/components/meter/index.css b/components/meter/index.css
index b51a393aa73..2db081b1e9d 100644
--- a/components/meter/index.css
+++ b/components/meter/index.css
@@ -17,14 +17,12 @@
--mod-progressbar-max-size: var(--mod-meter-max-width, var(--spectrum-meter-maximum-width));
--mod-progressbar-min-size: var(--mod-meter-min-width, var(--spectrum-meter-minimum-width));
- &,
- &.spectrum-Meter--sizeS {
- --mod-progressbar-thickness: var(--spectrum-meter-thickness-small);
- --mod-progressbar-font-size: var(--spectrum-font-size-75);
- --mod-progressbar-spacing-top-to-text: var(--spectrum-component-top-to-text-75);
- }
+ --mod-progressbar-thickness: var(--spectrum-meter-thickness-small);
+ --mod-progressbar-font-size: var(--spectrum-font-size-75);
+ --mod-progressbar-spacing-top-to-text: var(--spectrum-component-top-to-text-75);
&.spectrum-Meter--sizeL {
+ --mod-progressbar-size-default: var(--mod-meter-inline-size, var(--spectrum-progressbar-size-2500));
--mod-progressbar-thickness: var(--spectrum-meter-thickness-large);
--mod-progressbar-font-size: var(--spectrum-font-size-100);
--mod-progressbar-spacing-top-to-text: var(--spectrum-component-top-to-text-200);
diff --git a/components/meter/package.json b/components/meter/package.json
index a99280d1626..eed64636b35 100644
--- a/components/meter/package.json
+++ b/components/meter/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/meter",
- "version": "1.1.0",
+ "version": "2.0.0-next.0",
"description": "The Spectrum CSS meter component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/progressbar": ">=6.0.0 <7.0.0",
+ "@spectrum-css/progressbar": ">=7.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -37,7 +37,7 @@
}
},
"devDependencies": {
- "@spectrum-css/progressbar": "6.1.0",
+ "@spectrum-css/progressbar": "7.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/meter/stories/meter.stories.js b/components/meter/stories/meter.stories.js
index 15603bc9d7c..cbb31433a4b 100644
--- a/components/meter/stories/meter.stories.js
+++ b/components/meter/stories/meter.stories.js
@@ -48,6 +48,7 @@ export default {
packageJson,
metadata,
},
+ tags: ["migrated"],
};
/**
diff --git a/components/miller/CHANGELOG.md b/components/miller/CHANGELOG.md
index 2e843968bc0..7900d37ed8a 100644
--- a/components/miller/CHANGELOG.md
+++ b/components/miller/CHANGELOG.md
@@ -1,5 +1,14 @@
# Change log
+## 9.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+ - @spectrum-css/assetlist@9.0.0-next.0
+ - @spectrum-css/checkbox@11.0.0-next.0
+
## 8.1.0
### Minor Changes
@@ -201,6 +210,7 @@ Output for all component CSS files is now being run through a lightweight optimi
### 🛑 BREAKING CHANGE
- Removes component-builder & component-builder-simple for script leveraging postcss
+
- Imports added to index.css and themes/express.css
## 5.1.4
diff --git a/components/miller/dist/metadata.json b/components/miller/dist/metadata.json
index adb2109144c..fbb3770d558 100644
--- a/components/miller/dist/metadata.json
+++ b/components/miller/dist/metadata.json
@@ -13,7 +13,6 @@
],
"component": [],
"global": ["--spectrum-spacing-100"],
- "system-theme": [],
"passthroughs": [],
"high-contrast": []
}
diff --git a/components/miller/package.json b/components/miller/package.json
index de87a481455..635cda00a2b 100644
--- a/components/miller/package.json
+++ b/components/miller/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/miller",
- "version": "8.1.0",
+ "version": "9.0.0-next.0",
"description": "The Spectrum CSS miller component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,9 +25,9 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/assetlist": ">=8.0.0 <9.0.0",
- "@spectrum-css/checkbox": ">=10.0.0 <11.0.0",
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
+ "@spectrum-css/assetlist": ">=9.0.0-next.0",
+ "@spectrum-css/checkbox": ">=11.0.0-next.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -45,9 +45,9 @@
}
},
"devDependencies": {
- "@spectrum-css/assetlist": "8.2.0",
- "@spectrum-css/checkbox": "10.1.2",
- "@spectrum-css/icon": "9.1.0",
+ "@spectrum-css/assetlist": "9.0.0-next.0",
+ "@spectrum-css/checkbox": "11.0.0-next.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/modal/CHANGELOG.md b/components/modal/CHANGELOG.md
index 4d31ed47ae8..fb3515d8050 100644
--- a/components/modal/CHANGELOG.md
+++ b/components/modal/CHANGELOG.md
@@ -1,12 +1,20 @@
# Change log
+## 7.1.1-next.0
+
+### Patch Changes
+
+📝 [#3604](https://github.com/adobe/spectrum-css/pull/3604) [`cb1b957`](https://github.com/adobe/spectrum-css/commit/cb1b957c05ecf02d3f473de09a8bfd5f2b5d42bf) Thanks [@marissahuysentruyt](https://github.com/marissahuysentruyt)!
+
+In Spectrum 2, elements that would typically be children of a modal (like dialogs, alert dialogs, and tray) have background-color token specs defined. Because modal _also_ had a defined background color, there was some antialiasing bleed-through happening on the corners, since both the modal and its child now had background colors on top of each other. `--spectrum-modal-background-color` is now redefined as `transparent` to avoid these conflicts in S2. `--mod-modal-background-color` is still available to consumers.
+
## 7.1.0
### Minor Changes
📝 [`205182b`](https://github.com/adobe/spectrum-css/commit/205182bebcbe82813457aa098d8799b0a23423ee) Thanks [@castastrophe](https://github.com/castastrophe)!
-## New feature
+### New feature
Minified and gzipped outputs available for all compiled CSS assets.
diff --git a/components/modal/dist/metadata.json b/components/modal/dist/metadata.json
index 950d9fca3c6..c27c44872d7 100644
--- a/components/modal/dist/metadata.json
+++ b/components/modal/dist/metadata.json
@@ -15,24 +15,26 @@
"--mod-modal-background-color",
"--mod-modal-confirm-border-radius",
"--mod-modal-confirm-entry-animation-delay",
- "--mod-modal-confirm-entry-animation-distance",
"--mod-modal-confirm-entry-animation-duration",
"--mod-modal-confirm-exit-animation-delay",
"--mod-modal-confirm-exit-animation-duration",
"--mod-modal-fullscreen-margin",
"--mod-modal-max-height",
"--mod-modal-max-width",
- "--mod-modal-transition-animation-duration",
- "--mod-overlay-animation-duration",
- "--mod-overlay-animation-duration-opened"
+ "--mod-modal-transition-animation-duration"
],
"component": [
"--spectrum-modal-background-color",
+ "--spectrum-modal-confirm-border-radius",
"--spectrum-modal-confirm-entry-animation-delay",
"--spectrum-modal-confirm-entry-animation-duration",
"--spectrum-modal-confirm-exit-animation-delay",
"--spectrum-modal-confirm-exit-animation-duration",
- "--spectrum-modal-fullscreen-margin"
+ "--spectrum-modal-fullscreen-margin",
+ "--spectrum-modal-max-height",
+ "--spectrum-modal-max-width",
+ "--spectrum-modal-takeover-window-to-edge",
+ "--spectrum-modal-transition-animation-duration"
],
"global": [
"--spectrum-animation-duration-0",
@@ -41,12 +43,10 @@
"--spectrum-animation-duration-500",
"--spectrum-animation-ease-in",
"--spectrum-animation-ease-out",
- "--spectrum-animation-linear",
- "--spectrum-background-layer-2-color",
- "--spectrum-corner-radius-100",
- "--spectrum-dialog-confirm-entry-animation-distance"
+ "--spectrum-corner-radius-extra-large-default",
+ "--spectrum-dialog-confirm-entry-animation-distance",
+ "--spectrum-window-to-edge"
],
- "system-theme": ["--system-modal-background-color"],
"passthroughs": [],
"high-contrast": []
}
diff --git a/components/modal/index.css b/components/modal/index.css
index 8a5e2e9ad95..4dad9fccf32 100644
--- a/components/modal/index.css
+++ b/components/modal/index.css
@@ -11,20 +11,23 @@
* governing permissions and limitations under the License.
*/
-@import "@spectrum-css/commons/overlay.css";
-@import "./themes/spectrum-two.css";
-
.spectrum-Modal {
--spectrum-modal-confirm-entry-animation-duration: var(--mod-modal-confirm-entry-animation-duration, var(--spectrum-animation-duration-500));
- /* @deprecated --mod-overlay-animation-duration-opened in favor of --mod-modal-confirm-entry-animation-delay */
- --spectrum-modal-confirm-entry-animation-delay: var(--mod-overlay-animation-duration-opened, var(--mod-modal-confirm-entry-animation-delay, var(--spectrum-animation-duration-200)));
+ --spectrum-modal-confirm-entry-animation-delay: var(--mod-modal-confirm-entry-animation-delay, var(--spectrum-animation-duration-200));
- /* @deprecated --mod-overlay-animation-duration in favor of --mod-modal-confirm-exit-animation-duration */
- --spectrum-modal-confirm-exit-animation-duration: var(--mod-overlay-animation-duration, var(--mod-modal-confirm-exit-animation-duration, var(--spectrum-animation-duration-100)));
+ --spectrum-modal-confirm-exit-animation-duration: var(--mod-modal-confirm-exit-animation-duration, var(--spectrum-animation-duration-100));
--spectrum-modal-confirm-exit-animation-delay: var(--mod-modal-confirm-exit-animation-delay, var(--spectrum-animation-duration-0));
/* Distance between top and bottom of modal and edge of window for fullscreen modal */
- --spectrum-modal-fullscreen-margin: var(--mod-modal-fullscreen-margin, 32px);
+ --spectrum-modal-fullscreen-margin: var(--spectrum-window-to-edge);
+ --spectrum-modal-takeover-window-to-edge: 0;
+ --spectrum-modal-max-height: 90vh;
+ --spectrum-modal-max-width: 90%;
+
+ --spectrum-modal-background-color: var(--mod-modal-background-color, transparent);
+ --spectrum-modal-confirm-border-radius: var(--mod-modal-confirm-border-radius, var(--spectrum-corner-radius-extra-large-default));
+
+ --spectrum-modal-transition-animation-duration: var(--mod-modal-transition-animation-duration, var(--spectrum-animation-duration-100));
}
/* Used to position the modal */
@@ -46,6 +49,9 @@
* We use the stretch value to counteract this where supported.
*/
block-size: 100vh;
+ /* stylelint-disable-next-line value-no-vendor-prefix */
+ block-size: -moz-available;
+ /* stylelint-disable-next-line value-no-vendor-prefix */
block-size: -webkit-fill-available;
/* autoprefixer: ignore next -- -moz-available providing inconsistent results; want to fall FF back to 100vh */
@@ -60,7 +66,7 @@
z-index: 2;
/* Be invisible by default */
- transition: visibility 0ms linear var(--mod-modal-transition-animation-duration, var(--spectrum-animation-duration-100));
+ transition: visibility 0ms linear var(--spectrum-modal-transition-animation-duration);
&.is-open {
visibility: visible;
@@ -72,17 +78,17 @@
opacity: 0;
/* Start offset by the animation distance -- @note this is using the global dialog token */
- transform: translateY(var(--mod-modal-confirm-entry-animation-distance, var(--spectrum-dialog-confirm-entry-animation-distance)));
+ transform: translateY(var(--spectrum-dialog-confirm-entry-animation-distance));
/* Appear above underlay */
z-index: 2;
/* Don't be bigger than the screen */
- max-block-size: var(--mod-modal-max-height, 90vh);
- max-inline-size: var(--mod-modal-max-width, 90%);
+ max-block-size: var(--mod-modal-max-height, var(--spectrum-modal-max-height));
+ max-inline-size: var(--mod-modal-max-width, var(--spectrum-modal-max-width));
- background: var(--mod-modal-background-color, var(--spectrum-modal-background-color));
- border-radius: var(--mod-modal-confirm-border-radius, var(--spectrum-corner-radius-100));
+ background: var(--spectrum-modal-background-color);
+ border-radius: var(--spectrum-modal-confirm-border-radius);
overflow: hidden;
outline: none; /* Firefox shows outline */
pointer-events: auto;
@@ -90,8 +96,8 @@
/* Exit animations */
transition:
opacity var(--spectrum-modal-confirm-exit-animation-duration) var(--spectrum-animation-ease-in) var(--spectrum-modal-confirm-exit-animation-delay),
- visibility var(--spectrum-animation-duration-0) var(--spectrum-animation-linear) calc(var(--spectrum-modal-confirm-exit-animation-delay) + var(--spectrum-modal-confirm-exit-animation-duration)),
- transform var(--spectrum-animation-duration-0) var(--spectrum-animation-linear) calc(var(--spectrum-modal-confirm-exit-animation-delay) + var(--spectrum-modal-confirm-exit-animation-duration));
+ visibility 0ms linear calc(var(--spectrum-modal-confirm-exit-animation-delay) + var(--spectrum-modal-confirm-exit-animation-duration)),
+ transform 0ms linear calc(var(--spectrum-modal-confirm-exit-animation-delay) + var(--spectrum-modal-confirm-exit-animation-duration));
&.is-open {
pointer-events: auto;
@@ -125,17 +131,15 @@
/** @unofficial */
.spectrum-Modal--fullscreen {
position: fixed;
- inset-inline-start: var(--spectrum-modal-fullscreen-margin);
- inset-block-start: var(--spectrum-modal-fullscreen-margin);
- inset-inline-end: var(--spectrum-modal-fullscreen-margin);
- inset-block-end: var(--spectrum-modal-fullscreen-margin);
+ inset-block: var(--mod-modal-fullscreen-margin, var(--spectrum-modal-fullscreen-margin));
+ inset-inline: var(--mod-modal-fullscreen-margin, var(--spectrum-modal-fullscreen-margin));
max-inline-size: none;
max-block-size: none;
}
.spectrum-Modal--fullscreenTakeover {
position: fixed;
- inset: 0;
+ inset: var(--spectrum-modal-takeover-window-to-edge);
max-inline-size: none;
max-block-size: none;
diff --git a/components/modal/package.json b/components/modal/package.json
index 8e0ed460b58..86d4fabd856 100644
--- a/components/modal/package.json
+++ b/components/modal/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/modal",
- "version": "7.1.0",
+ "version": "7.1.1-next.0",
"description": "The Spectrum CSS modal component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
"@spectrum-css/tokens": {
@@ -33,7 +33,6 @@
}
},
"devDependencies": {
- "@spectrum-css/commons": "11.0.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/modal/stories/modal.stories.js b/components/modal/stories/modal.stories.js
index a4ce483de5f..560f5663e43 100644
--- a/components/modal/stories/modal.stories.js
+++ b/components/modal/stories/modal.stories.js
@@ -57,6 +57,9 @@ export default {
],
};
+/**
+ * The default modal does not include a background color itself, other than `transparent`. If implementations are in need of a background color, and one is not supported within the modal's child component (for example, the dialog defines its own background color), `--mod-modal-background-color` may be set on the `.spectrum-Modal` class.
+ */
export const Default = ModalGroup.bind({});
Default.args = {
content: [
diff --git a/components/modal/stories/template.js b/components/modal/stories/template.js
index 07a52b89131..9abbf49ebea 100644
--- a/components/modal/stories/template.js
+++ b/components/modal/stories/template.js
@@ -5,9 +5,6 @@ import { styleMap } from "lit/directives/style-map.js";
import { when } from "lit/directives/when.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
/**
* Just the modal markup.
diff --git a/components/modal/themes/express.css b/components/modal/themes/express.css
deleted file mode 100644
index 9fd550418f2..00000000000
--- a/components/modal/themes/express.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
diff --git a/components/modal/themes/spectrum-two.css b/components/modal/themes/spectrum-two.css
deleted file mode 100644
index c31756dcdae..00000000000
--- a/components/modal/themes/spectrum-two.css
+++ /dev/null
@@ -1,18 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-Modal {
- --spectrum-modal-background-color: var(--spectrum-background-layer-2-color);
- }
-}
diff --git a/components/modal/themes/spectrum.css b/components/modal/themes/spectrum.css
deleted file mode 100644
index f637e6f343e..00000000000
--- a/components/modal/themes/spectrum.css
+++ /dev/null
@@ -1,22 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-Modal {
- --spectrum-modal-background-color: var(--spectrum-gray-100);
- }
-}
diff --git a/components/opacitycheckerboard/dist/metadata.json b/components/opacitycheckerboard/dist/metadata.json
index 51c1a155873..31fd76317b9 100644
--- a/components/opacitycheckerboard/dist/metadata.json
+++ b/components/opacitycheckerboard/dist/metadata.json
@@ -1,6 +1,9 @@
{
"sourceFile": "index.css",
- "selectors": [".spectrum-OpacityCheckerboard"],
+ "selectors": [
+ ".spectrum-OpacityCheckerboard",
+ ".spectrum-OpacityCheckerboard--sizeS"
+ ],
"modifiers": [
"--mod-opacity-checkerboard-dark",
"--mod-opacity-checkerboard-light",
@@ -8,12 +11,16 @@
"--mod-opacity-checkerboard-size"
],
"component": [
+ "--spectrum-opacity-checkerboard-dark",
+ "--spectrum-opacity-checkerboard-light",
+ "--spectrum-opacity-checkerboard-position",
+ "--spectrum-opacity-checkerboard-size",
"--spectrum-opacity-checkerboard-square-dark",
"--spectrum-opacity-checkerboard-square-light",
- "--spectrum-opacity-checkerboard-square-size"
+ "--spectrum-opacity-checkerboard-square-size-medium",
+ "--spectrum-opacity-checkerboard-square-size-small"
],
"global": [],
- "system-theme": [],
"passthroughs": [],
"high-contrast": []
}
diff --git a/components/opacitycheckerboard/index.css b/components/opacitycheckerboard/index.css
index 675449dd8dd..8f1700294f0 100644
--- a/components/opacitycheckerboard/index.css
+++ b/components/opacitycheckerboard/index.css
@@ -12,7 +12,19 @@
*/
.spectrum-OpacityCheckerboard {
- background: repeating-conic-gradient(var(--mod-opacity-checkerboard-light, var(--spectrum-opacity-checkerboard-square-light)) 0% 25%, var(--mod-opacity-checkerboard-dark, var(--spectrum-opacity-checkerboard-square-dark)) 0% 50%) var(--mod-opacity-checkerboard-position, left top) / calc(var(--mod-opacity-checkerboard-size, var(--spectrum-opacity-checkerboard-square-size)) * 2) calc(var(--mod-opacity-checkerboard-size, var(--spectrum-opacity-checkerboard-square-size)) * 2);
+ --spectrum-opacity-checkerboard-dark: var(--mod-opacity-checkerboard-dark, var(--spectrum-opacity-checkerboard-square-dark));
+ --spectrum-opacity-checkerboard-light: var(--mod-opacity-checkerboard-light, var(--spectrum-opacity-checkerboard-square-light));
+ --spectrum-opacity-checkerboard-size: var(--mod-opacity-checkerboard-size, var(--spectrum-opacity-checkerboard-square-size-medium));
+
+ --spectrum-opacity-checkerboard-position: var(--mod-opacity-checkerboard-position, left top);
+}
+
+.spectrum-OpacityCheckerboard--sizeS {
+ --spectrum-opacity-checkerboard-size: var(--mod-opacity-checkerboard-size, var(--spectrum-opacity-checkerboard-square-size-small));
+}
+
+.spectrum-OpacityCheckerboard {
+ background: repeating-conic-gradient(var(--spectrum-opacity-checkerboard-light) 0% 25%, var(--spectrum-opacity-checkerboard-dark) 0% 50%) var(--spectrum-opacity-checkerboard-position) / calc(var(--spectrum-opacity-checkerboard-size) * 2) calc(var(--spectrum-opacity-checkerboard-size) * 2);
}
@media (forced-colors: active) {
diff --git a/components/opacitycheckerboard/package.json b/components/opacitycheckerboard/package.json
index 46a96fb249a..e1109442884 100644
--- a/components/opacitycheckerboard/package.json
+++ b/components/opacitycheckerboard/package.json
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
"@spectrum-css/tokens": {
diff --git a/components/opacitycheckerboard/stories/opacitycheckerboard.stories.js b/components/opacitycheckerboard/stories/opacitycheckerboard.stories.js
index e908a5cd05b..7640544d884 100644
--- a/components/opacitycheckerboard/stories/opacitycheckerboard.stories.js
+++ b/components/opacitycheckerboard/stories/opacitycheckerboard.stories.js
@@ -20,6 +20,16 @@ export default {
control: "text",
description: "Value for --mod-opacity-checkerboard-position
. Accepts any valid CSS background-position property value.",
},
+ size: {
+ name: "Size",
+ type: { name: "string", required: true },
+ table: {
+ type: { summary: "string" },
+ category: "Component",
+ },
+ options: ["s", "m"],
+ control: "select",
+ },
},
args: {
rootClass: "spectrum-OpacityCheckerboard",
@@ -33,6 +43,7 @@ export default {
packageJson,
metadata,
},
+ tags: ["migrated"],
};
export const Default = OpacityCheckboardGroup.bind({});
diff --git a/components/page/dist/metadata.json b/components/page/dist/metadata.json
index cb8c8163de8..4e3ac035552 100644
--- a/components/page/dist/metadata.json
+++ b/components/page/dist/metadata.json
@@ -7,10 +7,6 @@
"--spectrum-page-content-tap-highlight"
],
"global": ["--spectrum-gray-75", "--spectrum-transparent-black-25"],
- "system-theme": [
- "--system-root-page-background-color",
- "--system-root-page-content-tap-highlight"
- ],
"passthroughs": [],
"high-contrast": []
}
diff --git a/components/page/index.css b/components/page/index.css
index 7a29f49a2e2..b5ce5555917 100644
--- a/components/page/index.css
+++ b/components/page/index.css
@@ -11,11 +11,9 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
:root {
- background: var(--mod-page-background, var(--spectrum-page-background-color));
+ background: var(--mod-page-background, var(--spectrum-page-background-color, var(--spectrum-gray-75)));
/* The highlight that appears over a link while it's being tapped */
- -webkit-tap-highlight-color: var(--mod-page-content-tap-highlight, var(--spectrum-page-content-tap-highlight));
+ -webkit-tap-highlight-color: var(--mod-page-content-tap-highlight, var(--spectrum-page-content-tap-highlight, var(--spectrum-transparent-black-25)));
}
diff --git a/components/page/package.json b/components/page/package.json
index cd71b59b372..0118de09cff 100644
--- a/components/page/package.json
+++ b/components/page/package.json
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
"@spectrum-css/tokens": {
diff --git a/components/page/stories/template.js b/components/page/stories/template.js
index 570ca98b244..395f6d48390 100644
--- a/components/page/stories/template.js
+++ b/components/page/stories/template.js
@@ -2,9 +2,6 @@ import { renderContent } from "@spectrum-css/preview/decorators";
import { html } from "lit";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({ content = [] } = {}, context = {}) => {
return html`${renderContent(content, { context })}`;
diff --git a/components/page/themes/express.css b/components/page/themes/express.css
deleted file mode 100644
index 9fd550418f2..00000000000
--- a/components/page/themes/express.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
diff --git a/components/page/themes/spectrum-two.css b/components/page/themes/spectrum-two.css
deleted file mode 100644
index 896ecf506cc..00000000000
--- a/components/page/themes/spectrum-two.css
+++ /dev/null
@@ -1,19 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- :root {
- --spectrum-page-background-color: var(--spectrum-gray-75);
- --spectrum-page-content-tap-highlight: var(--spectrum-transparent-black-25);
- }
-}
diff --git a/components/page/themes/spectrum.css b/components/page/themes/spectrum.css
deleted file mode 100644
index f6c120c2d43..00000000000
--- a/components/page/themes/spectrum.css
+++ /dev/null
@@ -1,23 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- :root {
- --spectrum-page-background-color: var(--spectrum-gray-100);
- --spectrum-page-content-tap-highlight: var(--spectrum-transparent-black-100);
- }
-}
diff --git a/components/pagination/CHANGELOG.md b/components/pagination/CHANGELOG.md
index 1c5dcb75c7a..686ee978d8a 100644
--- a/components/pagination/CHANGELOG.md
+++ b/components/pagination/CHANGELOG.md
@@ -1,5 +1,15 @@
# Change log
+## 11.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+ - @spectrum-css/actionbutton@8.0.0-next.0
+ - @spectrum-css/button@15.0.0-next.0
+ - @spectrum-css/textfield@9.0.0-next.0
+
## 10.1.0
### Minor Changes
@@ -295,11 +305,9 @@ Output for all component CSS files is now being run through a lightweight optimi
- feat(pagination)!: migrate to spectrum tokens package([f29a74d](https://github.com/adobe/spectrum-css/commit/f29a74d))
- ###
-
- 🛑 BREAKING CHANGES
+### 🛑 BREAKING CHANGES
- - Replaces DNA tokens with Spectrum tokens.
+- Replaces DNA tokens with Spectrum tokens.
Update build to use Spectrum tokens.
Remove skin.css and incorporate its CSS into index.css.
diff --git a/components/pagination/dist/metadata.json b/components/pagination/dist/metadata.json
index 7a0b21fe8dd..e44857f71b9 100644
--- a/components/pagination/dist/metadata.json
+++ b/components/pagination/dist/metadata.json
@@ -34,7 +34,6 @@
"--spectrum-logical-rotation",
"--spectrum-neutral-subdued-content-color-default"
],
- "system-theme": [],
"passthroughs": ["--mod-textfield-min-width", "--mod-textfield-width"],
"high-contrast": []
}
diff --git a/components/pagination/package.json b/components/pagination/package.json
index 100486ff7be..640f019551e 100644
--- a/components/pagination/package.json
+++ b/components/pagination/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/pagination",
- "version": "10.1.0",
+ "version": "11.0.0-next.0",
"description": "The Spectrum CSS Pagination component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,10 +25,10 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/actionbutton": ">=7.0.0 <8.0.0",
- "@spectrum-css/button": ">=14.0.0 <15.0.0",
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
- "@spectrum-css/textfield": ">=8.0.0 <9.0.0",
+ "@spectrum-css/actionbutton": ">=8.0.0-next.0",
+ "@spectrum-css/button": ">=15.0.0-next.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
+ "@spectrum-css/textfield": ">=9.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -49,10 +49,10 @@
}
},
"devDependencies": {
- "@spectrum-css/actionbutton": "7.1.2",
- "@spectrum-css/button": "14.1.3",
- "@spectrum-css/icon": "9.1.0",
- "@spectrum-css/textfield": "8.1.1",
+ "@spectrum-css/actionbutton": "8.0.0-next.1",
+ "@spectrum-css/button": "15.0.0-next.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
+ "@spectrum-css/textfield": "9.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/pagination/stories/pagination.stories.js b/components/pagination/stories/pagination.stories.js
index 7fa6fa909e1..a9098d40630 100644
--- a/components/pagination/stories/pagination.stories.js
+++ b/components/pagination/stories/pagination.stories.js
@@ -71,6 +71,7 @@ export default {
packageJson,
metadata,
},
+ tags: ["migrated"],
};
/**
diff --git a/components/picker/CHANGELOG.md b/components/picker/CHANGELOG.md
index 7f9824af954..b67d8986241 100644
--- a/components/picker/CHANGELOG.md
+++ b/components/picker/CHANGELOG.md
@@ -1,10 +1,22 @@
# Change log
+## 10.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+ - @spectrum-css/helptext@8.0.0-next.0
+ - @spectrum-css/menu@10.0.0-next.0
+ - @spectrum-css/popover@9.0.0-next.0
+
## 9.1.4
### Patch Changes
-- [#3607](https://github.com/adobe/spectrum-css/pull/3607) [`7797847`](https://github.com/adobe/spectrum-css/commit/7797847c723d530f34d610516e04150092557af1) Thanks [@blunteshwar](https://github.com/blunteshwar)! - Updated border-color for Open not hover state of picker from --spectrum-gray-900 to --spectrum-gray-800 as specified in the spec
+- [#3607](https://github.com/adobe/spectrum-css/pull/3607) [`7797847`](https://github.com/adobe/spectrum-css/commit/7797847c723d530f34d610516e04150092557af1) Thanks [@blunteshwar](https://github.com/blunteshwar)!
+
+Updated border-color for open state of picker from `--spectrum-gray-900` to `--spectrum-gray-800`.
## 9.1.3
diff --git a/components/picker/dist/metadata.json b/components/picker/dist/metadata.json
index e2c3b4e5c0a..9a7aa93bbac 100644
--- a/components/picker/dist/metadata.json
+++ b/components/picker/dist/metadata.json
@@ -2,32 +2,23 @@
"sourceFile": "index.css",
"selectors": [
".spectrum-Picker",
- ".spectrum-Picker + .spectrum-Popover--bottom.is-open",
+ ".spectrum-Picker + .spectrum-Popover--bottom-start.is-open",
".spectrum-Picker .spectrum-Picker-icon",
".spectrum-Picker .spectrum-Picker-label",
".spectrum-Picker .spectrum-ProgressCircle",
".spectrum-Picker--quiet",
- ".spectrum-Picker--quiet .spectrum-Picker-menuIcon",
- ".spectrum-Picker--quiet.is-keyboardFocused",
".spectrum-Picker--quiet.is-keyboardFocused:after",
- ".spectrum-Picker--quiet.is-open",
".spectrum-Picker--quiet.spectrum-Picker--sideLabel",
- ".spectrum-Picker--quiet.spectrum-Picker.is-disabled",
- ".spectrum-Picker--quiet.spectrum-Picker:disabled",
- ".spectrum-Picker--quiet:active",
".spectrum-Picker--quiet:after",
- ".spectrum-Picker--quiet:focus-visible",
".spectrum-Picker--quiet:focus-visible:after",
- ".spectrum-Picker--quiet:hover",
".spectrum-Picker--sideLabel",
".spectrum-Picker--sizeL",
- ".spectrum-Picker--sizeL + .spectrum-Popover--bottom.is-open",
+ ".spectrum-Picker--sizeL + .spectrum-Popover--bottom-start.is-open",
".spectrum-Picker--sizeS",
- ".spectrum-Picker--sizeS + .spectrum-Popover--bottom.is-open",
+ ".spectrum-Picker--sizeS + .spectrum-Popover--bottom-start.is-open",
".spectrum-Picker--sizeXL",
- ".spectrum-Picker--sizeXL + .spectrum-Popover--bottom.is-open",
+ ".spectrum-Picker--sizeXL + .spectrum-Popover--bottom-start.is-open",
".spectrum-Picker-label",
- ".spectrum-Picker-label ~ .spectrum-Picker-menuIcon",
".spectrum-Picker-label.is-placeholder",
".spectrum-Picker-label.is-placeholder:active",
".spectrum-Picker-label.is-placeholder:hover",
@@ -39,7 +30,7 @@
".spectrum-Picker.is-disabled .spectrum-Picker-label.is-placeholder",
".spectrum-Picker.is-disabled .spectrum-Picker-menuIcon",
".spectrum-Picker.is-disabled .spectrum-Picker-validationIcon",
- ".spectrum-Picker.is-invalid .spectrum-Picker-label",
+ ".spectrum-Picker.is-disabled:not(.spectrum-Picker--quiet)",
".spectrum-Picker.is-invalid.is-keyboardFocused:not(:disabled, .is-disabled)",
".spectrum-Picker.is-invalid.is-open:not(:disabled, .is-disabled)",
".spectrum-Picker.is-invalid.is-open:not(:disabled, .is-disabled):hover",
@@ -52,15 +43,15 @@
".spectrum-Picker.is-keyboardFocused .spectrum-Picker-label.is-placeholder",
".spectrum-Picker.is-keyboardFocused .spectrum-Picker-menuIcon",
".spectrum-Picker.is-keyboardFocused:after",
- ".spectrum-Picker.is-loading .spectrum-Picker-label",
+ ".spectrum-Picker.is-loading",
".spectrum-Picker.is-loading .spectrum-Picker-menuIcon",
- ".spectrum-Picker.is-open:not(.spectrum-Picker--quiet, :disabled, .is-disabled)",
- ".spectrum-Picker.is-open:not(.spectrum-Picker--quiet, :disabled, .is-disabled) .spectrum-Picker-menuIcon",
- ".spectrum-Picker.is-open:not(.spectrum-Picker--quiet, :disabled, .is-disabled):hover",
- ".spectrum-Picker.is-open:not(.spectrum-Picker--quiet, :disabled, .is-disabled):hover .spectrum-Picker-menuIcon",
- ".spectrum-Picker.is-placeholder:active .spectrum-Picker-label",
+ ".spectrum-Picker.is-open:not(.spectrum-Picker--quiet, :disabled, .is-disabled, .is-loading)",
+ ".spectrum-Picker.is-open:not(.spectrum-Picker--quiet, :disabled, .is-disabled, .is-loading) .spectrum-Picker-menuIcon",
+ ".spectrum-Picker.is-open:not(.spectrum-Picker--quiet, :disabled, .is-disabled, .is-loading):hover",
+ ".spectrum-Picker.is-open:not(.spectrum-Picker--quiet, :disabled, .is-disabled, .is-loading):hover .spectrum-Picker-menuIcon",
".spectrum-Picker::-moz-focus-inner",
".spectrum-Picker:active",
+ ".spectrum-Picker:active .spectrum-Picker-label.is-placeholder",
".spectrum-Picker:active:after",
".spectrum-Picker:after",
".spectrum-Picker:disabled",
@@ -68,17 +59,19 @@
".spectrum-Picker:disabled .spectrum-Picker-label.is-placeholder",
".spectrum-Picker:disabled .spectrum-Picker-menuIcon",
".spectrum-Picker:disabled .spectrum-Picker-validationIcon",
+ ".spectrum-Picker:disabled:not(.spectrum-Picker--quiet)",
".spectrum-Picker:focus",
".spectrum-Picker:focus-visible",
".spectrum-Picker:focus-visible .spectrum-Picker-label.is-placeholder",
".spectrum-Picker:focus-visible .spectrum-Picker-menuIcon",
".spectrum-Picker:focus-visible:after",
".spectrum-Picker:hover",
- ".spectrum-Picker:hover .spectrum-Picker-menuIcon"
+ ".spectrum-Picker:hover .spectrum-Picker-menuIcon",
+ ".spectrum-Picker:lang(ja) .spectrum-Picker-label",
+ ".spectrum-Picker:lang(ko) .spectrum-Picker-label",
+ ".spectrum-Picker:lang(zh) .spectrum-Picker-label"
],
"modifiers": [
- "--mod-animation-duration-100",
- "--mod-line-height-100",
"--mod-picker-animation-duration",
"--mod-picker-background-color-active",
"--mod-picker-background-color-default",
@@ -123,7 +116,11 @@
"--mod-picker-icon-color-hover-open",
"--mod-picker-icon-color-key-focus",
"--mod-picker-inline-size",
+ "--mod-picker-inline-size-quiet",
"--mod-picker-line-height",
+ "--mod-picker-line-height-cjk",
+ "--mod-picker-min-inline-size",
+ "--mod-picker-min-inline-size-quiet",
"--mod-picker-placeholder-font-style",
"--mod-picker-placeholder-font-weight",
"--mod-picker-spacing-bottom-to-text",
@@ -135,14 +132,12 @@
"--mod-picker-spacing-label-to-picker",
"--mod-picker-spacing-label-to-picker-quiet",
"--mod-picker-spacing-picker-to-popover",
- "--mod-picker-spacing-text-to-alert-icon-inline-start",
- "--mod-picker-spacing-text-to-icon",
+ "--mod-picker-spacing-starting-icon-to-text",
"--mod-picker-spacing-text-to-icon-inline-end",
"--mod-picker-spacing-top-to-alert-icon",
"--mod-picker-spacing-top-to-disclosure-icon",
"--mod-picker-spacing-top-to-progress-circle",
- "--mod-picker-spacing-top-to-text",
- "--mod-sans-font-family-stack"
+ "--mod-picker-spacing-top-to-text"
],
"component": [
"--spectrum-picker-animation-duration",
@@ -192,18 +187,18 @@
"--spectrum-picker-icon-color-key-focus",
"--spectrum-picker-inline-size",
"--spectrum-picker-line-height",
+ "--spectrum-picker-line-height-cjk",
+ "--spectrum-picker-min-inline-size",
"--spectrum-picker-minimum-width-multiplier",
"--spectrum-picker-placeholder-font-style",
"--spectrum-picker-spacing-bottom-to-text",
"--spectrum-picker-spacing-edge-to-disclosure-icon",
- "--spectrum-picker-spacing-edge-to-disclosure-icon-quiet",
"--spectrum-picker-spacing-edge-to-text",
- "--spectrum-picker-spacing-edge-to-text-quiet",
"--spectrum-picker-spacing-icon-to-disclosure-icon",
"--spectrum-picker-spacing-label-to-picker",
"--spectrum-picker-spacing-label-to-picker-quiet",
"--spectrum-picker-spacing-picker-to-popover",
- "--spectrum-picker-spacing-text-to-icon",
+ "--spectrum-picker-spacing-starting-icon-to-text",
"--spectrum-picker-spacing-text-to-icon-inline-end",
"--spectrum-picker-spacing-top-to-alert-icon",
"--spectrum-picker-spacing-top-to-disclosure-icon",
@@ -217,6 +212,7 @@
"global": [
"--spectrum-animation-duration-100",
"--spectrum-border-width-100",
+ "--spectrum-cjk-line-height-100",
"--spectrum-component-bottom-to-text-100",
"--spectrum-component-bottom-to-text-200",
"--spectrum-component-bottom-to-text-300",
@@ -229,6 +225,8 @@
"--spectrum-component-height-200",
"--spectrum-component-height-300",
"--spectrum-component-height-75",
+ "--spectrum-component-size-difference-down",
+ "--spectrum-component-size-width-ratio-down",
"--spectrum-component-to-menu-extra-large",
"--spectrum-component-to-menu-large",
"--spectrum-component-to-menu-medium",
@@ -237,10 +235,22 @@
"--spectrum-component-top-to-text-200",
"--spectrum-component-top-to-text-300",
"--spectrum-component-top-to-text-75",
- "--spectrum-corner-radius-100",
+ "--spectrum-component-top-to-workflow-icon-100",
+ "--spectrum-component-top-to-workflow-icon-200",
+ "--spectrum-component-top-to-workflow-icon-300",
+ "--spectrum-component-top-to-workflow-icon-75",
+ "--spectrum-corner-radius-medium-size-extra-large",
+ "--spectrum-corner-radius-medium-size-large",
+ "--spectrum-corner-radius-medium-size-medium",
+ "--spectrum-corner-radius-medium-size-small",
"--spectrum-default-font-style",
"--spectrum-disabled-background-color",
"--spectrum-disabled-content-color",
+ "--spectrum-downstate-height",
+ "--spectrum-downstate-width",
+ "--spectrum-field-default-width-extra-large",
+ "--spectrum-field-default-width-large",
+ "--spectrum-field-default-width-small",
"--spectrum-field-edge-to-text-quiet",
"--spectrum-field-end-edge-to-disclosure-icon-100",
"--spectrum-field-end-edge-to-disclosure-icon-200",
@@ -251,14 +261,6 @@
"--spectrum-field-label-to-component-quiet-large",
"--spectrum-field-label-to-component-quiet-medium",
"--spectrum-field-label-to-component-quiet-small",
- "--spectrum-field-text-to-alert-icon-extra-large",
- "--spectrum-field-text-to-alert-icon-large",
- "--spectrum-field-text-to-alert-icon-medium",
- "--spectrum-field-text-to-alert-icon-small",
- "--spectrum-field-top-to-alert-icon-extra-large",
- "--spectrum-field-top-to-alert-icon-large",
- "--spectrum-field-top-to-alert-icon-medium",
- "--spectrum-field-top-to-alert-icon-small",
"--spectrum-field-top-to-disclosure-icon-100",
"--spectrum-field-top-to-disclosure-icon-200",
"--spectrum-field-top-to-disclosure-icon-300",
@@ -267,7 +269,6 @@
"--spectrum-field-top-to-progress-circle-large",
"--spectrum-field-top-to-progress-circle-medium",
"--spectrum-field-top-to-progress-circle-small",
- "--spectrum-field-width",
"--spectrum-focus-indicator-color",
"--spectrum-focus-indicator-gap",
"--spectrum-focus-indicator-thickness",
@@ -304,22 +305,6 @@
"--spectrum-text-to-visual-300",
"--spectrum-text-to-visual-75"
],
- "system-theme": [
- "--system-picker-background-color-active",
- "--system-picker-background-color-default",
- "--system-picker-background-color-default-open",
- "--system-picker-background-color-hover",
- "--system-picker-background-color-hover-open",
- "--system-picker-background-color-key-focus",
- "--system-picker-border-color-active",
- "--system-picker-border-color-default",
- "--system-picker-border-color-default-open",
- "--system-picker-border-color-disabled",
- "--system-picker-border-color-hover",
- "--system-picker-border-color-hover-open",
- "--system-picker-border-color-key-focus",
- "--system-picker-border-width"
- ],
"passthroughs": [
"--mod-button-animation-duration",
"--mod-button-font-family",
diff --git a/components/picker/index.css b/components/picker/index.css
index e59888c78f5..843c9b0fa2a 100644
--- a/components/picker/index.css
+++ b/components/picker/index.css
@@ -11,44 +11,65 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
@import "@spectrum-css/commons/basebutton.css";
.spectrum-Picker {
- /* font */
+ --spectrum-picker-background-color-default: var(--spectrum-gray-100);
+ --spectrum-picker-background-color-default-open: var(--spectrum-gray-200);
+ --spectrum-picker-background-color-hover: var(--spectrum-gray-200);
+ --spectrum-picker-background-color-hover-open: var(--spectrum-gray-200);
+ --spectrum-picker-background-color-active: var(--spectrum-gray-200);
+ --spectrum-picker-background-color-key-focus: var(--spectrum-gray-200);
+
+ --spectrum-picker-border-color-default: var(--spectrum-gray-500);
+ --spectrum-picker-border-color-default-open: var(--spectrum-gray-800);
+ --spectrum-picker-border-color-hover: var(--spectrum-gray-600);
+ --spectrum-picker-border-color-hover-open: var(--spectrum-gray-900);
+ --spectrum-picker-border-color-active: var(--spectrum-gray-700);
+ --spectrum-picker-border-color-key-focus: var(--spectrum-gray-900);
+
+ --spectrum-picker-border-width: var(--spectrum-border-width-100);
+
+ /* Font */
--spectrum-picker-font-size: var(--spectrum-font-size-100);
--spectrum-picker-font-weight: var(--spectrum-regular-font-weight);
--spectrum-picker-placeholder-font-style: var(--spectrum-default-font-style);
--spectrum-picker-line-height: var(--spectrum-line-height-100);
+ --spectrum-picker-line-height-cjk: var(--spectrum-cjk-line-height-100);
- /* height */
+ /* Dimensions */
--spectrum-picker-block-size: var(--spectrum-component-height-100);
- --spectrum-picker-inline-size: var(--spectrum-field-width);
+ --spectrum-picker-min-inline-size: calc(var(--spectrum-picker-minimum-width-multiplier) * var(--mod-picker-block-size, var(--spectrum-picker-block-size)));
- /* border */
- --spectrum-picker-border-radius: var(--spectrum-corner-radius-100);
+ /* Border */
+ --spectrum-picker-border-radius: var(--spectrum-corner-radius-medium-size-medium);
- /* spacing */
+ /* Spacing */
--spectrum-picker-spacing-top-to-text: var(--spectrum-component-top-to-text-100);
--spectrum-picker-spacing-bottom-to-text: var(--spectrum-component-bottom-to-text-100);
--spectrum-picker-spacing-edge-to-text: var(--spectrum-component-edge-to-text-100);
- --spectrum-picker-spacing-edge-to-text-quiet: var(--spectrum-field-edge-to-text-quiet);
+
+ /* Space from label component to Picker component. */
--spectrum-picker-spacing-label-to-picker: var(--spectrum-field-label-to-component);
+ --spectrum-picker-spacing-label-to-picker-quiet: var(--spectrum-field-label-to-component-quiet-medium);
+
+ /* Space from optional starting icon to the text. */
+ --spectrum-picker-spacing-starting-icon-to-text: var(--spectrum-text-to-visual-100);
+
+ /* Space from text to either the disclosure icon or the alert/progress visual if present. */
+ --spectrum-picker-spacing-text-to-icon-inline-end: var(--spectrum-text-to-visual-100);
- --spectrum-picker-spacing-text-to-icon: var(--spectrum-text-to-visual-100);
- --spectrum-picker-spacing-text-to-icon-inline-end: var(--spectrum-field-text-to-alert-icon-medium);
+ /* Space from alert/progress visual to the disclosure icon (chevron). */
--spectrum-picker-spacing-icon-to-disclosure-icon: var(--spectrum-picker-visual-to-disclosure-icon-medium);
- --spectrum-picker-spacing-label-to-picker-quiet: var(--spectrum-field-label-to-component-quiet-medium);
- --spectrum-picker-spacing-top-to-alert-icon: var(--spectrum-field-top-to-alert-icon-medium);
+
+ --spectrum-picker-spacing-top-to-alert-icon: var(--spectrum-component-top-to-workflow-icon-100);
--spectrum-picker-spacing-top-to-progress-circle: var(--spectrum-field-top-to-progress-circle-medium);
--spectrum-picker-spacing-top-to-disclosure-icon: var(--spectrum-field-top-to-disclosure-icon-100);
--spectrum-picker-spacing-edge-to-disclosure-icon: var(--spectrum-field-end-edge-to-disclosure-icon-100);
- --spectrum-picker-spacing-edge-to-disclosure-icon-quiet: var(--spectrum-picker-end-edge-to-disclousure-icon-quiet);
- /* animation */
+ /* Animation */
--spectrum-picker-animation-duration: var(--spectrum-animation-duration-100);
- /* color */
--spectrum-picker-font-color-default: var(--spectrum-neutral-content-color-default);
--spectrum-picker-font-color-default-open: var(--spectrum-neutral-content-color-focus);
--spectrum-picker-font-color-hover: var(--spectrum-neutral-content-color-hover);
@@ -72,16 +93,17 @@
--spectrum-picker-icon-color-error: var(--spectrum-negative-visual-color);
+ --spectrum-picker-border-color-disabled: var(--spectrum-gray-300);
--spectrum-picker-background-color-disabled: var(--spectrum-disabled-background-color);
--spectrum-picker-font-color-disabled: var(--spectrum-disabled-content-color);
--spectrum-picker-icon-color-disabled: var(--spectrum-disabled-content-color);
- /* special cases for focus indicator */
+ /* focus indicator */
--spectrum-picker-focus-indicator-gap: var(--spectrum-focus-indicator-gap);
--spectrum-picker-focus-indicator-thickness: var(--spectrum-focus-indicator-thickness);
--spectrum-picker-focus-indicator-color: var(--spectrum-focus-indicator-color);
- & + .spectrum-Popover--bottom.is-open {
+ & + .spectrum-Popover--bottom-start.is-open {
--spectrum-picker-spacing-picker-to-popover: var(--spectrum-component-to-menu-medium);
}
}
@@ -89,109 +111,99 @@
.spectrum-Picker--sizeS {
--spectrum-picker-font-size: var(--spectrum-font-size-75);
--spectrum-picker-block-size: var(--spectrum-component-height-75);
+ --spectrum-picker-inline-size: var(--spectrum-field-default-width-small);
+ --spectrum-picker-border-radius: var(--spectrum-corner-radius-medium-size-small);
--spectrum-picker-spacing-top-to-text: var(--spectrum-component-top-to-text-75);
--spectrum-picker-spacing-bottom-to-text: var(--spectrum-component-bottom-to-text-75);
--spectrum-picker-spacing-edge-to-text: var(--spectrum-component-edge-to-text-75);
- --spectrum-picker-spacing-text-to-icon: var(--spectrum-text-to-visual-75);
- --spectrum-picker-spacing-text-to-icon-inline-end: var(--spectrum-field-text-to-alert-icon-small);
+ --spectrum-picker-spacing-starting-icon-to-text: var(--spectrum-text-to-visual-75);
+ --spectrum-picker-spacing-text-to-icon-inline-end: var(--spectrum-text-to-visual-75);
--spectrum-picker-spacing-icon-to-disclosure-icon: var(--spectrum-picker-visual-to-disclosure-icon-small);
--spectrum-picker-spacing-label-to-picker-quiet: var(--spectrum-field-label-to-component-quiet-small);
- --spectrum-picker-spacing-top-to-alert-icon: var(--spectrum-field-top-to-alert-icon-small);
+ --spectrum-picker-spacing-top-to-alert-icon: var(--spectrum-component-top-to-workflow-icon-75);
--spectrum-picker-spacing-top-to-progress-circle: var(--spectrum-field-top-to-progress-circle-small);
--spectrum-picker-spacing-top-to-disclosure-icon: var(--spectrum-field-top-to-disclosure-icon-75);
--spectrum-picker-spacing-edge-to-disclosure-icon: var(--spectrum-field-end-edge-to-disclosure-icon-75);
- & + .spectrum-Popover--bottom.is-open {
+ & + .spectrum-Popover--bottom-start.is-open {
--spectrum-picker-spacing-picker-to-popover: var(--spectrum-component-to-menu-small);
}
}
.spectrum-Picker--sizeL {
--spectrum-picker-font-size: var(--spectrum-font-size-200);
+ --spectrum-picker-inline-size: var(--spectrum-field-default-width-large);
--spectrum-picker-block-size: var(--spectrum-component-height-200);
+ --spectrum-picker-border-radius: var(--spectrum-corner-radius-medium-size-large);
--spectrum-picker-spacing-top-to-text: var(--spectrum-component-top-to-text-200);
--spectrum-picker-spacing-bottom-to-text: var(--spectrum-component-bottom-to-text-200);
--spectrum-picker-spacing-edge-to-text: var(--spectrum-component-edge-to-text-200);
- --spectrum-picker-spacing-text-to-icon: var(--spectrum-text-to-visual-200);
- --spectrum-picker-spacing-text-to-icon-inline-end: var(--spectrum-field-text-to-alert-icon-large);
+ --spectrum-picker-spacing-starting-icon-to-text: var(--spectrum-text-to-visual-200);
+ --spectrum-picker-spacing-text-to-icon-inline-end: var(--spectrum-text-to-visual-200);
--spectrum-picker-spacing-icon-to-disclosure-icon: var(--spectrum-picker-visual-to-disclosure-icon-large);
--spectrum-picker-spacing-label-to-picker-quiet: var(--spectrum-field-label-to-component-quiet-large);
- --spectrum-picker-spacing-top-to-alert-icon: var(--spectrum-field-top-to-alert-icon-large);
+ --spectrum-picker-spacing-top-to-alert-icon: var(--spectrum-component-top-to-workflow-icon-200);
--spectrum-picker-spacing-top-to-progress-circle: var(--spectrum-field-top-to-progress-circle-large);
--spectrum-picker-spacing-top-to-disclosure-icon: var(--spectrum-field-top-to-disclosure-icon-200);
--spectrum-picker-spacing-edge-to-disclosure-icon: var(--spectrum-field-end-edge-to-disclosure-icon-200);
- & + .spectrum-Popover--bottom.is-open {
+ & + .spectrum-Popover--bottom-start.is-open {
--spectrum-picker-spacing-picker-to-popover: var(--spectrum-component-to-menu-large);
}
}
.spectrum-Picker--sizeXL {
--spectrum-picker-font-size: var(--spectrum-font-size-300);
+ --spectrum-picker-inline-size: var(--spectrum-field-default-width-extra-large);
--spectrum-picker-block-size: var(--spectrum-component-height-300);
+ --spectrum-picker-border-radius: var(--spectrum-corner-radius-medium-size-extra-large);
--spectrum-picker-spacing-top-to-text: var(--spectrum-component-top-to-text-300);
--spectrum-picker-spacing-bottom-to-text: var(--spectrum-component-bottom-to-text-300);
--spectrum-picker-spacing-edge-to-text: var(--spectrum-component-edge-to-text-300);
- --spectrum-picker-spacing-text-to-icon: var(--spectrum-text-to-visual-300);
- --spectrum-picker-spacing-text-to-icon-inline-end: var(--spectrum-field-text-to-alert-icon-extra-large);
+ --spectrum-picker-spacing-starting-icon-to-text: var(--spectrum-text-to-visual-300);
+ --spectrum-picker-spacing-text-to-icon-inline-end: var(--spectrum-text-to-visual-300);
--spectrum-picker-spacing-icon-to-disclosure-icon: var(--spectrum-picker-visual-to-disclosure-icon-extra-large);
--spectrum-picker-spacing-label-to-picker-quiet: var(--spectrum-field-label-to-component-quiet-extra-large);
- --spectrum-picker-spacing-top-to-alert-icon: var(--spectrum-field-top-to-alert-icon-extra-large);
+ --spectrum-picker-spacing-top-to-alert-icon: var(--spectrum-component-top-to-workflow-icon-300);
--spectrum-picker-spacing-top-to-progress-circle: var(--spectrum-field-top-to-progress-circle-extra-large);
--spectrum-picker-spacing-top-to-disclosure-icon: var(--spectrum-field-top-to-disclosure-icon-300);
--spectrum-picker-spacing-edge-to-disclosure-icon: var(--spectrum-field-end-edge-to-disclosure-icon-300);
- & + .spectrum-Popover--bottom.is-open {
+ & + .spectrum-Popover--bottom-start.is-open {
--spectrum-picker-spacing-picker-to-popover: var(--spectrum-component-to-menu-extra-large);
}
}
-/* Windows high contrast mode */
-@media (forced-colors: active) {
- .spectrum-Picker {
- --highcontrast-picker-focus-indicator-color: Highlight;
-
- --highcontrast-picker-border-color-default: ButtonBorder;
- --highcontrast-picker-border-color-hover: Highlight;
- --highcontrast-picker-border-color-disabled: GrayText;
-
- --highcontrast-picker-content-color-default: ButtonText;
- --highcontrast-picker-content-color-disabled: GrayText;
- --highcontrast-picker-background-color: ButtonFace;
-
- &:focus-visible,
- &.is-keyboardFocused {
- --highcontrast-picker-border-color-hover: ButtonText;
- }
-
- /* Focus indicator */
- &::after {
- /* Make sure default transparent border stays transparent. */
- forced-color-adjust: none;
- }
-
- .spectrum-Picker-label {
- /* Remove additional text backplate added in WHCM (Edge). */
- forced-color-adjust: none;
- }
- }
+.spectrum-Picker--quiet {
+ --spectrum-picker-background-color-default: transparent;
+ --spectrum-picker-background-color-default-open: transparent;
+ --spectrum-picker-background-color-hover: transparent;
+ --spectrum-picker-background-color-hover-open: transparent;
+ --spectrum-picker-background-color-active: transparent;
+ --spectrum-picker-background-color-key-focus: transparent;
+ --spectrum-picker-background-color-disabled: transparent;
+ --spectrum-picker-border-color-disabled: transparent;
+
+ --spectrum-picker-min-inline-size: var(--mod-picker-min-inline-size-quiet, 0);
+ --spectrum-picker-inline-size: var(--mod-picker-inline-size-quiet, auto);
+ --spectrum-picker-spacing-edge-to-text: var(--mod-picker-spacing-edge-to-text-quiet, var(--spectrum-field-edge-to-text-quiet));
+ --spectrum-picker-spacing-edge-to-disclosure-icon: var(--mod-picker-spacing-edge-to-disclosure-icon-quiet, var(--spectrum-picker-end-edge-to-disclousure-icon-quiet));
+ --spectrum-picker-spacing-label-to-picker: var(--mod-picker-spacing-label-to-picker-quiet, var(--spectrum-picker-spacing-label-to-picker-quiet));
}
.spectrum-Picker {
@extend %spectrum-BaseButton;
- /* Layout */
display: flex;
box-sizing: border-box;
- /* Minimum width is 2 times the height */
max-inline-size: 100%;
- min-inline-size: calc(var(--spectrum-picker-minimum-width-multiplier) * var(--mod-picker-block-size, var(--spectrum-picker-block-size)));
+ min-inline-size: var(--mod-picker-min-inline-size, var(--spectrum-picker-min-inline-size));
inline-size: var(--mod-picker-inline-size, var(--spectrum-picker-inline-size));
block-size: var(--mod-picker-block-size, var(--spectrum-picker-block-size));
- padding-block: 0;
- margin-block-start: var(--mod-picker-spacing-label-to-picker, var(--spectrum-picker-spacing-label-to-picker));
+ margin-block-start: var(--mod-picker-spacing-label-to-picker, var(--spectrum-picker-spacing-label-to-picker));
+ padding-block: 0;
padding-inline-start: var(--mod-picker-spacing-edge-to-text, var(--spectrum-picker-spacing-edge-to-text));
padding-inline-end: var(--mod-picker-spacing-edge-to-disclosure-icon, var(--spectrum-picker-spacing-edge-to-disclosure-icon));
@@ -242,13 +254,14 @@
&:active {
background-color: var(--highcontrast-picker-background-color, var(--mod-picker-background-color-active, var(--spectrum-picker-background-color-active)));
border-color: var(--highcontrast-picker-border-color-default, var(--mod-picker-border-active, var(--spectrum-picker-border-color-active)));
+ transform: perspective(max(var(--spectrum-downstate-height), var(--spectrum-downstate-width) * var(--spectrum-component-size-width-ratio-down))) translateZ(var(--spectrum-component-size-difference-down));
/* Focus indicator */
&::after {
border-color: transparent;
}
- &.is-placeholder .spectrum-Picker-label {
+ .spectrum-Picker-label.is-placeholder {
color: var(--highcontrast-picker-content-color-default, var(--mod-picker-font-color-active, var(--spectrum-picker-font-color-active)));
}
}
@@ -274,7 +287,7 @@
}
}
- &.is-open:not(.spectrum-Picker--quiet, :disabled, .is-disabled) {
+ &.is-open:not(.spectrum-Picker--quiet, :disabled, .is-disabled, .is-loading) {
color: var(--highcontrast-picker-content-color-default, var(--mod-picker-font-color-default-open, var(--spectrum-picker-font-color-default-open)));
background-color: var(--highcontrast-picker-background-color, var(--mod-picker-background-color-default-open, var(--spectrum-picker-background-color-default-open)));
border-color: var(--highcontrast-picker-border-color-default, var(--mod-picker-border-default-open, var(--spectrum-picker-border-color-default-open)));
@@ -322,32 +335,17 @@
border-color: var(--highcontrast-picker-border-color-default, var(--mod-picker-border-color-error-key-focus, var(--spectrum-picker-border-color-error-key-focus)));
}
}
+}
- &.is-loading {
- .spectrum-Picker-menuIcon {
- color: var(--highcontrast-picker-content-color-disabled, var(--mod-picker-icon-color-disabled, var(--spectrum-picker-icon-color-disabled)));
- }
- }
-
- &.is-loading,
- &.is-invalid {
- .spectrum-Picker-label {
- /* @deprecation --mod-picker-spacing-text-to-alert-icon-inline-start has been renamed to --mod-picker-spacing-text-to-icon-inline-end
- and will be removed in a future version. */
- margin-inline-end: var(--mod-picker-spacing-text-to-icon-inline-end, var(--mod-picker-spacing-text-to-alert-icon-inline-start, var(--spectrum-picker-spacing-text-to-icon-inline-end)));
- }
- }
-
- .spectrum-Picker-icon {
- flex-shrink: 0;
- margin-inline-end: var(--mod-picker-spacing-text-to-icon, var(--spectrum-picker-spacing-text-to-icon));
- }
+/* Optional workflow icon that appears before the text within the picker. */
+.spectrum-Picker .spectrum-Picker-icon {
+ flex-shrink: 0;
+ margin-inline-end: var(--mod-picker-spacing-starting-icon-to-text, var(--spectrum-picker-spacing-starting-icon-to-text));
}
+/* Value: the text within the Picker (current value or placeholder) */
.spectrum-Picker-label {
- /* Be the biggest, but also shrink! */
flex: 1 1 auto;
-
white-space: nowrap;
overflow: hidden;
@@ -358,14 +356,14 @@
text-overflow: ellipsis;
text-align: start;
- padding-block-start: var(--mod-picker-spacing-top-to-text, var(--spectrum-picker-spacing-top-to-text));
- padding-block-end: calc(var(--mod-picker-spacing-bottom-to-text, var(--spectrum-picker-spacing-bottom-to-text)) - var(--mod-picker-border-width, var(--spectrum-picker-border-width)));
+ margin-block-start: var(--mod-picker-spacing-top-to-text, var(--spectrum-picker-spacing-top-to-text));
+ margin-block-end: calc(var(--mod-picker-spacing-bottom-to-text, var(--spectrum-picker-spacing-bottom-to-text)) - var(--mod-picker-border-width, var(--spectrum-picker-border-width)));
+ margin-inline-end: var(--mod-picker-spacing-text-to-icon-inline-end, var(--spectrum-picker-spacing-text-to-icon-inline-end));
&.is-placeholder {
font-weight: var(--mod-picker-placeholder-font-weight, var(--spectrum-picker-font-weight));
font-style: var(--mod-picker-placeholder-font-style, var(--spectrum-picker-placeholder-font-style));
transition: color var(--mod-picker-animation-duration, var(--spectrum-picker-animation-duration)) ease-in-out;
-
color: var(--highcontrast-picker-content-color-default, var(--mod-picker-font-color-default, var(--spectrum-picker-font-color-default)));
&:hover {
@@ -376,19 +374,23 @@
color: var(--highcontrast-picker-content-color-default, var(--mod-picker-font-color-active, var(--spectrum-picker-font-color-active)));
}
}
+
+ /* CJK (Chinese, Japanese, and Korean) language support */
+ .spectrum-Picker:lang(ja) &,
+ .spectrum-Picker:lang(zh) &,
+ .spectrum-Picker:lang(ko) & {
+ line-height: var(--mod-picker-line-height-cjk, var(--spectrum-picker-line-height-cjk));
+ }
}
-/* The picker chevron */
+/* Disclosure icon (chevron) */
.spectrum-Picker-menuIcon {
display: inline-block;
position: relative;
vertical-align: top;
- transition: color var(--mod-picker-animation-duration, var(--spectrum-picker-animation-duration)) ease-out;
flex-shrink: 0;
-
- margin-inline-start: var(--mod-picker-spacing-icon-to-disclosure-icon, var(--spectrum-picker-spacing-icon-to-disclosure-icon));
margin-block: var(--mod-picker-spacing-top-to-disclosure-icon, var(--spectrum-picker-spacing-top-to-disclosure-icon));
-
+ transition: color var(--mod-picker-animation-duration, var(--spectrum-picker-animation-duration)) ease-out;
color: var(--highcontrast-picker-content-color-default, var(--mod-picker-icon-color-default, var(--spectrum-picker-icon-color-default)));
&:active {
@@ -397,56 +399,39 @@
}
.spectrum-Picker-validationIcon {
- flex-shrink: 0;
margin-block-start: calc(var(--mod-picker-spacing-top-to-alert-icon, var(--spectrum-picker-spacing-top-to-alert-icon)) - var(--mod-picker-border-width, var(--spectrum-picker-border-width)));
margin-block-end: calc(var(--mod-picker-spacing-top-to-alert-icon, var(--spectrum-picker-spacing-top-to-alert-icon)) - var(--mod-picker-border-width, var(--spectrum-picker-border-width)));
+ margin-inline-end: var(--mod-picker-spacing-icon-to-disclosure-icon, var(--spectrum-picker-spacing-icon-to-disclosure-icon));
+ flex-shrink: 0;
}
.spectrum-Picker .spectrum-ProgressCircle {
margin-block-start: calc(var(--mod-picker-spacing-top-to-progress-circle, var(--spectrum-picker-spacing-top-to-progress-circle)) - var(--mod-picker-border-width, var(--spectrum-picker-border-width)));
margin-block-end: calc(var(--mod-picker-spacing-top-to-progress-circle, var(--spectrum-picker-spacing-top-to-progress-circle)) - var(--mod-picker-border-width, var(--spectrum-picker-border-width)));
+ margin-inline-end: var(--mod-picker-spacing-icon-to-disclosure-icon, var(--spectrum-picker-spacing-icon-to-disclosure-icon));
}
-.spectrum-Picker-label ~ .spectrum-Picker-menuIcon {
- margin-inline-start: var(--mod-picker-spacing-text-to-icon, var(--spectrum-picker-spacing-text-to-icon));
-}
-
-.spectrum-Picker + .spectrum-Popover--bottom.is-open {
+.spectrum-Picker + .spectrum-Popover--bottom-start.is-open {
transform: translateY(var(--mod-picker-spacing-picker-to-popover, var(--spectrum-picker-spacing-picker-to-popover)));
}
.spectrum-Picker--quiet {
- inline-size: auto;
- min-inline-size: 0;
border: none;
border-radius: 0;
- padding-inline: var(--mod-picker-spacing-edge-to-text-quiet, var(--spectrum-picker-spacing-edge-to-text-quiet));
- margin-block-start: calc(var(--mod-picker-spacing-label-to-picker-quiet, var(--spectrum-picker-spacing-label-to-picker-quiet)) + (1px));
color: var(--highcontrast-picker-content-color-default, var(--mod-picker-font-color-default, var(--spectrum-picker-font-color-default)));
- background-color: var(--highcontrast-picker-background-color, transparent);
&.spectrum-Picker--sideLabel {
margin-block-start: 0;
}
- .spectrum-Picker-menuIcon {
- margin-inline-end: var(--mod-picker-spacing-edge-to-disclosure-icon-quiet, var(--spectrum-picker-spacing-edge-to-disclosure-icon-quiet));
- }
-
&::after {
border: none;
block-size: auto;
inline-size: auto;
}
- &:hover {
- background-color: var(--highcontrast-picker-background-color, transparent);
- }
-
&:focus-visible,
&.is-keyboardFocused {
- background-color: var(--highcontrast-picker-background-color, transparent);
-
/* Focus indicator changes from a ring to a line underneath. */
&::after {
border: none;
@@ -455,16 +440,6 @@
margin: calc((var(--mod-picker-focus-indicator-gap, var(--spectrum-picker-focus-indicator-gap)) + var(--mod-picker-border-width, var(--spectrum-picker-border-width))) * -1) 0;
}
}
-
- &:active,
- &.is-open {
- background-color: var(--highcontrast-picker-background-color, transparent);
- }
-
- &.spectrum-Picker:disabled,
- &.spectrum-Picker.is-disabled {
- background-color: var(--highcontrast-picker-background-color, transparent);
- }
}
.spectrum-Picker--sideLabel {
@@ -472,16 +447,20 @@
vertical-align: top;
}
-/* Disabled state:
+/* Disabled and loading states:
Make sure this appears after any use of :hover while postcss-hover-media-feature is being used. The plugin moves
all hover styles within a media query that changes the order of the CSS, affecting styles with the same specificity. */
.spectrum-Picker:disabled,
.spectrum-Picker.is-disabled {
cursor: default;
- background-color: var(--highcontrast-picker-background-color, var(--mod-picker-background-color-disabled, var(--spectrum-picker-background-color-disabled)));
+ transform: none;
border-color: var(--highcontrast-picker-border-color-disabled, var(--spectrum-picker-border-color-disabled));
color: var(--highcontrast-picker-content-color-disabled, var(--mod-picker-font-color-disabled, var(--spectrum-picker-font-color-disabled)));
+ &:not(.spectrum-Picker--quiet) {
+ background-color: var(--highcontrast-picker-background-color, var(--mod-picker-background-color-disabled, var(--spectrum-picker-background-color-disabled)));
+ }
+
.spectrum-Picker-icon,
.spectrum-Picker-menuIcon,
.spectrum-Picker-validationIcon {
@@ -492,3 +471,42 @@
color: var(--highcontrast-picker-content-color-disabled, var(--mod-picker-font-color-disabled, var(--spectrum-picker-font-color-disabled)));
}
}
+
+.spectrum-Picker.is-loading {
+ transform: none;
+
+ .spectrum-Picker-menuIcon {
+ color: var(--highcontrast-picker-content-color-disabled, var(--mod-picker-icon-color-disabled, var(--spectrum-picker-icon-color-disabled)));
+ }
+}
+
+/* Forced colors / high contrast mode */
+@media (forced-colors: active) {
+ .spectrum-Picker {
+ --highcontrast-picker-focus-indicator-color: Highlight;
+
+ --highcontrast-picker-border-color-default: ButtonBorder;
+ --highcontrast-picker-border-color-hover: Highlight;
+ --highcontrast-picker-border-color-disabled: GrayText;
+
+ --highcontrast-picker-content-color-default: ButtonText;
+ --highcontrast-picker-content-color-disabled: GrayText;
+ --highcontrast-picker-background-color: ButtonFace;
+
+ &:focus-visible,
+ &.is-keyboardFocused {
+ --highcontrast-picker-border-color-hover: ButtonText;
+ }
+
+ /* Focus indicator */
+ &::after {
+ /* Make sure default transparent border stays transparent. */
+ forced-color-adjust: none;
+ }
+
+ .spectrum-Picker-label {
+ /* Remove additional text backplate added in WHCM (Edge). */
+ forced-color-adjust: none;
+ }
+ }
+}
diff --git a/components/picker/package.json b/components/picker/package.json
index 6f87a82f094..accba5c7e54 100644
--- a/components/picker/package.json
+++ b/components/picker/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/picker",
- "version": "9.1.4",
+ "version": "10.0.0-next.0",
"description": "The Spectrum CSS picker component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,10 +25,10 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/helptext": ">=7.0.0 <8.0.0",
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
- "@spectrum-css/menu": ">=9.0.0 <10.0.0",
- "@spectrum-css/popover": ">=8.0.0 <9.0.0",
+ "@spectrum-css/helptext": ">=8.0.0-next.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
+ "@spectrum-css/menu": ">=10.0.0-next.0",
+ "@spectrum-css/popover": ">=9.0.0-next.0",
"@spectrum-css/progresscircle": ">=5.0.0 <6.0.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
@@ -54,10 +54,10 @@
},
"devDependencies": {
"@spectrum-css/commons": "11.0.0",
- "@spectrum-css/helptext": "7.1.0",
- "@spectrum-css/icon": "9.1.0",
- "@spectrum-css/menu": "9.2.0",
- "@spectrum-css/popover": "8.2.0",
+ "@spectrum-css/helptext": "8.0.0-next.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
+ "@spectrum-css/menu": "10.0.0-next.1",
+ "@spectrum-css/popover": "9.0.0-next.1",
"@spectrum-css/progresscircle": "5.1.0",
"@spectrum-css/tokens": "16.0.1"
},
diff --git a/components/picker/stories/picker.stories.js b/components/picker/stories/picker.stories.js
index c2fa56e619d..45c32f3872a 100644
--- a/components/picker/stories/picker.stories.js
+++ b/components/picker/stories/picker.stories.js
@@ -1,5 +1,6 @@
+import { default as IconStories } from "@spectrum-css/icon/stories/icon.stories.js";
import { WithDividers as MenuStories } from "@spectrum-css/menu/stories/menu.stories.js";
-import { Sizes } from "@spectrum-css/preview/decorators";
+import { Sizes, withDownStateDimensionCapture } from "@spectrum-css/preview/decorators";
import { disableDefaultModes } from "@spectrum-css/preview/modes";
import { isActive, isDisabled, isHovered, isInvalid, isKeyboardFocused, isLoading, isOpen, isQuiet, size } from "@spectrum-css/preview/types";
import metadata from "../dist/metadata.json";
@@ -17,7 +18,7 @@ export default {
size: size(["s", "m", "l", "xl"]),
label: {
name: "Label",
- description: "The text for the field label",
+ description: "The label text that is displayed above or to the side of the Picker. This uses a separate Label component outside of the Picker markup.",
type: { name: "string" },
table: {
type: { summary: "string" },
@@ -32,33 +33,28 @@ export default {
type: { summary: "string" },
category: "Component",
},
+ control: {
+ type: "select",
+ labels: {
+ side: "side (inline start)",
+ },
+ },
options: ["top", "side"],
- control: { type: "select" },
},
withSwitch: {
- name: "Show switch component",
- description: "Display a separate switch component after the picker. Helpful for testing alignment with the picker when using the side label.",
+ name: "Display Switch component",
+ description: "Displays a Switch component after the Picker. This is used for testing the vertical alignment between the side label, Picker, and Switch.",
type: { name: "boolean" },
table: {
type: { summary: "boolean" },
- category: "Advanced",
+ category: "Content",
},
control: "boolean",
if: { arg: "labelPosition", eq: "side" },
},
- showWorkflowIcon: {
- name: "Show workflow icon",
- description: "Display optional workflow icon before the value or placeholder",
- type: { name: "boolean" },
- table: {
- type: { summary: "boolean" },
- category: "Advanced",
- },
- control: "boolean",
- },
placeholder: {
- name: "Placeholder",
- description: "The placeholder text prompts a user to select an option from the picker menu. It disappears once a user selects an option. This will not be displayed if the `value` control is set.",
+ name: "Value or placeholder",
+ description: "The text within the Picker that represents its current value or placeholder.",
type: { name: "string" },
table: {
type: { summary: "string" },
@@ -66,15 +62,16 @@ export default {
},
control: { type: "text" },
},
- currentValue: {
- name: "Value",
- description: "The value shows the option that a user has selected.",
- type: { name: "string" },
- table: {
- type: { summary: "string" },
- category: "Content",
- },
- control: { type: "text" },
+ contentIconName: {
+ ...(IconStories?.argTypes?.iconName ?? {}),
+ name: "Icon",
+ description: "Optional workflow icon that appears before the value/placeholder text within the picker.",
+ if: false,
+ },
+ isQuiet: {
+ ...isQuiet,
+ description: "An alternative way to display the Picker without a visible background.",
+ name: "Quiet styling",
},
helpText: {
name: "Help text",
@@ -86,12 +83,18 @@ export default {
},
control: { type: "text" },
},
- isQuiet,
isOpen,
isKeyboardFocused,
isDisabled,
- isLoading,
- isInvalid,
+ isLoading: {
+ ...isLoading,
+ description: "When in the loading state, a progress circle will display next to the disclosure icon.",
+ if: { arg: "isDisabled", eq: false }
+ },
+ isInvalid: {
+ ...isInvalid,
+ description: "When in the invalid state, some styles change on the Picker, and an invalid icon displays next to the disclosure icon.",
+ },
isHovered,
isActive,
popoverContent: { table: { disable: true } },
@@ -139,7 +142,14 @@ export default {
},
packageJson,
metadata,
+ downState: {
+ selectors: [".spectrum-Picker:not(:disabled, .is-disabled, .is-loading)"],
+ },
},
+ decorators: [
+ withDownStateDimensionCapture,
+ ],
+ tags: ["migrated"],
};
export const Default = PickerGroup.bind({});
diff --git a/components/picker/stories/template.js b/components/picker/stories/template.js
index 5bce15f0744..0d8bec6d42f 100644
--- a/components/picker/stories/template.js
+++ b/components/picker/stories/template.js
@@ -1,42 +1,48 @@
import { Template as FieldLabel } from "@spectrum-css/fieldlabel/stories/template.js";
import { Template as HelpText } from "@spectrum-css/helptext/stories/template.js";
import { Template as Icon } from "@spectrum-css/icon/stories/template.js";
+import { Template as InfieldProgressCircle } from "@spectrum-css/infieldprogresscircle/stories/template.js";
import { Template as Popover } from "@spectrum-css/popover/stories/template.js";
import { Container, getRandomId } from "@spectrum-css/preview/decorators";
-import { Template as ProgressCircle } from "@spectrum-css/progresscircle/stories/template.js";
import { Template as Switch } from "@spectrum-css/switch/stories/template.js";
import { html } from "lit";
import { classMap } from "lit/directives/class-map.js";
+import { ifDefined } from "lit/directives/if-defined.js";
import { styleMap } from "lit/directives/style-map.js";
import { when } from "lit/directives/when.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
/**
- * Template for Picker only (no popover or help text).
+ * Template for just the Picker. Does not include sibling Label and Help text.
*/
export const Picker = ({
rootClass = "spectrum-Picker",
+ id = getRandomId("picker"),
size = "m",
- labelPosition,
- placeholder = "",
- currentValue = "",
+ labelPosition = "top",
+ placeholder,
+ contentIconName,
isQuiet = false,
isKeyboardFocused = false,
- showWorkflowIcon = false,
isOpen = false,
isInvalid = false,
isLoading = false,
isDisabled = false,
isHovered = false,
isActive = false,
+ ariaLabeledBy,
customClasses = [],
customStyles = {},
- onclick,
} = {}, context = {}) => {
+ const { updateArgs } = context;
+
+ // Use the chevron from the UI icon set for each size, as defined in the design spec.
+ let disclosureIconName = "ChevronDown100";
+ if (size == "s") { disclosureIconName = "ChevronDown75"; }
+ else if (size == "l") { disclosureIconName = "ChevronDown200"; }
+ else if (size == "xl") { disclosureIconName = "ChevronDown300"; }
+
return html`
- ${when(showWorkflowIcon, () =>
+ ${when(contentIconName, () =>
Icon({
+ iconName: contentIconName,
size,
- setName: "workflow",
- iconName: "Image",
- customClasses: [`${rootClass}-icon`],
- }, context)
- )}
- ${currentValue ? currentValue : placeholder}
+ customClasses: ["spectrum-Picker-icon"],
+ }, context))
+ }
+ ${placeholder}
${when(isLoading, () =>
- ProgressCircle({
- size: "s",
+ InfieldProgressCircle({
+ size: size,
isIndeterminate: true,
}, context)
)}
@@ -90,12 +94,7 @@ export const Picker = ({
${Icon({
size,
setName: "ui",
- iconName: {
- s: "ChevronDown75",
- m: "ChevronDown100",
- l: "ChevronDown200",
- xl: "ChevronDown300",
- }[size ?? "m"],
+ iconName: disclosureIconName,
customClasses: [`${rootClass}-menuIcon`],
}, context)}
@@ -103,92 +102,102 @@ export const Picker = ({
};
/**
- * Picker template including adjacent popover and help text.
+ * Picker template used along with other sibling components, such as Field label and Help text.
*/
export const Template = ({
- rootClass = "spectrum-Picker",
size = "m",
label,
labelPosition = "top",
- placeholder = "",
- currentValue = "",
- helpText = "",
+ placeholder,
+ helpText,
isQuiet = false,
- isKeyboardFocused = false,
- showWorkflowIcon = false,
isOpen = false,
isInvalid = false,
- isLoading = false,
isDisabled = false,
- isReadOnly = false,
- isHovered = false,
- isActive = false,
+ isLoading = false,
withSwitch = false,
fieldLabelStyle = {},
- customClasses = [],
- customStyles = {},
+ fieldLabelId = getRandomId("fieldlabel"),
+ customPopoverStyles = {
+ // Demonstrate popover at 100% of the width of the Picker.
+ minInlineSize: "100%",
+ "--mod-menu-inline-size": "100%",
+ // Helps ensure that Popover appears below the Picker, with side labels layout.
+ display: "block",
+ },
popoverContent = [],
- id = getRandomId("picker"),
} = {}, context = {}) => {
- const { updateArgs } = context;
+ const pickerMarkup = Picker({
+ size,
+ isQuiet,
+ isOpen,
+ isInvalid,
+ isDisabled,
+ isLoading,
+ placeholder,
+ popoverContent,
+ labelPosition,
+ ariaLabeledBy: fieldLabelId,
+ }, context);
- return html`
- ${when(label, () =>
- FieldLabel({
- size,
- label,
- isDisabled,
- customStyles: fieldLabelStyle,
- alignment: labelPosition === "side" ? "left" : undefined,
- }, context)
- )}
- ${Popover({
- isOpen: isOpen && !isDisabled,
- withTip: false,
- position: "bottom-start",
- trigger: (passthroughs, context) => Picker({
- ...passthroughs,
- rootClass,
- size,
- placeholder,
- currentValue,
- isQuiet,
- showWorkflowIcon,
- isKeyboardFocused,
- isOpen,
- isInvalid,
- isLoading,
- isDisabled,
- isReadOnly,
- isHovered,
- isActive,
- customClasses,
- customStyles,
- labelPosition,
- id,
- onclick: function() {
- updateArgs({ isOpen: !isOpen });
- },
- }, context),
- content: popoverContent,
- }, context)}
- ${when(helpText, () =>
- HelpText({
- text: helpText,
- variant: isInvalid ? "negative" : "neutral",
- hideIcon: true,
- }, context)
- )}
- ${when(withSwitch, () =>
- Switch({
- size,
- label: "Toggle switch",
- customStyles: {
- "padding-inline-start": "15px"
+ const popoverMarkup = popoverContent.length !== 0 ? Popover({
+ isOpen: isOpen && !isDisabled && !isLoading,
+ withTip: false,
+ position: "bottom-start",
+ isQuiet,
+ content: popoverContent,
+ size,
+ customStyles: customPopoverStyles,
+ popoverWrapperStyles: {
+ "display": "block",
+ },
+ }, context) : "";
+
+ const helpTextMarkup = helpText ? HelpText({
+ size,
+ text: helpText,
+ variant: isInvalid ? "negative" : "neutral",
+ hideIcon: true,
+ isDisabled,
+ }, context) : "";
+
+ const markup = html`
+
+ ${when(label, () =>
+ FieldLabel({
+ size,
+ label,
+ isDisabled,
+ style: fieldLabelStyle,
+ alignment: labelPosition == "side" ? "left" : undefined,
+ id: fieldLabelId,
+ }, context)
+ )}
+ ${labelPosition == "side"
+ ? html`
${pickerMarkup} ${popoverMarkup} ${helpTextMarkup}
`
+ : html`${pickerMarkup} ${popoverMarkup} ${helpTextMarkup}`
+ }
+ ${when(withSwitch, () =>
+ Switch({
+ size,
+ label: "Toggle switch",
+ id: fieldLabelId + "-switch",
+ customStyles: {
+ "padding-inline-start": "15px"
+ }
+ }, context)
+ )}
+
`;
+ return markup;
};
/**
diff --git a/components/picker/themes/express.css b/components/picker/themes/express.css
deleted file mode 100644
index bb521933e6b..00000000000
--- a/components/picker/themes/express.css
+++ /dev/null
@@ -1,36 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
-
-@container style(--system: express) {
- .spectrum-Picker {
- --spectrum-picker-background-color-default: var(--spectrum-gray-200);
- --spectrum-picker-background-color-default-open: var(--spectrum-gray-300);
- --spectrum-picker-background-color-hover: var(--spectrum-gray-300);
- --spectrum-picker-background-color-hover-open: var(--spectrum-gray-300);
- --spectrum-picker-background-color-active: var(--spectrum-gray-400);
- --spectrum-picker-background-color-key-focus: var(--spectrum-gray-300);
-
- --spectrum-picker-border-color-default: transparent;
- --spectrum-picker-border-color-default-open: transparent;
- --spectrum-picker-border-color-hover: transparent;
- --spectrum-picker-border-color-hover-open: transparent;
- --spectrum-picker-border-color-active: transparent;
- --spectrum-picker-border-color-key-focus: transparent;
-
- --spectrum-picker-border-width: 0px;
- }
-}
diff --git a/components/picker/themes/spectrum-two.css b/components/picker/themes/spectrum-two.css
deleted file mode 100644
index 3be66bfa106..00000000000
--- a/components/picker/themes/spectrum-two.css
+++ /dev/null
@@ -1,33 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-Picker {
- --spectrum-picker-background-color-default: var(--spectrum-gray-100);
- --spectrum-picker-background-color-default-open: var(--spectrum-gray-200);
- --spectrum-picker-background-color-hover: var(--spectrum-gray-200);
- --spectrum-picker-background-color-hover-open: var(--spectrum-gray-200);
- --spectrum-picker-background-color-active: var(--spectrum-gray-200);
- --spectrum-picker-background-color-key-focus: var(--spectrum-gray-200);
-
- --spectrum-picker-border-color-default: var(--spectrum-gray-500);
- --spectrum-picker-border-color-default-open: var(--spectrum-gray-800);
- --spectrum-picker-border-color-hover: var(--spectrum-gray-600);
- --spectrum-picker-border-color-hover-open: var(--spectrum-gray-900);
- --spectrum-picker-border-color-active: var(--spectrum-gray-700);
- --spectrum-picker-border-color-key-focus: var(--spectrum-gray-900);
- --spectrum-picker-border-color-disabled: var(--spectrum-gray-300);
-
- --spectrum-picker-border-width: var(--spectrum-border-width-100);
- }
-}
diff --git a/components/picker/themes/spectrum.css b/components/picker/themes/spectrum.css
deleted file mode 100644
index 70759b6ea39..00000000000
--- a/components/picker/themes/spectrum.css
+++ /dev/null
@@ -1,33 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-Picker {
- --spectrum-picker-background-color-default: var(--spectrum-gray-75);
- --spectrum-picker-background-color-default-open: var(--spectrum-gray-200);
- --spectrum-picker-background-color-active: var(--spectrum-gray-300);
- --spectrum-picker-background-color-hover: var(--spectrum-gray-200);
- --spectrum-picker-background-color-hover-open: var(--spectrum-gray-200);
- --spectrum-picker-background-color-key-focus: var(--spectrum-gray-200);
-
- --spectrum-picker-border-color-default: var(--spectrum-gray-500);
- --spectrum-picker-border-color-default-open: var(--spectrum-gray-500);
- --spectrum-picker-border-color-hover-open: var(--spectrum-gray-600);
- --spectrum-picker-border-color-key-focus: var(--spectrum-gray-600);
- --spectrum-picker-border-color-disabled: transparent;
- }
-}
diff --git a/components/pickerbutton/CHANGELOG.md b/components/pickerbutton/CHANGELOG.md
index 549c39da78c..025d8d99821 100644
--- a/components/pickerbutton/CHANGELOG.md
+++ b/components/pickerbutton/CHANGELOG.md
@@ -1,5 +1,14 @@
# Change log
+## 7.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+ - @spectrum-css/menu@10.0.0-next.0
+ - @spectrum-css/popover@9.0.0-next.0
+
## 6.1.1
### Patch Changes
diff --git a/components/pickerbutton/dist/metadata.json b/components/pickerbutton/dist/metadata.json
index 27643d6fd25..c6186980d83 100644
--- a/components/pickerbutton/dist/metadata.json
+++ b/components/pickerbutton/dist/metadata.json
@@ -107,12 +107,13 @@
"global": [
"--spectrum-animation-duration-100",
"--spectrum-body-sans-serif-font-weight",
+ "--spectrum-border-width-100",
"--spectrum-component-height-100",
"--spectrum-component-height-200",
"--spectrum-component-height-300",
"--spectrum-component-height-75",
+ "--spectrum-corner-radius-100",
"--spectrum-corner-radius-200",
- "--spectrum-corner-radius-75",
"--spectrum-default-font-style",
"--spectrum-disabled-background-color",
"--spectrum-disabled-content-color",
@@ -137,18 +138,6 @@
"--spectrum-text-to-visual-300",
"--spectrum-text-to-visual-50"
],
- "system-theme": [
- "--system-picker-button-background-color",
- "--system-picker-button-background-color-down",
- "--system-picker-button-background-color-hover",
- "--system-picker-button-background-color-key-focus",
- "--system-picker-button-border-color",
- "--system-picker-button-border-radius",
- "--system-picker-button-border-radius-rounded-sided",
- "--system-picker-button-border-radius-sided",
- "--system-picker-button-border-width",
- "--system-picker-button-padding"
- ],
"passthroughs": [],
"high-contrast": []
}
diff --git a/components/pickerbutton/index.css b/components/pickerbutton/index.css
index d9404687aca..65e1f840c19 100644
--- a/components/pickerbutton/index.css
+++ b/components/pickerbutton/index.css
@@ -11,9 +11,10 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
.spectrum-PickerButton {
+ /* Bring back --spectrum-in-field-button-edge-to-fill when S2 tokens available */
+ --spectrum-picker-button-padding: 4px;
+
--spectrum-picker-button-height: var(--spectrum-component-height-100);
--spectrum-picker-button-width: var(--spectrum-component-height-100);
--spectrum-picker-button-gap: var(--spectrum-text-to-visual-50);
@@ -36,7 +37,17 @@
--spectrum-picker-button-font-weight: var(--spectrum-body-sans-serif-font-weight);
--spectrum-picker-button-font-size: var(--spectrum-font-size-100);
+ --spectrum-picker-button-border-color: inherit;
+ --spectrum-picker-button-border-radius: var(--spectrum-corner-radius-100);
+ --spectrum-picker-button-border-radius-rounded-sided: 0;
+ --spectrum-picker-button-border-radius-sided: 0;
+ --spectrum-picker-button-border-width: var(--spectrum-border-width-100);
--spectrum-picker-button-border-radius-rounded: var(--spectrum-corner-radius-200);
+
+ --spectrum-picker-button-background-color: var(--spectrum-gray-50);
+ --spectrum-picker-button-background-color-hover: var(--spectrum-gray-100);
+ --spectrum-picker-button-background-color-down: var(--spectrum-gray-200);
+ --spectrum-picker-button-background-color-key-focus: var(--spectrum-gray-100);
--spectrum-picker-button-background-animation-duration: var(--spectrum-animation-duration-100);
&:hover {
diff --git a/components/pickerbutton/package.json b/components/pickerbutton/package.json
index fec23830b1e..cf60aeb598e 100644
--- a/components/pickerbutton/package.json
+++ b/components/pickerbutton/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/pickerbutton",
- "version": "6.1.1",
+ "version": "7.0.0-next.0",
"description": "The Spectrum CSS picker button component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,9 +25,9 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
- "@spectrum-css/menu": ">=9.0.0 <10.0.0",
- "@spectrum-css/popover": ">=8.0.0 <9.0.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
+ "@spectrum-css/menu": ">=10.0.0-next.0",
+ "@spectrum-css/popover": ">=9.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -45,9 +45,9 @@
}
},
"devDependencies": {
- "@spectrum-css/icon": "9.1.0",
- "@spectrum-css/menu": "9.2.0",
- "@spectrum-css/popover": "8.2.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
+ "@spectrum-css/menu": "10.0.0-next.1",
+ "@spectrum-css/popover": "9.0.0-next.1",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/pickerbutton/stories/template.js b/components/pickerbutton/stories/template.js
index 3df4f85b636..6adcb7398fd 100644
--- a/components/pickerbutton/stories/template.js
+++ b/components/pickerbutton/stories/template.js
@@ -8,9 +8,6 @@ import { styleMap } from "lit/directives/style-map.js";
import { when } from "lit/directives/when.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-PickerButton",
diff --git a/components/pickerbutton/themes/express.css b/components/pickerbutton/themes/express.css
deleted file mode 100644
index 9dbd1a7fa4a..00000000000
--- a/components/pickerbutton/themes/express.css
+++ /dev/null
@@ -1,33 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
-
-@container style(--system: express) {
- .spectrum-PickerButton {
- --spectrum-picker-button-background-color: var(--spectrum-gray-200);
- --spectrum-picker-button-background-color-hover: var(--spectrum-gray-300);
- --spectrum-picker-button-background-color-down: var(--spectrum-gray-400);
- --spectrum-picker-button-background-color-key-focus: var(--spectrum-gray-300);
-
- --spectrum-picker-button-border-color: none;
- --spectrum-picker-button-border-radius: var(--spectrum-corner-radius-75);
- --spectrum-picker-button-border-radius-rounded-sided: var(--spectrum-corner-radius-200);
- --spectrum-picker-button-border-radius-sided: var(--spectrum-corner-radius-75);
- --spectrum-picker-button-border-width: 0px;
-
- --spectrum-picker-button-padding: var(--spectrum-in-field-button-edge-to-fill);
- }
-}
diff --git a/components/pickerbutton/themes/spectrum-two.css b/components/pickerbutton/themes/spectrum-two.css
deleted file mode 100644
index fb132a104e9..00000000000
--- a/components/pickerbutton/themes/spectrum-two.css
+++ /dev/null
@@ -1,30 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-PickerButton {
- --spectrum-picker-button-background-color: var(--spectrum-gray-50);
- --spectrum-picker-button-background-color-hover: var(--spectrum-gray-100);
- --spectrum-picker-button-background-color-down: var(--spectrum-gray-200);
- --spectrum-picker-button-background-color-key-focus: var(--spectrum-gray-100);
-
- --spectrum-picker-button-border-color: none;
- --spectrum-picker-button-border-radius: var(--spectrum-corner-radius-75);
- --spectrum-picker-button-border-radius-rounded-sided: var(--spectrum-corner-radius-200);
- --spectrum-picker-button-border-radius-sided: var(--spectrum-corner-radius-75);
- --spectrum-picker-button-border-width: 0px;
-
- /* Bring back --spectrum-in-field-button-edge-to-fill when S2 tokens available */
- --spectrum-picker-button-padding: 4px;
- }
-}
diff --git a/components/pickerbutton/themes/spectrum.css b/components/pickerbutton/themes/spectrum.css
deleted file mode 100644
index 85c3b9aaf9e..00000000000
--- a/components/pickerbutton/themes/spectrum.css
+++ /dev/null
@@ -1,33 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-PickerButton {
- --spectrum-picker-button-background-color: var(--spectrum-gray-75);
- --spectrum-picker-button-background-color-hover: var(--spectrum-gray-200);
- --spectrum-picker-button-background-color-down: var(--spectrum-gray-300);
- --spectrum-picker-button-background-color-key-focus: var(--spectrum-gray-200);
-
- --spectrum-picker-button-border-color: inherit;
- --spectrum-picker-button-border-radius: var(--spectrum-corner-radius-100);
- --spectrum-picker-button-border-radius-rounded-sided: 0;
- --spectrum-picker-button-border-radius-sided: 0;
- --spectrum-picker-button-border-width: var(--spectrum-border-width-100);
-
- --spectrum-picker-button-padding: var(--spectrum-in-field-button-edge-to-fill);
- }
-}
diff --git a/components/popover/CHANGELOG.md b/components/popover/CHANGELOG.md
index b2ade910b95..92770ea8967 100644
--- a/components/popover/CHANGELOG.md
+++ b/components/popover/CHANGELOG.md
@@ -1,5 +1,21 @@
# Change log
+## 9.0.0-next.1
+
+### Patch Changes
+
+- Updated dependencies [[`c6836fb`](https://github.com/adobe/spectrum-css/commit/c6836fb132effcfb09e4ca6d0d8923564bfe2914)]:
+ - @spectrum-css/divider@6.0.0-next.0
+
+## 9.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @spectrum-css/alertdialog@5.0.0-next.0
+ - @spectrum-css/menu@10.0.0-next.0
+ - @spectrum-css/dialog@13.0.0-next.0
+
## 8.2.0
### Minor Changes
diff --git a/components/popover/dist/metadata.json b/components/popover/dist/metadata.json
index 234562ed9ae..75570cec13b 100644
--- a/components/popover/dist/metadata.json
+++ b/components/popover/dist/metadata.json
@@ -105,51 +105,52 @@
"--mod-popover-background-color",
"--mod-popover-border-color",
"--mod-popover-border-width",
- "--mod-popover-content-area-spacing-vertical",
+ "--mod-popover-content-area-spacing",
"--mod-popover-corner-radius",
+ "--mod-popover-drop-shadow-blur",
+ "--mod-popover-drop-shadow-color",
+ "--mod-popover-drop-shadow-x",
+ "--mod-popover-drop-shadow-y",
"--mod-popover-filter",
"--mod-popover-pointer-edge-spacing",
"--mod-popover-pointer-height",
- "--mod-popover-pointer-width",
- "--mod-popover-shadow-blur",
- "--mod-popover-shadow-color",
- "--mod-popover-shadow-horizontal",
- "--mod-popover-shadow-vertical"
+ "--mod-popover-pointer-width"
],
"component": [
"--spectrum-popover-animation-distance",
"--spectrum-popover-background-color",
- "--spectrum-popover-border-color",
+ "--spectrum-popover-border-color-rgb",
+ "--spectrum-popover-border-color-with-transparency",
+ "--spectrum-popover-border-opacity",
+ "--spectrum-popover-border-transparency",
"--spectrum-popover-border-width",
- "--spectrum-popover-content-area-spacing-vertical",
+ "--spectrum-popover-content-area-spacing",
"--spectrum-popover-corner-radius",
+ "--spectrum-popover-drop-shadow-blur",
+ "--spectrum-popover-drop-shadow-color",
+ "--spectrum-popover-drop-shadow-x",
+ "--spectrum-popover-drop-shadow-y",
+ "--spectrum-popover-edge-to-content-area",
"--spectrum-popover-filter",
"--spectrum-popover-pointer-edge-offset",
"--spectrum-popover-pointer-edge-spacing",
"--spectrum-popover-pointer-height",
"--spectrum-popover-pointer-width",
- "--spectrum-popover-shadow-blur",
- "--spectrum-popover-shadow-color",
- "--spectrum-popover-shadow-horizontal",
- "--spectrum-popover-shadow-vertical",
"--spectrum-popover-tip-height",
- "--spectrum-popover-tip-width",
- "--spectrum-popover-top-to-content-area"
+ "--spectrum-popover-tip-width"
],
"global": [
"--spectrum-animation-duration-0",
"--spectrum-animation-duration-100",
"--spectrum-background-layer-2-color",
- "--spectrum-border-width-100",
- "--spectrum-corner-radius-100",
- "--spectrum-drop-shadow-blur",
- "--spectrum-drop-shadow-color",
- "--spectrum-drop-shadow-x",
- "--spectrum-drop-shadow-y",
- "--spectrum-gray-400",
+ "--spectrum-corner-radius-large-default",
+ "--spectrum-drop-shadow-elevated-blur",
+ "--spectrum-drop-shadow-elevated-color",
+ "--spectrum-drop-shadow-elevated-x",
+ "--spectrum-drop-shadow-elevated-y",
+ "--spectrum-gray-200-rgb",
"--spectrum-spacing-100"
],
- "system-theme": ["--system-popover-border-width"],
"passthroughs": [],
"high-contrast": ["--highcontrast-popover-border-color"]
}
diff --git a/components/popover/index.css b/components/popover/index.css
index 080412ed506..0cc88d2eda4 100644
--- a/components/popover/index.css
+++ b/components/popover/index.css
@@ -11,48 +11,45 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
@import "@spectrum-css/commons/overlay.css";
.spectrum-Popover {
- /* animation distance is equal to and responsible for popover offset */
+ /* animation distance is equal to and responsible for popover offset ("spacing" tip to source) */
--spectrum-popover-animation-distance: var(--spectrum-spacing-100);
--spectrum-popover-background-color: var(--spectrum-background-layer-2-color);
- --spectrum-popover-border-color: var(--spectrum-gray-400);
+
+ /* TODO: Cannot use popover-border-color token until the value no longer has the rgba() function alpha/opacity. We should be able to refactor instances of `--spectrum-popover-border-color-rgb` with `--spectrum-popover-border-color` once this is available. */
+ /* --spectrum-popover-border-color-default: var(--spectrum-popover-border-color); */
+ --spectrum-popover-border-color-rgb: var(--spectrum-gray-200-rgb);
+ --spectrum-popover-border-transparency: var(--spectrum-popover-border-opacity);
+ --spectrum-popover-border-color-with-transparency: rgba(var(--spectrum-popover-border-color-rgb), var(--spectrum-popover-border-transparency));
/* popover inner padding */
- --spectrum-popover-content-area-spacing-vertical: var(--spectrum-popover-top-to-content-area);
+ --spectrum-popover-content-area-spacing: var(--spectrum-popover-edge-to-content-area);
/* popover drop shadow */
- --spectrum-popover-shadow-horizontal: var(--spectrum-drop-shadow-x);
- --spectrum-popover-shadow-vertical: var(--spectrum-drop-shadow-y);
- --spectrum-popover-shadow-blur: var(--spectrum-drop-shadow-blur);
- --spectrum-popover-shadow-color: var(--spectrum-drop-shadow-color);
+ --spectrum-popover-drop-shadow-x: var(--spectrum-drop-shadow-elevated-x);
+ --spectrum-popover-drop-shadow-y: var(--spectrum-drop-shadow-elevated-y);
+ --spectrum-popover-drop-shadow-blur: var(--spectrum-drop-shadow-elevated-blur);
+ --spectrum-popover-drop-shadow-color: var(--spectrum-drop-shadow-elevated-color);
/* popover corner radius */
- --spectrum-popover-corner-radius: var(--spectrum-corner-radius-100);
+ --spectrum-popover-corner-radius: var(--spectrum-corner-radius-large-default);
/* pointer tip dimensions */
--spectrum-popover-pointer-width: var(--spectrum-popover-tip-width);
--spectrum-popover-pointer-height: var(--spectrum-popover-tip-height);
/* pointer tip - default spacing to edge - corner radius plus half of tip width to neutralize override */
- --spectrum-popover-pointer-edge-offset: calc(var(--spectrum-corner-radius-100) + (var(--spectrum-popover-tip-width) / 2));
+ --spectrum-popover-pointer-edge-offset: calc(var(--spectrum-popover-corner-radius) + (var(--spectrum-popover-tip-width) / 2));
/* pointer tip - spacing to edge will center pointer to source - apply in markup by setting '--spectrum-popover-pointer-edge-offset' value == half of source */
--spectrum-popover-pointer-edge-spacing: calc(var(--spectrum-popover-pointer-edge-offset) - (var(--spectrum-popover-tip-width) / 2));
}
-/* windows high contrast mode */
-@media (forced-colors: active) {
- .spectrum-Popover {
- --highcontrast-popover-border-color: CanvasText;
- }
-}
-
.spectrum-Popover {
- --spectrum-popover-filter: drop-shadow(var(--mod-popover-shadow-horizontal, var(--spectrum-popover-shadow-horizontal)) var(--mod-popover-shadow-vertical, var(--spectrum-popover-shadow-vertical)) var(--mod-popover-shadow-blur, var(--spectrum-popover-shadow-blur)) var(--mod-popover-shadow-color, var(--spectrum-popover-shadow-color)));
+ --spectrum-popover-filter: drop-shadow(var(--mod-popover-drop-shadow-x, var(--spectrum-popover-drop-shadow-x)) var(--mod-popover-drop-shadow-y, var(--spectrum-popover-drop-shadow-y)) var(--mod-popover-drop-shadow-blur, var(--spectrum-popover-drop-shadow-blur)) var(--mod-popover-drop-shadow-color, var(--spectrum-popover-drop-shadow-color)));
@extend %spectrum-overlay;
box-sizing: border-box;
@@ -60,14 +57,15 @@
outline: none; /* Hide focus outline */
- padding: var(--mod-popover-content-area-spacing-vertical, var(--spectrum-popover-content-area-spacing-vertical)) 0;
+ padding: var(--mod-popover-content-area-spacing, var(--spectrum-popover-content-area-spacing));
display: inline-flex;
flex-direction: column;
border-style: solid;
border-radius: var(--mod-popover-corner-radius, var(--spectrum-popover-corner-radius));
- border-color: var(--highcontrast-popover-border-color, var(--mod-popover-border-color, var(--spectrum-popover-border-color)));
+ border-color: var(--highcontrast-popover-border-color, var(--mod-popover-border-color, var(--spectrum-popover-border-color-with-transparency)));
+
border-width: var(--mod-popover-border-width, var(--spectrum-popover-border-width));
background-color: var(--mod-popover-background-color, var(--spectrum-popover-background-color));
@@ -84,7 +82,7 @@
stroke-linecap: square;
stroke-linejoin: miter;
fill: var(--mod-popover-background-color, var(--spectrum-popover-background-color));
- stroke: var(--highcontrast-popover-border-color, var(--mod-popover-border-color, var(--spectrum-popover-border-color)));
+ stroke: var(--highcontrast-popover-border-color, var(--mod-popover-border-color, var(--spectrum-popover-border-color-with-transparency)));
stroke-width: var(--mod-popover-border-width, var(--spectrum-popover-border-width));
}
}
@@ -150,7 +148,7 @@
&.spectrum-Popover--withTip {
/* tip size minus where it overlaps with popover border */
/* stylelint-disable-next-line csstools/use-logical -- intentional, right stays on the same side even for RTL */
- margin-left: calc(var(--mod-popover-pointer-width, var(--spectrum-popover-pointer-width)) - var(--mod-popover-border-width, var(--spectrum-popover-border-width)));
+ margin-left: calc(var(--mod-popover-pointer-height, var(--spectrum-popover-pointer-height)) - var(--mod-popover-border-width, var(--spectrum-popover-border-width)));
}
/* popover animates towards right ⮕ */
@@ -168,7 +166,7 @@
&.spectrum-Popover--withTip {
/* tip size minus where it overlaps with popover border */
/* stylelint-disable-next-line csstools/use-logical -- intentional, left stays on the same side even for RTL */
- margin-right: calc(var(--mod-popover-pointer-width, var(--spectrum-popover-pointer-width)) - var(--mod-popover-border-width, var(--spectrum-popover-border-width)));
+ margin-right: calc(var(--mod-popover-pointer-height, var(--spectrum-popover-pointer-height)) - var(--mod-popover-border-width, var(--spectrum-popover-border-width)));
}
/* popover animates towards left ⬅ */
@@ -185,7 +183,7 @@
/* spacing to include tip in calculation of offset from source */
&.spectrum-Popover--withTip {
/* tip size minus where it overlaps with popover border */
- margin-inline-end: calc(var(--mod-popover-pointer-width, var(--spectrum-popover-pointer-width)) - var(--mod-popover-border-width, var(--spectrum-popover-border-width)));
+ margin-inline-end: calc(var(--mod-popover-pointer-height, var(--spectrum-popover-pointer-height)) - var(--mod-popover-border-width, var(--spectrum-popover-border-width)));
}
/* LTR read, popover animates towards left ⬅ */
@@ -207,7 +205,7 @@
/* spacing to include tip in calculation of offset from source */
&.spectrum-Popover--withTip {
/* tip size minus where it overlaps with popover border */
- margin-inline-start: calc(var(--mod-popover-pointer-width, var(--spectrum-popover-pointer-width)) - var(--mod-popover-border-width, var(--spectrum-popover-border-width)));
+ margin-inline-start: calc(var(--mod-popover-pointer-height, var(--spectrum-popover-pointer-height)) - var(--mod-popover-border-width, var(--spectrum-popover-border-width)));
}
/* LTR read, popover animates towards right ⮕ */
@@ -422,3 +420,10 @@
}
}
}
+
+/* windows high contrast mode */
+@media (forced-colors: active) {
+ .spectrum-Popover {
+ --highcontrast-popover-border-color: CanvasText;
+ }
+}
diff --git a/components/popover/package.json b/components/popover/package.json
index 833cf08b3b3..b2d561502a4 100644
--- a/components/popover/package.json
+++ b/components/popover/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/popover",
- "version": "8.2.0",
+ "version": "9.0.0-next.1",
"description": "The Spectrum CSS popover component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,10 +25,10 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/alertdialog": ">=4.0.0 <5.0.0",
- "@spectrum-css/dialog": ">=12.0.0 <13.0.0",
- "@spectrum-css/divider": ">=5.0.0 <6.0.0",
- "@spectrum-css/menu": ">=9.0.0 <10.0.0",
+ "@spectrum-css/alertdialog": ">=5.0.0-next.0",
+ "@spectrum-css/dialog": ">=13.0.0-next.0",
+ "@spectrum-css/divider": ">=6.0.0-next.0",
+ "@spectrum-css/menu": ">=10.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -49,11 +49,11 @@
}
},
"devDependencies": {
- "@spectrum-css/alertdialog": "4.1.0",
+ "@spectrum-css/alertdialog": "5.0.0-next.2",
"@spectrum-css/commons": "11.0.0",
- "@spectrum-css/dialog": "12.1.0",
- "@spectrum-css/divider": "5.1.0",
- "@spectrum-css/menu": "9.2.0",
+ "@spectrum-css/dialog": "13.0.0-next.2",
+ "@spectrum-css/divider": "6.0.0-next.0",
+ "@spectrum-css/menu": "10.0.0-next.1",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/popover/stories/popover.stories.js b/components/popover/stories/popover.stories.js
index e5e7f986607..844b18eeeff 100644
--- a/components/popover/stories/popover.stories.js
+++ b/components/popover/stories/popover.stories.js
@@ -12,11 +12,12 @@ import { FixedWidthSourceTemplate, Template, TipPlacementVariants } from "./temp
/**
* A popover is used to display transient content (menus, options, additional actions, etc.) and appears when clicking/tapping on a source (tools, buttons, etc.).
- * It stands out via its visual style (stroke and drop shadow) and floats on top of the rest of the interface.
+ * It stands out via its visual style (stroke and/or drop shadow) and floats on top of the rest of the interface.
*
+ * ## Usage notes
* - Popover's position and distance to its source should be handled by the implementation. Positioning in Storybook is only for demonstration purposes.
- * - When the `.is-open` class is present, popover is offset from the source by the spacing value defined in `--spectrum-popover-animation-distance`. This
- * offset is done with a CSS transform and animates with a CSS transition.
+ * - When the `.is-open` class is present, popover is offset from the source by the spacing value defined in `--spectrum-popover-animation-distance`. This offset is done with a CSS transform and animates with a CSS transition.
+ * - There may be cases where a popover has another sibling popover. Implementations can add `margin` styles to the sibling popover, set to `--spectrum-popover-animation-distance`, within their popover position calculations. See [the nested popover story](/docs/components-popover--docs#nested) below for an example.
*/
export default {
title: "Popover",
@@ -81,8 +82,8 @@ export default {
isOpen: true,
withTip: false,
position: "bottom",
- popoverHeight: 142,
- popoverWidth: 89,
+ popoverHeight: 158,
+ popoverWidth: 105,
},
parameters: {
layout: "centered",
@@ -101,10 +102,10 @@ export default {
};
/**
- * By default, popovers do not have a tip. Popovers without a tip should be used when the source has a
- * visually distinct down state, in order to show the connection between the popover and its source.
+ * By default, popovers do not have a tip and are positioned at the top. Popovers without a tip should be used when the source has a
+ * visually distinct [down state](/docs/foundations-down-state--docs), in order to show the connection between the popover and its source.
*
- * This example uses the [menu](?path=/docs/components-menu--docs) component within the popover, and a button as the source.
+ * This example uses the [menu](/docs/components-menu--docs) component within the popover, has a position of `bottom`, and uses a button as the source.
*/
export const Default = PopoverGroup.bind({});
Default.args = {
@@ -163,6 +164,10 @@ Nested.args = {
(passthroughs, context) => Template({
position: "end-top",
isOpen: true,
+ customStyles: {
+ // nested popover spacing so that adjacent `.spectrum-Popover` divs don't "touch"
+ "margin": "var(--spectrum-popover-animation-distance)",
+ },
trigger: (passthroughs, context) => ActionButton({
label: "More actions",
...passthroughs,
@@ -231,7 +236,7 @@ WithTip.parameters = {
*/
// @see https://opensource.adobe.com/spectrum-web-components/components/popover/#dialog-popovers
export const DialogStyle = Template.bind({});
-DialogStyle.storyName = "Dialog style content";
+DialogStyle.storyName = "Dialog-style content";
DialogStyle.tags = ["!dev"];
DialogStyle.args = {
withTip: true,
diff --git a/components/popover/stories/popover.test.js b/components/popover/stories/popover.test.js
index ad179e3b70e..846d9bd15c4 100644
--- a/components/popover/stories/popover.test.js
+++ b/components/popover/stories/popover.test.js
@@ -30,8 +30,8 @@ export const PopoverGroup = Variants({
"end-top",
"end-bottom",
].map((position) => {
- const popoverHeight = 142;
- const popoverWidth = 89;
+ const popoverHeight = 158;
+ const popoverWidth = 105;
let wrapperStyles = {
"justify-content": "center",
diff --git a/components/popover/stories/template.js b/components/popover/stories/template.js
index 6d7e55375e2..3ff8ee18be9 100644
--- a/components/popover/stories/template.js
+++ b/components/popover/stories/template.js
@@ -8,9 +8,6 @@ import { styleMap } from "lit/directives/style-map.js";
import { when } from "lit/directives/when.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-Popover",
@@ -24,8 +21,8 @@ export const Template = ({
triggerId = getRandomId("popover-trigger"),
customStyles = {},
popoverWrapperStyles = {},
- popoverHeight = 142,
- popoverWidth = 89,
+ popoverHeight = 158,
+ popoverWidth = 105,
popoverAlignment = {},
skipAlignment = false,
trigger,
diff --git a/components/popover/themes/express.css b/components/popover/themes/express.css
deleted file mode 100644
index 32c92bf71b5..00000000000
--- a/components/popover/themes/express.css
+++ /dev/null
@@ -1,22 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
-
-@container style(--system: express) {
- .spectrum-Popover {
- --spectrum-popover-border-width: 0;
- }
-}
diff --git a/components/popover/themes/spectrum-two.css b/components/popover/themes/spectrum-two.css
deleted file mode 100644
index 80c0cdc94c4..00000000000
--- a/components/popover/themes/spectrum-two.css
+++ /dev/null
@@ -1,18 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-Popover {
- --spectrum-popover-border-width: var(--spectrum-border-width-100);
- }
-}
diff --git a/components/popover/themes/spectrum.css b/components/popover/themes/spectrum.css
deleted file mode 100644
index 3d81bc564b5..00000000000
--- a/components/popover/themes/spectrum.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
diff --git a/components/progressbar/CHANGELOG.md b/components/progressbar/CHANGELOG.md
index 8241c6302c2..ec201b252c6 100644
--- a/components/progressbar/CHANGELOG.md
+++ b/components/progressbar/CHANGELOG.md
@@ -1,5 +1,12 @@
# Change log
+## 7.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @spectrum-css/fieldlabel@11.0.0-next.0
+
## 6.1.0
### Minor Changes
diff --git a/components/progressbar/dist/metadata.json b/components/progressbar/dist/metadata.json
index 3294d6c477a..25c7fd682a6 100644
--- a/components/progressbar/dist/metadata.json
+++ b/components/progressbar/dist/metadata.json
@@ -2,27 +2,31 @@
"sourceFile": "index.css",
"selectors": [
".spectrum-ProgressBar",
+ ".spectrum-ProgressBar .spectrum-ProgressBar-fill",
+ ".spectrum-ProgressBar .spectrum-ProgressBar-label",
+ ".spectrum-ProgressBar .spectrum-ProgressBar-label:lang(ja)",
+ ".spectrum-ProgressBar .spectrum-ProgressBar-label:lang(ko)",
+ ".spectrum-ProgressBar .spectrum-ProgressBar-label:lang(zh)",
+ ".spectrum-ProgressBar .spectrum-ProgressBar-percentage",
+ ".spectrum-ProgressBar .spectrum-ProgressBar-percentage:lang(ja)",
+ ".spectrum-ProgressBar .spectrum-ProgressBar-percentage:lang(ko)",
+ ".spectrum-ProgressBar .spectrum-ProgressBar-percentage:lang(zh)",
+ ".spectrum-ProgressBar .spectrum-ProgressBar-track",
".spectrum-ProgressBar--indeterminate .spectrum-ProgressBar-fill",
+ ".spectrum-ProgressBar--indeterminate .spectrum-ProgressBar-fill:dir(rtl)",
+ ".spectrum-ProgressBar--sideLabel",
".spectrum-ProgressBar--sideLabel .spectrum-ProgressBar-label",
".spectrum-ProgressBar--sideLabel .spectrum-ProgressBar-percentage",
".spectrum-ProgressBar--sideLabel .spectrum-ProgressBar-track",
".spectrum-ProgressBar--sizeL",
- ".spectrum-ProgressBar--sizeM",
".spectrum-ProgressBar--sizeS",
".spectrum-ProgressBar--sizeXL",
- ".spectrum-ProgressBar-fill",
- ".spectrum-ProgressBar-label",
- ".spectrum-ProgressBar-percentage",
+ ".spectrum-ProgressBar--staticWhite .spectrum-ProgressBar-fill",
+ ".spectrum-ProgressBar--staticWhite .spectrum-ProgressBar-label",
+ ".spectrum-ProgressBar--staticWhite .spectrum-ProgressBar-percentage",
+ ".spectrum-ProgressBar--staticWhite .spectrum-ProgressBar-track",
".spectrum-ProgressBar-track",
- ".spectrum-ProgressBar.spectrum-ProgressBar--sideLabel",
- ".spectrum-ProgressBar.spectrum-ProgressBar--staticWhite",
- ".spectrum-ProgressBar:dir(rtl)",
- ".spectrum-ProgressBar:lang(ja)",
- ".spectrum-ProgressBar:lang(ko)",
- ".spectrum-ProgressBar:lang(zh)",
- "0%",
- "[dir=\"rtl\"] .spectrum-ProgressBar",
- "to"
+ "[dir=\"rtl\"] .spectrum-ProgressBar--indeterminate .spectrum-ProgressBar-fill"
],
"modifiers": [
"--mod-progressbar-animation-duration-indeterminate",
@@ -42,18 +46,19 @@
"--mod-progressbar-spacing-top-to-text",
"--mod-progressbar-text-color",
"--mod-progressbar-thickness",
- "--mod-progressbar-track-color"
+ "--mod-progressbar-track-color",
+ "--mod-spacing-progressbar-label-to-text"
],
"component": [
"--spectrum-progress-bar-maximum-width",
"--spectrum-progress-bar-minimum-width",
"--spectrum-progress-bar-thickness-extra-large",
"--spectrum-progress-bar-thickness-large",
+ "--spectrum-progress-bar-thickness-medium",
"--spectrum-progress-bar-thickness-small",
"--spectrum-progressbar-animation-duration-indeterminate",
"--spectrum-progressbar-animation-ease-in-out-indeterminate",
"--spectrum-progressbar-corner-radius",
- "--spectrum-progressbar-dir-indeterminate-multiplier",
"--spectrum-progressbar-fill-color",
"--spectrum-progressbar-fill-color-white",
"--spectrum-progressbar-fill-size-indeterminate",
@@ -67,22 +72,16 @@
"--spectrum-progressbar-size-2500",
"--spectrum-progressbar-size-2800",
"--spectrum-progressbar-size-default",
- "--spectrum-progressbar-sized-font-size",
- "--spectrum-progressbar-sized-size-default",
- "--spectrum-progressbar-sized-spacing-top-to-text",
- "--spectrum-progressbar-sized-thickness",
"--spectrum-progressbar-spacing-label-to-progressbar",
"--spectrum-progressbar-spacing-label-to-text",
"--spectrum-progressbar-spacing-top-to-text",
- "--spectrum-progressbar-static-white-track-color",
"--spectrum-progressbar-text-color",
"--spectrum-progressbar-thickness",
"--spectrum-progressbar-track-color",
- "--spectrum-progressbar-track-color-default",
"--spectrum-progressbar-track-color-white"
],
"global": [
- "--spectrum-accent-color-900",
+ "--spectrum-accent-content-color-default",
"--spectrum-animation-duration-2000",
"--spectrum-animation-ease-in-out",
"--spectrum-cjk-line-height-100",
@@ -90,25 +89,24 @@
"--spectrum-component-top-to-text-200",
"--spectrum-component-top-to-text-300",
"--spectrum-component-top-to-text-75",
- "--spectrum-corner-radius-100",
+ "--spectrum-corner-radius-full",
"--spectrum-font-size-100",
"--spectrum-font-size-200",
+ "--spectrum-font-size-300",
"--spectrum-font-size-75",
- "--spectrum-gray-200",
+ "--spectrum-gray-300",
"--spectrum-line-height-100",
- "--spectrum-neutral-content-color-default",
+ "--spectrum-neutral-subdued-content-color-default",
"--spectrum-spacing-200",
"--spectrum-spacing-75",
- "--spectrum-transparent-white-400",
- "--spectrum-white"
+ "--spectrum-transparent-white-300",
+ "--spectrum-transparent-white-700",
+ "--spectrum-transparent-white-900"
],
- "system-theme": [
- "--system-progress-bar-track-color",
- "--system-progress-bar-track-color-white"
- ],
- "passthroughs": ["--mod-fieldlabel-font-size"],
+ "passthroughs": [],
"high-contrast": [
"--highcontrast-progressbar-fill-color",
+ "--highcontrast-progressbar-fill-color-white",
"--highcontrast-progressbar-track-color"
]
}
diff --git a/components/progressbar/index.css b/components/progressbar/index.css
index 648c492df0f..a45e9285b09 100644
--- a/components/progressbar/index.css
+++ b/components/progressbar/index.css
@@ -11,50 +11,13 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
-.spectrum-ProgressBar,
-.spectrum-ProgressBar--sizeM {
- --spectrum-progressbar-sized-size-default: var(--spectrum-progressbar-size-2400);
- --spectrum-progressbar-sized-font-size: var(--spectrum-font-size-75);
- /* @todo should this be --spectrum-progress-bar-thickness-medium? */
- --spectrum-progressbar-sized-thickness: var(--spectrum-progress-bar-thickness-large);
- --spectrum-progressbar-sized-spacing-top-to-text: var(--spectrum-component-top-to-text-100);
-}
-
-.spectrum-ProgressBar--sizeS {
- --spectrum-progressbar-sized-size-default: var(--spectrum-progressbar-size-2400);
- --spectrum-progressbar-sized-font-size: var(--spectrum-font-size-75);
- --spectrum-progressbar-sized-thickness: var(--spectrum-progress-bar-thickness-small);
- --spectrum-progressbar-sized-spacing-top-to-text: var(--spectrum-component-top-to-text-75);
-}
-
-.spectrum-ProgressBar--sizeL {
- --spectrum-progressbar-sized-size-default: var(--spectrum-progressbar-size-2500);
- --spectrum-progressbar-sized-font-size: var(--spectrum-font-size-100);
- --spectrum-progressbar-sized-thickness: var(--spectrum-progress-bar-thickness-large);
- --spectrum-progressbar-sized-spacing-top-to-text: var(--spectrum-component-top-to-text-200);
-}
-
-.spectrum-ProgressBar--sizeXL {
- --spectrum-progressbar-sized-size-default: var(--spectrum-progressbar-size-2800);
- --spectrum-progressbar-sized-font-size: var(--spectrum-font-size-200);
- --spectrum-progressbar-sized-thickness: var(--spectrum-progress-bar-thickness-extra-large);
- --spectrum-progressbar-sized-spacing-top-to-text: var(--spectrum-component-top-to-text-300);
-}
-
.spectrum-ProgressBar {
- --spectrum-progressbar-size-default: var(--mod-progressbar-size-default, var(--spectrum-progressbar-sized-size-default));
- --spectrum-progressbar-font-size: var(--mod-progressbar-font-size, var(--spectrum-progressbar-sized-font-size));
- --spectrum-progressbar-thickness: var(--mod-progressbar-thickness, var(--spectrum-progressbar-sized-thickness));
- --spectrum-progressbar-spacing-top-to-text: var(--mod-progressbar-spacing-top-to-text, var(--spectrum-progressbar-sized-spacing-top-to-text));
-
- --spectrum-progressbar-animation-ease-in-out-indeterminate: var(--mod-progressbar-animation-ease-in-out-indeterminate, var(--spectrum-animation-ease-in-out));
- --spectrum-progressbar-animation-duration-indeterminate: var(--mod-progressbar-animation-duration-indeterminate, var(--spectrum-animation-duration-2000));
- --spectrum-progressbar-corner-radius: var(--spectrum-corner-radius-100);
+ /* Static tokens */
+ --spectrum-progressbar-animation-ease-in-out-indeterminate: var(--spectrum-animation-ease-in-out);
+ --spectrum-progressbar-animation-duration-indeterminate: var(--spectrum-animation-duration-2000);
+ --spectrum-progressbar-corner-radius: var(--spectrum-corner-radius-full);
- --spectrum-progressbar-fill-size-indeterminate: var(--mod-progressbar-fill-size-indeterminate, 70%);
- --spectrum-progressbar-dir-indeterminate-multiplier: 1;
+ --spectrum-progressbar-fill-size-indeterminate: 70%;
/* --spectrum-global-dimension-static-size-2400 */
--spectrum-progressbar-size-2400: 192px;
@@ -66,50 +29,56 @@
--spectrum-progressbar-size-2800: 224px;
/* Size */
- --spectrum-progressbar-line-height-cjk: var(--mod-progressbar-line-height-cjk, var(--spectrum-cjk-line-height-100));
+ --spectrum-progressbar-size-default: var(--spectrum-progressbar-size-2400);
- --spectrum-progressbar-min-size: var(--mod-progressbar-min-size, var(--spectrum-progress-bar-minimum-width));
- --spectrum-progressbar-max-size: var(--mod-progressbar-max-size, var(--spectrum-progress-bar-maximum-width));
+ --spectrum-progressbar-font-size: var(--spectrum-font-size-100);
+ --spectrum-progressbar-line-height: var(--spectrum-line-height-100);
+ --spectrum-progressbar-line-height-cjk: var(--spectrum-cjk-line-height-100);
- --spectrum-progressbar-line-height: var(--mod-progressbar-line-height, var(--spectrum-line-height-100));
+ --spectrum-progressbar-min-size: var(--spectrum-progress-bar-minimum-width);
+ --spectrum-progressbar-max-size: var(--spectrum-progress-bar-maximum-width);
+
+ --spectrum-progressbar-thickness: var(--spectrum-progress-bar-thickness-medium);
/* Spacing */
- --spectrum-progressbar-spacing-label-to-progressbar: var(--mod-progressbar-spacing-label-to-progressbar, var(--spectrum-spacing-75));
- --spectrum-progressbar-spacing-label-to-text: var(--mod-progressbar-spacing-label-to-text, var(--spectrum-spacing-200));
+ --spectrum-progressbar-spacing-label-to-progressbar: var(--spectrum-spacing-75);
+ --spectrum-progressbar-spacing-top-to-text: var(--spectrum-component-top-to-text-100);
+ --spectrum-progressbar-spacing-label-to-text: var(--spectrum-spacing-200);
/* Color */
- --spectrum-progressbar-fill-color: var(--highcontrast-progressbar-fill-color, var(--mod-progressbar-fill-color, var(--spectrum-accent-color-900)));
- --spectrum-progressbar-track-color-default: var(--highcontrast-progressbar-track-color, var(--mod-progressbar-track-color, var(--spectrum-progressbar-track-color)));
+ --spectrum-progressbar-text-color: var(--spectrum-neutral-subdued-content-color-default);
+ --spectrum-progressbar-track-color: var(--spectrum-gray-300);
+ --spectrum-progressbar-fill-color: var(--spectrum-accent-content-color-default);
+ --spectrum-progressbar-label-and-value-white: var(--spectrum-transparent-white-700);
+ --spectrum-progressbar-track-color-white: var(--spectrum-transparent-white-300);
+ --spectrum-progressbar-fill-color-white: var(--spectrum-transparent-white-900);
+}
- --spectrum-progressbar-text-color: var(--mod-progressbar-text-color, var(--spectrum-neutral-content-color-default));
- --spectrum-progressbar-label-and-value-white: var(--mod-progressbar-label-and-value-white, var(--spectrum-white));
- --spectrum-progressbar-fill-color-white: var(--mod-progressbar-fill-color-white, var(--spectrum-white));
- --spectrum-progressbar-static-white-track-color: var(--spectrum-progressbar-track-color-white);
+.spectrum-ProgressBar--sizeS {
+ --spectrum-progressbar-size-default: var(--spectrum-progressbar-size-2400);
- /* @passthrough */
- --mod-fieldlabel-font-size: var(--spectrum-progressbar-font-size);
+ --spectrum-progressbar-font-size: var(--spectrum-font-size-75);
+ --spectrum-progressbar-thickness: var(--spectrum-progress-bar-thickness-small);
- &:dir(rtl) {
- --spectrum-progressbar-dir-indeterminate-multiplier: -1;
- }
+ --spectrum-progressbar-spacing-top-to-text: var(--spectrum-component-top-to-text-75);
+}
- &:lang(ja),
- &:lang(zh),
- &:lang(ko) {
- --mod-progressbar-line-height: var(--spectrum-progressbar-line-height-cjk);
- }
+.spectrum-ProgressBar--sizeL {
+ --spectrum-progressbar-size-default: var(--spectrum-progressbar-size-2500);
+
+ --spectrum-progressbar-font-size: var(--spectrum-font-size-200);
+ --spectrum-progressbar-thickness: var(--spectrum-progress-bar-thickness-large);
+
+ --spectrum-progressbar-spacing-top-to-text: var(--spectrum-component-top-to-text-200);
}
-@media (forced-colors: active) {
- .spectrum-ProgressBar {
- --highcontrast-progressbar-fill-color: ButtonText;
- --highcontrast-progressbar-track-color: ButtonFace;
- }
+.spectrum-ProgressBar--sizeXL {
+ --spectrum-progressbar-size-default: var(--spectrum-progressbar-size-2800);
- .spectrum-ProgressBar-track {
- forced-color-adjust: none;
- border: 1px solid ButtonText;
- }
+ --spectrum-progressbar-font-size: var(--spectrum-font-size-300);
+ --spectrum-progressbar-thickness: var(--spectrum-progress-bar-thickness-extra-large);
+
+ --spectrum-progressbar-spacing-top-to-text: var(--spectrum-component-top-to-text-300);
}
.spectrum-ProgressBar {
@@ -118,99 +87,151 @@
flex-flow: row wrap;
justify-content: space-between;
align-items: center;
+ font-size: var(--mod-progressbar-font-size, var(--spectrum-progressbar-font-size));
vertical-align: top;
+ word-break: break-word;
- inline-size: var(--spectrum-progressbar-size-default);
- max-inline-size: var(--spectrum-progressbar-max-size);
- min-inline-size: var(--spectrum-progressbar-min-size);
+ inline-size: var(--mod-progressbar-size-default, var(--spectrum-progressbar-size-default));
+ max-inline-size: var(--mod-progressbar-max-size, var(--spectrum-progressbar-max-size));
+ min-inline-size: var(--mod-progressbar-min-size, var(--spectrum-progressbar-min-size));
- &.spectrum-ProgressBar--sideLabel {
- flex-flow: row;
- justify-content: space-between;
+ /* Label and Percentage */
+ .spectrum-ProgressBar-label,
+ .spectrum-ProgressBar-percentage {
+ text-align: start;
+ margin-block-start: var(--mod-progressbar-spacing-top-to-text, var(--spectrum-progressbar-spacing-top-to-text));
+ margin-block-end: var(--mod-progressbar-spacing-label-to-progressbar, var(--spectrum-progressbar-spacing-label-to-progressbar));
+
+ line-height: var(--mod-progressbar-line-height, var(--spectrum-progressbar-line-height));
+
+ &:lang(ja),
+ &:lang(zh),
+ &:lang(ko) {
+ line-height: var(--mod-progressbar-line-height-cjk, var(--spectrum-progressbar-line-height-cjk));
+ }
+
+ color: var(--mod-progressbar-text-color, var(--spectrum-progressbar-text-color));
}
- &.spectrum-ProgressBar--staticWhite {
- --mod-progressbar-fill-color: var(--spectrum-progressbar-fill-color-white);
- --mod-progressbar-text-color: var(--spectrum-progressbar-label-and-value-white);
- --mod-progressbar-track-color: var(--spectrum-progressbar-static-white-track-color);
+ /* Label */
+ .spectrum-ProgressBar-label {
+ flex: 1 1 0%;
}
-}
-/* Label and Percentage */
-.spectrum-ProgressBar-label,
-.spectrum-ProgressBar-percentage {
- text-align: start;
- margin-block-start: var(--spectrum-progressbar-spacing-top-to-text);
- margin-block-end: var(--spectrum-progressbar-spacing-label-to-progressbar);
+ /* Percentage */
+ .spectrum-ProgressBar-percentage {
+ align-self: flex-start;
+ margin-inline-start: var(--mod-progressbar-spacing-label-to-text, var(--spectrum-progressbar-spacing-label-to-text));
+ word-break: normal;
+ }
+
+ /* Track */
+ .spectrum-ProgressBar-track {
+ /* Visually apply border radius to child elements */
+ overflow: hidden;
+ inline-size: 100%;
+ block-size: var(--mod-progressbar-thickness, var(--spectrum-progressbar-thickness));
+ border-radius: var(--spectrum-progressbar-corner-radius);
+
+ background: var(--highcontrast-progressbar-track-color, var(--mod-progressbar-track-color, var(--spectrum-progressbar-track-color)));
+ }
- line-height: var(--spectrum-progressbar-line-height);
- color: var(--spectrum-progressbar-text-color);
+ .spectrum-ProgressBar-fill {
+ border: none;
+ block-size: var(--mod-progressbar-thickness, var(--spectrum-progressbar-thickness));
+ transition: width 1s;
+ background: var(--highcontrast-progressbar-fill-color, var(--mod-progressbar-fill-color, var(--spectrum-progressbar-fill-color)));
+ }
+}
+
+.spectrum-ProgressBar--indeterminate .spectrum-ProgressBar-fill {
+ inline-size: var(--mod-progressbar-fill-size-indeterminate, var(--spectrum-progressbar-fill-size-indeterminate));
+ position: relative;
+ animation-timing-function: var(--mod-progressbar-animation-ease-in-out-indeterminate, var(--spectrum-progressbar-animation-ease-in-out-indeterminate));
+ will-change: transform;
}
-/* Label */
-.spectrum-ProgressBar-label {
- flex: 1 1 0%;
+/* Variants */
+/* Side Label */
+.spectrum-ProgressBar--sideLabel {
+ display: inline-flex;
+ flex-flow: row;
+ justify-content: space-between;
+ word-break: normal;
+
+ .spectrum-ProgressBar-track {
+ flex: 1 1 var(--mod-progressbar-size-default, var(--spectrum-progressbar-size-default));
+ }
- .spectrum-ProgressBar--sideLabel & {
+ .spectrum-ProgressBar-label {
flex-grow: 0;
- margin-inline-end: var(--spectrum-progressbar-spacing-label-to-text);
+ margin-inline-end: var(--mod-progressbar-spacing-label-to-text, var(--spectrum-progressbar-spacing-label-to-text));
margin-block-end: 0;
+ margin-block-start: 0;
}
-}
-
-/* Percentage */
-.spectrum-ProgressBar-percentage {
- align-self: flex-start;
- margin-inline-start: var(--spectrum-progressbar-spacing-label-to-text);
- .spectrum-ProgressBar--sideLabel & {
+ .spectrum-ProgressBar-percentage {
order: 3;
text-align: end;
+ margin-inline-start: var(--mod-spacing-progressbar-label-to-text, var(--spectrum-progressbar-spacing-label-to-text));
margin-block-end: 0;
+ margin-block-start: 0;
}
}
-/* Track */
-.spectrum-ProgressBar-track {
- /* Visually apply border radius to child elements */
- overflow: hidden;
- inline-size: 100%;
- block-size: var(--spectrum-progressbar-thickness);
- border-radius: var(--spectrum-progressbar-corner-radius);
+/* Static White */
+.spectrum-ProgressBar--staticWhite {
+ .spectrum-ProgressBar-fill {
+ color: var(--mod-progressbar-label-and-value-white, var(--spectrum-progressbar-label-and-value-white));
+ background: var(--highcontrast-progressbar-fill-color-white, var(--mod-progressbar-fill-color-white, var(--spectrum-progressbar-fill-color-white)));
+ }
- background: var(--spectrum-progressbar-track-color-default);
+ .spectrum-ProgressBar-label,
+ .spectrum-ProgressBar-percentage {
+ color: var(--mod-progressbar-label-and-value-white, var(--spectrum-progressbar-label-and-value-white));
+ }
- .spectrum-ProgressBar--sideLabel & {
- flex: 1 1 var(--spectrum-progressbar-size-default);
+ .spectrum-ProgressBar-track {
+ background: var(--spectrum-progressbar-track-color-white);
}
}
-.spectrum-ProgressBar-fill {
- block-size: var(--spectrum-progressbar-thickness);
-
- border: none;
- background: var(--spectrum-progressbar-fill-color);
+/* Animations */
+.spectrum-ProgressBar--indeterminate .spectrum-ProgressBar-fill {
+ animation: indeterminate-loop-ltr var(--mod-progressbar-animation-duration-indeterminate, var(--spectrum-progressbar-animation-duration-indeterminate)) infinite;
+}
- transition: width 1s;
+.spectrum-ProgressBar--indeterminate .spectrum-ProgressBar-fill:dir(rtl) {
+ animation: indeterminate-loop-rtl var(--mod-progressbar-animation-duration-indeterminate, var(--spectrum-progressbar-animation-duration-indeterminate)) infinite;
+}
- .spectrum-ProgressBar--indeterminate & {
- position: relative;
- inline-size: var(--spectrum-progressbar-fill-size-indeterminate);
+@keyframes indeterminate-loop-ltr {
+ from {
+ transform: translate(calc(-1 * var(--mod-progressbar-fill-size-indeterminate, var(--spectrum-progressbar-fill-size-indeterminate))));
+ }
- will-change: transform;
- animation-name: indeterminate-loop;
- animation-timing-function: var(--spectrum-progressbar-animation-ease-in-out-indeterminate);
- animation-duration: var(--spectrum-progressbar-animation-duration-indeterminate);
- animation-iteration-count: infinite;
+ to {
+ transform: translate(var(--mod-progressbar-size-default, var(--spectrum-progressbar-size-default)));
}
}
-@keyframes indeterminate-loop {
+@keyframes indeterminate-loop-rtl {
from {
- transform: translate(calc(-1 * var(--spectrum-progressbar-dir-indeterminate-multiplier) * var(--spectrum-progressbar-fill-size-indeterminate)));
+ transform: translate(var(--mod-progressbar-size-default, var(--spectrum-progressbar-fill-size-indeterminate)));
}
to {
- transform: translate(calc(var(--spectrum-progressbar-dir-indeterminate-multiplier) * var(--spectrum-progressbar-size-default)));
+ transform: translate(calc(-1 * var(--mod-progressbar-size-default, var(--spectrum-progressbar-size-default))));
+ }
+}
+
+@media (forced-colors: active) {
+ .spectrum-ProgressBar-track {
+ --highcontrast-progressbar-fill-color: ButtonText;
+ --highcontrast-progressbar-track-color: ButtonFace;
+ --highcontrast-progressbar-fill-color-white: ButtonText;
+
+ forced-color-adjust: none;
+ border: 1px solid ButtonText;
}
}
diff --git a/components/progressbar/package.json b/components/progressbar/package.json
index 1270fb3b86c..928315541e5 100644
--- a/components/progressbar/package.json
+++ b/components/progressbar/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/progressbar",
- "version": "6.1.0",
+ "version": "7.0.0-next.0",
"description": "The Spectrum CSS progress bar component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/fieldlabel": ">=10.0.0 <11.0.0",
+ "@spectrum-css/fieldlabel": ">=11.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -37,7 +37,7 @@
}
},
"devDependencies": {
- "@spectrum-css/fieldlabel": "10.1.0",
+ "@spectrum-css/fieldlabel": "11.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/progressbar/stories/progressbar.stories.js b/components/progressbar/stories/progressbar.stories.js
index 4468a701277..3a6a620c07a 100644
--- a/components/progressbar/stories/progressbar.stories.js
+++ b/components/progressbar/stories/progressbar.stories.js
@@ -21,12 +21,12 @@ export default {
customWidth: {
name: "Custom width",
defaultValue: 192,
- description: "Adjust the width of the component between 48px and 768px. 192px is the default width on desktop, while 240px is the default on mobile.",
+ description: "A number to adjust the width of the component. Spectrum 2 specifications limit the component width to be between 48px and 768px.",
type: { name: "number" },
table: {
type: { summary: "number" },
category: "Component",
- defaultValue: { summary: 192 },
+ defaultValue: { summary: 200 },
},
control: { type: "range", min: 48, max: 768,},
},
@@ -87,7 +87,7 @@ export default {
label: "Loading",
labelPosition: "top",
value: 0,
- customWidth: 192,
+ customWidth: 200,
isIndeterminate: false,
showValueLabel: true,
},
@@ -99,6 +99,7 @@ export default {
packageJson,
metadata,
},
+ tags: ["migrated"],
};
/**
diff --git a/components/progressbar/stories/template.js b/components/progressbar/stories/template.js
index c358879721c..30c9cfeb827 100644
--- a/components/progressbar/stories/template.js
+++ b/components/progressbar/stories/template.js
@@ -7,9 +7,6 @@ import { styleMap } from "lit/directives/style-map.js";
import { capitalize } from "lodash-es";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-ProgressBar",
diff --git a/components/progressbar/themes/express.css b/components/progressbar/themes/express.css
deleted file mode 100644
index 9fd550418f2..00000000000
--- a/components/progressbar/themes/express.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
diff --git a/components/progressbar/themes/spectrum-two.css b/components/progressbar/themes/spectrum-two.css
deleted file mode 100644
index 3b705ef64c4..00000000000
--- a/components/progressbar/themes/spectrum-two.css
+++ /dev/null
@@ -1,19 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-ProgressBar {
- --spectrum-progressbar-track-color: var(--spectrum-gray-200);
- --spectrum-progressbar-track-color-white: var(--spectrum-transparent-white-400);
- }
-}
diff --git a/components/progressbar/themes/spectrum.css b/components/progressbar/themes/spectrum.css
deleted file mode 100644
index 3760cc4cfc4..00000000000
--- a/components/progressbar/themes/spectrum.css
+++ /dev/null
@@ -1,23 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-ProgressBar {
- --spectrum-progressbar-track-color: var(--spectrum-gray-300);
- --spectrum-progressbar-track-color-white: var(--spectrum-transparent-white-300);
- }
-}
diff --git a/components/progresscircle/animation.css b/components/progresscircle/animation.css
index 176d4da4c17..433f642948b 100644
--- a/components/progresscircle/animation.css
+++ b/components/progresscircle/animation.css
@@ -11,500 +11,23 @@
* governing permissions and limitations under the License.
*/
-.spectrum-ProgressCircle--indeterminate-fill-submask-2 {
- animation: 1s infinite linear spectrum-fill-mask-2;
-}
-
-@keyframes spectrum-fill-mask-1 {
+@keyframes spectrum-fills-rotate {
0% {
- transform: rotate(90deg);
- }
-
- 1.69% {
- transform: rotate(72.3deg);
- }
-
- 3.39% {
- transform: rotate(55.5deg);
- }
-
- 5.08% {
- transform: rotate(40.3deg);
- }
-
- 6.78% {
- transform: rotate(25deg);
- }
-
- 8.47% {
- transform: rotate(10.6deg);
- }
-
- 10.17% {
- transform: rotate(0deg);
- }
-
- 11.86% {
- transform: rotate(0deg);
- }
-
- 13.56% {
- transform: rotate(0deg);
- }
-
- 15.25% {
- transform: rotate(0deg);
- }
-
- 16.95% {
- transform: rotate(0deg);
- }
-
- 18.64% {
- transform: rotate(0deg);
- }
-
- 20.34% {
- transform: rotate(0deg);
- }
-
- 22.03% {
- transform: rotate(0deg);
- }
-
- 23.73% {
- transform: rotate(0deg);
- }
-
- 25.42% {
- transform: rotate(0deg);
- }
-
- 27.12% {
- transform: rotate(0deg);
- }
-
- 28.81% {
- transform: rotate(0deg);
- }
-
- 30.51% {
- transform: rotate(0deg);
- }
-
- 32.2% {
- transform: rotate(0deg);
- }
-
- 33.9% {
- transform: rotate(0deg);
- }
-
- 35.59% {
- transform: rotate(0deg);
- }
-
- 37.29% {
- transform: rotate(0deg);
- }
-
- 38.98% {
- transform: rotate(0deg);
- }
-
- 40.68% {
- transform: rotate(0deg);
- }
-
- 42.37% {
- transform: rotate(5.3deg);
- }
-
- 44.07% {
- transform: rotate(13.4deg);
- }
-
- 45.76% {
- transform: rotate(20.6deg);
- }
-
- 47.46% {
- transform: rotate(29deg);
- }
-
- 49.15% {
- transform: rotate(36.5deg);
- }
-
- 50.85% {
- transform: rotate(42.6deg);
- }
-
- 52.54% {
- transform: rotate(48.8deg);
- }
-
- 54.24% {
- transform: rotate(54.2deg);
- }
-
- 55.93% {
- transform: rotate(59.4deg);
- }
-
- 57.63% {
- transform: rotate(63.2deg);
- }
-
- 59.32% {
- transform: rotate(67.2deg);
- }
-
- 61.02% {
- transform: rotate(70.8deg);
- }
-
- 62.71% {
- transform: rotate(73.8deg);
- }
-
- 64.41% {
- transform: rotate(76.2deg);
- }
-
- 66.1% {
- transform: rotate(78.7deg);
- }
-
- 67.8% {
- transform: rotate(80.6deg);
- }
-
- 69.49% {
- transform: rotate(82.6deg);
- }
-
- 71.19% {
- transform: rotate(83.7deg);
- }
-
- 72.88% {
- transform: rotate(85deg);
- }
-
- 74.58% {
- transform: rotate(86.3deg);
- }
-
- 76.27% {
- transform: rotate(87deg);
- }
-
- 77.97% {
- transform: rotate(87.7deg);
- }
-
- 79.66% {
- transform: rotate(88.3deg);
- }
-
- 81.36% {
- transform: rotate(88.6deg);
- }
-
- 83.05% {
- transform: rotate(89.2deg);
- }
-
- 84.75% {
- transform: rotate(89.2deg);
- }
-
- 86.44% {
- transform: rotate(89.5deg);
- }
-
- 88.14% {
- transform: rotate(89.9deg);
- }
-
- 89.83% {
- transform: rotate(89.7deg);
- }
-
- 91.53% {
- transform: rotate(90.1deg);
- }
-
- 93.22% {
- transform: rotate(90.2deg);
- }
-
- 94.92% {
- transform: rotate(90.1deg);
- }
-
- 96.61% {
- transform: rotate(90deg);
- }
-
- 98.31% {
- transform: rotate(89.8deg);
+ transform: rotate(-90deg);
}
100% {
- transform: rotate(90deg);
+ transform: rotate(270deg);
}
}
-@keyframes spectrum-fill-mask-2 {
- 0% {
- transform: rotate(180deg);
- }
-
- 1.69% {
- transform: rotate(180deg);
- }
-
- 3.39% {
- transform: rotate(180deg);
- }
-
- 5.08% {
- transform: rotate(180deg);
- }
-
- 6.78% {
- transform: rotate(180deg);
- }
-
- 8.47% {
- transform: rotate(180deg);
- }
-
- 10.17% {
- transform: rotate(179.2deg);
- }
-
- 11.86% {
- transform: rotate(164deg);
- }
-
- 13.56% {
- transform: rotate(151.8deg);
- }
-
- 15.25% {
- transform: rotate(140.8deg);
- }
-
- 16.95% {
- transform: rotate(130.3deg);
- }
-
- 18.64% {
- transform: rotate(120.4deg);
- }
-
- 20.34% {
- transform: rotate(110.8deg);
- }
-
- 22.03% {
- transform: rotate(101.6deg);
- }
-
- 23.73% {
- transform: rotate(93.5deg);
- }
-
- 25.42% {
- transform: rotate(85.4deg);
- }
-
- 27.12% {
- transform: rotate(78.1deg);
- }
-
- 28.81% {
- transform: rotate(71.2deg);
- }
-
- 30.51% {
- transform: rotate(89.1deg);
- }
-
- 32.2% {
- transform: rotate(105.5deg);
- }
-
- 33.9% {
- transform: rotate(121.3deg);
- }
-
- 35.59% {
- transform: rotate(135.5deg);
- }
-
- 37.29% {
- transform: rotate(148.4deg);
- }
-
- 38.98% {
- transform: rotate(161deg);
- }
-
- 40.68% {
- transform: rotate(173.5deg);
- }
-
- 42.37% {
- transform: rotate(180deg);
- }
-
- 44.07% {
- transform: rotate(180deg);
- }
-
- 45.76% {
- transform: rotate(180deg);
- }
-
- 47.46% {
- transform: rotate(180deg);
- }
-
- 49.15% {
- transform: rotate(180deg);
- }
-
- 50.85% {
- transform: rotate(180deg);
- }
-
- 52.54% {
- transform: rotate(180deg);
- }
-
- 54.24% {
- transform: rotate(180deg);
- }
-
- 55.93% {
- transform: rotate(180deg);
- }
-
- 57.63% {
- transform: rotate(180deg);
- }
-
- 59.32% {
- transform: rotate(180deg);
- }
-
- 61.02% {
- transform: rotate(180deg);
- }
-
- 62.71% {
- transform: rotate(180deg);
- }
-
- 64.41% {
- transform: rotate(180deg);
- }
-
- 66.1% {
- transform: rotate(180deg);
- }
-
- 67.8% {
- transform: rotate(180deg);
- }
-
- 69.49% {
- transform: rotate(180deg);
- }
-
- 71.19% {
- transform: rotate(180deg);
- }
-
- 72.88% {
- transform: rotate(180deg);
- }
-
- 74.58% {
- transform: rotate(180deg);
- }
-
- 76.27% {
- transform: rotate(180deg);
- }
-
- 77.97% {
- transform: rotate(180deg);
- }
-
- 79.66% {
- transform: rotate(180deg);
- }
-
- 81.36% {
- transform: rotate(180deg);
- }
-
- 83.05% {
- transform: rotate(180deg);
- }
-
- 84.75% {
- transform: rotate(180deg);
- }
-
- 86.44% {
- transform: rotate(180deg);
- }
-
- 88.14% {
- transform: rotate(180deg);
- }
-
- 89.83% {
- transform: rotate(180deg);
- }
-
- 91.53% {
- transform: rotate(180deg);
- }
-
- 93.22% {
- transform: rotate(180deg);
- }
-
- 94.92% {
- transform: rotate(180deg);
- }
-
- 96.61% {
- transform: rotate(180deg);
- }
-
- 98.31% {
- transform: rotate(180deg);
- }
-
+@keyframes spectrum-dashoffset-animation {
+ 0%,
100% {
- transform: rotate(180deg);
+ stroke-dashoffset: 75px;
}
-}
-@keyframes spectrum-fills-rotate {
- 0% {
- transform: rotate(-90deg);
- }
-
- 100% {
- transform: rotate(270deg);
+ 30% {
+ stroke-dashoffset: 20px;
}
}
diff --git a/components/progresscircle/dist/metadata.json b/components/progresscircle/dist/metadata.json
index 82493f14621..a252d2638db 100644
--- a/components/progresscircle/dist/metadata.json
+++ b/components/progresscircle/dist/metadata.json
@@ -2,96 +2,25 @@
"sourceFile": "index.css",
"selectors": [
".spectrum-ProgressCircle",
- ".spectrum-ProgressCircle--indeterminate .spectrum-ProgressCircle-fillSubMask1",
- ".spectrum-ProgressCircle--indeterminate .spectrum-ProgressCircle-fillSubMask2",
- ".spectrum-ProgressCircle--indeterminate .spectrum-ProgressCircle-fills",
- ".spectrum-ProgressCircle--indeterminate-fill-submask-2",
+ ".spectrum-ProgressCircle--indeterminate .spectrum-ProgressCircle-fill",
+ ".spectrum-ProgressCircle--sizeL",
+ ".spectrum-ProgressCircle--sizeS",
".spectrum-ProgressCircle-fill",
- ".spectrum-ProgressCircle-fillMask1",
- ".spectrum-ProgressCircle-fillMask2",
- ".spectrum-ProgressCircle-fillSubMask1",
- ".spectrum-ProgressCircle-fillSubMask2",
- ".spectrum-ProgressCircle-fills",
".spectrum-ProgressCircle-track",
- ".spectrum-ProgressCircle.spectrum-ProgressCircle--large",
- ".spectrum-ProgressCircle.spectrum-ProgressCircle--medium",
- ".spectrum-ProgressCircle.spectrum-ProgressCircle--small",
- ".spectrum-ProgressCircle.spectrum-ProgressCircle--staticWhite .spectrum-ProgressCircle-fill",
- ".spectrum-ProgressCircle.spectrum-ProgressCircle--staticWhite .spectrum-ProgressCircle-track",
- "0%",
- "1.69%",
- "10.17%",
- "11.86%",
- "13.56%",
- "15.25%",
- "16.95%",
- "18.64%",
- "20.34%",
- "22.03%",
- "23.73%",
- "25.42%",
- "27.12%",
- "28.81%",
- "3.39%",
- "30.51%",
- "32.2%",
- "33.9%",
- "35.59%",
- "37.29%",
- "38.98%",
- "40.68%",
- "42.37%",
- "44.07%",
- "45.76%",
- "47.46%",
- "49.15%",
- "5.08%",
- "50.85%",
- "52.54%",
- "54.24%",
- "55.93%",
- "57.63%",
- "59.32%",
- "6.78%",
- "61.02%",
- "62.71%",
- "64.41%",
- "66.1%",
- "67.8%",
- "69.49%",
- "71.19%",
- "72.88%",
- "74.58%",
- "76.27%",
- "77.97%",
- "79.66%",
- "8.47%",
- "81.36%",
- "83.05%",
- "84.75%",
- "86.44%",
- "88.14%",
- "89.83%",
- "91.53%",
- "93.22%",
- "94.92%",
- "96.61%",
- "98.31%",
- "to"
+ ".spectrum-ProgressCircle.spectrum-ProgressCircle--staticBlack",
+ ".spectrum-ProgressCircle.spectrum-ProgressCircle--staticWhite",
+ ".spectrum-ProgressCircle:not(.spectrum-ProgressCircle--indeterminate) .spectrum-innerCircle",
+ ".spectrum-ProgressCircle:not(.spectrum-ProgressCircle--indeterminate) .spectrum-outerCircle"
],
"modifiers": [
"--mod-progress-circle-fill-border-color",
- "--mod-progress-circle-fill-border-color-over-background",
"--mod-progress-circle-position",
"--mod-progress-circle-size",
"--mod-progress-circle-thickness",
- "--mod-progress-circle-track-border-color",
- "--mod-progress-circle-track-border-color-over-background",
- "--mod-progress-circle-track-border-style"
+ "--mod-progress-circle-track-border-color"
],
"component": [
"--spectrum-progress-circle-fill-border-color",
- "--spectrum-progress-circle-fill-border-color-over-background",
"--spectrum-progress-circle-size",
"--spectrum-progress-circle-size-large",
"--spectrum-progress-circle-size-medium",
@@ -100,27 +29,19 @@
"--spectrum-progress-circle-thickness-large",
"--spectrum-progress-circle-thickness-medium",
"--spectrum-progress-circle-thickness-small",
- "--spectrum-progress-circle-track-border-color",
- "--spectrum-progress-circle-track-border-color-over-background",
- "--spectrum-progress-circle-track-border-style"
+ "--spectrum-progress-circle-track-border-color"
],
"global": [
"--spectrum-accent-content-color-default",
- "--spectrum-gray-200",
- "--spectrum-gray-300",
- "--spectrum-transparent-white-1000",
- "--spectrum-transparent-white-300",
- "--spectrum-transparent-white-400",
- "--spectrum-transparent-white-900"
- ],
- "system-theme": [
- "--system-progress-circle-fill-border-color-over-background",
- "--system-progress-circle-track-border-color",
- "--system-progress-circle-track-border-color-over-background"
+ "--spectrum-static-black-track-color",
+ "--spectrum-static-black-track-indicator-color",
+ "--spectrum-static-white-track-color",
+ "--spectrum-static-white-track-indicator-color",
+ "--spectrum-track-color"
],
"passthroughs": [],
"high-contrast": [
"--highcontrast-progress-circle-fill-border-color",
- "--highcontrast-progress-circle-fill-border-color-over-background"
+ "--highcontrast-progress-circle-track-color"
]
}
diff --git a/components/progresscircle/index.css b/components/progresscircle/index.css
index 019cbb78bbd..d2adf1c18dd 100644
--- a/components/progresscircle/index.css
+++ b/components/progresscircle/index.css
@@ -1,66 +1,40 @@
/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
+Copyright 2024 Adobe. All rights reserved.
+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
-@import "./themes/spectrum-two.css";
+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
+governing permissions and limitations under the License.
+*/
-/* windows high contrast mode */
-@media (forced-colors: active) {
- .spectrum-ProgressCircle {
- /* fill is bright color */
- --highcontrast-progress-circle-fill-border-color: Highlight;
-
- /* fill over background is bright color */
- --highcontrast-progress-circle-fill-border-color-over-background: Highlight;
- }
-
- /* track double for visibility */
- .spectrum-ProgressCircle-track {
- --spectrum-progress-circle-track-border-style: double;
- }
-}
+@import "animation.css";
.spectrum-ProgressCircle {
/* circle unfilled border color */
- --spectrum-progress-circle-track-border-color: var(--spectrum-gray-300);
+ --spectrum-progress-circle-track-border-color: var(--spectrum-track-color);
/* circle progress fill border color */
--spectrum-progress-circle-fill-border-color: var(--spectrum-accent-content-color-default);
- /* over background unfilled border color */
- --spectrum-progress-circle-track-border-color-over-background: var(--spectrum-transparent-white-300);
-
- /* over background progress fill border color */
- --spectrum-progress-circle-fill-border-color-over-background: var(--spectrum-transparent-white-900);
-
- /* track border style */
- --spectrum-progress-circle-track-border-style: solid;
-
- &.spectrum-ProgressCircle--small {
- --spectrum-progress-circle-size: var(--spectrum-progress-circle-size-small);
- --spectrum-progress-circle-thickness: var(--spectrum-progress-circle-thickness-small);
- }
+ /* default size and thickness */
+ --spectrum-progress-circle-size: var(--spectrum-progress-circle-size-medium);
+ --spectrum-progress-circle-thickness: var(--spectrum-progress-circle-thickness-medium);
+}
- &,
- &.spectrum-ProgressCircle--medium {
- --spectrum-progress-circle-size: var(--spectrum-progress-circle-size-medium);
- --spectrum-progress-circle-thickness: var(--spectrum-progress-circle-thickness-medium);
- }
+.spectrum-ProgressCircle--sizeS {
+ --spectrum-progress-circle-size: var(--spectrum-progress-circle-size-small);
+ --spectrum-progress-circle-thickness: var(--spectrum-progress-circle-thickness-small);
+}
- &.spectrum-ProgressCircle--large {
- --spectrum-progress-circle-size: var(--spectrum-progress-circle-size-large);
- --spectrum-progress-circle-thickness: var(--spectrum-progress-circle-thickness-large);
- }
+.spectrum-ProgressCircle--sizeL {
+ --spectrum-progress-circle-size: var(--spectrum-progress-circle-size-large);
+ --spectrum-progress-circle-thickness: var(--spectrum-progress-circle-thickness-large);
+}
+.spectrum-ProgressCircle {
display: inline-block;
inline-size: var(--mod-progress-circle-size, var(--spectrum-progress-circle-size));
block-size: var(--mod-progress-circle-size, var(--spectrum-progress-circle-size));
@@ -70,591 +44,66 @@
/* Fix for Safari rendering bug */
/* more info: https://github.com/adobe/spectrum-web-components/issues/1392 */
transform: translate3d(0, 0, 0);
-}
-
-.spectrum-ProgressCircle-track {
- box-sizing: border-box;
- inline-size: var(--mod-progress-circle-size, var(--spectrum-progress-circle-size));
- block-size: var(--mod-progress-circle-size, var(--spectrum-progress-circle-size));
- border-style: var(--mod-progress-circle-track-border-style, var(--spectrum-progress-circle-track-border-style));
- border-width: var(--mod-progress-circle-thickness, var(--spectrum-progress-circle-thickness));
- border-radius: var(--mod-progress-circle-size, var(--spectrum-progress-circle-size));
- border-color: var(--mod-progress-circle-track-border-color, var(--spectrum-progress-circle-track-border-color));
-}
+ &.spectrum-ProgressCircle--staticWhite {
+ --spectrum-progress-circle-track-border-color: var(--spectrum-static-white-track-color);
+ --spectrum-progress-circle-fill-border-color: var(--spectrum-static-white-track-indicator-color);
+ }
-/* circle progress fill parent container */
-.spectrum-ProgressCircle-fills {
- position: absolute;
- inset-block-start: 0;
- inset-inline-start: 0;
- inline-size: 100%;
- block-size: 100%;
+ &.spectrum-ProgressCircle--staticBlack {
+ --spectrum-progress-circle-track-border-color: var(--spectrum-static-black-track-color);
+ --spectrum-progress-circle-fill-border-color: var(--spectrum-static-black-track-indicator-color);
+ }
}
-/* circle progress filled */
+.spectrum-ProgressCircle-track,
.spectrum-ProgressCircle-fill {
box-sizing: border-box;
inline-size: var(--mod-progress-circle-size, var(--spectrum-progress-circle-size));
block-size: var(--mod-progress-circle-size, var(--spectrum-progress-circle-size));
-
- border-style: solid;
- border-width: var(--mod-progress-circle-thickness, var(--spectrum-progress-circle-thickness));
- border-radius: var(--mod-progress-circle-size, var(--spectrum-progress-circle-size));
- border-color: var(--highcontrast-progress-circle-fill-border-color, var(--mod-progress-circle-fill-border-color, var(--spectrum-progress-circle-fill-border-color)));
}
-/* circle colors over background */
-.spectrum-ProgressCircle.spectrum-ProgressCircle--staticWhite {
- .spectrum-ProgressCircle-track {
- border-color: var(--mod-progress-circle-track-border-color-over-background, var(--spectrum-progress-circle-track-border-color-over-background));
- }
-
- .spectrum-ProgressCircle-fill {
- border-color: var(--highcontrast-progress-circle-fill-border-color-over-background, var(--mod-progress-circle-fill-border-color-over-background, var(--spectrum-progress-circle-fill-border-color-over-background)));
- }
-}
-
-/* animation masks - circle fill progress */
-.spectrum-ProgressCircle-fillMask1,
-.spectrum-ProgressCircle-fillMask2 {
- inline-size: 50%;
- block-size: 100%;
- transform-origin: 100% center;
- transform: rotate(180deg);
- overflow: hidden;
- position: absolute;
-}
-
-.spectrum-ProgressCircle-fillSubMask1,
-.spectrum-ProgressCircle-fillSubMask2 {
- inline-size: 100%;
- block-size: 100%;
- transform-origin: 100% center;
- overflow: hidden;
- transform: rotate(-180deg);
+.spectrum-ProgressCircle-track {
+ stroke-width: var(--mod-progress-circle-thickness, var(--spectrum-progress-circle-thickness));
+ stroke: var(--highcontrast-progress-circle-track-color, var(--mod-progress-circle-track-border-color, var(--spectrum-progress-circle-track-border-color)));
}
-.spectrum-ProgressCircle-fillMask2 {
- transform: rotate(0deg);
+/* circle progress filled */
+.spectrum-ProgressCircle-fill {
+ stroke-width: var(--mod-progress-circle-thickness, var(--spectrum-progress-circle-thickness));
+ stroke: var(--highcontrast-progress-circle-fill-border-color, var(--mod-progress-circle-fill-border-color, var(--spectrum-progress-circle-fill-border-color)));
+ transform: rotate(-90deg);
+ transform-origin: center;
}
/* animation masks - circle indeterminate with continuous animation */
.spectrum-ProgressCircle--indeterminate {
- .spectrum-ProgressCircle-fills {
+ .spectrum-ProgressCircle-fill {
will-change: transform;
- transform: translateZ(0);
- animation: 1s infinite cubic-bezier(0.25, 0.78, 0.48, 0.89) spectrum-fills-rotate;
+ animation:
+ 1s cubic-bezier(0.6, 0.1, 0.3, 0.9) infinite spectrum-fills-rotate,
+ 1s cubic-bezier(0.25, 0.1, 0.25, 1.3) infinite spectrum-dashoffset-animation;
transform-origin: center;
}
-
- .spectrum-ProgressCircle-fillSubMask1 {
- will-change: transform;
- transform: translateZ(0);
- animation: 1s infinite linear spectrum-fill-mask-1;
- }
-
- .spectrum-ProgressCircle-fillSubMask2 {
- will-change: transform;
- transform: translateZ(0);
- animation: 1s infinite linear spectrum-fill-mask-2;
- }
-}
-
-.spectrum-ProgressCircle--indeterminate-fill-submask-2 {
- animation: 1s infinite linear spectrum-fill-mask-2;
}
-@keyframes spectrum-fill-mask-1 {
- 0% {
- transform: rotate(90deg);
- }
-
- 1.69% {
- transform: rotate(72.3deg);
- }
-
- 3.39% {
- transform: rotate(55.5deg);
- }
-
- 5.08% {
- transform: rotate(40.3deg);
- }
-
- 6.78% {
- transform: rotate(25deg);
- }
-
- 8.47% {
- transform: rotate(10.6deg);
- }
-
- 10.17% {
- transform: rotate(0deg);
- }
-
- 11.86% {
- transform: rotate(0deg);
- }
-
- 13.56% {
- transform: rotate(0deg);
- }
-
- 15.25% {
- transform: rotate(0deg);
- }
-
- 16.95% {
- transform: rotate(0deg);
- }
-
- 18.64% {
- transform: rotate(0deg);
- }
-
- 20.34% {
- transform: rotate(0deg);
- }
-
- 22.03% {
- transform: rotate(0deg);
- }
-
- 23.73% {
- transform: rotate(0deg);
- }
-
- 25.42% {
- transform: rotate(0deg);
- }
-
- 27.12% {
- transform: rotate(0deg);
- }
-
- 28.81% {
- transform: rotate(0deg);
- }
-
- 30.51% {
- transform: rotate(0deg);
- }
-
- 32.2% {
- transform: rotate(0deg);
- }
-
- 33.9% {
- transform: rotate(0deg);
- }
-
- 35.59% {
- transform: rotate(0deg);
- }
-
- 37.29% {
- transform: rotate(0deg);
- }
-
- 38.98% {
- transform: rotate(0deg);
- }
-
- 40.68% {
- transform: rotate(0deg);
- }
-
- 42.37% {
- transform: rotate(5.3deg);
- }
-
- 44.07% {
- transform: rotate(13.4deg);
- }
-
- 45.76% {
- transform: rotate(20.6deg);
- }
-
- 47.46% {
- transform: rotate(29deg);
- }
-
- 49.15% {
- transform: rotate(36.5deg);
- }
-
- 50.85% {
- transform: rotate(42.6deg);
- }
-
- 52.54% {
- transform: rotate(48.8deg);
- }
-
- 54.24% {
- transform: rotate(54.2deg);
- }
-
- 55.93% {
- transform: rotate(59.4deg);
- }
-
- 57.63% {
- transform: rotate(63.2deg);
- }
-
- 59.32% {
- transform: rotate(67.2deg);
- }
-
- 61.02% {
- transform: rotate(70.8deg);
- }
-
- 62.71% {
- transform: rotate(73.8deg);
- }
-
- 64.41% {
- transform: rotate(76.2deg);
- }
-
- 66.1% {
- transform: rotate(78.7deg);
- }
-
- 67.8% {
- transform: rotate(80.6deg);
- }
-
- 69.49% {
- transform: rotate(82.6deg);
- }
-
- 71.19% {
- transform: rotate(83.7deg);
- }
-
- 72.88% {
- transform: rotate(85deg);
- }
-
- 74.58% {
- transform: rotate(86.3deg);
- }
-
- 76.27% {
- transform: rotate(87deg);
- }
-
- 77.97% {
- transform: rotate(87.7deg);
- }
-
- 79.66% {
- transform: rotate(88.3deg);
- }
-
- 81.36% {
- transform: rotate(88.6deg);
- }
-
- 83.05% {
- transform: rotate(89.2deg);
- }
-
- 84.75% {
- transform: rotate(89.2deg);
- }
-
- 86.44% {
- transform: rotate(89.5deg);
- }
-
- 88.14% {
- transform: rotate(89.9deg);
- }
-
- 89.83% {
- transform: rotate(89.7deg);
- }
-
- 91.53% {
- transform: rotate(90.1deg);
- }
-
- 93.22% {
- transform: rotate(90.2deg);
- }
-
- 94.92% {
- transform: rotate(90.1deg);
- }
-
- 96.61% {
- transform: rotate(90deg);
- }
-
- 98.31% {
- transform: rotate(89.8deg);
- }
-
- 100% {
- transform: rotate(90deg);
- }
-}
-
-@keyframes spectrum-fill-mask-2 {
- 0% {
- transform: rotate(180deg);
- }
-
- 1.69% {
- transform: rotate(180deg);
- }
-
- 3.39% {
- transform: rotate(180deg);
- }
-
- 5.08% {
- transform: rotate(180deg);
- }
-
- 6.78% {
- transform: rotate(180deg);
- }
-
- 8.47% {
- transform: rotate(180deg);
- }
-
- 10.17% {
- transform: rotate(179.2deg);
- }
-
- 11.86% {
- transform: rotate(164deg);
- }
-
- 13.56% {
- transform: rotate(151.8deg);
- }
-
- 15.25% {
- transform: rotate(140.8deg);
- }
-
- 16.95% {
- transform: rotate(130.3deg);
- }
-
- 18.64% {
- transform: rotate(120.4deg);
- }
-
- 20.34% {
- transform: rotate(110.8deg);
- }
-
- 22.03% {
- transform: rotate(101.6deg);
- }
-
- 23.73% {
- transform: rotate(93.5deg);
- }
-
- 25.42% {
- transform: rotate(85.4deg);
- }
-
- 27.12% {
- transform: rotate(78.1deg);
- }
-
- 28.81% {
- transform: rotate(71.2deg);
- }
-
- 30.51% {
- transform: rotate(89.1deg);
- }
-
- 32.2% {
- transform: rotate(105.5deg);
- }
-
- 33.9% {
- transform: rotate(121.3deg);
- }
-
- 35.59% {
- transform: rotate(135.5deg);
- }
-
- 37.29% {
- transform: rotate(148.4deg);
- }
-
- 38.98% {
- transform: rotate(161deg);
- }
-
- 40.68% {
- transform: rotate(173.5deg);
- }
-
- 42.37% {
- transform: rotate(180deg);
- }
-
- 44.07% {
- transform: rotate(180deg);
- }
-
- 45.76% {
- transform: rotate(180deg);
- }
-
- 47.46% {
- transform: rotate(180deg);
- }
-
- 49.15% {
- transform: rotate(180deg);
- }
-
- 50.85% {
- transform: rotate(180deg);
- }
-
- 52.54% {
- transform: rotate(180deg);
- }
-
- 54.24% {
- transform: rotate(180deg);
- }
-
- 55.93% {
- transform: rotate(180deg);
- }
-
- 57.63% {
- transform: rotate(180deg);
- }
-
- 59.32% {
- transform: rotate(180deg);
- }
-
- 61.02% {
- transform: rotate(180deg);
- }
-
- 62.71% {
- transform: rotate(180deg);
- }
-
- 64.41% {
- transform: rotate(180deg);
- }
-
- 66.1% {
- transform: rotate(180deg);
- }
-
- 67.8% {
- transform: rotate(180deg);
- }
-
- 69.49% {
- transform: rotate(180deg);
- }
-
- 71.19% {
- transform: rotate(180deg);
- }
-
- 72.88% {
- transform: rotate(180deg);
- }
-
- 74.58% {
- transform: rotate(180deg);
- }
-
- 76.27% {
- transform: rotate(180deg);
- }
-
- 77.97% {
- transform: rotate(180deg);
- }
-
- 79.66% {
- transform: rotate(180deg);
- }
-
- 81.36% {
- transform: rotate(180deg);
- }
-
- 83.05% {
- transform: rotate(180deg);
- }
-
- 84.75% {
- transform: rotate(180deg);
- }
-
- 86.44% {
- transform: rotate(180deg);
- }
-
- 88.14% {
- transform: rotate(180deg);
- }
-
- 89.83% {
- transform: rotate(180deg);
- }
-
- 91.53% {
- transform: rotate(180deg);
- }
-
- 93.22% {
- transform: rotate(180deg);
- }
-
- 94.92% {
- transform: rotate(180deg);
- }
-
- 96.61% {
- transform: rotate(180deg);
- }
-
- 98.31% {
- transform: rotate(180deg);
- }
-
- 100% {
- transform: rotate(180deg);
+/* windows high contrast mode */
+@media (forced-colors: active) {
+ .spectrum-ProgressCircle {
+ /* fill is bright color */
+ --highcontrast-progress-circle-fill-border-color: Highlight;
+ --highcontrast-progress-circle-track-color: Background;
}
-}
-@keyframes spectrum-fills-rotate {
- 0% {
- transform: rotate(-90deg);
- }
+ .spectrum-ProgressCircle:not(.spectrum-ProgressCircle--indeterminate) {
+ .spectrum-innerCircle {
+ stroke: CanvasText;
+ }
- 100% {
- transform: rotate(270deg);
+ .spectrum-outerCircle {
+ border: 1px solid;
+ border-color: CanvasText;
+ border-radius: 50%;
+ }
}
}
diff --git a/components/progresscircle/package.json b/components/progresscircle/package.json
index 6f08404e35d..5b863ba30f1 100644
--- a/components/progresscircle/package.json
+++ b/components/progresscircle/package.json
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
"@spectrum-css/tokens": {
diff --git a/components/progresscircle/stories/progresscircle.stories.js b/components/progresscircle/stories/progresscircle.stories.js
index f64c2f2780a..9146a54f0f1 100644
--- a/components/progresscircle/stories/progresscircle.stories.js
+++ b/components/progresscircle/stories/progresscircle.stories.js
@@ -15,16 +15,28 @@ export default {
argTypes: {
size: size(["s", "m", "l"]),
isIndeterminate,
- staticColor: {
- ...staticColor,
- options: ["white"],
- },
+ staticColor,
+ value: {
+ name: "Percent filled",
+ type: { name: "number" },
+ table: {
+ type: { summary: "number" },
+ category: "Content",
+ },
+ control: {
+ type: "range",
+ min: 0,
+ max: 100
+ },
+ if: { arg: "isIndeterminate", truthy: false },
+ }
},
args: {
rootClass: "spectrum-ProgressCircle",
size: "m",
isIndeterminate: false,
staticColor: undefined,
+ value: 43
},
parameters: {
design: {
@@ -102,3 +114,25 @@ StaticWhiteIndeterminate.args = {
StaticWhiteIndeterminate.parameters = {
chromatic: { disableSnapshot: true },
};
+
+export const StaticBlackDeterminate = Sizing.bind({});
+StaticBlackDeterminate.tags = ["!dev"];
+StaticBlackDeterminate.storyName = "Static black, default";
+StaticBlackDeterminate.args = {
+ staticColor: "black",
+ isIndeterminate: false,
+};
+StaticBlackDeterminate.parameters = {
+ chromatic: { disableSnapshot: true },
+};
+
+export const StaticBlackIndeterminate = Sizing.bind({});
+StaticBlackIndeterminate.tags = ["!dev"];
+StaticBlackIndeterminate.storyName = "Static black, indeterminate";
+StaticBlackIndeterminate.args = {
+ staticColor: "black",
+ isIndeterminate: true,
+};
+StaticBlackIndeterminate.parameters = {
+ chromatic: { disableSnapshot: true },
+};
diff --git a/components/progresscircle/stories/progresscircle.test.js b/components/progresscircle/stories/progresscircle.test.js
index 26c9d8e078c..83fe05791dc 100644
--- a/components/progresscircle/stories/progresscircle.test.js
+++ b/components/progresscircle/stories/progresscircle.test.js
@@ -11,6 +11,10 @@ export const ProgressCircleGroup = Variants({
testHeading: "Static white",
staticColor: "white",
},
+ {
+ testHeading: "Static black",
+ staticColor: "black",
+ },
],
stateData: [
{
diff --git a/components/progresscircle/stories/template.js b/components/progresscircle/stories/template.js
index 2e27221f91a..1890e58d4b0 100644
--- a/components/progresscircle/stories/template.js
+++ b/components/progresscircle/stories/template.js
@@ -4,10 +4,9 @@ import { classMap } from "lit/directives/class-map.js";
import { ifDefined } from "lit/directives/if-defined.js";
import { styleMap } from "lit/directives/style-map.js";
+import { capitalize } from "lodash-es";
+
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
id = getRandomId("progress-circle"),
@@ -18,45 +17,48 @@ export const Template = ({
size = "m",
staticColor,
isIndeterminate = false,
-} = {}) => {
- let sizeClassName = "medium";
- switch (size) {
- case "s":
- sizeClassName = "small";
- break;
- case "l":
- sizeClassName = "large";
- break;
- default:
- sizeClassName = "medium";
- }
+ value,
+}) => {
+
+ let strokeWidth = size === "s" ? 2 : size === "l" ? 4 : 3;
+
+ // SVG strokes are centered, so subtract half the stroke width from the radius to create an inner stroke.
+ let radius = `calc(50% - ${strokeWidth / 2}px)`;
+
+ let insideRadius = `calc(50% - ${strokeWidth / 1}px)`;
return html`
({ ...a, [c]: true }), {}),
})}
id=${ifDefined(id)}
style=${styleMap(customStyles)}
data-testid=${ifDefined(testId)}
>
-
-
+
+
+
+
+
`;
-};
\ No newline at end of file
+};
diff --git a/components/progresscircle/themes/express.css b/components/progresscircle/themes/express.css
deleted file mode 100644
index 9fd550418f2..00000000000
--- a/components/progresscircle/themes/express.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
diff --git a/components/progresscircle/themes/spectrum-two.css b/components/progresscircle/themes/spectrum-two.css
deleted file mode 100644
index 93464f22940..00000000000
--- a/components/progresscircle/themes/spectrum-two.css
+++ /dev/null
@@ -1,22 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-ProgressCircle {
- /* circle unfilled border color */
- --spectrum-progress-circle-track-border-color: var(--spectrum-gray-200);
-
- --spectrum-progress-circle-track-border-color-over-background: var(--spectrum-transparent-white-400);
- --spectrum-progress-circle-fill-border-color-over-background: var(--spectrum-transparent-white-1000);
- }
-}
diff --git a/components/progresscircle/themes/spectrum.css b/components/progresscircle/themes/spectrum.css
deleted file mode 100644
index 2d0e45eece1..00000000000
--- a/components/progresscircle/themes/spectrum.css
+++ /dev/null
@@ -1,26 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-ProgressCircle {
- /* circle unfilled border color */
- --spectrum-progress-circle-track-border-color: var(--spectrum-gray-300);
-
- --spectrum-progress-circle-track-border-color-over-background: var(--spectrum-transparent-white-300);
- --spectrum-progress-circle-fill-border-color-over-background: var(--spectrum-transparent-white-900);
- }
-}
diff --git a/components/radio/CHANGELOG.md b/components/radio/CHANGELOG.md
index b4c908b2934..1e94ef08198 100644
--- a/components/radio/CHANGELOG.md
+++ b/components/radio/CHANGELOG.md
@@ -1,5 +1,36 @@
# Change log
+## 11.0.0-next.1
+
+### Major Changes
+
+- [#3555](https://github.com/adobe/spectrum-css/pull/3555) [`0af6461`](https://github.com/adobe/spectrum-css/commit/0af646180cd61e1872cde39bed5436f97d378cc9) Thanks [@aramos-adobe](https://github.com/aramos-adobe)! - # Radio S2 Migration
+
+ Updates:
+
+ - High contrast tokens have been modified
+ - Typography tokens modified
+
+ ## New tokens
+
+ `--spectrum-radio-border-width`
+ `--spectrum-radio-text-font-weight`
+ `--spectrum-radio-text-font-style`
+
+ ## Modified tokens
+
+ `--spectrum-radio-emphasized-accent-color`
+ `--spectrum-radio-emphasized-accent-color-hover`
+ `--spectrum-radio-emphasized-accent-color-down`
+ `--spectrum-radio-emphasized-accent-color-focus`
+
+## 11.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+
## 10.1.0
### Minor Changes
diff --git a/components/radio/dist/metadata.json b/components/radio/dist/metadata.json
index b94c6dfcf90..7863677a763 100644
--- a/components/radio/dist/metadata.json
+++ b/components/radio/dist/metadata.json
@@ -12,7 +12,6 @@
".spectrum-Radio--emphasized:focus .spectrum-Radio-input:checked + .spectrum-Radio-button:before",
".spectrum-Radio--emphasized:hover .spectrum-Radio-input:checked + .spectrum-Radio-button:before",
".spectrum-Radio--sizeL",
- ".spectrum-Radio--sizeM",
".spectrum-Radio--sizeS",
".spectrum-Radio--sizeXL",
".spectrum-Radio-button",
@@ -26,10 +25,15 @@
".spectrum-Radio-label:lang(ja)",
".spectrum-Radio-label:lang(ko)",
".spectrum-Radio-label:lang(zh)",
+ ".spectrum-Radio.is-active .spectrum-Radio-button:before",
+ ".spectrum-Radio.is-active .spectrum-Radio-input:checked + .spectrum-Radio-button:before",
+ ".spectrum-Radio.is-active .spectrum-Radio-label",
".spectrum-Radio.is-readOnly .spectrum-Radio-input",
+ ".spectrum-Radio.is-readOnly .spectrum-Radio-input + .spectrum-Radio-button:before",
".spectrum-Radio.is-readOnly .spectrum-Radio-input:checked:disabled ~ .spectrum-Radio-label",
".spectrum-Radio.is-readOnly .spectrum-Radio-input:disabled ~ .spectrum-Radio-label",
".spectrum-Radio.is-readOnly .spectrum-Radio-label",
+ ".spectrum-Radio.is-readOnly:hover .spectrum-Radio-input + .spectrum-Radio-button:before",
".spectrum-Radio:active .spectrum-Radio-button:before",
".spectrum-Radio:active .spectrum-Radio-input:checked + .spectrum-Radio-button:before",
".spectrum-Radio:active .spectrum-Radio-label",
@@ -44,6 +48,7 @@
".spectrum-Radio:lang(ja)",
".spectrum-Radio:lang(ko)",
".spectrum-Radio:lang(zh)",
+ ".spectrum-Radio:not(.is-readOnly):active .spectrum-Radio-input:not(:disabled) + .spectrum-Radio-button",
"[dir=\"rtl\"] .spectrum-Radio .spectrum-Radio-button:after"
],
"modifiers": [
@@ -86,10 +91,6 @@
"--spectrum-radio-button-border-color-down",
"--spectrum-radio-button-border-color-focus",
"--spectrum-radio-button-border-color-hover",
- "--spectrum-radio-button-checked-border-color-default",
- "--spectrum-radio-button-checked-border-color-down",
- "--spectrum-radio-button-checked-border-color-focus",
- "--spectrum-radio-button-checked-border-color-hover",
"--spectrum-radio-button-control-size",
"--spectrum-radio-button-control-size-extra-large",
"--spectrum-radio-button-control-size-large",
@@ -120,12 +121,15 @@
"--spectrum-radio-neutral-content-color-down",
"--spectrum-radio-neutral-content-color-focus",
"--spectrum-radio-neutral-content-color-hover",
+ "--spectrum-radio-text-font-style",
+ "--spectrum-radio-text-font-weight",
"--spectrum-radio-text-to-control"
],
"global": [
- "--spectrum-accent-color-1000",
- "--spectrum-accent-color-1100",
- "--spectrum-accent-color-900",
+ "--spectrum-accent-content-color-default",
+ "--spectrum-accent-content-color-down",
+ "--spectrum-accent-content-color-hover",
+ "--spectrum-accent-content-color-key-focus",
"--spectrum-animation-duration-100",
"--spectrum-border-width-200",
"--spectrum-cjk-line-height-100",
@@ -137,10 +141,13 @@
"--spectrum-component-height-200",
"--spectrum-component-height-300",
"--spectrum-component-height-75",
+ "--spectrum-component-size-difference-down",
+ "--spectrum-component-size-minimum-perspective-down",
"--spectrum-component-top-to-text-100",
"--spectrum-component-top-to-text-200",
"--spectrum-component-top-to-text-300",
"--spectrum-component-top-to-text-75",
+ "--spectrum-default-font-style",
"--spectrum-disabled-content-color",
"--spectrum-focus-indicator-color",
"--spectrum-focus-indicator-gap",
@@ -149,34 +156,20 @@
"--spectrum-font-size-200",
"--spectrum-font-size-300",
"--spectrum-font-size-75",
- "--spectrum-gray-50",
- "--spectrum-gray-600",
- "--spectrum-gray-700",
- "--spectrum-gray-800",
+ "--spectrum-gray-25",
"--spectrum-line-height-100",
- "--spectrum-neutral-background-color-selected-default",
- "--spectrum-neutral-background-color-selected-down",
- "--spectrum-neutral-background-color-selected-hover",
- "--spectrum-neutral-background-color-selected-key-focus",
"--spectrum-neutral-content-color-default",
"--spectrum-neutral-content-color-down",
"--spectrum-neutral-content-color-hover",
"--spectrum-neutral-content-color-key-focus",
+ "--spectrum-regular-font-weight",
"--spectrum-text-to-control-100",
"--spectrum-text-to-control-200",
"--spectrum-text-to-control-300",
"--spectrum-text-to-control-75"
],
- "system-theme": [
- "--system-radio-button-background-color",
- "--system-radio-button-border-color-default",
- "--system-radio-button-border-color-down",
- "--system-radio-button-border-color-focus",
- "--system-radio-button-border-color-hover"
- ],
"passthroughs": [],
"high-contrast": [
- "--highcontrast-radio-button-background-color",
"--highcontrast-radio-button-border-color-default",
"--highcontrast-radio-button-border-color-down",
"--highcontrast-radio-button-border-color-focus",
diff --git a/components/radio/index.css b/components/radio/index.css
index f531d01f8dd..c3878f77634 100644
--- a/components/radio/index.css
+++ b/components/radio/index.css
@@ -11,8 +11,6 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
/*
* Radio:
* ::before is to style the input circle (selection indicator)
@@ -20,6 +18,8 @@
*/
.spectrum-Radio {
+ --spectrum-radio-button-background-color: var(--spectrum-gray-25);
+
/* state colors for all themes */
--spectrum-radio-neutral-content-color: var(--spectrum-neutral-content-color-default);
--spectrum-radio-neutral-content-color-hover: var(--spectrum-neutral-content-color-hover);
@@ -36,35 +36,22 @@
--spectrum-radio-disabled-border-color: var(--spectrum-disabled-content-color);
/* emphasized state colors selection indicator all themes */
- --spectrum-radio-emphasized-accent-color: var(--spectrum-accent-color-900);
- --spectrum-radio-emphasized-accent-color-hover: var(--spectrum-accent-color-1000);
- --spectrum-radio-emphasized-accent-color-down: var(--spectrum-accent-color-1100);
- --spectrum-radio-emphasized-accent-color-focus: var(--spectrum-accent-color-1000);
-
- /* selection indicator all themes */
- --spectrum-radio-border-width: var(--spectrum-border-width-200);
+ --spectrum-radio-emphasized-accent-color: var(--spectrum-accent-content-color-default);
+ --spectrum-radio-emphasized-accent-color-hover: var(--spectrum-accent-content-color-hover);
+ --spectrum-radio-emphasized-accent-color-down: var(--spectrum-accent-content-color-down);
+ --spectrum-radio-emphasized-accent-color-focus: var(--spectrum-accent-content-color-key-focus);
- /* checked selection indicator */
- --spectrum-radio-button-checked-border-color-default: var(--spectrum-neutral-background-color-selected-default);
- --spectrum-radio-button-checked-border-color-hover: var(--spectrum-neutral-background-color-selected-hover);
- --spectrum-radio-button-checked-border-color-down: var(--spectrum-neutral-background-color-selected-down);
- --spectrum-radio-button-checked-border-color-focus: var(--spectrum-neutral-background-color-selected-key-focus);
+ /* radio checked/unchecked selection indicator */
+ --spectrum-radio-button-border-color-default: var(--spectrum-neutral-content-color-default);
+ --spectrum-radio-button-border-color-hover: var(--spectrum-neutral-content-color-hover);
+ --spectrum-radio-button-border-color-down: var(--spectrum-neutral-content-color-down);
+ --spectrum-radio-button-border-color-focus: var(--spectrum-neutral-content-color-key-focus);
--spectrum-radio-line-height: var(--spectrum-line-height-100);
/* animation all themes */
--spectrum-radio-animation-duration: var(--spectrum-animation-duration-100);
- /* CJK language support all themes */
- &:lang(ja),
- &:lang(zh),
- &:lang(ko) {
- --spectrum-radio-line-height-cjk: var(--spectrum-cjk-line-height-100);
- }
-}
-
-.spectrum-Radio,
-.spectrum-Radio--sizeM {
--spectrum-radio-height: var(--spectrum-component-height-100);
--spectrum-radio-button-control-size: var(--spectrum-radio-button-control-size-medium);
@@ -74,6 +61,16 @@
--spectrum-radio-button-top-to-control: var(--spectrum-radio-button-top-to-control-medium);
--spectrum-radio-font-size: var(--spectrum-font-size-100);
+ --spectrum-radio-border-width: var(--spectrum-border-width-200);
+ --spectrum-radio-text-font-weight: var(--spectrum-regular-font-weight);
+ --spectrum-radio-text-font-style: var(--spectrum-default-font-style);
+
+ /* CJK language support all themes */
+ &:lang(ja),
+ &:lang(zh),
+ &:lang(ko) {
+ --spectrum-radio-line-height-cjk: var(--spectrum-cjk-line-height-100);
+ }
}
.spectrum-Radio--sizeS {
@@ -112,53 +109,6 @@
--spectrum-radio-font-size: var(--spectrum-font-size-300);
}
-/* windows high contrast mode */
-@media (forced-colors: active) {
- .spectrum-Radio {
- --highcontrast-radio-button-background-color: ButtonFace;
-
- /* high contrast text */
- --highcontrast-radio-neutral-content-color: CanvasText;
- --highcontrast-radio-neutral-content-color-hover: CanvasText;
- --highcontrast-radio-neutral-content-color-down: CanvasText;
- --highcontrast-radio-neutral-content-color-focus: CanvasText;
-
- /* high contrast selector */
- --highcontrast-radio-button-border-color-default: ButtonText;
- --highcontrast-radio-button-border-color-hover: Highlight;
- --highcontrast-radio-button-border-color-down: ButtonText;
- --highcontrast-radio-button-border-color-focus: Highlight;
-
- /* high contrast emphasized selector */
- --highcontrast-radio-emphasized-accent-color: ButtonText;
- --highcontrast-radio-emphasized-accent-color-hover: Highlight;
- --highcontrast-radio-emphasized-accent-color-down: ButtonText;
- --highcontrast-radio-emphasized-accent-color-focus: Highlight;
-
- /* high contrast checked selector */
- --highcontrast-radio-button-checked-border-color-default: Highlight;
- --highcontrast-radio-button-checked-border-color-hover: Highlight;
- --highcontrast-radio-button-checked-border-color-down: Highlight;
- --highcontrast-radio-button-checked-border-color-focus: Highlight;
-
- /* high contrast disabled text */
- --highcontrast-radio-disabled-content-color: GrayText;
-
- /* high contrast disabled selector */
- --highcontrast-radio-disabled-border-color: GrayText;
-
- /* high contrast focus ring */
- --highcontrast-radio-focus-indicator-color: CanvasText;
-
- /* ensure focus ring is visible if user agent has non-accessible system overrides */
- .spectrum-Radio-button {
- &::after {
- forced-color-adjust: none;
- }
- }
- }
-}
-
.spectrum-Radio {
display: inline-flex;
align-items: flex-start;
@@ -176,7 +126,7 @@
/* checked selection indicator hover */
.spectrum-Radio-input:checked + .spectrum-Radio-button::before {
- border-color: var(--highcontrast-radio-button-checked-border-color-hover, var(--mod-radio-button-checked-border-color-hover, var(--spectrum-radio-button-checked-border-color-hover)));
+ border-color: var(--highcontrast-radio-button-checked-border-color-hover, var(--mod-radio-button-checked-border-color-hover, var(--spectrum-radio-button-border-color-hover)));
}
.spectrum-Radio-label {
@@ -184,7 +134,14 @@
}
}
- &:active {
+ &:not(.is-readOnly):active {
+ .spectrum-Radio-input:not(:disabled) + .spectrum-Radio-button {
+ transform: perspective(var(--spectrum-component-size-minimum-perspective-down)) translateZ(var(--spectrum-component-size-difference-down));
+ }
+ }
+
+ &:active,
+ &.is-active {
/* selection indicator active */
.spectrum-Radio-button::before {
border-color: var(--highcontrast-radio-button-border-color-down, var(--mod-radio-button-border-color-down, var(--spectrum-radio-button-border-color-down)));
@@ -192,7 +149,7 @@
/* checked selection indicator active */
.spectrum-Radio-input:checked + .spectrum-Radio-button::before {
- border-color: var(--highcontrast-radio-button-checked-border-color-down, var(--mod-radio-button-checked-border-color-down, var(--spectrum-radio-button-checked-border-color-down)));
+ border-color: var(--highcontrast-radio-button-checked-border-color-down, var(--mod-radio-button-checked-border-color-down, var(--spectrum-radio-button-border-color-down)));
}
.spectrum-Radio-label {
@@ -218,7 +175,7 @@
/* selected selection indicator is focused state */
.spectrum-Radio-input:checked + .spectrum-Radio-button::before {
- border-color: var(--highcontrast-radio-button-checked-border-color-focus, var(--mod-radio-button-checked-border-color-focus, var(--spectrum-radio-button-checked-border-color-focus)));
+ border-color: var(--highcontrast-radio-button-checked-border-color-focus, var(--mod-radio-button-checked-border-color-focus, var(--spectrum-radio-button-border-color-focus)));
}
.spectrum-Radio-label {
@@ -311,7 +268,7 @@
&::before {
/* half of element width minus half of indicator width is checked border width */
border-width: calc((var(--spectrum-radio-button-control-size) / 2) - (var(--spectrum-radio-button-selection-indicator) / 2));
- border-color: var(--highcontrast-radio-button-checked-border-color-default, var(--mod-radio-button-checked-border-color-default, var(--spectrum-radio-button-checked-border-color-default)));
+ border-color: var(--highcontrast-radio-button-checked-border-color-default, var(--mod-radio-button-checked-border-color-default, var(--spectrum-radio-button-border-color-default)));
}
}
@@ -336,9 +293,8 @@
font-size: var(--mod-radio-font-size, var(--spectrum-radio-font-size));
- /* TODO: font weight and style tokens */
- /* font-weight: var(--spectrum-radio-text-font-weight); **** missing token resolves to 400 ****/
- /* font-style: var(--spectrum-radio-text-font-style); **** missing token resolves to normal ****/
+ font-weight: var(--spectrum-radio-text-font-weight);
+ font-style: var(--spectrum-radio-text-font-style);
color: var(--highcontrast-radio-neutral-content-color, var(--mod-radio-neutral-content-color, var(--spectrum-radio-neutral-content-color)));
line-height: var(--mod-radio-line-height, var(--spectrum-radio-line-height));
@@ -405,3 +361,58 @@
}
}
}
+
+/* windows high contrast mode */
+@media (forced-colors: active) {
+ .spectrum-Radio {
+ /* high contrast text */
+ --highcontrast-radio-neutral-content-color: CanvasText;
+ --highcontrast-radio-neutral-content-color-hover: CanvasText;
+ --highcontrast-radio-neutral-content-color-down: CanvasText;
+ --highcontrast-radio-neutral-content-color-focus: CanvasText;
+
+ /* high contrast selector */
+ --highcontrast-radio-button-border-color-default: ButtonText;
+ --highcontrast-radio-button-border-color-hover: Highlight;
+ --highcontrast-radio-button-border-color-down: ButtonText;
+ --highcontrast-radio-button-border-color-focus: Highlight;
+
+ /* high contrast emphasized selector */
+ --highcontrast-radio-emphasized-accent-color: Highlight;
+ --highcontrast-radio-emphasized-accent-color-hover: Highlight;
+ --highcontrast-radio-emphasized-accent-color-down: ButtonText;
+ --highcontrast-radio-emphasized-accent-color-focus: Highlight;
+
+ /* high contrast checked selector */
+ --highcontrast-radio-button-checked-border-color-default: Highlight;
+ --highcontrast-radio-button-checked-border-color-hover: Highlight;
+ --highcontrast-radio-button-checked-border-color-down: Highlight;
+ --highcontrast-radio-button-checked-border-color-focus: Highlight;
+
+ /* high contrast disabled text */
+ --highcontrast-radio-disabled-content-color: GrayText;
+
+ /* high contrast disabled selector */
+ --highcontrast-radio-disabled-border-color: GrayText;
+
+ /* high contrast focus ring */
+ --highcontrast-radio-focus-indicator-color: CanvasText;
+
+ /* ensure focus ring is visible if user agent has non-accessible system overrides */
+ .spectrum-Radio-button {
+ &::after {
+ forced-color-adjust: none;
+ }
+ }
+
+ &.is-readOnly {
+ .spectrum-Radio-input + .spectrum-Radio-button::before {
+ border-color: var(--highcontrast-radio-button-border-color-default);
+ }
+
+ &:hover .spectrum-Radio-input + .spectrum-Radio-button::before {
+ border-color: var(--highcontrast-radio-button-border-color-default);
+ }
+ }
+ }
+}
diff --git a/components/radio/package.json b/components/radio/package.json
index 6d4b76d3802..51af9b26191 100644
--- a/components/radio/package.json
+++ b/components/radio/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/radio",
- "version": "10.1.0",
+ "version": "11.0.0-next.1",
"description": "The Spectrum CSS radio component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -37,7 +37,7 @@
}
},
"devDependencies": {
- "@spectrum-css/icon": "9.1.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/radio/stories/radio.stories.js b/components/radio/stories/radio.stories.js
index 1d6ff3d9b16..2a63ba40c3e 100644
--- a/components/radio/stories/radio.stories.js
+++ b/components/radio/stories/radio.stories.js
@@ -1,6 +1,6 @@
import { Sizes } from "@spectrum-css/preview/decorators";
import { disableDefaultModes } from "@spectrum-css/preview/modes";
-import { isChecked, isDisabled, isEmphasized, isReadOnly, size } from "@spectrum-css/preview/types";
+import { isActive, isChecked, isDisabled, isEmphasized, isFocused, isHovered, isReadOnly, size } from "@spectrum-css/preview/types";
import metadata from "../dist/metadata.json";
import packageJson from "../package.json";
import { RadioGroup } from "./radio.test.js";
@@ -40,6 +40,9 @@ export default {
isChecked,
isDisabled,
isReadOnly,
+ isHovered,
+ isFocused,
+ isActive,
},
args: {
rootClass: "spectrum-Radio",
@@ -49,6 +52,9 @@ export default {
isChecked: false,
isDisabled: false,
isReadOnly: false,
+ isHovered: false,
+ isFocused: false,
+ isActive: false,
},
parameters: {
actions: {
diff --git a/components/radio/stories/radio.test.js b/components/radio/stories/radio.test.js
index 13b743d62b3..a14b5daa761 100644
--- a/components/radio/stories/radio.test.js
+++ b/components/radio/stories/radio.test.js
@@ -18,7 +18,6 @@ export const RadioGroup = Variants({
customStyles: {
"max-width": "220px",
}
-
}
],
stateData: [
@@ -26,13 +25,51 @@ export const RadioGroup = Variants({
testHeading: "Checked",
isChecked: true,
},
+ {
+ testHeading: "Checked + hovered",
+ isChecked: true,
+ },
+ {
+ testHeading: "Hover",
+ isHovered: true,
+ },
{
testHeading: "Disabled",
isDisabled: true,
},
+ {
+ testHeading: "Disabled + checked",
+ isDisabled: true,
+ isChecked: true,
+ },
+ {
+ testHeading: "Disabled + checked + hovered",
+ isDisabled: true,
+ isChecked: true,
+ isHovered: true,
+ },
{
testHeading: "Read-only",
isReadOnly: true,
},
+ {
+ testHeading: "Read-only + checked",
+ isReadOnly: true,
+ isChecked: true,
+ },
+ {
+ testHeading: "Read-only + checked + hovered",
+ isHovered: true,
+ isReadOnly: true,
+ isChecked: true,
+ },
+ {
+ testHeading: "Active",
+ isActive: true
+ },
+ {
+ testHeading: "Focus-visible",
+ isFocused: true,
+ },
]
});
diff --git a/components/radio/stories/template.js b/components/radio/stories/template.js
index 68c3cbf0e96..3a1f613bc08 100644
--- a/components/radio/stories/template.js
+++ b/components/radio/stories/template.js
@@ -5,9 +5,6 @@ import { ifDefined } from "lit/directives/if-defined.js";
import { styleMap } from "lit/directives/style-map.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-Radio",
@@ -18,6 +15,9 @@ export const Template = ({
isChecked = false,
isDisabled = false,
isReadOnly = false,
+ isFocused = false,
+ isActive = false,
+ isHovered,
id = getRandomId("radio"),
customClasses = [],
customStyles = {},
@@ -37,7 +37,9 @@ export const Template = ({
[`${rootClass}--size${size?.toUpperCase()}`]:
typeof size !== "undefined",
[`${rootClass}--emphasized`]: isEmphasized,
+ "is-hover": isHovered,
"is-readOnly" : isReadOnly,
+ "is-active" : isActive,
...customClasses.reduce((a, c) => ({ ...a, [c]: true }), {}),
})}
style=${styleMap(customStyles)}
@@ -45,7 +47,11 @@ export const Template = ({
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
-
-@container style(--system: express) {
- .spectrum-Radio {
- /* selection indicator */
- --spectrum-radio-button-border-color-default: var(--spectrum-gray-800);
- --spectrum-radio-button-border-color-hover: var(--spectrum-gray-900);
- --spectrum-radio-button-border-color-down: var(--spectrum-gray-900);
- --spectrum-radio-button-border-color-focus: var(--spectrum-gray-900);
- }
-}
diff --git a/components/radio/themes/spectrum-two.css b/components/radio/themes/spectrum-two.css
deleted file mode 100644
index 48b980fc0e4..00000000000
--- a/components/radio/themes/spectrum-two.css
+++ /dev/null
@@ -1,24 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-Radio {
- /* selection indicator */
- --spectrum-radio-button-border-color-default: var(--spectrum-gray-600);
- --spectrum-radio-button-border-color-hover: var(--spectrum-gray-700);
- --spectrum-radio-button-border-color-down: var(--spectrum-gray-800);
- --spectrum-radio-button-border-color-focus: var(--spectrum-gray-700);
-
- --spectrum-radio-button-background-color: var(--spectrum-gray-50);
- }
-}
diff --git a/components/radio/themes/spectrum.css b/components/radio/themes/spectrum.css
deleted file mode 100644
index 33772fcc7c9..00000000000
--- a/components/radio/themes/spectrum.css
+++ /dev/null
@@ -1,22 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-Radio {
- --spectrum-radio-button-background-color: var(--spectrum-gray-75);
- }
-}
diff --git a/components/rating/CHANGELOG.md b/components/rating/CHANGELOG.md
index 53679f085c0..28c8128297a 100644
--- a/components/rating/CHANGELOG.md
+++ b/components/rating/CHANGELOG.md
@@ -1,5 +1,12 @@
# Change log
+## 7.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+
## 6.1.0
### Minor Changes
diff --git a/components/rating/dist/metadata.json b/components/rating/dist/metadata.json
index 75ee43e0895..f0ab77b22a9 100644
--- a/components/rating/dist/metadata.json
+++ b/components/rating/dist/metadata.json
@@ -101,13 +101,6 @@
"--spectrum-neutral-subdued-content-color-key-focus",
"--spectrum-workflow-icon-size-100"
],
- "system-theme": [
- "--system-rating-icon-color-default",
- "--system-rating-icon-color-down",
- "--system-rating-icon-color-hover",
- "--system-rating-icon-color-key-focus",
- "--system-rating-indicator-border-radius"
- ],
"passthroughs": [],
"high-contrast": [
"--highcontrast-rating-emphasized-icon-color-default",
diff --git a/components/rating/index.css b/components/rating/index.css
index 02c76194916..38ee34ef285 100644
--- a/components/rating/index.css
+++ b/components/rating/index.css
@@ -11,12 +11,23 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
.spectrum-Rating {
+ --spectrum-rating-icon-color-default: var(--spectrum-neutral-subdued-content-color-default);
+ --spectrum-rating-icon-color-hover: var(--spectrum-neutral-subdued-content-color-hover);
+ --spectrum-rating-icon-color-down: var(--spectrum-neutral-subdued-content-color-down);
+ --spectrum-rating-icon-color-key-focus: var(--spectrum-neutral-subdued-content-color-key-focus);
+
+ --spectrum-rating-indicator-border-radius: 2px;
+
/* Icon */
--spectrum-rating-icon-height: var(--spectrum-workflow-icon-size-100);
--spectrum-rating-icon-width: var(--spectrum-workflow-icon-size-100);
+ --spectrum-rating-icon-color-default: var(--spectrum-neutral-subdued-content-color-default);
+ --spectrum-rating-icon-color-hover: var(--spectrum-neutral-subdued-content-color-hover);
+ --spectrum-rating-icon-color-down: var(--spectrum-neutral-subdued-content-color-down);
+ --spectrum-rating-icon-color-key-focus: var(--spectrum-neutral-subdued-content-color-key-focus);
+
+
/* Focus ring */
--spectrum-rating-border-radius: var(--spectrum-corner-radius-100);
@@ -27,8 +38,9 @@
/* Spacing (top/bottom edge to icon) */
--spectrum-rating-icon-spacing-vertical-top: var(--spectrum-component-top-to-workflow-icon-100);
- /* Indicator height */
+ /* Indicator */
--spectrum-rating-indicator-height: var(--spectrum-border-width-200);
+ --spectrum-rating-indicator-border-radius: 2px;
/* Colors */
/* selected + emphasized */
diff --git a/components/rating/package.json b/components/rating/package.json
index f0cce6f4f1c..ded9d7c0f77 100644
--- a/components/rating/package.json
+++ b/components/rating/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/rating",
- "version": "6.1.0",
+ "version": "7.0.0-next.0",
"description": "The Spectrum CSS rating component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -37,7 +37,7 @@
}
},
"devDependencies": {
- "@spectrum-css/icon": "9.1.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/rating/stories/template.js b/components/rating/stories/template.js
index 47ea5c5f61a..245694af8fa 100644
--- a/components/rating/stories/template.js
+++ b/components/rating/stories/template.js
@@ -6,9 +6,6 @@ import { ifDefined } from "lit/directives/if-defined.js";
import { repeat } from "lit/directives/repeat.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-Rating",
diff --git a/components/rating/themes/express.css b/components/rating/themes/express.css
deleted file mode 100644
index 1a0d5c792b2..00000000000
--- a/components/rating/themes/express.css
+++ /dev/null
@@ -1,25 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
-
-@container style(--system: express) {
- .spectrum-Rating {
- --spectrum-rating-icon-color-default: var(--spectrum-neutral-content-color-default);
- --spectrum-rating-icon-color-hover: var(--spectrum-neutral-content-color-hover);
- --spectrum-rating-icon-color-down: var(--spectrum-neutral-content-color-down);
- --spectrum-rating-icon-color-key-focus: var(--spectrum-neutral-content-color-key-focus);
- }
-}
diff --git a/components/rating/themes/spectrum-two.css b/components/rating/themes/spectrum-two.css
deleted file mode 100644
index 0c2a8df9260..00000000000
--- a/components/rating/themes/spectrum-two.css
+++ /dev/null
@@ -1,23 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-Rating {
- --spectrum-rating-icon-color-default: var(--spectrum-neutral-subdued-content-color-default);
- --spectrum-rating-icon-color-hover: var(--spectrum-neutral-subdued-content-color-hover);
- --spectrum-rating-icon-color-down: var(--spectrum-neutral-subdued-content-color-down);
- --spectrum-rating-icon-color-key-focus: var(--spectrum-neutral-subdued-content-color-key-focus);
-
- --spectrum-rating-indicator-border-radius: 2px;
- }
-}
diff --git a/components/rating/themes/spectrum.css b/components/rating/themes/spectrum.css
deleted file mode 100644
index c99df8e652f..00000000000
--- a/components/rating/themes/spectrum.css
+++ /dev/null
@@ -1,22 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-Rating {
- --spectrum-rating-indicator-border-radius: var(--spectrum-corner-radius-75);
- }
-}
diff --git a/components/search/CHANGELOG.md b/components/search/CHANGELOG.md
index 6dbab541cfc..5f6054130fd 100644
--- a/components/search/CHANGELOG.md
+++ b/components/search/CHANGELOG.md
@@ -1,5 +1,14 @@
# Change log
+## 9.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+ - @spectrum-css/clearbutton@8.0.0-next.0
+ - @spectrum-css/textfield@9.0.0-next.0
+
## 8.1.1
### Patch Changes
diff --git a/components/search/dist/metadata.json b/components/search/dist/metadata.json
index b701431ddf2..bda4088c629 100644
--- a/components/search/dist/metadata.json
+++ b/components/search/dist/metadata.json
@@ -25,10 +25,6 @@
".spectrum-Search-textfield.is-keyboardFocused .spectrum-Search-icon",
".spectrum-Search-textfield:hover .spectrum-Search-icon",
".spectrum-Search.is-disabled .spectrum-Search-clearButton",
- ".spectrum-Search.spectrum-Search--sizeL",
- ".spectrum-Search.spectrum-Search--sizeM",
- ".spectrum-Search.spectrum-Search--sizeS",
- ".spectrum-Search.spectrum-Search--sizeXL",
".spectrum-Search:not(.spectrum-Search--quiet) .spectrum-Search-icon",
".spectrum-Search:not(.spectrum-Search--quiet) .spectrum-Search-input"
],
@@ -126,7 +122,6 @@
"--spectrum-focus-indicator-gap",
"--spectrum-focus-indicator-thickness",
"--spectrum-gray-25",
- "--spectrum-gray-300",
"--spectrum-gray-500",
"--spectrum-gray-600",
"--spectrum-gray-800",
@@ -149,28 +144,6 @@
"--spectrum-workflow-icon-size-300",
"--spectrum-workflow-icon-size-75"
],
- "system-theme": [
- "--system-search-background-color",
- "--system-search-background-color-disabled",
- "--system-search-border-color-default",
- "--system-search-border-color-disabled",
- "--system-search-border-color-focus",
- "--system-search-border-color-focus-hover",
- "--system-search-border-color-hover",
- "--system-search-border-color-key-focus",
- "--system-search-border-radius",
- "--system-search-edge-to-visual",
- "--system-search-quiet-background-color-disabled",
- "--system-search-quiet-border-color-disabled",
- "--system-search-size-l-border-radius",
- "--system-search-size-l-edge-to-visual",
- "--system-search-size-m-border-radius",
- "--system-search-size-m-edge-to-visual",
- "--system-search-size-s-border-radius",
- "--system-search-size-s-edge-to-visual",
- "--system-search-size-xl-border-radius",
- "--system-search-size-xl-edge-to-visual"
- ],
"passthroughs": [
"--mod-textfield-background-color",
"--mod-textfield-background-color-disabled",
diff --git a/components/search/index.css b/components/search/index.css
index 3f98f73e145..4565d749d29 100644
--- a/components/search/index.css
+++ b/components/search/index.css
@@ -11,9 +11,9 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
.spectrum-Search {
+ --spectrum-search-background-color: var(--spectrum-gray-25);
+
/* Size / Spacing */
--spectrum-search-inline-size: var(--spectrum-field-width);
--spectrum-search-block-size: var(--spectrum-component-height-100);
@@ -25,6 +25,8 @@
--spectrum-search-to-help-text: var(--spectrum-help-text-to-component);
--spectrum-search-top-to-text: var(--spectrum-component-top-to-text-100);
--spectrum-search-bottom-to-text: var(--spectrum-component-bottom-to-text-100);
+ --spectrum-search-border-radius: var(--spectrum-corner-radius-100);
+ --spectrum-search-edge-to-visual: var(--spectrum-component-edge-to-visual-100);
/* Focus Indicator */
--spectrum-search-focus-indicator-thickness: var(--spectrum-focus-indicator-thickness);
@@ -43,6 +45,12 @@
--spectrum-search-color-focus-hover: var(--spectrum-neutral-content-color-focus-hover);
--spectrum-search-color-key-focus: var(--spectrum-neutral-content-color-key-focus);
+ --spectrum-search-border-color-default: var(--spectrum-gray-500);
+ --spectrum-search-border-color-hover: var(--spectrum-gray-600);
+ --spectrum-search-border-color-focus: var(--spectrum-gray-800);
+ --spectrum-search-border-color-focus-hover: var(--spectrum-gray-900);
+ --spectrum-search-border-color-key-focus: var(--spectrum-gray-900);
+
/* Background and Border */
--spectrum-search-border-width: var(--spectrum-border-width-100);
@@ -92,18 +100,21 @@
--spectrum-search-block-size: var(--spectrum-component-height-75);
--spectrum-search-icon-size: var(--spectrum-workflow-icon-size-75);
--spectrum-search-text-to-icon: var(--spectrum-text-to-visual-75);
+ --spectrum-search-edge-to-visual: var(--spectrum-component-edge-to-visual-75);
}
.spectrum-Search--sizeL {
--spectrum-search-block-size: var(--spectrum-component-height-200);
--spectrum-search-icon-size: var(--spectrum-workflow-icon-size-200);
--spectrum-search-text-to-icon: var(--spectrum-text-to-visual-200);
+ --spectrum-search-edge-to-visual: var(--spectrum-component-edge-to-visual-200);
}
.spectrum-Search--sizeXL {
--spectrum-search-block-size: var(--spectrum-component-height-300);
--spectrum-search-icon-size: var(--spectrum-workflow-icon-size-300);
--spectrum-search-text-to-icon: var(--spectrum-text-to-visual-300);
+ --spectrum-search-edge-to-visual: var(--spectrum-component-edge-to-visual-300);
}
@media (forced-colors: active) {
diff --git a/components/search/package.json b/components/search/package.json
index 43cca290ae0..83a012a7983 100644
--- a/components/search/package.json
+++ b/components/search/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/search",
- "version": "8.1.1",
+ "version": "9.0.0-next.0",
"description": "The Spectrum CSS search component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,9 +25,9 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/clearbutton": ">=7.0.0 <8.0.0",
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
- "@spectrum-css/textfield": ">=8.0.0 <9.0.0",
+ "@spectrum-css/clearbutton": ">=8.0.0-next.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
+ "@spectrum-css/textfield": ">=9.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -45,9 +45,9 @@
}
},
"devDependencies": {
- "@spectrum-css/clearbutton": "7.2.0",
- "@spectrum-css/icon": "9.1.0",
- "@spectrum-css/textfield": "8.1.1",
+ "@spectrum-css/clearbutton": "8.0.0-next.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
+ "@spectrum-css/textfield": "9.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/search/stories/template.js b/components/search/stories/template.js
index 364c8d8fde6..d017e28981f 100644
--- a/components/search/stories/template.js
+++ b/components/search/stories/template.js
@@ -7,9 +7,6 @@ import { classMap } from "lit/directives/class-map.js";
import { when } from "lit/directives/when.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-Search",
@@ -37,6 +34,7 @@ export const Template = ({
size,
customClasses: [`${rootClass}-textfield`],
iconName: "Magnify",
+ setName: "workflow",
type: "search",
placeholder: "Search",
name: "search",
diff --git a/components/search/themes/express.css b/components/search/themes/express.css
deleted file mode 100644
index 002ab9cecb6..00000000000
--- a/components/search/themes/express.css
+++ /dev/null
@@ -1,47 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
-
-@container style(--system: express) {
- .spectrum-Search {
- --spectrum-search-border-color-default: var(--spectrum-gray-400);
- --spectrum-search-border-color-hover: var(--spectrum-gray-500);
- --spectrum-search-border-color-focus: var(--spectrum-gray-800);
- --spectrum-search-border-color-focus-hover: var(--spectrum-gray-900);
- --spectrum-search-border-color-key-focus: var(--spectrum-gray-900);
-
- &,
- &.spectrum-Search--sizeM {
- --spectrum-search-border-radius: calc(var(--spectrum-component-height-100) / 2);
- --spectrum-search-edge-to-visual: var(--spectrum-component-pill-edge-to-visual-100);
- }
-
- &.spectrum-Search--sizeS {
- --spectrum-search-border-radius: calc(var(--spectrum-component-height-75) / 2);
- --spectrum-search-edge-to-visual: var(--spectrum-component-pill-edge-to-visual-75);
- }
-
- &.spectrum-Search--sizeL {
- --spectrum-search-border-radius: calc(var(--spectrum-component-height-200) / 2);
- --spectrum-search-edge-to-visual: var(--spectrum-component-pill-edge-to-visual-200);
- }
-
- &.spectrum-Search--sizeXL {
- --spectrum-search-border-radius: calc(var(--spectrum-component-height-300) / 2);
- --spectrum-search-edge-to-visual: var(--spectrum-component-pill-edge-to-visual-300);
- }
- }
-}
diff --git a/components/search/themes/spectrum-two.css b/components/search/themes/spectrum-two.css
deleted file mode 100644
index 67bbeedb662..00000000000
--- a/components/search/themes/spectrum-two.css
+++ /dev/null
@@ -1,52 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-Search {
- --spectrum-search-border-color-default: var(--spectrum-gray-500);
- --spectrum-search-border-color-hover: var(--spectrum-gray-600);
- --spectrum-search-border-color-focus: var(--spectrum-gray-800);
- --spectrum-search-border-color-focus-hover: var(--spectrum-gray-900);
- --spectrum-search-border-color-key-focus: var(--spectrum-gray-900);
-
- --spectrum-search-background-color: var(--spectrum-gray-25);
- --spectrum-search-background-color-disabled: var(--spectrum-gray-25);
- --spectrum-search-border-color-disabled: var(--spectrum-gray-300);
-
- &,
- &.spectrum-Search--sizeM {
- --spectrum-search-border-radius: var(--spectrum-corner-radius-100);
- --spectrum-search-edge-to-visual: var(--spectrum-component-edge-to-visual-100);
- }
-
- &.spectrum-Search--sizeS {
- --spectrum-search-border-radius: var(--spectrum-corner-radius-100);
- --spectrum-search-edge-to-visual: var(--spectrum-component-edge-to-visual-75);
- }
-
- &.spectrum-Search--sizeL {
- --spectrum-search-border-radius: var(--spectrum-corner-radius-100);
- --spectrum-search-edge-to-visual: var(--spectrum-component-edge-to-visual-200);
- }
-
- &.spectrum-Search--sizeXL {
- --spectrum-search-border-radius: var(--spectrum-corner-radius-100);
- --spectrum-search-edge-to-visual: var(--spectrum-component-edge-to-visual-300);
- }
- }
-
- .spectrum-Search--quiet {
- --spectrum-search-background-color-disabled: transparent;
- --spectrum-search-border-color-disabled: var(--spectrum-disabled-border-color);
- }
-}
diff --git a/components/search/themes/spectrum.css b/components/search/themes/spectrum.css
deleted file mode 100644
index c9923294d14..00000000000
--- a/components/search/themes/spectrum.css
+++ /dev/null
@@ -1,24 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-Search {
- --spectrum-search-background-color-disabled: var(--spectrum-disabled-background-color);
- --spectrum-search-border-color-disabled: var(--spectrum-disabled-background-color);
- --spectrum-search-background-color: var(--spectrum-gray-50);
- }
-}
diff --git a/components/sidenav/CHANGELOG.md b/components/sidenav/CHANGELOG.md
index 0bea330cd05..963535d1625 100644
--- a/components/sidenav/CHANGELOG.md
+++ b/components/sidenav/CHANGELOG.md
@@ -1,5 +1,12 @@
# Change log
+## 8.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+
## 7.1.0
### Minor Changes
diff --git a/components/sidenav/dist/metadata.json b/components/sidenav/dist/metadata.json
index a0be758aa57..0215529e384 100644
--- a/components/sidenav/dist/metadata.json
+++ b/components/sidenav/dist/metadata.json
@@ -180,15 +180,6 @@
"--spectrum-text-to-visual-100",
"--spectrum-workflow-icon-size-100"
],
- "system-theme": [
- "--system-side-nav-background-hover",
- "--system-side-nav-background-hover-selected",
- "--system-side-nav-background-key-focus",
- "--system-side-nav-background-key-focus-selected",
- "--system-side-nav-item-background-default-selected",
- "--system-side-nav-item-background-down",
- "--system-side-nav-item-background-down-selected"
- ],
"passthroughs": [],
"high-contrast": [
"--highcontrast-sidenav-background-hover",
diff --git a/components/sidenav/index.css b/components/sidenav/index.css
index c0b75855d42..f75a07ca5fc 100644
--- a/components/sidenav/index.css
+++ b/components/sidenav/index.css
@@ -11,8 +11,6 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
@media (forced-colors: active) {
/* forced-color-adjust: preserve-parent-color addresses svg bug on icon hover */
.spectrum-SideNav {
@@ -47,6 +45,15 @@
}
.spectrum-SideNav {
+ --spectrum-sidenav-background-hover: var(--spectrum-gray-100);
+ --spectrum-sidenav-item-background-down: var(--spectrum-gray-200);
+ --spectrum-sidenav-background-key-focus: var(--spectrum-gray-100);
+
+ --spectrum-sidenav-item-background-default-selected: var(--spectrum-gray-100);
+ --spectrum-sidenav-background-hover-selected: var(--spectrum-gray-200);
+ --spectrum-sidenav-item-background-down-selected: var(--spectrum-gray-200);
+ --spectrum-sidenav-background-key-focus-selected: var(--spectrum-gray-100);
+
/* focus indicator */
--spectrum-sidenav-focus-ring-size: var(--spectrum-focus-indicator-thickness);
--spectrum-sidenav-focus-ring-gap: var(--spectrum-focus-indicator-gap);
@@ -78,6 +85,13 @@
/* color - background */
--spectrum-sidenav-background-disabled: transparent;
--spectrum-sidenav-background-default: transparent;
+ --spectrum-sidenav-background-hover: var(--spectrum-gray-100);
+ --spectrum-sidenav-item-background-down: var(--spectrum-gray-200);
+ --spectrum-sidenav-background-key-focus: var(--spectrum-gray-100);
+ --spectrum-sidenav-item-background-default-selected: var(--spectrum-gray-100);
+ --spectrum-sidenav-background-hover-selected: var(--spectrum-gray-200);
+ --spectrum-sidenav-item-background-down-selected: var(--spectrum-gray-200);
+ --spectrum-sidenav-background-key-focus-selected: var(--spectrum-gray-100);
/* color font */
--spectrum-sidenav-header-color: var(--spectrum-gray-600);
diff --git a/components/sidenav/package.json b/components/sidenav/package.json
index f27098c5ce4..c27e5b0c498 100644
--- a/components/sidenav/package.json
+++ b/components/sidenav/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/sidenav",
- "version": "7.1.0",
+ "version": "8.0.0-next.0",
"description": "The Spectrum CSS sidenav component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -37,7 +37,7 @@
}
},
"devDependencies": {
- "@spectrum-css/icon": "9.1.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/sidenav/stories/template.js b/components/sidenav/stories/template.js
index 3aa9960e809..d3a832ab03a 100644
--- a/components/sidenav/stories/template.js
+++ b/components/sidenav/stories/template.js
@@ -7,9 +7,6 @@ import { repeat } from "lit/directives/repeat.js";
import { when } from "lit/directives/when.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-SideNav",
diff --git a/components/sidenav/themes/express.css b/components/sidenav/themes/express.css
deleted file mode 100644
index 9fd550418f2..00000000000
--- a/components/sidenav/themes/express.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
diff --git a/components/sidenav/themes/spectrum-two.css b/components/sidenav/themes/spectrum-two.css
deleted file mode 100644
index 85869d92dbe..00000000000
--- a/components/sidenav/themes/spectrum-two.css
+++ /dev/null
@@ -1,25 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-SideNav {
- --spectrum-sidenav-background-hover: var(--spectrum-gray-100);
- --spectrum-sidenav-item-background-down: var(--spectrum-gray-200);
- --spectrum-sidenav-background-key-focus: var(--spectrum-gray-100);
-
- --spectrum-sidenav-item-background-default-selected: var(--spectrum-gray-100);
- --spectrum-sidenav-background-hover-selected: var(--spectrum-gray-200);
- --spectrum-sidenav-item-background-down-selected: var(--spectrum-gray-200);
- --spectrum-sidenav-background-key-focus-selected: var(--spectrum-gray-100);
- }
-}
diff --git a/components/sidenav/themes/spectrum.css b/components/sidenav/themes/spectrum.css
deleted file mode 100644
index 51828a4d8bf..00000000000
--- a/components/sidenav/themes/spectrum.css
+++ /dev/null
@@ -1,29 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-SideNav {
- --spectrum-sidenav-background-hover: var(--spectrum-gray-200);
- --spectrum-sidenav-item-background-down: var(--spectrum-gray-300);
- --spectrum-sidenav-background-key-focus: var(--spectrum-gray-200);
-
- --spectrum-sidenav-item-background-default-selected: var(--spectrum-gray-200);
- --spectrum-sidenav-background-hover-selected: var(--spectrum-gray-300);
- --spectrum-sidenav-item-background-down-selected: var(--spectrum-gray-300);
- --spectrum-sidenav-background-key-focus-selected: var(--spectrum-gray-200);
- }
-}
diff --git a/components/slider/CHANGELOG.md b/components/slider/CHANGELOG.md
index f8e002908f6..77ee9113a51 100644
--- a/components/slider/CHANGELOG.md
+++ b/components/slider/CHANGELOG.md
@@ -1,20 +1,31 @@
# Change log
+## 7.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies:
+ - @spectrum-css/stepper@8.0.0-next.0
+
## 6.3.0
### Minor Changes
-- [#3527](https://github.com/adobe/spectrum-css/pull/3527) [`5f1751c`](https://github.com/adobe/spectrum-css/commit/5f1751c82a5fe55ae0d999f5f50cfeca4c8a5c75) Thanks [@castastrophe](https://github.com/castastrophe)! - By updating the postcss-preset-env to the latest breaking change version, output for this component no longer injects the `.js-focus-within` and '[focus-within]` selectors for the focus-within polyfill. As this feature is not used in the SWC consumption, risk to the end user for this removal is low.
+📝 [#3527](https://github.com/adobe/spectrum-css/pull/3527) [`5f1751c`](https://github.com/adobe/spectrum-css/commit/5f1751c82a5fe55ae0d999f5f50cfeca4c8a5c75) Thanks [@castastrophe](https://github.com/castastrophe)!
+
+By updating the postcss-preset-env to the latest breaking change version, output for this component no longer injects the `.js-focus-within` and '[focus-within]` selectors for the focus-within polyfill. As this feature is not used in the SWC consumption, risk to the end user for this removal is low.
## 6.2.0
### Minor Changes
-- [#3611](https://github.com/adobe/spectrum-css/pull/3611) [`8cb98c6`](https://github.com/adobe/spectrum-css/commit/8cb98c6127a91f902f305faeb800e3c787e97e66) Thanks [@aramos-adobe](https://github.com/aramos-adobe)! - # Slider: offset variant track fix
+📝 [#3611](https://github.com/adobe/spectrum-css/pull/3611) [`8cb98c6`](https://github.com/adobe/spectrum-css/commit/8cb98c6127a91f902f305faeb800e3c787e97e66) Thanks [@aramos-adobe](https://github.com/aramos-adobe)!
+
+#### Slider: offset variant track fix
- The border radius styles were not being applied to the second instance of the `spectrum-Slider-track` when the offset variant is activated. The reason for this bug is because when the `offset` is selected, the template structure changes as `spectrum-Slider-fill` gets added to the slider.
+The border radius styles were not being applied to the second instance of the `spectrum-Slider-track` when the offset variant is activated. The reason for this bug is because when the `offset` is selected, the template structure changes as `spectrum-Slider-fill` gets added to the slider.
- Adding a sibling combinator `&~.spectrum-Slider-track` to `spectrum-Slider-track` when offset is activated resolved the issue.
+Adding a sibling combinator `&~.spectrum-Slider-track` to `spectrum-Slider-track` when offset is activated resolved the issue.
## 6.1.0
diff --git a/components/slider/dist/metadata.json b/components/slider/dist/metadata.json
index 015c2145100..66ce6fecc86 100644
--- a/components/slider/dist/metadata.json
+++ b/components/slider/dist/metadata.json
@@ -83,10 +83,6 @@
".spectrum-Slider.is-disabled.spectrum-Slider--filled .spectrum-Slider-track:first-child:before",
".spectrum-Slider.is-disabled.spectrum-Slider--range .spectrum-Slider-track:not(:first-of-type, :last-of-type):before",
".spectrum-Slider.spectrum-Slider--ramp .spectrum-Slider-handle",
- ".spectrum-Slider.spectrum-Slider--sizeL",
- ".spectrum-Slider.spectrum-Slider--sizeM",
- ".spectrum-Slider.spectrum-Slider--sizeS",
- ".spectrum-Slider.spectrum-Slider--sizeXL",
".spectrum-Slider:dir(rtl)",
".spectrum-Slider:dir(rtl) .spectrum-Slider-handle:before",
".spectrum-Slider:not(.is-disabled, .spectrum-Slider--filled, .spectrum-Slider--range) .spectrum-Slider-controls.is-focused",
@@ -258,29 +254,6 @@
"--spectrum-spacing-900",
"--spectrum-text-to-visual-75"
],
- "system-theme": [
- "--system-slider-handle-background-color",
- "--system-slider-handle-background-color-disabled",
- "--system-slider-handle-border-color",
- "--system-slider-handle-border-color-down",
- "--system-slider-handle-border-color-hover",
- "--system-slider-handle-border-color-key-focus",
- "--system-slider-handle-border-radius",
- "--system-slider-handle-disabled-background-color",
- "--system-slider-handle-focus-ring-color-key-focus",
- "--system-slider-ramp-handle-background-color",
- "--system-slider-ramp-track-color",
- "--system-slider-ramp-track-color-disabled",
- "--system-slider-size-l-handle-border-radius",
- "--system-slider-size-m-handle-border-radius",
- "--system-slider-size-s-handle-border-radius",
- "--system-slider-size-xl-handle-border-radius",
- "--system-slider-tick-mark-color",
- "--system-slider-ticks-handle-background-color",
- "--system-slider-track-color",
- "--system-slider-track-corner-radius",
- "--system-slider-track-fill-color"
- ],
"passthroughs": [],
"high-contrast": [
"--highcontrast-slider-filled-track-fill-color",
diff --git a/components/slider/index.css b/components/slider/index.css
index d49f584aab0..71f3d14163c 100644
--- a/components/slider/index.css
+++ b/components/slider/index.css
@@ -11,10 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
.spectrum-Slider {
- /* default sizing, matches t-shirt size M */
--spectrum-slider-font-size: var(--spectrum-font-size-75);
--spectrum-slider-handle-size: var(--spectrum-slider-handle-size-medium);
--spectrum-slider-control-height: var(--spectrum-component-height-100);
@@ -43,6 +40,10 @@
--spectrum-slider-tick-handle-background-color: var(--spectrum-gray-100);
/* colors */
+ --spectrum-slider-track-color: var(--spectrum-gray-200);
+ --spectrum-slider-track-fill-color: var(--spectrum-gray-700);
+ --spectrum-slider-ramp-track-color: var(--spectrum-gray-400);
+ --spectrum-slider-ramp-track-color-disabled: var(--spectrum-gray-100);
--spectrum-slider-track-color-disabled: var(--spectrum-disabled-background-color);
--spectrum-slider-track-fill-color-disabled: var(--spectrum-disabled-background-color);
--spectrum-slider-handle-border-color-disabled: var(--spectrum-disabled-border-color);
@@ -51,30 +52,25 @@
--spectrum-slider-label-text-color-disabled: var(--spectrum-disabled-content-color);
--spectrum-slider-tick-mark-color-disabled: var(--spectrum-disabled-background-color);
--spectrum-slider-ramp-handle-border-color-active: var(--spectrum-gray-100);
+ --spectrum-slider-handle-background-color: transparent;
+ --spectrum-slider-handle-background-color-disabled: transparent;
+ --spectrum-slider-ramp-handle-background-color: var(--spectrum-gray-75);
+ --spectrum-slider-ticks-handle-background-color: var(--spectrum-gray-75);
+ --spectrum-slider-handle-border-color: var(--spectrum-gray-700);
+ --spectrum-slider-handle-disabled-background-color: var(--spectrum-gray-75);
+ --spectrum-slider-tick-mark-color: var(--spectrum-gray-200);
+
+ --spectrum-slider-handle-border-color-hover: var(--spectrum-gray-800);
+ --spectrum-slider-handle-border-color-down: var(--spectrum-gray-800);
+ --spectrum-slider-handle-border-color-key-focus: var(--spectrum-gray-800);
+ --spectrum-slider-handle-focus-ring-color-key-focus: var(--spectrum-focus-indicator-color);
/* values */
--spectrum-slider-input-left: calc(var(--spectrum-slider-handle-margin-left) / 4);
--spectrum-slider-track-handleoffset: var(--spectrum-slider-handle-gap);
-
--spectrum-slider-range-track-reset: 0;
-
- position: relative;
-
- /* Don't let z-index'd child elements float above other things on the page */
- z-index: 0;
- display: block;
- min-inline-size: var(--mod-slider-min-size, var(--spectrum-slider-min-size));
-
- user-select: none;
-
- &:dir(rtl),
- &:dir(rtl) {
- --spectrum-logical-rotation: matrix(-1, 0, 0, 1, 0, 0);
- }
-
- &:not(.spectrum-Slider--sideLabel) .spectrum-Slider-labelContainer + .spectrum-Slider-controls:has(.spectrum-Slider-ramp) {
- margin-block-start: calc(var(--mod-slider-ramp-track-height, var(--spectrum-slider-ramp-track-height)) / 2);
- }
+ --spectrum-slider-track-corner-radius: 2px;
+ --spectrum-slider-handle-border-radius: var(--spectrum-corner-radius-500);
}
.spectrum-Slider--sizeS {
@@ -85,6 +81,7 @@
--spectrum-slider-label-top-to-text: var(--spectrum-component-top-to-text-75);
--spectrum-slider-control-to-field-label: var(--spectrum-slider-control-to-field-label-small);
--spectrum-slider-value-side-padding-inline: var(--spectrum-spacing-100);
+ --spectrum-slider-handle-border-radius: var(--spectrum-corner-radius-500);
}
.spectrum-Slider--sizeL {
@@ -95,6 +92,7 @@
--spectrum-slider-label-top-to-text: var(--spectrum-component-top-to-text-100);
--spectrum-slider-control-to-field-label: var(--spectrum-slider-control-to-field-label-large);
--spectrum-slider-value-side-padding-inline: var(--spectrum-spacing-200);
+ --spectrum-slider-handle-border-radius: calc(var(--spectrum-corner-radius-500) * 4);
/* TODO: placeholder value for sideLabel variant value width */
--spectrum-slider-value-inline-size: 18px;
@@ -108,11 +106,32 @@
--spectrum-slider-label-top-to-text: var(--spectrum-component-top-to-text-200);
--spectrum-slider-control-to-field-label: var(--spectrum-slider-control-to-field-label-extra-large);
--spectrum-slider-value-side-padding-inline: var(--spectrum-spacing-200);
+ --spectrum-slider-handle-border-radius: calc(var(--spectrum-corner-radius-500) * 4);
/* TODO: placeholder value for sideLabel variant value width */
--spectrum-slider-value-inline-size: 22px;
}
+.spectrum-Slider {
+ position: relative;
+
+ /* Don't let z-index'd child elements float above other things on the page */
+ z-index: 0;
+ display: block;
+ min-inline-size: var(--mod-slider-min-size, var(--spectrum-slider-min-size));
+
+ user-select: none;
+
+ &:dir(rtl),
+ &:dir(rtl) {
+ --spectrum-logical-rotation: matrix(-1, 0, 0, 1, 0, 0);
+ }
+
+ &:not(.spectrum-Slider--sideLabel) .spectrum-Slider-labelContainer + .spectrum-Slider-controls:has(.spectrum-Slider-ramp) {
+ margin-block-start: calc(var(--mod-slider-ramp-track-height, var(--spectrum-slider-ramp-track-height)) / 2);
+ }
+}
+
.spectrum-Slider--sideLabel {
display: flex;
align-items: center;
diff --git a/components/slider/package.json b/components/slider/package.json
index 20cf8622268..d1224060bf4 100644
--- a/components/slider/package.json
+++ b/components/slider/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/slider",
- "version": "6.3.0",
+ "version": "7.0.0-next.0",
"description": "The Spectrum CSS slider component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/stepper": ">=7.0.0 <8.0.0",
+ "@spectrum-css/stepper": ">=8.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -37,7 +37,7 @@
}
},
"devDependencies": {
- "@spectrum-css/stepper": "7.1.3",
+ "@spectrum-css/stepper": "8.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/slider/stories/template.js b/components/slider/stories/template.js
index c69a96b487a..905fe770b40 100644
--- a/components/slider/stories/template.js
+++ b/components/slider/stories/template.js
@@ -7,9 +7,6 @@ import { styleMap } from "lit/directives/style-map.js";
import { when } from "lit/directives/when.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-Slider",
diff --git a/components/slider/themes/express.css b/components/slider/themes/express.css
deleted file mode 100644
index f9f149f4d93..00000000000
--- a/components/slider/themes/express.css
+++ /dev/null
@@ -1,39 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
-
-@container style(--system: express) {
- .spectrum-Slider {
- --spectrum-slider-track-color: var(--spectrum-gray-200);
- --spectrum-slider-track-fill-color: var(--spectrum-gray-600);
- --spectrum-slider-ramp-track-color: var(--spectrum-gray-300);
- --spectrum-slider-ramp-track-color-disabled: var(--spectrum-gray-200);
-
- --spectrum-slider-handle-background-color: var(--spectrum-gray-50);
- --spectrum-slider-handle-background-color-disabled: var(--spectrum-gray-50);
- --spectrum-slider-ramp-handle-background-color: var(--spectrum-gray-50);
- --spectrum-slider-ticks-handle-background-color: var(--spectrum-gray-50);
- --spectrum-slider-handle-border-color: var(--spectrum-gray-800);
- --spectrum-slider-handle-disabled-background-color: var(--spectrum-gray-50);
-
- --spectrum-slider-tick-mark-color: var(--spectrum-gray-200);
-
- --spectrum-slider-handle-border-color-hover: var(--spectrum-gray-900);
- --spectrum-slider-handle-border-color-down: var(--spectrum-gray-900);
- --spectrum-slider-handle-border-color-key-focus: var(--spectrum-gray-900);
- --spectrum-slider-handle-focus-ring-color-key-focus: var(--spectrum-focus-indicator-color);
- }
-}
diff --git a/components/slider/themes/spectrum-two.css b/components/slider/themes/spectrum-two.css
deleted file mode 100644
index b118d77cffd..00000000000
--- a/components/slider/themes/spectrum-two.css
+++ /dev/null
@@ -1,54 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-Slider {
- --spectrum-slider-track-color: var(--spectrum-gray-200);
- --spectrum-slider-track-fill-color: var(--spectrum-gray-700);
- --spectrum-slider-ramp-track-color: var(--spectrum-gray-400);
- --spectrum-slider-ramp-track-color-disabled: var(--spectrum-gray-100);
-
- --spectrum-slider-handle-background-color: transparent;
- --spectrum-slider-handle-background-color-disabled: transparent;
- --spectrum-slider-ramp-handle-background-color: var(--spectrum-gray-75);
- --spectrum-slider-ticks-handle-background-color: var(--spectrum-gray-75);
- --spectrum-slider-handle-border-color: var(--spectrum-gray-700);
- --spectrum-slider-handle-disabled-background-color: var(--spectrum-gray-75);
-
- --spectrum-slider-tick-mark-color: var(--spectrum-gray-200);
-
- --spectrum-slider-handle-border-color-hover: var(--spectrum-gray-800);
- --spectrum-slider-handle-border-color-down: var(--spectrum-gray-800);
- --spectrum-slider-handle-border-color-key-focus: var(--spectrum-gray-800);
- --spectrum-slider-handle-focus-ring-color-key-focus: var(--spectrum-focus-indicator-color);
-
- --spectrum-slider-track-corner-radius: 2px;
-
- &,
- &.spectrum-Slider--sizeM {
- --spectrum-slider-handle-border-radius: var(--spectrum-corner-radius-500);
- }
-
- &.spectrum-Slider--sizeS {
- --spectrum-slider-handle-border-radius: var(--spectrum-corner-radius-500);
- }
-
- &.spectrum-Slider--sizeL {
- --spectrum-slider-handle-border-radius: calc(var(--spectrum-corner-radius-500) * 4);
- }
-
- &.spectrum-Slider--sizeXL {
- --spectrum-slider-handle-border-radius: calc(var(--spectrum-corner-radius-500) * 4);
- }
- }
-}
diff --git a/components/slider/themes/spectrum.css b/components/slider/themes/spectrum.css
deleted file mode 100644
index f411427cc8d..00000000000
--- a/components/slider/themes/spectrum.css
+++ /dev/null
@@ -1,45 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-Slider {
- --spectrum-slider-track-color: var(--spectrum-gray-300);
- --spectrum-slider-ramp-track-color-disabled: var(--spectrum-gray-200);
- --spectrum-slider-ramp-handle-background-color: var(--spectrum-gray-100);
- --spectrum-slider-ticks-handle-background-color: var(--spectrum-gray-100);
- --spectrum-slider-handle-disabled-background-color: var(--spectrum-gray-100);
- --spectrum-slider-tick-mark-color: var(--spectrum-gray-300);
- --spectrum-slider-track-corner-radius: var(--spectrum-corner-radius-75);
-
- &,
- &.spectrum-Slider--sizeM {
- --spectrum-slider-handle-border-radius: var(--spectrum-corner-radius-200);
- }
-
- &.spectrum-Slider--sizeS {
- --spectrum-slider-handle-border-radius: var(--spectrum-corner-radius-200);
- }
-
- &.spectrum-Slider--sizeL {
- --spectrum-slider-handle-border-radius: calc(var(--spectrum-corner-radius-200) * 4);
- }
-
- &.spectrum-Slider--sizeXL {
- --spectrum-slider-handle-border-radius: calc(var(--spectrum-corner-radius-200) * 4);
- }
- }
-}
diff --git a/components/splitview/dist/metadata.json b/components/splitview/dist/metadata.json
index 4902e8e2368..c6925723f7c 100644
--- a/components/splitview/dist/metadata.json
+++ b/components/splitview/dist/metadata.json
@@ -81,11 +81,6 @@
"--spectrum-gray-75",
"--spectrum-gray-800"
],
- "system-theme": [
- "--system-split-view-background-color",
- "--system-split-view-gripper-border-radius",
- "--system-split-view-handle-background-color"
- ],
"passthroughs": [],
"high-contrast": [
"--highcontrast-splitview-handle-background-color",
diff --git a/components/splitview/index.css b/components/splitview/index.css
index 81ca706a34d..990108806d3 100644
--- a/components/splitview/index.css
+++ b/components/splitview/index.css
@@ -11,9 +11,11 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
.spectrum-SplitView {
+ --spectrum-splitview-background-color: var(--spectrum-gray-75);
+ --spectrum-splitview-handle-background-color: var(--spectrum-gray-200);
+ --spectrum-splitview-gripper-border-radius: 2px;
+
--spectrum-splitview-vertical-width: 100%;
--spectrum-splitview-vertical-gripper-width: 50%;
--spectrum-splitview-vertical-gripper-outer-width: 100%;
diff --git a/components/splitview/package.json b/components/splitview/package.json
index 75ca825dd74..aa695ab5dc5 100644
--- a/components/splitview/package.json
+++ b/components/splitview/package.json
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
"@spectrum-css/tokens": {
diff --git a/components/splitview/stories/template.js b/components/splitview/stories/template.js
index 4fb08b911dd..aacdd00a3e7 100644
--- a/components/splitview/stories/template.js
+++ b/components/splitview/stories/template.js
@@ -3,9 +3,6 @@ import { classMap } from "lit/directives/class-map.js";
import { when } from "lit/directives/when.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-SplitView",
diff --git a/components/splitview/themes/express.css b/components/splitview/themes/express.css
deleted file mode 100644
index 9fd550418f2..00000000000
--- a/components/splitview/themes/express.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
diff --git a/components/splitview/themes/spectrum-two.css b/components/splitview/themes/spectrum-two.css
deleted file mode 100644
index 14ef6131e5a..00000000000
--- a/components/splitview/themes/spectrum-two.css
+++ /dev/null
@@ -1,20 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-SplitView {
- --spectrum-splitview-background-color: var(--spectrum-gray-75);
- --spectrum-splitview-handle-background-color: var(--spectrum-gray-200);
- --spectrum-splitview-gripper-border-radius: 2px;
- }
-}
diff --git a/components/splitview/themes/spectrum.css b/components/splitview/themes/spectrum.css
deleted file mode 100644
index 209e46a4b3b..00000000000
--- a/components/splitview/themes/spectrum.css
+++ /dev/null
@@ -1,24 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-SplitView {
- --spectrum-splitview-background-color: var(--spectrum-gray-100);
- --spectrum-splitview-handle-background-color: var(--spectrum-gray-300);
- --spectrum-splitview-gripper-border-radius: var(--spectrum-corner-radius-75);
- }
-}
diff --git a/components/statuslight/CHANGELOG.md b/components/statuslight/CHANGELOG.md
index 80e1c921809..82d9ab3f09e 100644
--- a/components/statuslight/CHANGELOG.md
+++ b/components/statuslight/CHANGELOG.md
@@ -1,5 +1,16 @@
# Change log
+## 9.1.1-next.0
+
+### Patch Changes
+
+- [#2352](https://github.com/adobe/spectrum-css/pull/2352) [`dce3669`](https://github.com/adobe/spectrum-css/commit/dce366923562d004c61e8a19da216f6ea6a11d40) Thanks [@pfulton](https://github.com/pfulton)! - Removes references to the accent variant, since the accent status light was deprecated in S2.
+
+ Removed variant:
+
+ `.spectrum-StatusLight--accent`
+ `--spectrum-statuslight-semantic-accent-color`
+
## 9.1.0
### Minor Changes
diff --git a/components/statuslight/dist/metadata.json b/components/statuslight/dist/metadata.json
index 7c7c6a7587f..13c313b8342 100644
--- a/components/statuslight/dist/metadata.json
+++ b/components/statuslight/dist/metadata.json
@@ -2,10 +2,11 @@
"sourceFile": "index.css",
"selectors": [
".spectrum-StatusLight",
- ".spectrum-StatusLight--accent:before",
".spectrum-StatusLight--blue:before",
+ ".spectrum-StatusLight--brown:before",
".spectrum-StatusLight--celery:before",
".spectrum-StatusLight--chartreuse:before",
+ ".spectrum-StatusLight--cinnamon:before",
".spectrum-StatusLight--cyan:before",
".spectrum-StatusLight--fuchsia:before",
".spectrum-StatusLight--gray:before",
@@ -18,14 +19,16 @@
".spectrum-StatusLight--neutral:before",
".spectrum-StatusLight--notice:before",
".spectrum-StatusLight--orange:before",
+ ".spectrum-StatusLight--pink:before",
".spectrum-StatusLight--positive:before",
".spectrum-StatusLight--purple:before",
".spectrum-StatusLight--red:before",
".spectrum-StatusLight--seafoam:before",
+ ".spectrum-StatusLight--silver:before",
".spectrum-StatusLight--sizeL",
- ".spectrum-StatusLight--sizeM",
".spectrum-StatusLight--sizeS",
".spectrum-StatusLight--sizeXL",
+ ".spectrum-StatusLight--turquoise:before",
".spectrum-StatusLight--yellow:before",
".spectrum-StatusLight:before",
".spectrum-StatusLight:lang(ja)",
@@ -37,14 +40,18 @@
"--mod-statuslight-content-color-default",
"--mod-statuslight-corner-radius",
"--mod-statuslight-dot-size",
+ "--mod-statuslight-font-family",
"--mod-statuslight-font-size",
+ "--mod-statuslight-font-style",
"--mod-statuslight-font-weight",
"--mod-statuslight-height",
"--mod-statuslight-line-height",
"--mod-statuslight-line-height-cjk",
"--mod-statuslight-nonsemantic-blue-color",
+ "--mod-statuslight-nonsemantic-brown-color",
"--mod-statuslight-nonsemantic-celery-color",
"--mod-statuslight-nonsemantic-chartreuse-color",
+ "--mod-statuslight-nonsemantic-cinnamon-color",
"--mod-statuslight-nonsemantic-cyan-color",
"--mod-statuslight-nonsemantic-fuchsia-color",
"--mod-statuslight-nonsemantic-gray-color",
@@ -52,11 +59,13 @@
"--mod-statuslight-nonsemantic-indigo-color",
"--mod-statuslight-nonsemantic-magenta-color",
"--mod-statuslight-nonsemantic-orange-color",
+ "--mod-statuslight-nonsemantic-pink-color",
"--mod-statuslight-nonsemantic-purple-color",
"--mod-statuslight-nonsemantic-red-color",
"--mod-statuslight-nonsemantic-seafoam-color",
+ "--mod-statuslight-nonsemantic-silver-color",
+ "--mod-statuslight-nonsemantic-turquoise-color",
"--mod-statuslight-nonsemantic-yellow-color",
- "--mod-statuslight-semantic-accent-color",
"--mod-statuslight-semantic-info-color",
"--mod-statuslight-semantic-negative-color",
"--mod-statuslight-semantic-neutral-color",
@@ -73,6 +82,10 @@
"--spectrum-status-light-dot-size-large",
"--spectrum-status-light-dot-size-medium",
"--spectrum-status-light-dot-size-small",
+ "--spectrum-status-light-text-to-visual-100",
+ "--spectrum-status-light-text-to-visual-200",
+ "--spectrum-status-light-text-to-visual-300",
+ "--spectrum-status-light-text-to-visual-75",
"--spectrum-status-light-top-to-dot-extra-large",
"--spectrum-status-light-top-to-dot-large",
"--spectrum-status-light-top-to-dot-medium",
@@ -81,14 +94,18 @@
"--spectrum-statuslight-content-color-default",
"--spectrum-statuslight-corner-radius",
"--spectrum-statuslight-dot-size",
+ "--spectrum-statuslight-font-family",
"--spectrum-statuslight-font-size",
+ "--spectrum-statuslight-font-style",
"--spectrum-statuslight-font-weight",
"--spectrum-statuslight-height",
"--spectrum-statuslight-line-height",
"--spectrum-statuslight-line-height-cjk",
"--spectrum-statuslight-nonsemantic-blue-color",
+ "--spectrum-statuslight-nonsemantic-brown-color",
"--spectrum-statuslight-nonsemantic-celery-color",
"--spectrum-statuslight-nonsemantic-chartreuse-color",
+ "--spectrum-statuslight-nonsemantic-cinnamon-color",
"--spectrum-statuslight-nonsemantic-cyan-color",
"--spectrum-statuslight-nonsemantic-fuchsia-color",
"--spectrum-statuslight-nonsemantic-gray-color",
@@ -96,11 +113,13 @@
"--spectrum-statuslight-nonsemantic-indigo-color",
"--spectrum-statuslight-nonsemantic-magenta-color",
"--spectrum-statuslight-nonsemantic-orange-color",
+ "--spectrum-statuslight-nonsemantic-pink-color",
"--spectrum-statuslight-nonsemantic-purple-color",
"--spectrum-statuslight-nonsemantic-red-color",
"--spectrum-statuslight-nonsemantic-seafoam-color",
+ "--spectrum-statuslight-nonsemantic-silver-color",
+ "--spectrum-statuslight-nonsemantic-turquoise-color",
"--spectrum-statuslight-nonsemantic-yellow-color",
- "--spectrum-statuslight-semantic-accent-color",
"--spectrum-statuslight-semantic-info-color",
"--spectrum-statuslight-semantic-negative-color",
"--spectrum-statuslight-semantic-neutral-color",
@@ -114,11 +133,12 @@
"--spectrum-statuslight-subdued-content-color-default"
],
"global": [
- "--spectrum-accent-visual-color",
"--spectrum-blue-visual-color",
"--spectrum-border-width-100",
+ "--spectrum-brown-visual-color",
"--spectrum-celery-visual-color",
"--spectrum-chartreuse-visual-color",
+ "--spectrum-cinnamon-visual-color",
"--spectrum-cjk-line-height-100",
"--spectrum-component-bottom-to-text-100",
"--spectrum-component-bottom-to-text-200",
@@ -132,12 +152,16 @@
"--spectrum-component-top-to-text-200",
"--spectrum-component-top-to-text-300",
"--spectrum-component-top-to-text-75",
+ "--spectrum-corner-radius-full",
"--spectrum-cyan-visual-color",
+ "--spectrum-default-font-family",
+ "--spectrum-default-font-style",
"--spectrum-font-size-100",
"--spectrum-font-size-200",
"--spectrum-font-size-300",
"--spectrum-font-size-75",
"--spectrum-fuchsia-visual-color",
+ "--spectrum-gray-600",
"--spectrum-gray-visual-color",
"--spectrum-green-visual-color",
"--spectrum-indigo-visual-color",
@@ -150,17 +174,16 @@
"--spectrum-neutral-visual-color",
"--spectrum-notice-visual-color",
"--spectrum-orange-visual-color",
+ "--spectrum-pink-visual-color",
"--spectrum-positive-visual-color",
"--spectrum-purple-visual-color",
"--spectrum-red-visual-color",
+ "--spectrum-regular-font-weight",
"--spectrum-seafoam-visual-color",
- "--spectrum-text-to-visual-100",
- "--spectrum-text-to-visual-200",
- "--spectrum-text-to-visual-300",
- "--spectrum-text-to-visual-75",
+ "--spectrum-silver-visual-color",
+ "--spectrum-turquoise-visual-color",
"--spectrum-yellow-visual-color"
],
- "system-theme": [],
"passthroughs": [],
"high-contrast": [
"--highcontrast-statuslight-content-color-default",
diff --git a/components/statuslight/index.css b/components/statuslight/index.css
index aed7e351d88..db4a4f57e4d 100644
--- a/components/statuslight/index.css
+++ b/components/statuslight/index.css
@@ -11,17 +11,57 @@
* governing permissions and limitations under the License.
*/
-.spectrum-StatusLight,
-.spectrum-StatusLight--sizeM {
+.spectrum-StatusLight {
+ /* Static tokens */
+ --spectrum-statuslight-corner-radius: var(--spectrum-corner-radius-full);
+ --spectrum-statuslight-border-width: var(--spectrum-border-width-100);
+
+ /* Size */
--spectrum-statuslight-height: var(--spectrum-component-height-100);
--spectrum-statuslight-dot-size: var(--spectrum-status-light-dot-size-medium);
+ --spectrum-statuslight-line-height: var(--spectrum-line-height-100);
+ --spectrum-statuslight-line-height-cjk: var(--spectrum-cjk-line-height-100);
+ /* Font */
+ --spectrum-statuslight-font-family: var(--spectrum-default-font-family);
+ --spectrum-statuslight-font-weight: var(--spectrum-regular-font-weight);
+ --spectrum-statuslight-font-style: var(--spectrum-default-font-style);
--spectrum-statuslight-font-size: var(--spectrum-font-size-100);
- --spectrum-statuslight-spacing-dot-to-label: var(--spectrum-text-to-visual-100);
+ /* Space */
+ --spectrum-statuslight-spacing-dot-to-label: var(--spectrum-status-light-text-to-visual-100);
--spectrum-statuslight-spacing-top-to-dot: var(--spectrum-status-light-top-to-dot-medium);
--spectrum-statuslight-spacing-top-to-label: var(--spectrum-component-top-to-text-100);
--spectrum-statuslight-spacing-bottom-to-label: var(--spectrum-component-bottom-to-text-100);
+
+ /* Color */
+ --spectrum-statuslight-content-color-default: var(--spectrum-neutral-content-color-default);
+ --spectrum-statuslight-subdued-content-color-default: var(--spectrum-gray-600);
+ --spectrum-statuslight-semantic-neutral-color: var(--spectrum-neutral-visual-color);
+ --spectrum-statuslight-semantic-negative-color: var(--spectrum-negative-visual-color);
+ --spectrum-statuslight-semantic-info-color: var(--spectrum-informative-visual-color);
+ --spectrum-statuslight-semantic-notice-color: var(--spectrum-notice-visual-color);
+ --spectrum-statuslight-semantic-positive-color: var(--spectrum-positive-visual-color);
+
+ --spectrum-statuslight-nonsemantic-gray-color: var(--spectrum-gray-visual-color);
+ --spectrum-statuslight-nonsemantic-red-color: var(--spectrum-red-visual-color);
+ --spectrum-statuslight-nonsemantic-orange-color: var(--spectrum-orange-visual-color);
+ --spectrum-statuslight-nonsemantic-yellow-color: var(--spectrum-yellow-visual-color);
+ --spectrum-statuslight-nonsemantic-chartreuse-color: var(--spectrum-chartreuse-visual-color);
+ --spectrum-statuslight-nonsemantic-celery-color: var(--spectrum-celery-visual-color);
+ --spectrum-statuslight-nonsemantic-green-color: var(--spectrum-green-visual-color);
+ --spectrum-statuslight-nonsemantic-seafoam-color: var(--spectrum-seafoam-visual-color);
+ --spectrum-statuslight-nonsemantic-cyan-color: var(--spectrum-cyan-visual-color);
+ --spectrum-statuslight-nonsemantic-blue-color: var(--spectrum-blue-visual-color);
+ --spectrum-statuslight-nonsemantic-indigo-color: var(--spectrum-indigo-visual-color);
+ --spectrum-statuslight-nonsemantic-purple-color: var(--spectrum-purple-visual-color);
+ --spectrum-statuslight-nonsemantic-fuchsia-color: var(--spectrum-fuchsia-visual-color);
+ --spectrum-statuslight-nonsemantic-magenta-color: var(--spectrum-magenta-visual-color);
+ --spectrum-statuslight-nonsemantic-pink-color: var(--spectrum-pink-visual-color);
+ --spectrum-statuslight-nonsemantic-turquoise-color: var(--spectrum-turquoise-visual-color);
+ --spectrum-statuslight-nonsemantic-cinnamon-color: var(--spectrum-cinnamon-visual-color);
+ --spectrum-statuslight-nonsemantic-brown-color: var(--spectrum-brown-visual-color);
+ --spectrum-statuslight-nonsemantic-silver-color: var(--spectrum-silver-visual-color);
}
.spectrum-StatusLight--sizeS {
@@ -30,7 +70,7 @@
--spectrum-statuslight-font-size: var(--spectrum-font-size-75);
- --spectrum-statuslight-spacing-dot-to-label: var(--spectrum-text-to-visual-75);
+ --spectrum-statuslight-spacing-dot-to-label: var(--spectrum-status-light-text-to-visual-75);
--spectrum-statuslight-spacing-top-to-dot: var(--spectrum-status-light-top-to-dot-small);
--spectrum-statuslight-spacing-top-to-label: var(--spectrum-component-top-to-text-75);
--spectrum-statuslight-spacing-bottom-to-label: var(--spectrum-component-bottom-to-text-75);
@@ -42,7 +82,7 @@
--spectrum-statuslight-font-size: var(--spectrum-font-size-200);
- --spectrum-statuslight-spacing-dot-to-label: var(--spectrum-text-to-visual-200);
+ --spectrum-statuslight-spacing-dot-to-label: var(--spectrum-status-light-text-to-visual-200);
--spectrum-statuslight-spacing-top-to-dot: var(--spectrum-status-light-top-to-dot-large);
--spectrum-statuslight-spacing-top-to-label: var(--spectrum-component-top-to-text-200);
--spectrum-statuslight-spacing-bottom-to-label: var(--spectrum-component-bottom-to-text-200);
@@ -54,7 +94,7 @@
--spectrum-statuslight-font-size: var(--spectrum-font-size-300);
- --spectrum-statuslight-spacing-dot-to-label: var(--spectrum-text-to-visual-300);
+ --spectrum-statuslight-spacing-dot-to-label: var(--spectrum-status-light-text-to-visual-300);
--spectrum-statuslight-spacing-top-to-dot: var(--spectrum-status-light-top-to-dot-extra-large);
--spectrum-statuslight-spacing-top-to-label: var(--spectrum-component-top-to-text-300);
--spectrum-statuslight-spacing-bottom-to-label: var(--spectrum-component-bottom-to-text-300);
@@ -71,7 +111,6 @@
--spectrum-statuslight-content-color-default: var(--spectrum-neutral-content-color-default);
--spectrum-statuslight-subdued-content-color-default: var(--spectrum-neutral-subdued-content-color-default);
--spectrum-statuslight-semantic-neutral-color: var(--spectrum-neutral-visual-color);
- --spectrum-statuslight-semantic-accent-color: var(--spectrum-accent-visual-color);
--spectrum-statuslight-semantic-negative-color: var(--spectrum-negative-visual-color);
--spectrum-statuslight-semantic-info-color: var(--spectrum-informative-visual-color);
--spectrum-statuslight-semantic-notice-color: var(--spectrum-notice-visual-color);
@@ -104,6 +143,8 @@
font-size: var(--mod-statuslight-font-size, var(--spectrum-statuslight-font-size));
font-weight: var(--mod-statuslight-font-weight, var(--spectrum-statuslight-font-weight));
+ font-family: var(--mod-statuslight-font-family, var(--spectrum-statuslight-font-family));
+ font-style: var(--mod-statuslight-font-style, var(--spectrum-statuslight-font-style));
line-height: var(--mod-statuslight-line-height, var(--spectrum-statuslight-line-height));
@@ -118,7 +159,6 @@
/* Dot */
&::before {
--spectrum-statuslight-spacing-computed-top-to-dot: calc(var(--mod-statuslight-spacing-top-to-dot, var(--spectrum-statuslight-spacing-top-to-dot)) - var(--mod-statuslight-spacing-top-to-label, var(--spectrum-statuslight-spacing-top-to-label)));
-
content: "";
flex-grow: 0;
flex-shrink: 0;
@@ -126,7 +166,6 @@
inline-size: var(--mod-statuslight-dot-size, var(--spectrum-statuslight-dot-size));
block-size: var(--mod-statuslight-dot-size, var(--spectrum-statuslight-dot-size));
border-radius: var(--mod-statuslight-corner-radius, var(--spectrum-statuslight-corner-radius));
-
margin-block-start: var(--spectrum-statuslight-spacing-computed-top-to-dot);
margin-inline-end: var(--mod-statuslight-spacing-dot-to-label, var(--spectrum-statuslight-spacing-dot-to-label));
}
@@ -134,8 +173,6 @@
/* Semantic Colors */
.spectrum-StatusLight--neutral {
- font-style: italic;
-
color: var(--highcontrast-statuslight-subdued-content-color-default, var(--mod-statuslight-subdued-content-color-default, var(--spectrum-statuslight-subdued-content-color-default)));
&::before {
@@ -143,10 +180,6 @@
}
}
-.spectrum-StatusLight--accent::before {
- background-color: var(--mod-statuslight-semantic-accent-color, var(--spectrum-statuslight-semantic-accent-color));
-}
-
.spectrum-StatusLight--info::before {
background-color: var(--mod-statuslight-semantic-info-color, var(--spectrum-statuslight-semantic-info-color));
}
@@ -220,11 +253,30 @@
background-color: var(--mod-statuslight-nonsemantic-magenta-color, var(--spectrum-statuslight-nonsemantic-magenta-color));
}
+.spectrum-StatusLight--pink::before {
+ background-color: var(--mod-statuslight-nonsemantic-pink-color, var(--spectrum-statuslight-nonsemantic-pink-color));
+}
+
+.spectrum-StatusLight--turquoise::before {
+ background-color: var(--mod-statuslight-nonsemantic-turquoise-color, var(--spectrum-statuslight-nonsemantic-turquoise-color));
+}
+
+.spectrum-StatusLight--cinnamon::before {
+ background-color: var(--mod-statuslight-nonsemantic-cinnamon-color, var(--spectrum-statuslight-nonsemantic-cinnamon-color));
+}
+
+.spectrum-StatusLight--brown::before {
+ background-color: var(--mod-statuslight-nonsemantic-brown-color, var(--spectrum-statuslight-nonsemantic-brown-color));
+}
+
+.spectrum-StatusLight--silver::before {
+ background-color: var(--mod-statuslight-nonsemantic-silver-color, var(--spectrum-statuslight-nonsemantic-silver-color));
+}
+
@media (forced-colors: active) {
.spectrum-StatusLight {
--highcontrast-statuslight-content-color-default: CanvasText;
--highcontrast-statuslight-subdued-content-color-default: CanvasText;
-
forced-color-adjust: none;
/* Dot */
diff --git a/components/statuslight/package.json b/components/statuslight/package.json
index 0b297a7d754..41c5742600a 100644
--- a/components/statuslight/package.json
+++ b/components/statuslight/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/statuslight",
- "version": "9.1.0",
+ "version": "9.1.1-next.0",
"description": "The Spectrum CSS statuslight component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
"@spectrum-css/tokens": {
diff --git a/components/statuslight/stories/statuslight.stories.js b/components/statuslight/stories/statuslight.stories.js
index b385bcc9da3..567bea4c55d 100644
--- a/components/statuslight/stories/statuslight.stories.js
+++ b/components/statuslight/stories/statuslight.stories.js
@@ -33,26 +33,30 @@ export default {
category: "Component",
},
options: [
- "accent",
"info",
"neutral",
"positive",
"notice",
"negative",
- "gray",
- "red",
- "orange",
"yellow",
"chartreuse",
"celery",
- "green",
"seafoam",
"cyan",
- "blue",
"indigo",
"purple",
"fuchsia",
"magenta",
+ "gray",
+ "red",
+ "orange",
+ "green",
+ "blue",
+ "pink",
+ "turquoise",
+ "cinnamon",
+ "brown",
+ "silver",
],
control: "select",
},
@@ -72,6 +76,7 @@ export default {
packageJson,
metadata,
},
+ tags: ["migrated"],
};
/**
diff --git a/components/statuslight/stories/statuslight.test.js b/components/statuslight/stories/statuslight.test.js
index 9cfab9c3094..7fc72a9ce6b 100644
--- a/components/statuslight/stories/statuslight.test.js
+++ b/components/statuslight/stories/statuslight.test.js
@@ -4,7 +4,7 @@ import { Template } from "./template.js";
export const StatusLightGroup = Variants({
Template,
testData: [
- ...["accent", "info", "positive", "negative", "notice", "neutral"].map((variant) => ({
+ ...["info", "positive", "negative", "notice", "neutral"].map((variant) => ({
testHeading: variant.charAt(0).toUpperCase() + variant.slice(1),
variant,
})),
diff --git a/components/statuslight/stories/template.js b/components/statuslight/stories/template.js
index 2faf35797c8..be01af383ba 100644
--- a/components/statuslight/stories/template.js
+++ b/components/statuslight/stories/template.js
@@ -27,12 +27,10 @@ export const Template = ({
`;
-// TODO: the accent variant will be removed in S2.
export const SemanticGroup = (args, context) => Container({
withBorder: false,
direction: "column",
content: html`${[
- "accent",
"neutral",
"info",
"negative",
diff --git a/components/steplist/CHANGELOG.md b/components/steplist/CHANGELOG.md
index 8f9ceb9772a..c092c7d1553 100644
--- a/components/steplist/CHANGELOG.md
+++ b/components/steplist/CHANGELOG.md
@@ -1,5 +1,13 @@
# Change log
+## 8.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+ - @spectrum-css/tooltip@8.0.0-next.0
+
## 7.1.0
### Minor Changes
diff --git a/components/steplist/dist/metadata.json b/components/steplist/dist/metadata.json
index 3e4e5dc0bed..57745bc4c4c 100644
--- a/components/steplist/dist/metadata.json
+++ b/components/steplist/dist/metadata.json
@@ -91,10 +91,6 @@
"--spectrum-gray-700",
"--spectrum-gray-800"
],
- "system-theme": [
- "--system-steplist-incomplete-marker-border-color",
- "--system-steplist-incomplete-segment-border-block-end-color"
- ],
"passthroughs": [],
"high-contrast": [
"--highcontrast-steplist-complete-marker-background-color",
diff --git a/components/steplist/index.css b/components/steplist/index.css
index 7fc57091919..62900591018 100644
--- a/components/steplist/index.css
+++ b/components/steplist/index.css
@@ -11,9 +11,10 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
.spectrum-Steplist {
+ --spectrum-steplist-incomplete-marker-border-color: var(--spectrum-gray-200);
+ --spectrum-steplist-incomplete-segment-border-block-end-color: var(--spectrum-gray-200);
+
/* The width of a step */
--spectrum-steplist-step-width: 80px;
diff --git a/components/steplist/package.json b/components/steplist/package.json
index b286e0f0367..8caecf64011 100644
--- a/components/steplist/package.json
+++ b/components/steplist/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/steplist",
- "version": "7.1.0",
+ "version": "8.0.0-next.0",
"description": "The Spectrum CSS steplist component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,9 +25,9 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0",
- "@spectrum-css/tooltip": ">=7.0.0 <8.0.0"
+ "@spectrum-css/tooltip": ">=8.0.0-next.0"
},
"peerDependenciesMeta": {
"@spectrum-css/icon": {
@@ -41,9 +41,9 @@
}
},
"devDependencies": {
- "@spectrum-css/icon": "9.1.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
"@spectrum-css/tokens": "16.0.1",
- "@spectrum-css/tooltip": "7.1.0"
+ "@spectrum-css/tooltip": "8.0.0-next.0"
},
"keywords": [
"design-system",
diff --git a/components/steplist/stories/template.js b/components/steplist/stories/template.js
index ea9a57ef420..7edfdf8199b 100644
--- a/components/steplist/stories/template.js
+++ b/components/steplist/stories/template.js
@@ -6,9 +6,6 @@ import { ifDefined } from "lit/directives/if-defined.js";
import { repeat } from "lit/directives/repeat.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const SteplistItem = ({
rootClass = "spectrum-Steplist-item",
diff --git a/components/steplist/themes/express.css b/components/steplist/themes/express.css
deleted file mode 100644
index 9fd550418f2..00000000000
--- a/components/steplist/themes/express.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
diff --git a/components/steplist/themes/spectrum-two.css b/components/steplist/themes/spectrum-two.css
deleted file mode 100644
index 649e9fb4d3a..00000000000
--- a/components/steplist/themes/spectrum-two.css
+++ /dev/null
@@ -1,19 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-Steplist {
- --spectrum-steplist-incomplete-marker-border-color: var(--spectrum-gray-200);
- --spectrum-steplist-incomplete-segment-border-block-end-color: var(--spectrum-gray-200);
- }
-}
diff --git a/components/steplist/themes/spectrum.css b/components/steplist/themes/spectrum.css
deleted file mode 100644
index bfe1e5f6f8c..00000000000
--- a/components/steplist/themes/spectrum.css
+++ /dev/null
@@ -1,23 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-Steplist {
- --spectrum-steplist-incomplete-marker-border-color: var(--spectrum-gray-300);
- --spectrum-steplist-incomplete-segment-border-block-end-color: var(--spectrum-gray-300);
- }
-}
diff --git a/components/stepper/CHANGELOG.md b/components/stepper/CHANGELOG.md
index 9de6b73a1cd..e631255ae5b 100644
--- a/components/stepper/CHANGELOG.md
+++ b/components/stepper/CHANGELOG.md
@@ -1,11 +1,23 @@
# Change log
+## 8.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+ - @spectrum-css/actionbutton@8.0.0-next.0
+ - @spectrum-css/infieldbutton@7.0.0-next.0
+ - @spectrum-css/textfield@9.0.0-next.0
+
## 7.1.3
### Patch Changes
-- [#3621](https://github.com/adobe/spectrum-css/pull/3621) [`3aec28a`](https://github.com/adobe/spectrum-css/commit/3aec28aac60bdf32a585fa8ff38559d80b57ff86) Thanks [@marissahuysentruyt](https://github.com/marissahuysentruyt)! - - Updates `--spectrum-stepper-border-color-focus-hover` from `gray-800` to `gray-900`.
- - Updates `--spectrum-stepper-buttons-border-color-keyboard-focus` from `gray-900` to `gray-800` to match the rest of the border color on keyboardFocus.
+📝 [#3621](https://github.com/adobe/spectrum-css/pull/3621) [`3aec28a`](https://github.com/adobe/spectrum-css/commit/3aec28aac60bdf32a585fa8ff38559d80b57ff86) Thanks [@marissahuysentruyt](https://github.com/marissahuysentruyt)!
+
+- Updates `--spectrum-stepper-border-color-focus-hover` from `gray-800` to `gray-900`.
+- Updates `--spectrum-stepper-buttons-border-color-keyboard-focus` from `gray-900` to `gray-800` to match the rest of the border color on keyboardFocus.
## 7.1.2
diff --git a/components/stepper/dist/metadata.json b/components/stepper/dist/metadata.json
index cfea6e878d6..42b3c76d4e8 100644
--- a/components/stepper/dist/metadata.json
+++ b/components/stepper/dist/metadata.json
@@ -143,31 +143,6 @@
"--spectrum-negative-border-color-key-focus",
"--spectrum-text-field-minimum-width-multiplier"
],
- "system-theme": [
- "--system-stepper-border-color-default",
- "--system-stepper-border-color-disabled",
- "--system-stepper-border-color-focus",
- "--system-stepper-border-color-focus-hover",
- "--system-stepper-border-color-focus-hover-invalid",
- "--system-stepper-border-color-focus-invalid",
- "--system-stepper-border-color-hover",
- "--system-stepper-border-color-invalid",
- "--system-stepper-border-color-keyboard-focus",
- "--system-stepper-border-color-keyboard-focus-invalid",
- "--system-stepper-border-width",
- "--system-stepper-button-border-width",
- "--system-stepper-button-border-width-disabled",
- "--system-stepper-buttons-background-color",
- "--system-stepper-buttons-background-color-disabled",
- "--system-stepper-buttons-border-color",
- "--system-stepper-buttons-border-color-focus",
- "--system-stepper-buttons-border-color-hover",
- "--system-stepper-buttons-border-color-keyboard-focus",
- "--system-stepper-buttons-border-style",
- "--system-stepper-buttons-border-width",
- "--system-stepper-quiet-button-edge-to-fill",
- "--system-stepper-quiet-buttons-border-style"
- ],
"passthroughs": [
"--mod-infield-button-border-block-end-width",
"--mod-infield-button-border-color",
diff --git a/components/stepper/index.css b/components/stepper/index.css
index f3c9682c07d..bfc3ca2bfc4 100644
--- a/components/stepper/index.css
+++ b/components/stepper/index.css
@@ -11,68 +11,36 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
-/* --- High contrast settings --- */
-@media (forced-colors: active) {
- .spectrum-Stepper {
- --highcontrast-stepper-border-color: CanvasText;
- --highcontrast-stepper-border-color-hover: Highlight;
- --highcontrast-stepper-border-color-focus: Highlight;
- --highcontrast-stepper-border-color-focus-hover: Highlight;
- --highcontrast-stepper-border-color-keyboard-focus: CanvasText;
- --highcontrast-stepper-focus-indicator-color: Highlight;
-
- &.is-invalid {
- --highcontrast-stepper-border-color: Highlight;
- --highcontrast-stepper-border-color-hover: Highlight;
- --highcontrast-stepper-border-color-focus: Highlight;
- --highcontrast-stepper-border-color-focus-hover: Highlight;
- --highcontrast-stepper-border-color-keyboard-focus: Highlight;
- }
-
- &.is-disabled {
- --highcontrast-stepper-border-color: GrayText;
- --highcontrast-stepper-buttons-border-width: var(--mod-stepper-border-width, var(--spectrum-stepper-border-width));
- }
-
- &:not(.is-disabled) {
- &:hover {
- --highcontrast-stepper-border-color: var(--highcontrast-stepper-border-color-hover);
- }
-
- &.is-focused,
- &:focus {
- --highcontrast-stepper-border-color: var(--highcontrast-stepper-border-color-focus);
-
- &:hover {
- --highcontrast-stepper-border-color: var(--highcontrast-stepper-border-color-focus-hover);
- }
- }
-
- &.is-keyboardFocused,
- &:focus-visible {
- --highcontrast-stepper-border-color: var(--highcontrast-stepper-border-color-keyboard-focus);
- }
- }
- }
-
- /* @passthrough start */
- .spectrum-Stepper-input {
- --highcontrast-textfield-border-color: var(--highcontrast-stepper-border-color);
- }
- /* @passthrough end */
-
- /* @passthrough start */
- .spectrum-Stepper-button {
- --highcontrast-infield-button-border-color: var(--highcontrast-stepper-border-color);
- --highcontrast-infield-button-border-color-active: var(--highcontrast-stepper-border-color);
- }
- /* @passthrough end */
-}
-
/* --- Component-level definitions --- */
.spectrum-Stepper {
+ --spectrum-stepper-border-width: var(--spectrum-border-width-100);
+ --spectrum-stepper-border-color-default: var(--spectrum-gray-500);
+ --spectrum-stepper-border-color-hover: var(--spectrum-gray-600);
+ --spectrum-stepper-border-color-focus: var(--spectrum-gray-800);
+ --spectrum-stepper-border-color-focus-hover: var(--spectrum-gray-800);
+ --spectrum-stepper-border-color-keyboard-focus: var(--spectrum-gray-800);
+
+ --spectrum-stepper-buttons-border-style: none;
+ --spectrum-stepper-buttons-border-width: 0;
+ --spectrum-stepper-buttons-border-color: var(--spectrum-gray-500);
+ --spectrum-stepper-buttons-background-color: var(--spectrum-gray-100);
+ --spectrum-stepper-buttons-border-color-hover: var(--spectrum-gray-600);
+ --spectrum-stepper-buttons-border-color-focus: var(--spectrum-gray-800);
+ --spectrum-stepper-buttons-border-color-keyboard-focus: var(--spectrum-gray-900);
+
+ --spectrum-stepper-button-border-width: var(--spectrum-border-width-100);
+
+ /** Invalid **/
+ --spectrum-stepper-border-color-invalid: var(--spectrum-negative-border-color-default);
+ --spectrum-stepper-border-color-focus-invalid: var(--spectrum-negative-border-color-focus);
+ --spectrum-stepper-border-color-focus-hover-invalid: var(--spectrum-negative-border-color-focus-hover);
+ --spectrum-stepper-border-color-keyboard-focus-invalid: var(--spectrum-negative-border-color-key-focus);
+
+ /** Disabled **/
+ --spectrum-stepper-border-color-disabled: var(--spectrum-gray-300);
+ --spectrum-stepper-button-border-width-disabled: var(--spectrum-border-width-200);
+ --spectrum-stepper-buttons-background-color-disabled: var(--spectrum-gray-50);
+
--spectrum-stepper-border-color: var(--highcontrast-stepper-border-color, var(--mod-stepper-border-color, var(--spectrum-stepper-border-color-default)));
--spectrum-stepper-border-radius: var(--mod-stepper-border-radius, var(--spectrum-corner-radius-100));
@@ -136,6 +104,9 @@
}
&.spectrum-Stepper--quiet {
+ --spectrum-stepper-buttons-border-style: none;
+ --spectrum-stepper-button-edge-to-fill: 0;
+
--mod-stepper-buttons-background-color: transparent;
/* quiet hover */
@@ -156,6 +127,64 @@
}
}
+/* --- High contrast settings --- */
+@media (forced-colors: active) {
+ .spectrum-Stepper {
+ --highcontrast-stepper-border-color: CanvasText;
+ --highcontrast-stepper-border-color-hover: Highlight;
+ --highcontrast-stepper-border-color-focus: Highlight;
+ --highcontrast-stepper-border-color-focus-hover: Highlight;
+ --highcontrast-stepper-border-color-keyboard-focus: CanvasText;
+ --highcontrast-stepper-focus-indicator-color: Highlight;
+
+ &.is-invalid {
+ --highcontrast-stepper-border-color: Highlight;
+ --highcontrast-stepper-border-color-hover: Highlight;
+ --highcontrast-stepper-border-color-focus: Highlight;
+ --highcontrast-stepper-border-color-focus-hover: Highlight;
+ --highcontrast-stepper-border-color-keyboard-focus: Highlight;
+ }
+
+ &.is-disabled {
+ --highcontrast-stepper-border-color: GrayText;
+ --highcontrast-stepper-buttons-border-width: var(--mod-stepper-border-width, var(--spectrum-stepper-border-width));
+ }
+
+ &:not(.is-disabled) {
+ &:hover {
+ --highcontrast-stepper-border-color: var(--highcontrast-stepper-border-color-hover);
+ }
+
+ &.is-focused,
+ &:focus {
+ --highcontrast-stepper-border-color: var(--highcontrast-stepper-border-color-focus);
+
+ &:hover {
+ --highcontrast-stepper-border-color: var(--highcontrast-stepper-border-color-focus-hover);
+ }
+ }
+
+ &.is-keyboardFocused,
+ &:focus-visible {
+ --highcontrast-stepper-border-color: var(--highcontrast-stepper-border-color-keyboard-focus);
+ }
+ }
+ }
+
+ /* @passthrough start */
+ .spectrum-Stepper-input {
+ --highcontrast-textfield-border-color: var(--highcontrast-stepper-border-color);
+ }
+ /* @passthrough end */
+
+ /* @passthrough start */
+ .spectrum-Stepper-button {
+ --highcontrast-infield-button-border-color: var(--highcontrast-stepper-border-color);
+ --highcontrast-infield-button-border-color-active: var(--highcontrast-stepper-border-color);
+ }
+ /* @passthrough end */
+}
+
/* --- Component-level passthroughs for nested components --- */
/* @passthrough start -- MODS for sub components */
.spectrum-Stepper {
@@ -225,6 +254,7 @@
}
&.spectrum-Stepper--quiet {
+ /* @passthrough start */
--mod-infield-button-width-stacked: var(--mod-stepper-button-width-quiet, var(--spectrum-stepper-button-width));
--mod-infield-button-border-color: var(--spectrum-stepper-border-color);
--mod-infield-button-border-color-quiet: var(--spectrum-stepper-border-color);
@@ -239,6 +269,7 @@
--mod-textfield-focus-indicator-color: transparent;
--mod-textfield-background-color: transparent;
--mod-textfield-border-color-hover: var(--highcontrast-stepper-border-color, var(--mod-stepper-border-color-hover, var(--spectrum-stepper-border-color-hover)));
+ /* @passthrough end */
&:not(.is-disabled) {
&:hover {
diff --git a/components/stepper/package.json b/components/stepper/package.json
index dd24240a0ca..8b43991f90f 100644
--- a/components/stepper/package.json
+++ b/components/stepper/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/stepper",
- "version": "7.1.3",
+ "version": "8.0.0-next.0",
"description": "The Spectrum CSS stepper component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,10 +25,10 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/actionbutton": ">=7.0.0 <8.0.0",
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
- "@spectrum-css/infieldbutton": ">=6.0.0 <7.0.0",
- "@spectrum-css/textfield": ">=8.0.0 <9.0.0",
+ "@spectrum-css/actionbutton": ">=8.0.0-next.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
+ "@spectrum-css/infieldbutton": ">=7.0.0-next.0",
+ "@spectrum-css/textfield": ">=9.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -49,10 +49,10 @@
}
},
"devDependencies": {
- "@spectrum-css/actionbutton": "7.1.2",
- "@spectrum-css/icon": "9.1.0",
- "@spectrum-css/infieldbutton": "6.1.1",
- "@spectrum-css/textfield": "8.1.1",
+ "@spectrum-css/actionbutton": "8.0.0-next.1",
+ "@spectrum-css/icon": "10.0.0-next.0",
+ "@spectrum-css/infieldbutton": "7.0.0-next.0",
+ "@spectrum-css/textfield": "9.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/stepper/stories/template.js b/components/stepper/stories/template.js
index fbb818b72f3..fb14155af87 100644
--- a/components/stepper/stories/template.js
+++ b/components/stepper/stories/template.js
@@ -8,9 +8,6 @@ import { styleMap } from "lit/directives/style-map.js";
import { when } from "lit/directives/when.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-Stepper",
diff --git a/components/stepper/themes/express.css b/components/stepper/themes/express.css
deleted file mode 100644
index 724f4e973ff..00000000000
--- a/components/stepper/themes/express.css
+++ /dev/null
@@ -1,53 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
-
-@container style(--system: express) {
- .spectrum-Stepper {
- --spectrum-stepper-border-width: var(--spectrum-border-width-200);
- --spectrum-stepper-border-color-default: var(--spectrum-gray-400);
- --spectrum-stepper-border-color-hover: var(--spectrum-gray-500);
- --spectrum-stepper-border-color-focus: var(--spectrum-gray-800);
- --spectrum-stepper-border-color-focus-hover: var(--spectrum-gray-900);
- --spectrum-stepper-border-color-keyboard-focus: var(--spectrum-gray-900);
- --spectrum-stepper-border-color-disabled: var(--spectrum-disabled-background-color);
-
- --spectrum-stepper-buttons-border-style: solid;
- --spectrum-stepper-buttons-border-width: var(--spectrum-border-width-200);
- --spectrum-stepper-buttons-border-color: transparent;
- --spectrum-stepper-buttons-background-color: var(--spectrum-gray-50);
- --spectrum-stepper-buttons-border-color-hover: transparent;
- --spectrum-stepper-buttons-border-color-focus: transparent;
- --spectrum-stepper-buttons-border-color-keyboard-focus: transparent;
-
- --spectrum-stepper-button-border-width: 0;
-
- /** Invalid **/
- --spectrum-stepper-border-color-invalid: transparent;
- --spectrum-stepper-border-color-focus-invalid: transparent;
- --spectrum-stepper-border-color-focus-hover-invalid: transparent;
- --spectrum-stepper-border-color-keyboard-focus-invalid: transparent;
-
- /** Disabled **/
- --spectrum-stepper-button-border-width-disabled: 0;
- --spectrum-stepper-buttons-background-color-disabled: var(--spectrum-disabled-background-color);
- }
-
- .spectrum-Stepper--quiet {
- --spectrum-stepper-buttons-border-style: none;
- --spectrum-stepper-button-edge-to-fill: 0;
- }
-}
diff --git a/components/stepper/themes/spectrum-two.css b/components/stepper/themes/spectrum-two.css
deleted file mode 100644
index 18c580ff127..00000000000
--- a/components/stepper/themes/spectrum-two.css
+++ /dev/null
@@ -1,49 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-Stepper {
- --spectrum-stepper-border-width: var(--spectrum-border-width-100);
- --spectrum-stepper-border-color-default: var(--spectrum-gray-500);
- --spectrum-stepper-border-color-hover: var(--spectrum-gray-600);
- --spectrum-stepper-border-color-focus: var(--spectrum-gray-800);
- --spectrum-stepper-border-color-focus-hover: var(--spectrum-gray-900);
- --spectrum-stepper-border-color-keyboard-focus: var(--spectrum-gray-800);
-
- --spectrum-stepper-buttons-border-style: none;
- --spectrum-stepper-buttons-border-width: 0;
- --spectrum-stepper-buttons-border-color: var(--spectrum-gray-500);
- --spectrum-stepper-buttons-background-color: var(--spectrum-gray-100);
- --spectrum-stepper-buttons-border-color-hover: var(--spectrum-gray-600);
- --spectrum-stepper-buttons-border-color-focus: var(--spectrum-gray-800);
- --spectrum-stepper-buttons-border-color-keyboard-focus: var(--spectrum-gray-800);
-
- --spectrum-stepper-button-border-width: var(--spectrum-border-width-100);
-
- /** Invalid **/
- --spectrum-stepper-border-color-invalid: var(--spectrum-negative-border-color-default);
- --spectrum-stepper-border-color-focus-invalid: var(--spectrum-negative-border-color-focus);
- --spectrum-stepper-border-color-focus-hover-invalid: var(--spectrum-negative-border-color-focus-hover);
- --spectrum-stepper-border-color-keyboard-focus-invalid: var(--spectrum-negative-border-color-key-focus);
-
- /** Disabled **/
- --spectrum-stepper-border-color-disabled: var(--spectrum-gray-300);
- --spectrum-stepper-button-border-width-disabled: var(--spectrum-border-width-200);
- --spectrum-stepper-buttons-background-color-disabled: var(--spectrum-gray-50);
- }
-
- .spectrum-Stepper--quiet {
- --spectrum-stepper-buttons-border-style: none;
- --spectrum-stepper-button-edge-to-fill: 0;
- }
-}
diff --git a/components/stepper/themes/spectrum.css b/components/stepper/themes/spectrum.css
deleted file mode 100644
index 1b904f9f952..00000000000
--- a/components/stepper/themes/spectrum.css
+++ /dev/null
@@ -1,25 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-Stepper {
- --spectrum-stepper-border-color-disabled: transparent;
- --spectrum-stepper-button-border-width-disabled: var(--spectrum-border-width-100);
- --spectrum-stepper-buttons-background-color: var(--spectrum-gray-50);
- --spectrum-stepper-buttons-background-color-disabled: var(--spectrum-gray-100);
- }
-}
diff --git a/components/swatch/dist/metadata.json b/components/swatch/dist/metadata.json
index 896cc7acc7c..e3affcc83cb 100644
--- a/components/swatch/dist/metadata.json
+++ b/components/swatch/dist/metadata.json
@@ -23,7 +23,6 @@
".spectrum-Swatch--roundingNone:before",
".spectrum-Swatch--sizeL",
".spectrum-Swatch--sizeM",
- ".spectrum-Swatch--sizeS",
".spectrum-Swatch--sizeXS",
".spectrum-Swatch-disabledIcon",
".spectrum-Swatch-disabledIcon path:first-child",
@@ -73,13 +72,11 @@
"component": [
"--spectrum-swatch-border-color",
"--spectrum-swatch-border-color-light",
- "--spectrum-swatch-border-color-opacity",
"--spectrum-swatch-border-color-selected",
"--spectrum-swatch-border-radius",
"--spectrum-swatch-border-thickness",
"--spectrum-swatch-border-thickness-selected",
"--spectrum-swatch-dash-icon-color",
- "--spectrum-swatch-disabled-icon-border-opacity",
"--spectrum-swatch-disabled-icon-color",
"--spectrum-swatch-disabled-icon-size",
"--spectrum-swatch-focus-indicator-border-radius",
@@ -102,14 +99,12 @@
],
"global": [
"--spectrum-animation-duration-100",
- "--spectrum-black-rgb",
"--spectrum-border-width-100",
"--spectrum-border-width-200",
- "--spectrum-corner-radius-75",
+ "--spectrum-corner-radius-100",
"--spectrum-focus-indicator-color",
"--spectrum-focus-indicator-gap",
"--spectrum-focus-indicator-thickness",
- "--spectrum-gray-1000-rgb",
"--spectrum-gray-25",
"--spectrum-gray-800",
"--spectrum-gray-900",
@@ -121,11 +116,6 @@
"--spectrum-workflow-icon-size-50",
"--spectrum-workflow-icon-size-75"
],
- "system-theme": [
- "--system-swatch-border-color",
- "--system-swatch-border-radius",
- "--system-swatch-inner-border-color-selected"
- ],
"passthroughs": [],
"high-contrast": [
"--highcontrast-swatch-background-color-selected",
diff --git a/components/swatch/index.css b/components/swatch/index.css
index b6e636906e6..f0f03dbaac9 100644
--- a/components/swatch/index.css
+++ b/components/swatch/index.css
@@ -11,7 +11,48 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
+ /* @note: default sizing for swatch is small */
+.spectrum-Swatch {
+ /* Placeholder tokens */
+ --spectrum-swatch-focus-indicator-border-radius: var(--mod-swatch-focus-indicator-border-radius, 8px);
+ --spectrum-swatch-icon-border-color: var(--mod-swatch-icon-border-color, rgb(0 0 0 / 51%));
+
+ /* Size */
+ --spectrum-swatch-size: var(--mod-swatch-size, var(--spectrum-swatch-size-small));
+ --spectrum-swatch-border-radius: var(--mod-swatch-border-radius, var(--spectrum-corner-radius-100));
+ --spectrum-swatch-border-thickness: var(--mod-swatch-border-thickness, var(--spectrum-border-width-100));
+ --spectrum-swatch-border-thickness-selected: var(--mod-swatch-border-thickness-selected, var(--spectrum-border-width-200));
+ --spectrum-swatch-disabled-icon-size: var(--mod-swatch-disabled-icon-size, var(--spectrum-workflow-icon-size-75));
+ --spectrum-swatch-slash-thickness: var(--mod-swatch-slash-thickness, var(--spectrum-swatch-slash-thickness-small));
+ --spectrum-swatch-focus-indicator-thickness: var(--mod-swatch-focus-indicator-thickness, var(--spectrum-focus-indicator-thickness));
+ --spectrum-swatch-focus-indicator-gap: var(--mod-swatch-focus-indicator-gap, var(--spectrum-focus-indicator-gap));
+
+ /* Color */
+ --spectrum-swatch-border-color-selected: var(--highcontrast-swatch-border-color-selected, var(--mod-swatch-border-color-selected, var(--spectrum-gray-900)));
+ --spectrum-swatch-inner-border-color-selected: var(--highcontrast-swatch-background-color-selected, var(--mod-swatch-inner-border-color-selected, var(--spectrum-gray-25)));
+ --spectrum-swatch-disabled-icon-color: var(--highcontrast-swatch-disabled-icon-color, var(--mod-swatch-disabled-icon-color, var(--spectrum-white)));
+ --spectrum-swatch-dash-icon-color: var(--spectrum-gray-800);
+ --spectrum-swatch-slash-icon-color: var(--highcontrast-swatch-fill-foreground-color, var(--mod-swatch-slash-icon-color, var(--spectrum-red-900)));
+ --spectrum-swatch-focus-indicator-color: var(--highcontrast-swatch-focus-indicator-color, var(--mod-swatch-focus-indicator-color, var(--spectrum-focus-indicator-color)));
+}
+
+.spectrum-Swatch--sizeXS {
+ --spectrum-swatch-size: var(--mod-swatch-size, var(--spectrum-swatch-size-extra-small));
+ --spectrum-swatch-disabled-icon-size: var(--mod-swatch-disabled-icon-size, var(--spectrum-workflow-icon-size-50));
+ --spectrum-swatch-slash-thickness: var(--mod-swatch-slash-thickness, var(--spectrum-swatch-slash-thickness-extra-small));
+}
+
+.spectrum-Swatch--sizeM {
+ --spectrum-swatch-size: var(--mod-swatch-size, var(--spectrum-swatch-size-medium));
+ --spectrum-swatch-disabled-icon-size: var(--mod-swatch-disabled-icon-size, var(--spectrum-workflow-icon-size-100));
+ --spectrum-swatch-slash-thickness: var(--mod-swatch-slash-thickness, var(--spectrum-swatch-slash-thickness-medium));
+}
+
+.spectrum-Swatch--sizeL {
+ --spectrum-swatch-size: var(--mod-swatch-size, var(--spectrum-swatch-size-large));
+ --spectrum-swatch-disabled-icon-size: var(--mod-swatch-disabled-icon-size, var(--spectrum-workflow-icon-size-200));
+ --spectrum-swatch-slash-thickness: var(--mod-swatch-slash-thickness, var(--spectrum-swatch-slash-thickness-large));
+}
/* Windows high contrast mode */
@media (forced-colors: active) {
@@ -26,54 +67,17 @@
.spectrum-Swatch-fill {
forced-color-adjust: none;
}
- }
- .spectrum-Swatch[disabled],
- .spectrum-Swatch.is-disabled {
- --highcontrast-swatch-border-color: GrayText;
+ &[disabled],
+ &.is-disabled {
+ --highcontrast-swatch-border-color: GrayText;
+ }
}
}
-.spectrum-Swatch,
-.spectrum-Swatch--sizeS {
- --spectrum-swatch-size: var(--spectrum-swatch-size-small);
- --spectrum-swatch-disabled-icon-size: var(--spectrum-workflow-icon-size-75);
- --spectrum-swatch-slash-thickness: var(--spectrum-swatch-slash-thickness-small);
-}
-
-.spectrum-Swatch--sizeXS {
- --spectrum-swatch-size: var(--spectrum-swatch-size-extra-small);
- --spectrum-swatch-disabled-icon-size: var(--spectrum-workflow-icon-size-50);
- --spectrum-swatch-slash-thickness: var(--spectrum-swatch-slash-thickness-extra-small);
-}
-
-.spectrum-Swatch--sizeM {
- --spectrum-swatch-size: var(--spectrum-swatch-size-medium);
- --spectrum-swatch-disabled-icon-size: var(--spectrum-workflow-icon-size-100);
- --spectrum-swatch-slash-thickness: var(--spectrum-swatch-slash-thickness-medium);
-}
-
-.spectrum-Swatch--sizeL {
- --spectrum-swatch-size: var(--spectrum-swatch-size-large);
- --spectrum-swatch-disabled-icon-size: var(--spectrum-workflow-icon-size-200);
- --spectrum-swatch-slash-thickness: var(--spectrum-swatch-slash-thickness-large);
-}
-
.spectrum-Swatch {
- --spectrum-swatch-focus-indicator-border-radius: 8px;
- --spectrum-swatch-icon-border-color: rgba(var(--spectrum-black-rgb), var(--spectrum-swatch-disabled-icon-border-opacity));
- --spectrum-swatch-disabled-icon-color: var(--spectrum-white);
- --spectrum-swatch-border-thickness: var(--spectrum-border-width-100);
- --spectrum-swatch-border-thickness-selected: var(--spectrum-border-width-200);
- --spectrum-swatch-focus-indicator-thickness: var(--spectrum-focus-indicator-thickness);
- --spectrum-swatch-focus-indicator-gap: var(--spectrum-focus-indicator-gap);
- --spectrum-swatch-border-color-selected: var(--spectrum-gray-900);
- --spectrum-swatch-dash-icon-color: var(--spectrum-gray-800);
- --spectrum-swatch-slash-icon-color: var(--spectrum-red-900);
- --spectrum-swatch-focus-indicator-color: var(--spectrum-focus-indicator-color);
-
- inline-size: var(--mod-swatch-size, var(--spectrum-swatch-size));
- block-size: var(--mod-swatch-size, var(--spectrum-swatch-size));
+ inline-size: var(--spectrum-swatch-size);
+ block-size: var(--spectrum-swatch-size);
display: flex;
align-items: center;
@@ -88,24 +92,24 @@
user-select: none;
.spectrum-Swatch-disabledIcon {
- inline-size: var(--mod-swatch-disabled-icon-size, var(--spectrum-swatch-disabled-icon-size));
- block-size: var(--mod-swatch-disabled-icon-size, var(--spectrum-swatch-disabled-icon-size));
+ inline-size: var(--spectrum-swatch-disabled-icon-size);
+ block-size: var(--spectrum-swatch-disabled-icon-size);
}
&,
&::before {
- border-radius: var(--mod-swatch-border-radius, var(--spectrum-swatch-border-radius));
+ border-radius: var(--spectrum-swatch-border-radius);
}
&.is-selected {
- background: var(--highcontrast-swatch-background-color-selected, var(--mod-swatch-inner-border-color-selected, var(--spectrum-swatch-inner-border-color-selected)));
+ background: var(--spectrum-swatch-inner-border-color-selected);
.spectrum-Swatch-fill {
clip-path: polygon(
- calc(var(--mod-swatch-border-thickness-selected, var(--spectrum-swatch-border-thickness-selected)) * 2) calc(var(--mod-swatch-border-thickness-selected, var(--spectrum-swatch-border-thickness-selected)) * 2),
- calc(100% - var(--mod-swatch-border-thickness-selected, var(--spectrum-swatch-border-thickness-selected)) * 2) calc(var(--mod-swatch-border-thickness-selected, var(--spectrum-swatch-border-thickness-selected)) * 2),
- calc(100% - var(--mod-swatch-border-thickness-selected, var(--spectrum-swatch-border-thickness-selected)) * 2) calc(100% - var(--mod-swatch-border-thickness-selected, var(--spectrum-swatch-border-thickness-selected)) * 2),
- calc(var(--mod-swatch-border-thickness-selected, var(--spectrum-swatch-border-thickness-selected)) * 2) calc(100% - var(--mod-swatch-border-thickness-selected, var(--spectrum-swatch-border-thickness-selected)) * 2)
+ calc(var(--spectrum-swatch-border-thickness-selected) * 2) calc(var(--spectrum-swatch-border-thickness-selected) * 2),
+ calc(100% - var(--spectrum-swatch-border-thickness-selected) * 2) calc(var(--spectrum-swatch-border-thickness-selected) * 2),
+ calc(100% - var(--spectrum-swatch-border-thickness-selected) * 2) calc(100% - var(--spectrum-swatch-border-thickness-selected) * 2),
+ calc(var(--spectrum-swatch-border-thickness-selected) * 2) calc(100% - var(--spectrum-swatch-border-thickness-selected) * 2)
);
/* no border radius when selected */
@@ -147,12 +151,12 @@
background-image: none;
&::after {
- inline-size: var(--mod-swatch-slash-thickness, var(--spectrum-swatch-slash-thickness));
+ inline-size: var(--spectrum-swatch-slash-thickness);
content: "";
position: absolute;
transform: rotate(-45deg);
block-size: 200%; /* just needs to be bigger than a swatch */
- background: var(--highcontrast-swatch-fill-foreground-color, var(--mod-swatch-slash-icon-color, var(--spectrum-swatch-slash-icon-color)));
+ background: var(--spectrum-swatch-slash-icon-color);
}
}
@@ -174,9 +178,9 @@
position: absolute;
inset: 0;
- border-width: var(--mod-swatch-border-thickness-selected, var(--spectrum-swatch-border-thickness-selected));
+ border-width: var(--spectrum-swatch-border-thickness-selected);
border-style: solid;
- border-color: var(--highcontrast-swatch-border-color-selected, var(--mod-swatch-border-color-selected, var(--spectrum-swatch-border-color-selected)));
+ border-color: var(--spectrum-swatch-border-color-selected);
opacity: 0;
@@ -187,14 +191,14 @@
&::after {
content: "";
position: absolute;
- inset: calc(-2 * var(--mod-swatch-focus-indicator-gap, var(--spectrum-swatch-focus-indicator-gap)));
+ inset: calc(-2 * var(--spectrum-swatch-focus-indicator-gap));
opacity: 0;
- border-width: var(--mod-swatch-focus-indicator-thickness, var(--spectrum-swatch-focus-indicator-thickness));
+ border-width: var(--spectrum-swatch-focus-indicator-thickness);
border-style: solid;
- border-color: var(--highcontrast-swatch-focus-indicator-color, var(--mod-swatch-focus-indicator-color, var(--spectrum-swatch-focus-indicator-color)));
- border-radius: var(--mod-swatch-focus-indicator-border-radius, var(--spectrum-swatch-focus-indicator-border-radius));
+ border-color: var(--spectrum-swatch-focus-indicator-color);
+ border-radius: var(--spectrum-swatch-focus-indicator-border-radius);
transition: opacity var(--mod-animation-duration-100, var(--spectrum-animation-duration-100)) ease-in-out;
}
@@ -227,6 +231,8 @@
position: absolute;
inset: 0;
z-index: 0;
+
+ /* Undefined variable allows custom stylesheet or JS to pass the value to this element */
background: var(--spectrum-picked-color, transparent);
/* Swatch border */
@@ -248,7 +254,7 @@
.spectrum-Swatch--lightBorder {
.spectrum-Swatch-fill {
&::before {
- box-shadow: inset 0 0 0 var(--mod-swatch-border-thickness, var(--spectrum-swatch-border-thickness)) var(--mod-swatch-border-color-light, var(--spectrum-swatch-border-color-light));
+ box-shadow: inset 0 0 0 var(--spectrum-swatch-border-thickness) var(--mod-swatch-border-color-light, var(--spectrum-swatch-border-color-light));
}
}
}
@@ -256,6 +262,8 @@
.spectrum-Swatch-mixedValueIcon {
display: none;
pointer-events: none;
+
+ /* Undefined variable allows custom stylesheet or JS to pass the value to this element */
color: var(--spectrum-picked-color, transparent);
}
@@ -266,22 +274,22 @@
display: none;
pointer-events: none;
- color: var(--highcontrast-swatch-disabled-icon-color, var(--mod-swatch-disabled-icon-color, var(--spectrum-swatch-disabled-icon-color)));
- stroke: var(--highcontrast-swatch-disabled-icon-color, var(--mod-swatch-disabled-icon-color, var(--spectrum-swatch-disabled-icon-color)));
+ color: var(--spectrum-swatch-disabled-icon-color);
+ stroke: var(--spectrum-swatch-disabled-icon-color);
/* Icon fill color */
path:first-child {
- fill: var(--highcontrast-swatch-disabled-icon-color, var(--mod-swatch-disabled-icon-color, var(--spectrum-swatch-disabled-icon-color)));
+ fill: var(--spectrum-swatch-disabled-icon-color);
}
/* Icon outline color - does not need a highcontrast token because the icon fill color provides contrast. */
path:last-child {
- fill: var(--mod-swatch-icon-border-color, var(--spectrum-swatch-icon-border-color));
+ fill: var(--spectrum-swatch-icon-border-color);
}
}
.spectrum-Swatch--rectangle {
- inline-size: calc(var(--mod-swatch-size, var(--spectrum-swatch-size)) * 2);
+ inline-size: calc(var(--spectrum-swatch-size) * 2);
}
/* Variant: Rounding - None */
@@ -311,7 +319,7 @@
}
&.is-selected .spectrum-Swatch-fill {
- clip-path: circle(calc(50% - (var(--mod-swatch-border-thickness-selected, var(--spectrum-swatch-border-thickness-selected)) * 2)) at 50% 50%);
+ clip-path: circle(calc(50% - (var(--spectrum-swatch-border-thickness-selected) * 2)) at 50% 50%);
}
}
}
diff --git a/components/swatch/stories/template.js b/components/swatch/stories/template.js
index f3658577a3f..bcf81178f6d 100644
--- a/components/swatch/stories/template.js
+++ b/components/swatch/stories/template.js
@@ -9,9 +9,6 @@ import { when } from "lit/directives/when.js";
import { capitalize, lowerCase } from "lodash-es";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-Swatch",
@@ -109,7 +106,12 @@ export const Template = ({
...(isMixedValue ? [Icon({
customClasses: [`${rootClass}-mixedValueIcon`],
setName: "ui",
- iconName: "Dash",
+ iconName: "Dash" + ({
+ xs: "75",
+ s: "75",
+ m: "100",
+ l: "200",
+ }[size] || "100"),
useRef: false,
}, context)] : []),
]
diff --git a/components/swatch/themes/express.css b/components/swatch/themes/express.css
deleted file mode 100644
index 9fd550418f2..00000000000
--- a/components/swatch/themes/express.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
diff --git a/components/swatch/themes/spectrum-two.css b/components/swatch/themes/spectrum-two.css
deleted file mode 100644
index ee21266473f..00000000000
--- a/components/swatch/themes/spectrum-two.css
+++ /dev/null
@@ -1,21 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- /* Swatch tokens */
- .spectrum-Swatch {
- --spectrum-swatch-border-color: rgba(var(--spectrum-gray-1000-rgb), var(--spectrum-swatch-border-color-opacity));
- --spectrum-swatch-inner-border-color-selected: var(--spectrum-gray-25);
- --spectrum-swatch-border-radius: var(--spectrum-corner-radius-75);
- }
-}
diff --git a/components/swatch/themes/spectrum.css b/components/swatch/themes/spectrum.css
deleted file mode 100644
index 3661de0250e..00000000000
--- a/components/swatch/themes/spectrum.css
+++ /dev/null
@@ -1,24 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-Swatch {
- --spectrum-swatch-border-color: rgba(var(--spectrum-gray-900-rgb), var(--spectrum-swatch-border-color-opacity));
- --spectrum-swatch-inner-border-color-selected: var(--spectrum-gray-50);
- --spectrum-swatch-border-radius: var(--spectrum-corner-radius-100);
- }
-}
diff --git a/components/swatchgroup/dist/metadata.json b/components/swatchgroup/dist/metadata.json
index 74adf019d54..24e3423ca5d 100644
--- a/components/swatchgroup/dist/metadata.json
+++ b/components/swatchgroup/dist/metadata.json
@@ -16,7 +16,6 @@
"--spectrum-spacing-50",
"--spectrum-spacing-75"
],
- "system-theme": [],
"passthroughs": [],
"high-contrast": []
}
diff --git a/components/switch/dist/metadata.json b/components/switch/dist/metadata.json
index 00a47cdd798..57a281d35df 100644
--- a/components/switch/dist/metadata.json
+++ b/components/switch/dist/metadata.json
@@ -2,86 +2,66 @@
"sourceFile": "index.css",
"selectors": [
".spectrum-Switch",
+ ".spectrum-Switch .spectrum-Switch-input:disabled + .spectrum-Switch-switch",
+ ".spectrum-Switch .spectrum-Switch-input:disabled + .spectrum-Switch-switch:before",
".spectrum-Switch .spectrum-Switch-input:disabled ~ .spectrum-Switch-label",
".spectrum-Switch .spectrum-Switch-input:disabled:checked + .spectrum-Switch-switch",
".spectrum-Switch .spectrum-Switch-input:disabled:checked + .spectrum-Switch-switch:before",
- ".spectrum-Switch .spectrum-Switch-input:disabled:not(:checked) + .spectrum-Switch-switch",
- ".spectrum-Switch .spectrum-Switch-input:disabled:not(:checked) + .spectrum-Switch-switch:before",
- ".spectrum-Switch .spectrum-Switch-input:focus-visible + .spectrum-Switch-switch:after",
- ".spectrum-Switch .spectrum-Switch-input:focus-visible + .spectrum-Switch-switch:before",
- ".spectrum-Switch .spectrum-Switch-input:focus-visible ~ .spectrum-Switch-label",
- ".spectrum-Switch .spectrum-Switch-input:focus-visible:checked + .spectrum-Switch-switch",
- ".spectrum-Switch .spectrum-Switch-input:focus-visible:checked + .spectrum-Switch-switch:before",
- ".spectrum-Switch .spectrum-Switch-input:not(:checked) + .spectrum-Switch-switch",
+ ".spectrum-Switch .spectrum-Switch-input[disabled] + .spectrum-Switch-switch",
+ ".spectrum-Switch .spectrum-Switch-input[disabled] + .spectrum-Switch-switch:before",
".spectrum-Switch .spectrum-Switch-input[disabled] ~ .spectrum-Switch-label",
".spectrum-Switch .spectrum-Switch-input[disabled]:checked + .spectrum-Switch-switch",
".spectrum-Switch .spectrum-Switch-input[disabled]:checked + .spectrum-Switch-switch:before",
- ".spectrum-Switch .spectrum-Switch-input[disabled]:not(:checked) + .spectrum-Switch-switch",
- ".spectrum-Switch .spectrum-Switch-input[disabled]:not(:checked) + .spectrum-Switch-switch:before",
- ".spectrum-Switch .spectrum-Switch-switch",
- ".spectrum-Switch .spectrum-Switch-switch:before",
".spectrum-Switch--disabled",
+ ".spectrum-Switch--emphasized",
".spectrum-Switch--sizeL",
- ".spectrum-Switch--sizeM",
".spectrum-Switch--sizeS",
".spectrum-Switch--sizeXL",
".spectrum-Switch-input",
".spectrum-Switch-input:checked + .spectrum-Switch-switch",
".spectrum-Switch-input:checked + .spectrum-Switch-switch:before",
- ".spectrum-Switch-input:checked + .spectrum-Switch-switch:dir(rtl):before",
+ ".spectrum-Switch-input:checked + .spectrum-Switch-switch:before:dir(rtl)",
+ ".spectrum-Switch-input:checked:focus-visible + .spectrum-Switch-switch",
".spectrum-Switch-input:disabled",
- ".spectrum-Switch-input:disabled + .spectrum-Switch-switch",
- ".spectrum-Switch-input:disabled + .spectrum-Switch-switch:before",
- ".spectrum-Switch-input:disabled ~ .spectrum-Switch-label",
- ".spectrum-Switch-input:disabled:checked + .spectrum-Switch-switch",
- ".spectrum-Switch-input:disabled:checked + .spectrum-Switch-switch:before",
+ ".spectrum-Switch-input:focus-visible + .spectrum-Switch-switch",
".spectrum-Switch-input:focus-visible + .spectrum-Switch-switch:after",
+ ".spectrum-Switch-input:focus-visible + .spectrum-Switch-switch:before",
+ ".spectrum-Switch-input:focus-visible ~ .spectrum-Switch-label",
".spectrum-Switch-input[disabled]",
- ".spectrum-Switch-input[disabled] + .spectrum-Switch-switch",
- ".spectrum-Switch-input[disabled] + .spectrum-Switch-switch:before",
- ".spectrum-Switch-input[disabled] ~ .spectrum-Switch-label",
- ".spectrum-Switch-input[disabled]:checked + .spectrum-Switch-switch",
- ".spectrum-Switch-input[disabled]:checked + .spectrum-Switch-switch:before",
".spectrum-Switch-label",
+ ".spectrum-Switch-label:lang(ja)",
+ ".spectrum-Switch-label:lang(ko)",
+ ".spectrum-Switch-label:lang(zh)",
".spectrum-Switch-switch",
".spectrum-Switch-switch:after",
".spectrum-Switch-switch:before",
- ".spectrum-Switch.spectrum-Switch--emphasized",
- ".spectrum-Switch:active .spectrum-Switch-input + .spectrum-Switch-switch:before",
- ".spectrum-Switch:active .spectrum-Switch-input ~ .spectrum-Switch-label",
- ".spectrum-Switch:active .spectrum-Switch-input:checked:enabled + .spectrum-Switch-switch",
- ".spectrum-Switch:active .spectrum-Switch-input:checked:enabled + .spectrum-Switch-switch:before",
- ".spectrum-Switch:hover .spectrum-Switch-input + .spectrum-Switch-switch:before",
- ".spectrum-Switch:hover .spectrum-Switch-input ~ .spectrum-Switch-label",
- ".spectrum-Switch:hover .spectrum-Switch-input:checked:enabled + .spectrum-Switch-switch",
- ".spectrum-Switch:hover .spectrum-Switch-input:checked:enabled + .spectrum-Switch-switch:before",
+ ".spectrum-Switch:active .spectrum-Switch-input:checked + .spectrum-Switch-switch",
+ ".spectrum-Switch:active .spectrum-Switch-input:not(:disabled) + .spectrum-Switch-switch:before",
+ ".spectrum-Switch:active .spectrum-Switch-input:not(:disabled):checked + .spectrum-Switch-switch:before",
+ ".spectrum-Switch:active .spectrum-Switch-input:not(:disabled):checked + .spectrum-Switch-switch:before:dir(rtl)",
+ ".spectrum-Switch:active .spectrum-Switch-switch",
+ ".spectrum-Switch:active .spectrum-Switch-switch:before",
+ ".spectrum-Switch:active ~ .spectrum-Switch-label",
+ ".spectrum-Switch:hover .spectrum-Switch-input:checked + .spectrum-Switch-switch",
+ ".spectrum-Switch:hover .spectrum-Switch-input:checked + .spectrum-Switch-switch:before",
".spectrum-Switch:hover .spectrum-Switch-input:disabled + .spectrum-Switch-switch",
".spectrum-Switch:hover .spectrum-Switch-input:disabled + .spectrum-Switch-switch:before",
".spectrum-Switch:hover .spectrum-Switch-input:disabled ~ .spectrum-Switch-label",
".spectrum-Switch:hover .spectrum-Switch-input:disabled:checked + .spectrum-Switch-switch",
".spectrum-Switch:hover .spectrum-Switch-input:disabled:checked + .spectrum-Switch-switch:before",
- ".spectrum-Switch:hover .spectrum-Switch-input:disabled:checked ~ .spectrum-Switch-label",
- ".spectrum-Switch:hover .spectrum-Switch-input:focus-visible + .spectrum-Switch-switch:after",
- ".spectrum-Switch:hover .spectrum-Switch-input:focus-visible + .spectrum-Switch-switch:before",
- ".spectrum-Switch:hover .spectrum-Switch-input:focus-visible ~ .spectrum-Switch-label",
- ".spectrum-Switch:hover .spectrum-Switch-input:focus-visible:checked + .spectrum-Switch-switch",
- ".spectrum-Switch:hover .spectrum-Switch-input:focus-visible:checked + .spectrum-Switch-switch:before",
- ".spectrum-Switch:hover .spectrum-Switch-input:not(:checked) + .spectrum-Switch-switch",
".spectrum-Switch:hover .spectrum-Switch-input[disabled] + .spectrum-Switch-switch",
".spectrum-Switch:hover .spectrum-Switch-input[disabled] + .spectrum-Switch-switch:before",
".spectrum-Switch:hover .spectrum-Switch-input[disabled] ~ .spectrum-Switch-label",
".spectrum-Switch:hover .spectrum-Switch-input[disabled]:checked + .spectrum-Switch-switch",
".spectrum-Switch:hover .spectrum-Switch-input[disabled]:checked + .spectrum-Switch-switch:before",
- ".spectrum-Switch:hover .spectrum-Switch-input[disabled]:checked ~ .spectrum-Switch-label",
- "[dir=\"rtl\"] .spectrum-Switch-input:checked + .spectrum-Switch-switch:before"
+ ".spectrum-Switch:hover .spectrum-Switch-switch",
+ ".spectrum-Switch:hover .spectrum-Switch-switch:before",
+ ".spectrum-Switch:hover ~ .spectrum-Switch-label",
+ "[dir=\"rtl\"] .spectrum-Switch-input:checked + .spectrum-Switch-switch:before",
+ "[dir=\"rtl\"] .spectrum-Switch:active .spectrum-Switch-input:not(:disabled):checked + .spectrum-Switch-switch:before"
],
"modifiers": [
"--mod-animation-duration-100",
- "--mod-animation-duration-200",
- "--mod-border-width-200",
- "--mod-focus-indicator-gap",
- "--mod-focus-indicator-thickness",
- "--mod-line-height-100",
"--mod-switch-background-color",
"--mod-switch-background-color-disabled",
"--mod-switch-background-color-selected-default",
@@ -89,28 +69,42 @@
"--mod-switch-background-color-selected-down",
"--mod-switch-background-color-selected-focus",
"--mod-switch-background-color-selected-hover",
+ "--mod-switch-border-color-default",
+ "--mod-switch-border-color-disabled",
+ "--mod-switch-border-color-down",
+ "--mod-switch-border-color-focus",
+ "--mod-switch-border-color-hover",
+ "--mod-switch-border-color-selected-default",
+ "--mod-switch-border-color-selected-down",
+ "--mod-switch-border-color-selected-focus",
+ "--mod-switch-border-color-selected-hover",
+ "--mod-switch-border-radius",
+ "--mod-switch-border-width",
+ "--mod-switch-cjk-line-height",
"--mod-switch-control-height",
"--mod-switch-control-label-spacing",
"--mod-switch-control-width",
"--mod-switch-focus-indicator-color",
+ "--mod-switch-focus-indicator-gap",
"--mod-switch-focus-indicator-thickness",
"--mod-switch-font-size",
- "--mod-switch-handle-background-color",
- "--mod-switch-handle-border-color-default",
- "--mod-switch-handle-border-color-disabled",
- "--mod-switch-handle-border-color-down",
- "--mod-switch-handle-border-color-focus",
- "--mod-switch-handle-border-color-hover",
- "--mod-switch-handle-border-color-selected-default",
- "--mod-switch-handle-border-color-selected-down",
- "--mod-switch-handle-border-color-selected-focus",
- "--mod-switch-handle-border-color-selected-hover",
+ "--mod-switch-handle-background-color-default",
+ "--mod-switch-handle-background-color-disabled",
+ "--mod-switch-handle-background-color-down",
+ "--mod-switch-handle-background-color-focus",
+ "--mod-switch-handle-background-color-hover",
+ "--mod-switch-handle-background-color-selected",
+ "--mod-switch-handle-background-color-selected-disabled",
+ "--mod-switch-handle-selected-size",
+ "--mod-switch-handle-size",
"--mod-switch-height",
- "--mod-switch-label-color-default",
+ "--mod-switch-label-color",
"--mod-switch-label-color-disabled",
"--mod-switch-label-color-down",
"--mod-switch-label-color-focus",
"--mod-switch-label-color-hover",
+ "--mod-switch-line-height",
+ "--mod-switch-spacing-bottom-to-label",
"--mod-switch-spacing-top-to-control",
"--mod-switch-spacing-top-to-label"
],
@@ -122,6 +116,18 @@
"--spectrum-switch-background-color-selected-down",
"--spectrum-switch-background-color-selected-focus",
"--spectrum-switch-background-color-selected-hover",
+ "--spectrum-switch-border-color-default",
+ "--spectrum-switch-border-color-disabled",
+ "--spectrum-switch-border-color-down",
+ "--spectrum-switch-border-color-focus",
+ "--spectrum-switch-border-color-hover",
+ "--spectrum-switch-border-color-selected-default",
+ "--spectrum-switch-border-color-selected-down",
+ "--spectrum-switch-border-color-selected-focus",
+ "--spectrum-switch-border-color-selected-hover",
+ "--spectrum-switch-border-radius",
+ "--spectrum-switch-border-width",
+ "--spectrum-switch-cjk-line-height",
"--spectrum-switch-control-height",
"--spectrum-switch-control-height-extra-large",
"--spectrum-switch-control-height-large",
@@ -134,24 +140,34 @@
"--spectrum-switch-control-width-medium",
"--spectrum-switch-control-width-small",
"--spectrum-switch-focus-indicator-color",
+ "--spectrum-switch-focus-indicator-gap",
"--spectrum-switch-focus-indicator-thickness",
"--spectrum-switch-font-size",
- "--spectrum-switch-handle-background-color",
- "--spectrum-switch-handle-border-color-default",
- "--spectrum-switch-handle-border-color-disabled",
- "--spectrum-switch-handle-border-color-down",
- "--spectrum-switch-handle-border-color-focus",
- "--spectrum-switch-handle-border-color-hover",
- "--spectrum-switch-handle-border-color-selected-default",
- "--spectrum-switch-handle-border-color-selected-down",
- "--spectrum-switch-handle-border-color-selected-focus",
- "--spectrum-switch-handle-border-color-selected-hover",
+ "--spectrum-switch-handle-background-color-default",
+ "--spectrum-switch-handle-background-color-disabled",
+ "--spectrum-switch-handle-background-color-down",
+ "--spectrum-switch-handle-background-color-focus",
+ "--spectrum-switch-handle-background-color-hover",
+ "--spectrum-switch-handle-background-color-selected",
+ "--spectrum-switch-handle-background-color-selected-disabled",
+ "--spectrum-switch-handle-selected-size",
+ "--spectrum-switch-handle-selected-size-extra-large",
+ "--spectrum-switch-handle-selected-size-large",
+ "--spectrum-switch-handle-selected-size-medium",
+ "--spectrum-switch-handle-selected-size-small",
+ "--spectrum-switch-handle-size",
+ "--spectrum-switch-handle-size-extra-large",
+ "--spectrum-switch-handle-size-large",
+ "--spectrum-switch-handle-size-medium",
+ "--spectrum-switch-handle-size-small",
"--spectrum-switch-label-color-default",
"--spectrum-switch-label-color-disabled",
"--spectrum-switch-label-color-down",
"--spectrum-switch-label-color-focus",
"--spectrum-switch-label-color-hover",
+ "--spectrum-switch-line-height",
"--spectrum-switch-min-height",
+ "--spectrum-switch-spacing-bottom-to-label",
"--spectrum-switch-spacing-top-to-control",
"--spectrum-switch-spacing-top-to-label",
"--spectrum-switch-top-to-control-extra-large",
@@ -160,20 +176,29 @@
"--spectrum-switch-top-to-control-small"
],
"global": [
- "--spectrum-accent-color-1000",
- "--spectrum-accent-color-1100",
- "--spectrum-accent-color-900",
+ "--spectrum-accent-background-color-default",
+ "--spectrum-accent-background-color-down",
+ "--spectrum-accent-background-color-hover",
+ "--spectrum-accent-background-color-key-focus",
"--spectrum-animation-duration-100",
"--spectrum-animation-duration-200",
"--spectrum-border-width-200",
+ "--spectrum-cjk-line-height-100",
+ "--spectrum-component-bottom-to-text-100",
+ "--spectrum-component-bottom-to-text-200",
+ "--spectrum-component-bottom-to-text-300",
+ "--spectrum-component-bottom-to-text-75",
"--spectrum-component-height-100",
"--spectrum-component-height-200",
"--spectrum-component-height-300",
"--spectrum-component-height-75",
+ "--spectrum-component-size-difference-down",
+ "--spectrum-component-size-minimum-perspective-down",
"--spectrum-component-top-to-text-100",
"--spectrum-component-top-to-text-200",
"--spectrum-component-top-to-text-300",
"--spectrum-component-top-to-text-75",
+ "--spectrum-corner-radius-full",
"--spectrum-disabled-content-color",
"--spectrum-focus-indicator-color",
"--spectrum-focus-indicator-gap",
@@ -182,17 +207,12 @@
"--spectrum-font-size-200",
"--spectrum-font-size-300",
"--spectrum-font-size-75",
- "--spectrum-gray-200",
- "--spectrum-gray-50",
- "--spectrum-gray-600",
- "--spectrum-gray-700",
- "--spectrum-gray-800",
- "--spectrum-gray-900",
+ "--spectrum-gray-25",
"--spectrum-line-height-100",
- "--spectrum-neutral-background-color-selected-default",
- "--spectrum-neutral-background-color-selected-down",
- "--spectrum-neutral-background-color-selected-hover",
- "--spectrum-neutral-background-color-selected-key-focus",
+ "--spectrum-neutral-background-color-default",
+ "--spectrum-neutral-background-color-down",
+ "--spectrum-neutral-background-color-hover",
+ "--spectrum-neutral-background-color-key-focus",
"--spectrum-neutral-content-color-default",
"--spectrum-neutral-content-color-down",
"--spectrum-neutral-content-color-hover",
@@ -202,38 +222,32 @@
"--spectrum-text-to-control-300",
"--spectrum-text-to-control-75"
],
- "system-theme": [
- "--system-switch-background-color",
- "--system-switch-background-color-disabled",
- "--system-switch-handle-background-color",
- "--system-switch-handle-border-color-default",
- "--system-switch-handle-border-color-down",
- "--system-switch-handle-border-color-focus",
- "--system-switch-handle-border-color-hover",
- "--system-switch-handle-border-color-selected-default",
- "--system-switch-handle-border-color-selected-down",
- "--system-switch-handle-border-color-selected-focus",
- "--system-switch-handle-border-color-selected-hover"
- ],
"passthroughs": [],
"high-contrast": [
"--highcontrast-switch-background-color",
+ "--highcontrast-switch-background-color-disabled",
"--highcontrast-switch-background-color-selected-default",
"--highcontrast-switch-background-color-selected-disabled",
"--highcontrast-switch-background-color-selected-down",
"--highcontrast-switch-background-color-selected-focus",
"--highcontrast-switch-background-color-selected-hover",
+ "--highcontrast-switch-border-color-default",
+ "--highcontrast-switch-border-color-disabled",
+ "--highcontrast-switch-border-color-down",
+ "--highcontrast-switch-border-color-focus",
+ "--highcontrast-switch-border-color-hover",
+ "--highcontrast-switch-border-color-selected-default",
+ "--highcontrast-switch-border-color-selected-down",
+ "--highcontrast-switch-border-color-selected-focus",
+ "--highcontrast-switch-border-color-selected-hover",
"--highcontrast-switch-focus-indicator-color",
- "--highcontrast-switch-handle-background-color",
- "--highcontrast-switch-handle-border-color-default",
- "--highcontrast-switch-handle-border-color-disabled",
- "--highcontrast-switch-handle-border-color-down",
- "--highcontrast-switch-handle-border-color-focus",
- "--highcontrast-switch-handle-border-color-hover",
- "--highcontrast-switch-handle-border-color-selected-default",
- "--highcontrast-switch-handle-border-color-selected-down",
- "--highcontrast-switch-handle-border-color-selected-focus",
- "--highcontrast-switch-handle-border-color-selected-hover",
+ "--highcontrast-switch-handle-background-color-default",
+ "--highcontrast-switch-handle-background-color-disabled",
+ "--highcontrast-switch-handle-background-color-down",
+ "--highcontrast-switch-handle-background-color-focus",
+ "--highcontrast-switch-handle-background-color-hover",
+ "--highcontrast-switch-handle-background-color-selected",
+ "--highcontrast-switch-handle-background-color-selected-disabled",
"--highcontrast-switch-label-color-default",
"--highcontrast-switch-label-color-disabled",
"--highcontrast-switch-label-color-down",
diff --git a/components/switch/index.css b/components/switch/index.css
index 763ad359ab8..2e0a88fe4f1 100644
--- a/components/switch/index.css
+++ b/components/switch/index.css
@@ -11,8 +11,6 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
.spectrum-Switch {
--spectrum-switch-label-color-default: var(--spectrum-neutral-content-color-default);
--spectrum-switch-label-color-hover: var(--spectrum-neutral-content-color-hover);
@@ -20,49 +18,74 @@
--spectrum-switch-label-color-focus: var(--spectrum-neutral-content-color-key-focus);
--spectrum-switch-label-color-disabled: var(--spectrum-disabled-content-color);
- --spectrum-switch-background-color-selected-default: var(--spectrum-neutral-background-color-selected-default);
- --spectrum-switch-background-color-selected-hover: var(--spectrum-neutral-background-color-selected-hover);
- --spectrum-switch-background-color-selected-down: var(--spectrum-neutral-background-color-selected-down);
- --spectrum-switch-background-color-selected-focus: var(--spectrum-neutral-background-color-selected-key-focus);
+ --spectrum-switch-border-width: var(--spectrum-border-width-200);
+
+ --spectrum-switch-border-color-default: var(--spectrum-neutral-content-color-default);
+ --spectrum-switch-border-color-hover: var(--spectrum-neutral-content-color-hover);
+ --spectrum-switch-border-color-down: var(--spectrum-neutral-content-color-down);
+ --spectrum-switch-border-color-focus: var(--spectrum-neutral-content-color-key-focus);
+ --spectrum-switch-border-color-disabled: var(--spectrum-disabled-content-color);
+
+ --spectrum-switch-border-color-selected-default: var(--spectrum-neutral-content-color-default);
+ --spectrum-switch-border-color-selected-hover: var(--spectrum-neutral-content-color-hover);
+ --spectrum-switch-border-color-selected-down: var(--spectrum-neutral-content-color-down);
+ --spectrum-switch-border-color-selected-focus: var(--spectrum-neutral-content-color-key-focus);
+
+ --spectrum-switch-background-color: var(--spectrum-gray-25);
+ --spectrum-switch-background-color-disabled: var(--spectrum-gray-25);
+
+ --spectrum-switch-background-color-selected-default: var(--spectrum-neutral-background-color-default);
+ --spectrum-switch-background-color-selected-hover: var(--spectrum-neutral-background-color-hover);
+ --spectrum-switch-background-color-selected-down: var(--spectrum-neutral-background-color-down);
+ --spectrum-switch-background-color-selected-focus: var(--spectrum-neutral-background-color-key-focus);
--spectrum-switch-background-color-selected-disabled: var(--spectrum-disabled-content-color);
- --spectrum-switch-focus-indicator-thickness: var(--mod-focus-indicator-thickness, var(--spectrum-focus-indicator-thickness));
+ --spectrum-switch-focus-indicator-thickness: var(--spectrum-focus-indicator-thickness);
--spectrum-switch-focus-indicator-color: var(--spectrum-focus-indicator-color);
- --spectrum-switch-handle-border-color-disabled: var(--spectrum-disabled-content-color);
-}
+ --spectrum-switch-focus-indicator-gap: var(--spectrum-focus-indicator-gap);
-.spectrum-Switch--disabled {
- --spectrum-switch-label-color-default: var(--spectrum-disabled-content-color);
-}
+ --spectrum-switch-handle-background-color-default: var(--spectrum-neutral-content-color-default);
+ --spectrum-switch-handle-background-color-hover: var(--spectrum-neutral-content-color-hover);
+ --spectrum-switch-handle-background-color-down: var(--spectrum-neutral-content-color-down);
+ --spectrum-switch-handle-background-color-focus: var(--spectrum-neutral-content-color-key-focus);
+ --spectrum-switch-handle-background-color-disabled: var(--spectrum-disabled-content-color);
-.spectrum-Switch.spectrum-Switch--emphasized {
- /*
- Selector specificity needed to beat the cascade, post-build.
- The `spectrum` & `express` theme vars get appended below this in the dist file
- & the higher specificity here will override.
- */
- /* selected + emphasized */
- --spectrum-switch-background-color-selected-default: var(--spectrum-accent-color-900);
- --spectrum-switch-background-color-selected-hover: var(--spectrum-accent-color-1000);
- --spectrum-switch-background-color-selected-down: var(--spectrum-accent-color-1100);
- --spectrum-switch-background-color-selected-focus: var(--spectrum-accent-color-1000);
-
- --spectrum-switch-handle-border-color-selected-default: var(--spectrum-accent-color-900);
- --spectrum-switch-handle-border-color-selected-hover: var(--spectrum-accent-color-1000);
- --spectrum-switch-handle-border-color-selected-down: var(--spectrum-accent-color-1100);
- --spectrum-switch-handle-border-color-selected-focus: var(--spectrum-accent-color-1000);
-}
+ --spectrum-switch-handle-background-color-selected: var(--spectrum-gray-25);
+ --spectrum-switch-handle-background-color-selected-disabled: var(--spectrum-gray-25);
+
+ --spectrum-switch-handle-size: var(--spectrum-switch-handle-size-medium);
+ --spectrum-switch-handle-selected-size: var(--spectrum-switch-handle-selected-size-medium);
-.spectrum-Switch,
-.spectrum-Switch--sizeM {
+ /* Default size - medium */
--spectrum-switch-min-height: var(--spectrum-component-height-100);
--spectrum-switch-control-width: var(--spectrum-switch-control-width-medium);
--spectrum-switch-control-height: var(--spectrum-switch-control-height-medium);
--spectrum-switch-control-label-spacing: var(--spectrum-text-to-control-100);
--spectrum-switch-spacing-top-to-control: var(--spectrum-switch-top-to-control-medium);
--spectrum-switch-spacing-top-to-label: var(--spectrum-component-top-to-text-100);
+ --spectrum-switch-spacing-bottom-to-label: var(--spectrum-component-bottom-to-text-100);
--spectrum-switch-font-size: var(--spectrum-font-size-100);
+ --spectrum-switch-line-height: var(--spectrum-line-height-100);
+ --spectrum-switch-cjk-line-height: var(--spectrum-cjk-line-height-100);
+
+ --spectrum-switch-border-radius: var(--spectrum-corner-radius-full);
+}
+
+.spectrum-Switch--disabled {
+ --spectrum-switch-label-color-default: var(--spectrum-disabled-content-color);
+}
+
+.spectrum-Switch--emphasized {
+ --spectrum-switch-background-color-selected-default: var(--spectrum-accent-background-color-default);
+ --spectrum-switch-background-color-selected-hover: var(--spectrum-accent-background-color-hover);
+ --spectrum-switch-background-color-selected-down: var(--spectrum-accent-background-color-down);
+ --spectrum-switch-background-color-selected-focus: var(--spectrum-accent-background-color-key-focus);
+
+ --spectrum-switch-border-color-selected-default: var(--spectrum-accent-background-color-default);
+ --spectrum-switch-border-color-selected-hover: var(--spectrum-accent-background-color-hover);
+ --spectrum-switch-border-color-selected-down: var(--spectrum-accent-background-color-down);
+ --spectrum-switch-border-color-selected-focus: var(--spectrum-accent-background-color-key-focus);
}
.spectrum-Switch--sizeS {
@@ -72,6 +95,10 @@
--spectrum-switch-control-label-spacing: var(--spectrum-text-to-control-75);
--spectrum-switch-spacing-top-to-control: var(--spectrum-switch-top-to-control-small);
--spectrum-switch-spacing-top-to-label: var(--spectrum-component-top-to-text-75);
+ --spectrum-switch-spacing-bottom-to-label: var(--spectrum-component-bottom-to-text-75);
+
+ --spectrum-switch-handle-size: var(--spectrum-switch-handle-size-small);
+ --spectrum-switch-handle-selected-size: var(--spectrum-switch-handle-selected-size-small);
--spectrum-switch-font-size: var(--spectrum-font-size-75);
}
@@ -83,6 +110,10 @@
--spectrum-switch-control-label-spacing: var(--spectrum-text-to-control-200);
--spectrum-switch-spacing-top-to-control: var(--spectrum-switch-top-to-control-large);
--spectrum-switch-spacing-top-to-label: var(--spectrum-component-top-to-text-200);
+ --spectrum-switch-spacing-bottom-to-label: var(--spectrum-component-bottom-to-text-200);
+
+ --spectrum-switch-handle-size: var(--spectrum-switch-handle-size-large);
+ --spectrum-switch-handle-selected-size: var(--spectrum-switch-handle-selected-size-large);
--spectrum-switch-font-size: var(--spectrum-font-size-200);
}
@@ -94,6 +125,10 @@
--spectrum-switch-control-label-spacing: var(--spectrum-text-to-control-300);
--spectrum-switch-spacing-top-to-control: var(--spectrum-switch-top-to-control-extra-large);
--spectrum-switch-spacing-top-to-label: var(--spectrum-component-top-to-text-300);
+ --spectrum-switch-spacing-bottom-to-label: var(--spectrum-component-bottom-to-text-300);
+
+ --spectrum-switch-handle-size: var(--spectrum-switch-handle-size-extra-large);
+ --spectrum-switch-handle-selected-size: var(--spectrum-switch-handle-selected-size-extra-large);
--spectrum-switch-font-size: var(--spectrum-font-size-300);
}
@@ -108,13 +143,8 @@
}
.spectrum-Switch-input {
- /* Remove the margin for input in Firefox and Safari. */
margin: 0;
-
- /* Add the correct box sizing for [type="checkbox"] in IE 10-. */
box-sizing: border-box;
-
- /* Remove the padding for [type="checkbox"] in IE 10-. */
padding: 0;
position: absolute;
@@ -127,36 +157,38 @@
cursor: pointer;
- &:checked + .spectrum-Switch-switch {
- &::before {
- transform: translateX(calc(var(--mod-switch-control-width, var(--spectrum-switch-control-width)) - 100%));
- }
-
- &:dir(rtl)::before {
- transform: translateX(calc(-1 * (var(--mod-switch-control-width, var(--spectrum-switch-control-width)) - 100%)));
- }
- }
-
&:disabled,
&[disabled] {
cursor: default;
}
-
- &:focus-visible + .spectrum-Switch-switch {
- &::after {
- margin: calc(var(--mod-focus-indicator-gap, var(--spectrum-focus-indicator-gap)) * -1);
- }
- }
}
.spectrum-Switch-label {
- color: var(--highcontrast-switch-label-color-default, var(--mod-switch-label-color-default, var(--spectrum-switch-label-color-default)));
+ color: var(--highcontrast-switch-label-color-default, var(--mod-switch-label-color, var(--spectrum-switch-label-color-default)));
margin-inline: var(--mod-switch-control-label-spacing, var(--spectrum-switch-control-label-spacing));
margin-block-start: var(--mod-switch-spacing-top-to-label, var(--spectrum-switch-spacing-top-to-label));
- margin-block-end: 0;
+ margin-block-end: var(--mod-switch-spacing-bottom-to-label, var(--spectrum-switch-spacing-bottom-to-label));
font-size: var(--mod-switch-font-size, var(--spectrum-switch-font-size));
- line-height: var(--mod-line-height-100, var(--spectrum-line-height-100));
- transition: color var(--mod-animation-duration-200, var(--spectrum-animation-duration-200)) ease-in-out;
+ line-height: var(--mod-switch-line-height, var(--spectrum-switch-line-height));
+ transition: color var(--spectrum-animation-duration-200) ease-in-out;
+
+ &:lang(ja),
+ &:lang(zh),
+ &:lang(ko) {
+ line-height: var(--mod-switch-cjk-line-height, var(--spectrum-switch-cjk-line-height));
+ }
+
+ .spectrum-Switch:hover ~ & {
+ color: var(--highcontrast-switch-label-color-hover, var(--mod-switch-label-color-hover, var(--spectrum-switch-label-color-hover)));
+ }
+
+ .spectrum-Switch:active ~ & {
+ color: var(--highcontrast-switch-label-color-down, var(--mod-switch-label-color-down, var(--spectrum-switch-label-color-down)));
+ }
+
+ .spectrum-Switch-input:focus-visible ~ & {
+ color: var(--highcontrast-switch-label-color-focus, var(--mod-switch-label-color-focus, var(--spectrum-switch-label-color-focus)));
+ }
}
.spectrum-Switch-switch {
@@ -186,191 +218,148 @@
inset-inline-start: 0;
inset-inline-end: 0;
- border-radius: calc(var(--mod-switch-control-height, var(--spectrum-switch-control-height)) / 2);
+ background-color: var(--highcontrast-switch-background-color, var(--mod-switch-background-color, var(--spectrum-switch-background-color)));
+ border-radius: var(--mod-switch-border-radius, var(--spectrum-switch-border-radius));
+ border-width: var(--mod-switch-border-width, var(--spectrum-switch-border-width));
+ border-color: var(--highcontrast-switch-border-color-default, var(--mod-switch-border-color-default, var(--spectrum-switch-border-color-default)));
+ border-style: solid;
- &::before {
- display: block;
- position: absolute;
- content: "";
- box-sizing: border-box;
+ .spectrum-Switch:hover & {
+ border-color: var(--highcontrast-switch-border-color-hover, var(--mod-switch-border-color-hover, var(--spectrum-switch-border-color-hover)));
}
- /* :before is used for the handle of the switch */
- &::before {
- transition:
- background var(--mod-animation-duration-100, var(--spectrum-animation-duration-100)) ease-in-out,
- border var(--mod-animation-duration-100, var(--spectrum-animation-duration-100)) ease-in-out,
- transform var(--mod-animation-duration-100, var(--spectrum-animation-duration-100)) ease-in-out,
- box-shadow var(--mod-animation-duration-100, var(--spectrum-animation-duration-100)) ease-in-out;
+ .spectrum-Switch:active & {
+ border-color: var(--highcontrast-switch-border-color-down, var(--mod-switch-border-color-down, var(--spectrum-switch-border-color-down)));
+ }
- inline-size: var(--mod-switch-control-height, var(--spectrum-switch-control-height));
- block-size: var(--mod-switch-control-height, var(--spectrum-switch-control-height));
+ .spectrum-Switch-input:focus-visible + & {
+ border-color: var(--highcontrast-switch-border-color-focus, var(--mod-switch-border-color-focus, var(--spectrum-switch-border-color-focus)));
+ }
- inset-block-start: 0;
- inset-inline-start: 0;
+ .spectrum-Switch-input:checked + & {
+ background-color: var(--highcontrast-switch-background-color-selected-default, var(--mod-switch-background-color-selected-default, var(--spectrum-switch-background-color-selected-default)));
+ border-color: var(--highcontrast-switch-border-color-selected-default, var(--mod-switch-border-color-selected-default, var(--spectrum-switch-border-color-selected-default)));
+
+ .spectrum-Switch:hover & {
+ background-color: var(--highcontrast-switch-background-color-selected-hover, var(--mod-switch-background-color-selected-hover, var(--spectrum-switch-background-color-selected-hover)));
+ border-color: var(--highcontrast-switch-border-color-selected-hover, var(--mod-switch-border-color-selected-hover, var(--spectrum-switch-border-color-selected-hover)));
+ }
- border-width: var(--mod-border-width-200, var(--spectrum-border-width-200));
- border-radius: calc(var(--mod-switch-control-height, var(--spectrum-switch-control-height)) / 2);
- border-style: solid;
+ .spectrum-Switch:active & {
+ background-color: var(--highcontrast-switch-background-color-selected-down, var(--mod-switch-background-color-selected-down, var(--spectrum-switch-background-color-selected-down)));
+ border-color: var(--highcontrast-switch-border-color-selected-down, var(--mod-switch-border-color-selected-down, var(--spectrum-switch-border-color-selected-down)));
+ }
}
- /* :after is used for the focus halo */
- &::after {
- border-radius: calc(calc(var(--mod-switch-control-height, var(--spectrum-switch-control-height)) / 2) + var(--mod-focus-indicator-gap, var(--spectrum-focus-indicator-gap)) * 2);
- content: "";
+ .spectrum-Switch-input:checked:focus-visible + & {
+ background-color: var(--highcontrast-switch-background-color-selected-focus, var(--mod-switch-background-color-selected-focus, var(--spectrum-switch-background-color-selected-focus)));
+ border-color: var(--highcontrast-switch-border-color-selected-focus, var(--mod-switch-border-color-selected-focus, var(--spectrum-switch-border-color-selected-focus)));
+ }
+
+ /* :before is used for the handle of the switch */
+ &::before {
display: block;
position: absolute;
- inset-inline-start: 0;
- inset-inline-end: 0;
- inset-block-end: 0;
- inset-block-start: 0;
- margin: 0;
+ content: "";
+ box-sizing: border-box;
- transition:
- opacity var(--mod-animation-duration-100, var(--spectrum-animation-duration-100)) ease-out,
- margin var(--spectrum-animation-duration-100, var(--spectrum-animation-duration-100)) ease-out;
- }
-}
+ transition: background var(--spectrum-animation-duration-100) ease-in-out,
+ border var(--spectrum-animation-duration-100) ease-in-out,
+ transform var(--spectrum-animation-duration-100) ease-in-out,
+ box-shadow var(--spectrum-animation-duration-100) ease-in-out;
-.spectrum-Switch {
- .spectrum-Switch-switch {
- background-color: var(--highcontrast-switch-background-color, var(--mod-switch-background-color, var(--spectrum-switch-background-color)));
+ inline-size: var(--mod-switch-handle-size, var(--spectrum-switch-handle-size));
+ block-size: var(--mod-switch-handle-size, var(--spectrum-switch-handle-size));
- &::before {
- background-color: var(--highcontrast-switch-handle-background-color, var(--mod-switch-handle-background-color, var(--spectrum-switch-handle-background-color)));
- border-color: var(--highcontrast-switch-handle-border-color-default, var(--mod-switch-handle-border-color-default, var(--spectrum-switch-handle-border-color-default)));
- }
- }
-}
+ inset-block-start: calc((var(--mod-switch-control-height, var(--spectrum-switch-control-height)) - var(--mod-switch-handle-size, var(--spectrum-switch-handle-size))) * 0.25);
+ inset-inline-start: calc((var(--mod-switch-control-height, var(--spectrum-switch-control-height)) - var(--mod-switch-handle-size, var(--spectrum-switch-handle-size))) * 0.25);
-.spectrum-Switch:hover {
- .spectrum-Switch-input {
- & + .spectrum-Switch-switch {
- &::before {
- border-color: var(--highcontrast-switch-handle-border-color-hover, var(--mod-switch-handle-border-color-hover, var(--spectrum-switch-handle-border-color-hover)));
- box-shadow: none;
- }
- }
+ background-color: var(--highcontrast-switch-handle-background-color-default, var(--mod-switch-handle-background-color-default, var(--spectrum-switch-handle-background-color-default)));
+ border-radius: var(--mod-switch-border-radius, var(--spectrum-switch-border-radius));
- & ~ .spectrum-Switch-label {
- color: var(--highcontrast-switch-label-color-hover, var(--mod-switch-label-color-hover, var(--spectrum-switch-label-color-hover)));
+ .spectrum-Switch:hover & {
+ background-color: var(--highcontrast-switch-handle-background-color-hover, var(--mod-switch-handle-background-color-hover, var(--spectrum-switch-handle-background-color-hover)));
}
- /* selected, not emphasized */
- &:checked:enabled + .spectrum-Switch-switch {
- background-color: var(--highcontrast-switch-background-color-selected-hover, var(--mod-switch-background-color-selected-hover, var(--spectrum-switch-background-color-selected-hover)));
+ .spectrum-Switch:active & {
+ background-color: var(--highcontrast-switch-handle-background-color-down, var(--mod-switch-handle-background-color-down, var(--spectrum-switch-handle-background-color-down)));
+ }
- &::before {
- border-color: var(--highcontrast-switch-handle-border-color-selected-hover, var(--mod-switch-handle-border-color-selected-hover, var(--spectrum-switch-handle-border-color-selected-hover)));
- }
+ .spectrum-Switch-input:focus-visible + & {
+ background-color: var(--highcontrast-switch-handle-background-color-focus, var(--mod-switch-handle-background-color-focus, var(--spectrum-switch-handle-background-color-focus)));
}
- &:disabled,
- &[disabled] {
- & + .spectrum-Switch-switch {
- background-color: var(--mod-switch-background-color-disabled, var(--spectrum-switch-background-color-disabled));
- }
+ /* Handle size changes when selected/checked */
+ .spectrum-Switch-input:checked + & {
+ background-color: var(--highcontrast-switch-handle-background-color-selected, var(--mod-switch-handle-background-color-selected, var(--spectrum-switch-handle-background-color-selected)));
- & + .spectrum-Switch-switch::before {
- border-color: var(--highcontrast-switch-handle-border-color-disabled, var(--mod-switch-handle-border-color-disabled, var(--spectrum-switch-handle-border-color-disabled)));
- }
+ inline-size: var(--mod-switch-handle-selected-size, var(--spectrum-switch-handle-selected-size));
+ block-size: var(--mod-switch-handle-selected-size, var(--spectrum-switch-handle-selected-size));
- & ~ .spectrum-Switch-label {
- color: var(--highcontrast-switch-label-color-disabled, var(--mod-switch-label-color-disabled, var(--spectrum-switch-label-color-disabled)));
- }
+ inset-block-start: calc((var(--mod-switch-control-height, var(--spectrum-switch-control-height)) - var(--mod-switch-border-width, var(--spectrum-switch-border-width)) - var(--mod-switch-handle-selected-size, var(--spectrum-switch-handle-selected-size))) * 0.25);
+ inset-inline-start: calc((var(--mod-switch-control-height, var(--spectrum-switch-control-height)) - var(--mod-switch-border-width, var(--spectrum-switch-border-width)) - var(--mod-switch-handle-selected-size, var(--spectrum-switch-handle-selected-size))) * 0.25);
- /* disabled + selected, not emphasized */
- &:checked + .spectrum-Switch-switch {
- background-color: var(--highcontrast-switch-background-color-selected-disabled, var(--mod-switch-background-color-selected-disabled, var(--spectrum-switch-background-color-selected-disabled)));
- }
+ transform: translateX(calc(100% + (var(--mod-switch-border-width, var(--spectrum-switch-border-width)) * 0.25)));
- &:checked + .spectrum-Switch-switch::before {
- border-color: var(--highcontrast-switch-handle-border-color-disabled, var(--mod-switch-handle-border-color-disabled, var(--spectrum-switch-handle-border-color-disabled)));
+ &:dir(rtl) {
+ transform: translateX(calc(-1 * (100% + (var(--mod-switch-border-width, var(--spectrum-switch-border-width)) * 0.25))));
}
- &:checked ~ .spectrum-Switch-label {
- color: var(--highcontrast-switch-label-color-disabled, var(--mod-switch-label-color-disabled, var(--spectrum-switch-label-color-disabled)));
+ .spectrum-Switch:hover & {
+ background-color: var(--highcontrast-switch-handle-background-color-selected, var(--mod-switch-handle-background-color-selected, var(--spectrum-switch-handle-background-color-selected)));
}
}
- }
-}
-.spectrum-Switch:active {
- .spectrum-Switch-input {
- & + .spectrum-Switch-switch {
- &::before {
- border-color: var(--highcontrast-switch-handle-border-color-down, var(--mod-switch-handle-border-color-down, var(--spectrum-switch-handle-border-color-down)));
- }
+ .spectrum-Switch:active .spectrum-Switch-input:not(:disabled) + & {
+ transform: perspective(var(--spectrum-component-size-minimum-perspective-down)) translateZ(var(--spectrum-component-size-difference-down));
}
- & ~ .spectrum-Switch-label {
- color: var(--highcontrast-switch-label-color-down, var(--mod-switch-label-color-down, var(--spectrum-switch-label-color-down)));
- }
-
- /* selected, not emphasized */
- &:checked:enabled + .spectrum-Switch-switch {
- background-color: var(--highcontrast-switch-background-color-selected-down, var(--mod-switch-background-color-selected-down, var(--spectrum-switch-background-color-selected-down)));
+ .spectrum-Switch:active .spectrum-Switch-input:not(:disabled):checked + & {
+ /* Add down state without overriding translateX */
+ transform: translateX(calc(100% + (var(--mod-switch-border-width, var(--spectrum-switch-border-width)) * 0.25))) perspective(var(--spectrum-component-size-minimum-perspective-down)) translateZ(var(--spectrum-component-size-difference-down));
- &::before {
- border-color: var(--highcontrast-switch-handle-border-color-selected-down, var(--mod-switch-handle-border-color-selected-down, var(--spectrum-switch-handle-border-color-selected-down)));
+ &:dir(rtl) {
+ /* Add down state without overriding translateX */
+ transform: translateX(calc(-1 * (100% + (var(--mod-switch-border-width, var(--spectrum-switch-border-width)) * 0.25)))) perspective(var(--spectrum-component-size-minimum-perspective-down)) translateZ(var(--spectrum-component-size-difference-down));
}
}
}
-}
-/* key focus */
-/* :after is the focus ring */
-/* :before is used for the handle of the switch */
-.spectrum-Switch,
-.spectrum-Switch:hover {
- .spectrum-Switch-input:focus-visible {
- & + .spectrum-Switch-switch {
- &::after {
- box-shadow: 0 0 0 var(--mod-switch-focus-indicator-thickness, var(--spectrum-switch-focus-indicator-thickness)) var(--highcontrast-switch-focus-indicator-color, var(--mod-switch-focus-indicator-color, var(--spectrum-switch-focus-indicator-color)));
- }
-
- &::before {
- border-color: var(--highcontrast-switch-handle-border-color-focus, var(--mod-switch-handle-border-color-focus, var(--spectrum-switch-handle-border-color-focus)));
- }
- }
-
- /* selected, not emphasized key focus */
- &:checked {
- & + .spectrum-Switch-switch {
- background-color: var(--highcontrast-switch-background-color-selected-focus, var(--mod-switch-background-color-selected-focus, var(--spectrum-switch-background-color-selected-focus)));
- }
-
- & + .spectrum-Switch-switch::before {
- border-color: var(--highcontrast-switch-handle-border-color-selected-focus, var(--mod-switch-handle-border-color-selected-focus, var(--spectrum-switch-handle-border-color-selected-focus)));
- }
- }
-
- & ~ .spectrum-Switch-label {
- color: var(--highcontrast-switch-label-color-focus, var(--mod-switch-label-color-focus, var(--spectrum-switch-label-color-focus)));
- }
- }
-}
+ /* :after is used for the track of the switch and the focus */
+ &::after {
+ border-radius: var(--mod-switch-border-radius, var(--spectrum-switch-border-radius));
+ content: "";
+ display: block;
+ position: absolute;
+ inset-inline-start: 0;
+ inset-inline-end: 0;
+ inset-block-end: 0;
+ inset-block-start: 0;
+ margin: 0;
-/* when checked, after transition or set manually */
-.spectrum-Switch-input {
- /* selected, not emphasized */
- &:checked + .spectrum-Switch-switch {
- background-color: var(--highcontrast-switch-background-color-selected-default, var(--mod-switch-background-color-selected-default, var(--spectrum-switch-background-color-selected-default)));
+ transition:
+ opacity var(--spectrum-animation-duration-100) ease-out,
+ outline-offset var(--spectrum-animation-duration-100) ease-out,
+ border var(--spectrum-animation-duration-100) ease-in-out;
- &::before {
- border-color: var(--highcontrast-switch-handle-border-color-selected-default, var(--mod-switch-handle-border-color-selected-default, var(--spectrum-switch-handle-border-color-selected-default)));
+ .spectrum-Switch-input:focus-visible + & {
+ outline: var(--mod-switch-focus-indicator-thickness, var(--spectrum-switch-focus-indicator-thickness)) solid var(--highcontrast-switch-focus-indicator-color, var(--mod-switch-focus-indicator-color, var(--spectrum-switch-focus-indicator-color)));
+ outline-offset: calc(var(--mod-switch-focus-indicator-gap, var(--spectrum-switch-focus-indicator-gap)) + var(--mod-switch-focus-indicator-thickness, var(--spectrum-switch-focus-indicator-thickness)));
}
}
}
/* disabled */
-.spectrum-Switch-input:disabled,
-.spectrum-Switch-input[disabled] {
+.spectrum-Switch .spectrum-Switch-input:disabled,
+.spectrum-Switch .spectrum-Switch-input[disabled],
+.spectrum-Switch:hover .spectrum-Switch-input:disabled,
+.spectrum-Switch:hover .spectrum-Switch-input[disabled] {
& + .spectrum-Switch-switch {
- background-color: var(--mod-switch-background-color-disabled, var(--spectrum-switch-background-color-disabled));
+ background-color: var(--highcontrast-switch-background-color-disabled, var(--mod-switch-background-color-disabled, var(--spectrum-switch-background-color-disabled)));
+ border-color: var(--highcontrast-switch-border-color-disabled, var(--mod-switch-border-color-disabled, var(--spectrum-switch-border-color-disabled)));
&::before {
- border-color: var(--highcontrast-switch-handle-border-color-disabled, var(--mod-switch-handle-border-color-disabled, var(--spectrum-switch-handle-border-color-disabled)));
+ background-color: var(--highcontrast-switch-handle-background-color-disabled, var(--mod-switch-handle-background-color-disabled, var(--spectrum-switch-handle-background-color-disabled)));
}
}
@@ -378,12 +367,11 @@
color: var(--highcontrast-switch-label-color-disabled, var(--mod-switch-label-color-disabled, var(--spectrum-switch-label-color-disabled)));
}
- /* disabled + selected, not emphasized */
&:checked + .spectrum-Switch-switch {
background-color: var(--highcontrast-switch-background-color-selected-disabled, var(--mod-switch-background-color-selected-disabled, var(--spectrum-switch-background-color-selected-disabled)));
&::before {
- border-color: var(--highcontrast-switch-handle-border-color-disabled, var(--mod-switch-handle-border-color-disabled, var(--spectrum-switch-handle-border-color-disabled)));
+ background-color: var(--highcontrast-switch-handle-background-color-selected-disabled, var(--mod-switch-handle-background-color-selected-disabled, var(--spectrum-switch-handle-background-color-selected-disabled)));
}
}
@@ -401,83 +389,36 @@
--highcontrast-switch-label-color-focus: ButtonText;
--highcontrast-switch-label-color-disabled: GrayText;
- --highcontrast-switch-handle-background-color: ButtonFace;
+ --highcontrast-switch-background-color: transparent;
+
+ --highcontrast-switch-border-color-default: ButtonText;
+ --highcontrast-switch-border-color-hover: Highlight;
+ --highcontrast-switch-border-color-down: ButtonText;
+ --highcontrast-switch-border-color-focus: ButtonText;
+ --highcontrast-switch-border-color-disabled: GrayText;
+
+ --highcontrast-switch-border-color-selected-default: Highlight;
+ --highcontrast-switch-border-color-selected-hover: Highlight;
+ --highcontrast-switch-border-color-selected-down: Highlight;
+ --highcontrast-switch-border-color-selected-focus: Highlight;
+
+ --highcontrast-switch-handle-background-color-default: ButtonText;
+ --highcontrast-switch-handle-background-color-hover: Highlight;
+ --highcontrast-switch-handle-background-color-down: ButtonText;
+ --highcontrast-switch-handle-background-color-focus: ButtonText;
+ --highcontrast-switch-handle-background-color-disabled: GrayText;
- --highcontrast-switch-handle-border-color-default: ButtonText;
- --highcontrast-switch-handle-border-color-hover: Highlight;
- --highcontrast-switch-handle-border-color-down: Highlight;
- --highcontrast-switch-handle-border-color-focus: Highlight;
- --highcontrast-switch-handle-border-color-disabled: Highlight;
+ --highcontrast-switch-handle-background-color-selected: HighlightText;
+ --highcontrast-switch-handle-background-color-selected-disabled: ButtonFace;
- --highcontrast-switch-handle-border-color-selected-default: Highlight;
- --highcontrast-switch-handle-border-color-selected-hover: Highlight;
- --highcontrast-switch-handle-border-color-selected-down: Highlight;
- --highcontrast-switch-handle-border-color-selected-focus: Highlight;
+ --highcontrast-switch-background-color-disabled: ButtonFace;
- --highcontrast-switch-background-color: ButtonFace;
--highcontrast-switch-background-color-selected-default: Highlight;
--highcontrast-switch-background-color-selected-hover: Highlight;
--highcontrast-switch-background-color-selected-down: Highlight;
--highcontrast-switch-background-color-selected-focus: Highlight;
- --highcontrast-switch-background-color-selected-disabled: Highlight;
+ --highcontrast-switch-background-color-selected-disabled: GrayText;
--highcontrast-switch-focus-indicator-color: ButtonText;
-
- forced-color-adjust: none;
-
- .spectrum-Switch-input {
- &:not(:checked) + .spectrum-Switch-switch {
- box-shadow: inset 0 0 0 1px ButtonText;
- }
- }
-
- &:hover .spectrum-Switch-input {
- &:not(:checked) + .spectrum-Switch-switch {
- box-shadow: inset 0 0 0 1px Highlight;
- }
-
- &:disabled,
- &[disabled] {
- &:checked + .spectrum-Switch-switch {
- box-shadow: inset 0 0 0 1px GrayText;
- background-color: GrayText;
- }
-
- &:checked + .spectrum-Switch-switch::before {
- border-color: GrayText;
- background-color: ButtonFace;
- }
- }
- }
-
- /* over-writes for disabled button */
- .spectrum-Switch-input {
- &:disabled,
- &[disabled] {
- &:not(:checked) + .spectrum-Switch-switch {
- box-shadow: inset 0 0 0 1px GrayText;
- background-color: ButtonFace;
- }
-
- &:not(:checked) + .spectrum-Switch-switch::before {
- border-color: GrayText;
- background-color: ButtonFace;
- }
-
- &:checked + .spectrum-Switch-switch {
- box-shadow: inset 0 0 0 1px GrayText;
- background-color: GrayText;
- }
-
- &:checked + .spectrum-Switch-switch::before {
- border-color: GrayText;
- background-color: ButtonFace;
- }
-
- & ~ .spectrum-Switch-label {
- color: GrayText;
- }
- }
- }
}
}
diff --git a/components/switch/package.json b/components/switch/package.json
index 9194bda53b3..cce19a21972 100644
--- a/components/switch/package.json
+++ b/components/switch/package.json
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
"@spectrum-css/tokens": {
diff --git a/components/switch/stories/switch.stories.js b/components/switch/stories/switch.stories.js
index 5286b307882..cc38ca06286 100644
--- a/components/switch/stories/switch.stories.js
+++ b/components/switch/stories/switch.stories.js
@@ -46,6 +46,7 @@ export default {
packageJson,
metadata,
},
+ tags: ["migrated"],
};
export const Default = SwitchGroup.bind({});
diff --git a/components/switch/stories/template.js b/components/switch/stories/template.js
index 5e67a3cc8b3..4f0877d5c86 100644
--- a/components/switch/stories/template.js
+++ b/components/switch/stories/template.js
@@ -6,9 +6,6 @@ import { styleMap } from "lit/directives/style-map.js";
import { when } from "lit/directives/when.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-Switch",
diff --git a/components/switch/themes/express.css b/components/switch/themes/express.css
deleted file mode 100644
index ac5198ba733..00000000000
--- a/components/switch/themes/express.css
+++ /dev/null
@@ -1,30 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
-
-@container style(--system: express) {
- .spectrum-Switch {
- --spectrum-switch-handle-border-color-default: var(--spectrum-gray-800);
- --spectrum-switch-handle-border-color-hover: var(--spectrum-gray-900);
- --spectrum-switch-handle-border-color-down: var(--spectrum-gray-900);
- --spectrum-switch-handle-border-color-focus: var(--spectrum-gray-900);
-
- --spectrum-switch-handle-border-color-selected-default: var(--spectrum-gray-800);
- --spectrum-switch-handle-border-color-selected-hover: var(--spectrum-gray-900);
- --spectrum-switch-handle-border-color-selected-down: var(--spectrum-gray-900);
- --spectrum-switch-handle-border-color-selected-focus: var(--spectrum-gray-900);
- }
-}
diff --git a/components/switch/themes/spectrum-two.css b/components/switch/themes/spectrum-two.css
deleted file mode 100644
index c2ed1a192a4..00000000000
--- a/components/switch/themes/spectrum-two.css
+++ /dev/null
@@ -1,30 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-Switch {
- --spectrum-switch-handle-border-color-default: var(--spectrum-gray-600);
- --spectrum-switch-handle-border-color-hover: var(--spectrum-gray-700);
- --spectrum-switch-handle-border-color-down: var(--spectrum-gray-800);
- --spectrum-switch-handle-border-color-focus: var(--spectrum-gray-700);
-
- --spectrum-switch-handle-border-color-selected-default: var(--spectrum-gray-700);
- --spectrum-switch-handle-border-color-selected-hover: var(--spectrum-gray-800);
- --spectrum-switch-handle-border-color-selected-down: var(--spectrum-gray-900);
- --spectrum-switch-handle-border-color-selected-focus: var(--spectrum-gray-800);
-
- --spectrum-switch-background-color: var(--spectrum-gray-200);
- --spectrum-switch-background-color-disabled: var(--spectrum-gray-200);
- --spectrum-switch-handle-background-color: var(--spectrum-gray-50);
- }
-}
diff --git a/components/switch/themes/spectrum.css b/components/switch/themes/spectrum.css
deleted file mode 100644
index 8b32e03d8f3..00000000000
--- a/components/switch/themes/spectrum.css
+++ /dev/null
@@ -1,24 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-Switch {
- --spectrum-switch-background-color: var(--spectrum-gray-300);
- --spectrum-switch-background-color-disabled: var(--spectrum-gray-300);
- --spectrum-switch-handle-background-color: var(--spectrum-gray-75);
- }
-}
diff --git a/components/table/CHANGELOG.md b/components/table/CHANGELOG.md
index 89ee038a1f7..0115d4b302c 100644
--- a/components/table/CHANGELOG.md
+++ b/components/table/CHANGELOG.md
@@ -1,5 +1,14 @@
# Change log
+## 9.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+ - @spectrum-css/button@15.0.0-next.0
+ - @spectrum-css/checkbox@11.0.0-next.0
+
## 8.1.0
### Minor Changes
diff --git a/components/table/dist/metadata.json b/components/table/dist/metadata.json
index e319678fb13..26a601ce86e 100644
--- a/components/table/dist/metadata.json
+++ b/components/table/dist/metadata.json
@@ -435,18 +435,6 @@
"--spectrum-transparent-white-100",
"--spectrum-transparent-white-25"
],
- "system-theme": [
- "--system-table-border-color",
- "--system-table-divider-color",
- "--system-table-header-background-color",
- "--system-table-icon-color-focus",
- "--system-table-icon-color-focus-hover",
- "--system-table-quiet-header-background-color",
- "--system-table-quiet-row-background-color",
- "--system-table-row-background-color",
- "--system-table-section-header-background-color",
- "--system-table-summary-row-background-color"
- ],
"passthroughs": ["--mod-checkbox-spacing", "--mod-thumbnail-size"],
"high-contrast": [
"--highcontrast-table-border-color",
diff --git a/components/table/index.css b/components/table/index.css
index 830e1528ff4..7ffbacf046a 100644
--- a/components/table/index.css
+++ b/components/table/index.css
@@ -11,7 +11,21 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
+.spectrum-Table {
+ --spectrum-table-header-background-color: var(--spectrum-transparent-white-25);
+ --spectrum-table-border-color: var(--spectrum-gray-200);
+ --spectrum-table-divider-color: var(--spectrum-gray-200);
+ --spectrum-table-row-background-color: var(--spectrum-gray-25);
+ --spectrum-table-summary-row-background-color: var(--spectrum-gray-100);
+ --spectrum-table-section-header-background-color: var(--spectrum-gray-100);
+ --spectrum-table-icon-color-focus: var(--spectrum-neutral-subdued-content-color-key-focus);
+ --spectrum-table-icon-color-focus-hover: var(--spectrum-neutral-subdued-content-color-hover);
+}
+
+.spectrum-Table--quiet {
+ --spectrum-table-header-background-color: var(--spectrum-transparent-white-25);
+ --spectrum-table-row-background-color: var(--spectrum-transparent-white-25);
+}
/********* HIGH CONTRAST *********/
@media (forced-colors: active) {
diff --git a/components/table/package.json b/components/table/package.json
index b1408beb437..699049b5771 100644
--- a/components/table/package.json
+++ b/components/table/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/table",
- "version": "8.1.0",
+ "version": "9.0.0-next.0",
"description": "The Spectrum CSS table component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,9 +25,9 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/button": ">=14.0.0 <15.0.0",
- "@spectrum-css/checkbox": ">=10.0.0 <11.0.0",
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
+ "@spectrum-css/button": ">=15.0.0-next.0",
+ "@spectrum-css/checkbox": ">=11.0.0-next.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
"@spectrum-css/thumbnail": ">=8.0.0 <9.0.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
@@ -49,9 +49,9 @@
}
},
"devDependencies": {
- "@spectrum-css/button": "14.1.3",
- "@spectrum-css/checkbox": "10.1.2",
- "@spectrum-css/icon": "9.1.0",
+ "@spectrum-css/button": "15.0.0-next.0",
+ "@spectrum-css/checkbox": "11.0.0-next.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
"@spectrum-css/thumbnail": "8.1.0",
"@spectrum-css/tokens": "16.0.1"
},
diff --git a/components/table/stories/template.js b/components/table/stories/template.js
index 662a6e3206b..8487cca716d 100644
--- a/components/table/stories/template.js
+++ b/components/table/stories/template.js
@@ -9,9 +9,6 @@ import { when } from "lit/directives/when.js";
import { html, literal } from "lit/static-html.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const TableRowItem = ({
rootClass = "spectrum-Table",
diff --git a/components/table/themes/express.css b/components/table/themes/express.css
deleted file mode 100644
index 9fd550418f2..00000000000
--- a/components/table/themes/express.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
diff --git a/components/table/themes/spectrum-two.css b/components/table/themes/spectrum-two.css
deleted file mode 100644
index 1c0a4684070..00000000000
--- a/components/table/themes/spectrum-two.css
+++ /dev/null
@@ -1,30 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-Table {
- --spectrum-table-header-background-color: var(--spectrum-transparent-white-25);
- --spectrum-table-border-color: var(--spectrum-gray-200);
- --spectrum-table-divider-color: var(--spectrum-gray-200);
- --spectrum-table-row-background-color: var(--spectrum-gray-25);
- --spectrum-table-summary-row-background-color: var(--spectrum-gray-100);
- --spectrum-table-section-header-background-color: var(--spectrum-gray-100);
- --spectrum-table-icon-color-focus: var(--spectrum-neutral-subdued-content-color-key-focus);
- --spectrum-table-icon-color-focus-hover: var(--spectrum-neutral-subdued-content-color-hover);
- }
-
- .spectrum-Table--quiet {
- --spectrum-table-header-background-color: var(--spectrum-transparent-white-25);
- --spectrum-table-row-background-color: var(--spectrum-transparent-white-25);
- }
-}
diff --git a/components/table/themes/spectrum.css b/components/table/themes/spectrum.css
deleted file mode 100644
index a40d7fabde2..00000000000
--- a/components/table/themes/spectrum.css
+++ /dev/null
@@ -1,34 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-Table {
- --spectrum-table-header-background-color: var(--spectrum-transparent-white-100);
- --spectrum-table-border-color: var(--spectrum-gray-300);
- --spectrum-table-divider-color: var(--spectrum-gray-300);
- --spectrum-table-row-background-color: var(--spectrum-gray-50);
- --spectrum-table-summary-row-background-color: var(--spectrum-gray-200);
- --spectrum-table-section-header-background-color: var(--spectrum-gray-200);
- --spectrum-table-icon-color-focus: var(--spectrum-neutral-subdued-content-color-key-focus);
- --spectrum-table-icon-color-focus-hover: var(--spectrum-neutral-subdued-content-down);
- }
-
- .spectrum-Table--quiet {
- --spectrum-table-header-background-color: var(--spectrum-transparent-white-100);
- --spectrum-table-row-background-color: var(--spectrum-transparent-white-100);
- }
-}
diff --git a/components/tabs/CHANGELOG.md b/components/tabs/CHANGELOG.md
index b455ff61976..32416dcc9fc 100644
--- a/components/tabs/CHANGELOG.md
+++ b/components/tabs/CHANGELOG.md
@@ -1,5 +1,14 @@
# Change log
+## 7.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+ - @spectrum-css/menu@10.0.0-next.0
+ - @spectrum-css/picker@10.0.0-next.0
+
## 7.0.0
### Patch Changes
diff --git a/components/tabs/dist/metadata.json b/components/tabs/dist/metadata.json
index 544295ef045..37e3c7b1a37 100644
--- a/components/tabs/dist/metadata.json
+++ b/components/tabs/dist/metadata.json
@@ -206,10 +206,6 @@
"--spectrum-workflow-icon-size-50",
"--spectrum-workflow-icon-size-75"
],
- "system-theme": [
- "--system-tabs-divider-background-color",
- "--system-tabs-font-weight"
- ],
"passthroughs": [],
"high-contrast": [
"--highcontrast-tabs-color",
diff --git a/components/tabs/index.css b/components/tabs/index.css
index 6727243f384..c2a430f3d7c 100644
--- a/components/tabs/index.css
+++ b/components/tabs/index.css
@@ -11,9 +11,10 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
.spectrum-Tabs {
+ --spectrum-tabs-font-weight: var(--spectrum-regular-font-weight);
+ --spectrum-tabs-divider-background-color: var(--spectrum-gray-200);
+
/* Default is Medium sizing */
--spectrum-tabs-item-height: var(--spectrum-tab-item-height-medium);
--spectrum-tabs-item-horizontal-spacing: var(--spectrum-tab-item-to-tab-item-horizontal-medium);
diff --git a/components/tabs/package.json b/components/tabs/package.json
index 59981c78bc7..f9b2025cbdd 100644
--- a/components/tabs/package.json
+++ b/components/tabs/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/tabs",
- "version": "6.1.1",
+ "version": "7.0.0-next.0",
"description": "The Spectrum CSS tabs component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,9 +25,9 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
- "@spectrum-css/menu": ">=9.0.0 <10.0.0",
- "@spectrum-css/picker": ">=9.0.0 <10.0.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
+ "@spectrum-css/menu": ">=10.0.0-next.0",
+ "@spectrum-css/picker": ">=10.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -45,9 +45,9 @@
}
},
"devDependencies": {
- "@spectrum-css/icon": "9.1.0",
- "@spectrum-css/menu": "9.2.0",
- "@spectrum-css/picker": "9.1.4",
+ "@spectrum-css/icon": "10.0.0-next.0",
+ "@spectrum-css/menu": "10.0.0-next.1",
+ "@spectrum-css/picker": "10.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/tabs/stories/template.js b/components/tabs/stories/template.js
index 716f45ea2e5..387683f1ae9 100644
--- a/components/tabs/stories/template.js
+++ b/components/tabs/stories/template.js
@@ -10,9 +10,6 @@ import { when } from "lit/directives/when.js";
import { html, literal } from "lit/static-html.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-Tabs",
diff --git a/components/tabs/themes/express.css b/components/tabs/themes/express.css
deleted file mode 100644
index 83b105f4ac8..00000000000
--- a/components/tabs/themes/express.css
+++ /dev/null
@@ -1,22 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
-
-@container style(--system: express) {
- .spectrum-Tabs {
- --spectrum-tabs-font-weight: var(--spectrum-bold-font-weight);
- }
-}
diff --git a/components/tabs/themes/spectrum-two.css b/components/tabs/themes/spectrum-two.css
deleted file mode 100644
index 71d71c3c719..00000000000
--- a/components/tabs/themes/spectrum-two.css
+++ /dev/null
@@ -1,19 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-Tabs {
- --spectrum-tabs-font-weight: var(--spectrum-regular-font-weight);
- --spectrum-tabs-divider-background-color: var(--spectrum-gray-200);
- }
-}
diff --git a/components/tabs/themes/spectrum.css b/components/tabs/themes/spectrum.css
deleted file mode 100644
index 97cb90cac5b..00000000000
--- a/components/tabs/themes/spectrum.css
+++ /dev/null
@@ -1,23 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-Tabs {
- --spectrum-tabs-font-weight: var(--spectrum-regular-font-weight);
- --spectrum-tabs-divider-background-color: var(--spectrum-gray-300);
- }
-}
diff --git a/components/tag/CHANGELOG.md b/components/tag/CHANGELOG.md
index 110b17857a1..d9aef275452 100644
--- a/components/tag/CHANGELOG.md
+++ b/components/tag/CHANGELOG.md
@@ -1,5 +1,13 @@
# Change log
+## 11.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+ - @spectrum-css/clearbutton@8.0.0-next.0
+
## 10.1.0
### Minor Changes
diff --git a/components/tag/dist/metadata.json b/components/tag/dist/metadata.json
index 10a87e4aa2c..58ce63ea185 100644
--- a/components/tag/dist/metadata.json
+++ b/components/tag/dist/metadata.json
@@ -217,12 +217,6 @@
"--spectrum-border-width-100",
"--spectrum-clearbutton-fill-background-color",
"--spectrum-clearbutton-fill-size",
- "--spectrum-component-edge-to-text-100",
- "--spectrum-component-edge-to-text-200",
- "--spectrum-component-edge-to-text-75",
- "--spectrum-component-edge-to-visual-100",
- "--spectrum-component-edge-to-visual-200",
- "--spectrum-component-edge-to-visual-75",
"--spectrum-component-height-100",
"--spectrum-component-height-200",
"--spectrum-component-height-75",
@@ -233,7 +227,6 @@
"--spectrum-component-top-to-workflow-icon-200",
"--spectrum-component-top-to-workflow-icon-75",
"--spectrum-corner-radius-100",
- "--spectrum-disabled-background-color",
"--spectrum-disabled-content-color",
"--spectrum-focus-indicator-color",
"--spectrum-focus-indicator-gap",
@@ -263,10 +256,6 @@
"--spectrum-neutral-background-color-selected-down",
"--spectrum-neutral-background-color-selected-hover",
"--spectrum-neutral-background-color-selected-key-focus",
- "--spectrum-neutral-subdued-background-color-default",
- "--spectrum-neutral-subdued-background-color-down",
- "--spectrum-neutral-subdued-background-color-hover",
- "--spectrum-neutral-subdued-background-color-key-focus",
"--spectrum-neutral-subdued-content-color-default",
"--spectrum-neutral-subdued-content-color-down",
"--spectrum-neutral-subdued-content-color-hover",
@@ -280,39 +269,6 @@
"--spectrum-workflow-icon-size-200",
"--spectrum-workflow-icon-size-75"
],
- "system-theme": [
- "--system-tag-background-color",
- "--system-tag-background-color-active",
- "--system-tag-background-color-disabled",
- "--system-tag-background-color-focus",
- "--system-tag-background-color-hover",
- "--system-tag-border-color",
- "--system-tag-border-color-active",
- "--system-tag-border-color-disabled",
- "--system-tag-border-color-focus",
- "--system-tag-border-color-hover",
- "--system-tag-border-color-selected",
- "--system-tag-border-color-selected-active",
- "--system-tag-border-color-selected-focus",
- "--system-tag-border-color-selected-hover",
- "--system-tag-content-color",
- "--system-tag-content-color-active",
- "--system-tag-content-color-focus",
- "--system-tag-content-color-hover",
- "--system-tag-content-color-selected",
- "--system-tag-size-large-clear-button-spacing-inline-end",
- "--system-tag-size-large-corner-radius",
- "--system-tag-size-large-label-spacing-inline-end",
- "--system-tag-size-large-spacing-inline-start",
- "--system-tag-size-medium-clear-button-spacing-inline-end",
- "--system-tag-size-medium-corner-radius",
- "--system-tag-size-medium-label-spacing-inline-end",
- "--system-tag-size-medium-spacing-inline-start",
- "--system-tag-size-small-clear-button-spacing-inline-end",
- "--system-tag-size-small-corner-radius",
- "--system-tag-size-small-label-spacing-inline-end",
- "--system-tag-size-small-spacing-inline-start"
- ],
"passthroughs": [
"--mod-avatar-opacity-disabled",
"--mod-clear-button-width",
diff --git a/components/tag/index.css b/components/tag/index.css
index 9385b432e60..285a9cabeea 100644
--- a/components/tag/index.css
+++ b/components/tag/index.css
@@ -11,8 +11,6 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
.spectrum-Tag {
/* TODO - replace placeholder disabled avatar opacity with correct token once avatar is migrated */
--spectrum-avatar-opacity-disabled: 0.3;
@@ -20,6 +18,30 @@
--spectrum-tag-animation-duration: var(--spectrum-animation-duration-100);
--spectrum-tag-border-width: var(--spectrum-border-width-100);
+ /* background color */
+ --spectrum-tag-background-color: var(--spectrum-gray-50);
+ --spectrum-tag-background-color-hover: var(--spectrum-gray-50);
+ --spectrum-tag-background-color-active: var(--spectrum-gray-100);
+ --spectrum-tag-background-color-focus: var(--spectrum-gray-50);
+
+ /* border radius */
+ --spectrum-tag-size-small-corner-radius: var(--spectrum-corner-radius-100);
+ --spectrum-tag-size-medium-corner-radius: var(--spectrum-corner-radius-100);
+ --spectrum-tag-size-large-corner-radius: var(--spectrum-corner-radius-100);
+
+ /* border color */
+ --spectrum-tag-border-color: var(--spectrum-gray-700);
+ --spectrum-tag-border-color-hover: var(--spectrum-gray-800);
+ --spectrum-tag-border-color-active: var(--spectrum-gray-900);
+ --spectrum-tag-border-color-focus: var(--spectrum-gray-800);
+
+ /* content color */
+ --spectrum-tag-content-color: var(--spectrum-neutral-subdued-content-color-default);
+ --spectrum-tag-content-color-hover: var(--spectrum-neutral-subdued-content-color-hover);
+ --spectrum-tag-content-color-active: var(--spectrum-neutral-subdued-content-color-down);
+ --spectrum-tag-content-color-focus: var(--spectrum-neutral-subdued-content-color-key-focus);
+ --spectrum-tag-content-color-selected: var(--spectrum-gray-25);
+
/* focus ring */
--spectrum-tag-focus-ring-thickness: var(--spectrum-focus-indicator-thickness);
--spectrum-tag-focus-ring-gap: var(--spectrum-focus-indicator-gap);
@@ -199,10 +221,11 @@
/* clear button */
.spectrum-Tag-clearButton {
- /* width of fill neutralized to ensure correct inline spacing within tag */
+ /* @passthrough start -- width of fill neutralized to ensure correct inline spacing within tag */
--mod-clear-button-width: fit-content;
--spectrum-clearbutton-fill-size: fit-content;
--spectrum-clearbutton-fill-background-color: transparent;
+ /* @passthrough end */
box-sizing: border-box;
diff --git a/components/tag/package.json b/components/tag/package.json
index 838b243cbec..1fbf1c5afdb 100644
--- a/components/tag/package.json
+++ b/components/tag/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/tag",
- "version": "10.1.0",
+ "version": "11.0.0-next.0",
"description": "The Spectrum CSS tags component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -26,8 +26,8 @@
"main": "dist/index.css",
"peerDependencies": {
"@spectrum-css/avatar": ">=9.0.0 <10.0.0",
- "@spectrum-css/clearbutton": ">=7.0.0 <8.0.0",
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
+ "@spectrum-css/clearbutton": ">=8.0.0-next.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -46,8 +46,8 @@
},
"devDependencies": {
"@spectrum-css/avatar": "9.1.0",
- "@spectrum-css/clearbutton": "7.2.0",
- "@spectrum-css/icon": "9.1.0",
+ "@spectrum-css/clearbutton": "8.0.0-next.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/tag/stories/template.js b/components/tag/stories/template.js
index 90c72435bae..ee4b244dd43 100644
--- a/components/tag/stories/template.js
+++ b/components/tag/stories/template.js
@@ -9,9 +9,6 @@ import { styleMap } from "lit/directives/style-map.js";
import { when } from "lit/directives/when.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-Tag",
diff --git a/components/tag/themes/express.css b/components/tag/themes/express.css
deleted file mode 100644
index 7c2c2e67303..00000000000
--- a/components/tag/themes/express.css
+++ /dev/null
@@ -1,64 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
-
-@container style(--system: express) {
- .spectrum-Tag {
- /* border */
- --spectrum-tag-background-color: transparent;
- --spectrum-tag-background-color-hover: var(--spectrum-gray-300);
- --spectrum-tag-background-color-active: var(--spectrum-gray-400);
- --spectrum-tag-background-color-focus: var(--spectrum-gray-300);
-
- /* express has pill style full corner radius */
- --spectrum-tag-size-small-corner-radius: var(--spectrum-component-height-75);
- --spectrum-tag-size-medium-corner-radius: var(--spectrum-component-height-100);
- --spectrum-tag-size-large-corner-radius: var(--spectrum-component-height-200);
-
- /* background */
- --spectrum-tag-border-color: var(--spectrum-gray-300);
- --spectrum-tag-border-color-hover: var(--spectrum-gray-400);
- --spectrum-tag-border-color-active: var(--spectrum-gray-500);
- --spectrum-tag-border-color-focus: var(--spectrum-gray-400);
-
- /* content color */
- --spectrum-tag-content-color: var(--spectrum-neutral-content-color-default);
- --spectrum-tag-content-color-hover: var(--spectrum-neutral-content-color-hover);
- --spectrum-tag-content-color-active: var(--spectrum-neutral-content-color-down);
- --spectrum-tag-content-color-focus: var(--spectrum-neutral-content-color-key-focus);
-
- /* selected */
- --spectrum-tag-border-color-selected: var(--spectrum-neutral-background-color-default);
- --spectrum-tag-border-color-selected-hover: var(--spectrum-neutral-background-color-hover);
- --spectrum-tag-border-color-selected-active: var(--spectrum-neutral-background-color-down);
- --spectrum-tag-border-color-selected-focus: var(--spectrum-neutral-background-color-key-focus);
-
- /* disabled */
- --spectrum-tag-border-color-disabled: var(--spectrum-disabled-border-color);
- --spectrum-tag-background-color-disabled: transparent;
-
- /* tokens based on theme and t-shirt size */
- --spectrum-tag-size-small-spacing-inline-start: var(--spectrum-component-pill-edge-to-visual-75);
- --spectrum-tag-size-small-label-spacing-inline-end: var(--spectrum-component-pill-edge-to-text-75);
- --spectrum-tag-size-small-clear-button-spacing-inline-end: var(--spectrum-component-pill-edge-to-visual-75);
- --spectrum-tag-size-medium-spacing-inline-start: var(--spectrum-component-pill-edge-to-visual-100);
- --spectrum-tag-size-medium-label-spacing-inline-end: var(--spectrum-component-pill-edge-to-text-100);
- --spectrum-tag-size-medium-clear-button-spacing-inline-end: var(--spectrum-component-pill-edge-to-visual-100);
- --spectrum-tag-size-large-spacing-inline-start: var(--spectrum-component-pill-edge-to-visual-200);
- --spectrum-tag-size-large-label-spacing-inline-end: var(--spectrum-component-pill-edge-to-text-200);
- --spectrum-tag-size-large-clear-button-spacing-inline-end: var(--spectrum-component-pill-edge-to-visual-200);
- }
-}
diff --git a/components/tag/themes/spectrum-two.css b/components/tag/themes/spectrum-two.css
deleted file mode 100644
index f9c51730f48..00000000000
--- a/components/tag/themes/spectrum-two.css
+++ /dev/null
@@ -1,56 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-Tag {
- --spectrum-tag-background-color: var(--spectrum-gray-50);
- --spectrum-tag-background-color-hover: var(--spectrum-gray-50);
- --spectrum-tag-background-color-active: var(--spectrum-gray-100);
- --spectrum-tag-background-color-focus: var(--spectrum-gray-50);
-
- --spectrum-tag-size-small-corner-radius: var(--spectrum-corner-radius-100);
- --spectrum-tag-size-medium-corner-radius: var(--spectrum-corner-radius-100);
- --spectrum-tag-size-large-corner-radius: var(--spectrum-corner-radius-100);
-
- --spectrum-tag-border-color: var(--spectrum-gray-700);
- --spectrum-tag-border-color-hover: var(--spectrum-gray-800);
- --spectrum-tag-border-color-active: var(--spectrum-gray-900);
- --spectrum-tag-border-color-focus: var(--spectrum-gray-800);
-
- --spectrum-tag-content-color: var(--spectrum-neutral-subdued-content-color-default);
- --spectrum-tag-content-color-hover: var(--spectrum-neutral-subdued-content-color-hover);
- --spectrum-tag-content-color-active: var(--spectrum-neutral-subdued-content-color-down);
- --spectrum-tag-content-color-focus: var(--spectrum-neutral-subdued-content-color-key-focus);
- --spectrum-tag-content-color-selected: var(--spectrum-gray-25);
-
- --spectrum-tag-border-color-selected: var(--spectrum-neutral-subdued-background-color-default);
- --spectrum-tag-border-color-selected-hover: var(--spectrum-neutral-subdued-background-color-hover);
- --spectrum-tag-border-color-selected-active: var(--spectrum-neutral-subdued-background-color-down);
- --spectrum-tag-border-color-selected-focus: var(--spectrum-neutral-subdued-background-color-key-focus);
-
- /* disabled variant */
- --spectrum-tag-border-color-disabled: transparent;
- --spectrum-tag-background-color-disabled: var(--spectrum-disabled-background-color);
-
- /* tokens based on theme and t-shirt size */
- --spectrum-tag-size-small-spacing-inline-start: var(--spectrum-component-edge-to-visual-75);
- --spectrum-tag-size-small-label-spacing-inline-end: var(--spectrum-component-edge-to-text-75);
- --spectrum-tag-size-small-clear-button-spacing-inline-end: var(--spectrum-component-edge-to-visual-75);
- --spectrum-tag-size-medium-spacing-inline-start: var(--spectrum-component-edge-to-visual-100);
- --spectrum-tag-size-medium-label-spacing-inline-end: var(--spectrum-component-edge-to-text-100);
- --spectrum-tag-size-medium-clear-button-spacing-inline-end: var(--spectrum-component-edge-to-visual-100);
- --spectrum-tag-size-large-spacing-inline-start: var(--spectrum-component-edge-to-visual-200);
- --spectrum-tag-size-large-label-spacing-inline-end: var(--spectrum-component-edge-to-text-200);
- --spectrum-tag-size-large-clear-button-spacing-inline-end: var(--spectrum-component-edge-to-visual-200);
- }
-}
diff --git a/components/tag/themes/spectrum.css b/components/tag/themes/spectrum.css
deleted file mode 100644
index 171968e1f50..00000000000
--- a/components/tag/themes/spectrum.css
+++ /dev/null
@@ -1,27 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-Tag {
- --spectrum-tag-background-color: var(--spectrum-gray-75);
- --spectrum-tag-background-color-hover: var(--spectrum-gray-75);
- --spectrum-tag-background-color-active: var(--spectrum-gray-200);
- --spectrum-tag-background-color-focus: var(--spectrum-gray-75);
-
- --spectrum-tag-content-color-selected: var(--spectrum-gray-50);
- }
-}
diff --git a/components/taggroup/CHANGELOG.md b/components/taggroup/CHANGELOG.md
index 42011c018da..1682f528285 100644
--- a/components/taggroup/CHANGELOG.md
+++ b/components/taggroup/CHANGELOG.md
@@ -1,5 +1,12 @@
# Change log
+## 8.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @spectrum-css/tag@11.0.0-next.0
+
## 7.1.0
### Minor Changes
diff --git a/components/taggroup/dist/metadata.json b/components/taggroup/dist/metadata.json
index 10ed81256ff..b9eeaede1e8 100644
--- a/components/taggroup/dist/metadata.json
+++ b/components/taggroup/dist/metadata.json
@@ -10,7 +10,6 @@
"--spectrum-tag-group-item-margin-inline"
],
"global": ["--spectrum-spacing-75"],
- "system-theme": [],
"passthroughs": [],
"high-contrast": []
}
diff --git a/components/taggroup/package.json b/components/taggroup/package.json
index 1db26f49132..756c6d58c11 100644
--- a/components/taggroup/package.json
+++ b/components/taggroup/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/taggroup",
- "version": "7.1.0",
+ "version": "8.0.0-next.0",
"description": "The Spectrum CSS tag group component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/tag": ">=10.0.0 <11.0.0",
+ "@spectrum-css/tag": ">=11.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -37,7 +37,7 @@
}
},
"devDependencies": {
- "@spectrum-css/tag": "10.1.0",
+ "@spectrum-css/tag": "11.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/textfield/CHANGELOG.md b/components/textfield/CHANGELOG.md
index 699a7e33a21..451fb8aeb03 100644
--- a/components/textfield/CHANGELOG.md
+++ b/components/textfield/CHANGELOG.md
@@ -8,6 +8,13 @@
- Updated border color on keyboard focus state for textfield in spectrum-two theme.
+## 9.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies []:
+ - @spectrum-css/helptext@8.0.0-next.0
+
## 8.1.0
### Minor Changes
diff --git a/components/textfield/dist/metadata.json b/components/textfield/dist/metadata.json
index 7e36cb740e0..ea7001c7db6 100644
--- a/components/textfield/dist/metadata.json
+++ b/components/textfield/dist/metadata.json
@@ -88,9 +88,6 @@
".spectrum-Textfield.is-valid .spectrum-Textfield-validationIcon",
".spectrum-Textfield.spectrum-Textfield--quiet",
".spectrum-Textfield.spectrum-Textfield--sideLabel .spectrum-Textfield-validationIcon",
- ".spectrum-Textfield.spectrum-Textfield--sizeL",
- ".spectrum-Textfield.spectrum-Textfield--sizeS",
- ".spectrum-Textfield.spectrum-Textfield--sizeXL",
".spectrum-Textfield:hover .spectrum-Textfield-input",
".spectrum-Textfield:hover .spectrum-Textfield-input::placeholder"
],
@@ -331,22 +328,6 @@
"--spectrum-workflow-icon-size-300",
"--spectrum-workflow-icon-size-75"
],
- "system-theme": [
- "--system-textfield-background-color",
- "--system-textfield-background-color-disabled",
- "--system-textfield-border-color",
- "--system-textfield-border-color-disabled",
- "--system-textfield-border-color-focus",
- "--system-textfield-border-color-focus-hover",
- "--system-textfield-border-color-hover",
- "--system-textfield-border-color-keyboard-focus",
- "--system-textfield-border-width",
- "--system-textfield-icon-spacing-block-invalid",
- "--system-textfield-quiet-border-color-disabled",
- "--system-textfield-size-l-icon-spacing-block-invalid",
- "--system-textfield-size-s-icon-spacing-block-invalid",
- "--system-textfield-size-xl-icon-spacing-block-invalid"
- ],
"passthroughs": [],
"high-contrast": [
"--highcontrast-textfield-border-color",
diff --git a/components/textfield/index.css b/components/textfield/index.css
index 329672d06a4..6a382d1804c 100644
--- a/components/textfield/index.css
+++ b/components/textfield/index.css
@@ -11,9 +11,19 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
.spectrum-Textfield {
+ --spectrum-textfield-border-color: var(--spectrum-gray-500);
+ --spectrum-textfield-border-color-hover: var(--spectrum-gray-600);
+ --spectrum-textfield-border-color-focus: var(--spectrum-gray-800);
+ --spectrum-textfield-border-color-focus-hover: var(--spectrum-gray-900);
+ --spectrum-textfield-border-color-keyboard-focus: var(--spectrum-gray-800);
+
+ --spectrum-textfield-border-width: var(--spectrum-border-width-100);
+
+ --spectrum-textfield-background-color: var(--mod-textfield-background-color, var(--spectrum-gray-25));
+ --spectrum-textfield-background-color-disabled: var(--mod-textfield-background-color-disabled, var(--spectrum-gray-25));
+ --spectrum-textfield-border-color-disabled: var(--mod-textfield-border-color-disabled, var(--spectrum-gray-300));
+
/* set input line-height to the height of the textfield - prevents the cutting off of diacritics in some languages */
/* disallow mod for max compatibility */
--spectrum-textfield-input-line-height: var(--spectrum-textfield-height);
@@ -100,6 +110,7 @@
--spectrum-textfield-icon-spacing-inline-end-invalid: var(--spectrum-field-edge-to-alert-icon-medium);
--spectrum-textfield-icon-spacing-inline-end-valid: var(--spectrum-field-edge-to-validation-icon-medium);
--spectrum-textfield-icon-spacing-block-valid: var(--spectrum-field-top-to-validation-icon-medium);
+ --spectrum-textfield-icon-spacing-block-invalid: var(--spectrum-component-top-to-workflow-icon-100);
--spectrum-textfield-icon-spacing-inline-start-invalid: var(--spectrum-field-text-to-alert-icon-medium);
--spectrum-textfield-icon-spacing-inline-start-valid: var(--spectrum-field-text-to-validation-icon-medium);
--spectrum-textfield-character-count-font-size: var(--spectrum-font-size-75);
@@ -109,6 +120,10 @@
/* Text Area / Multiline size medium */
--spectrum-text-area-min-block-size-quiet: var(--spectrum-component-height-100);
+
+ &.spectrum-Textfield--quiet {
+ --spectrum-textfield-border-color-disabled: var(--spectrum-gray-300);
+ }
}
/********* Text field t-shirt sizes *********/
@@ -123,6 +138,7 @@
--spectrum-textfield-icon-spacing-inline-end-invalid: var(--spectrum-field-edge-to-alert-icon-small);
--spectrum-textfield-icon-spacing-inline-end-valid: var(--spectrum-field-edge-to-validation-icon-small);
--spectrum-textfield-icon-spacing-block-valid: var(--spectrum-field-top-to-validation-icon-small);
+ --spectrum-textfield-icon-spacing-block-invalid: var(--spectrum-component-top-to-workflow-icon-75);
--spectrum-textfield-icon-spacing-inline-start-invalid: var(--spectrum-field-text-to-alert-icon-small);
--spectrum-textfield-icon-spacing-inline-start-valid: var(--spectrum-field-text-to-validation-icon-small);
--spectrum-textfield-character-count-font-size: var(--spectrum-font-size-75);
@@ -145,6 +161,7 @@
--spectrum-textfield-icon-spacing-inline-end-invalid: var(--spectrum-field-edge-to-alert-icon-large);
--spectrum-textfield-icon-spacing-inline-end-valid: var(--spectrum-field-edge-to-validation-icon-large);
--spectrum-textfield-icon-spacing-block-valid: var(--spectrum-field-top-to-validation-icon-large);
+ --spectrum-textfield-icon-spacing-block-invalid: var(--spectrum-component-top-to-workflow-icon-200);
--spectrum-textfield-icon-spacing-inline-start-invalid: var(--spectrum-field-text-to-alert-icon-large);
--spectrum-textfield-icon-spacing-inline-start-valid: var(--spectrum-field-text-to-validation-icon-large);
--spectrum-textfield-character-count-font-size: var(--spectrum-font-size-100);
@@ -167,6 +184,7 @@
--spectrum-textfield-icon-spacing-inline-end-invalid: var(--spectrum-field-edge-to-alert-icon-extra-large);
--spectrum-textfield-icon-spacing-inline-end-valid: var(--spectrum-field-edge-to-validation-icon-extra-large);
--spectrum-textfield-icon-spacing-block-valid: var(--spectrum-field-top-to-validation-icon-extra-large);
+ --spectrum-textfield-icon-spacing-block-invalid: var(--spectrum-component-top-to-workflow-icon-300);
--spectrum-textfield-icon-spacing-inline-start-invalid: var(--spectrum-field-text-to-alert-icon-extra-large);
--spectrum-textfield-icon-spacing-inline-start-valid: var(--spectrum-field-text-to-validation-icon-extra-large);
--spectrum-textfield-character-count-font-size: var(--spectrum-font-size-200);
@@ -314,7 +332,7 @@
vertical-align: top; /* used to align them correctly in forms. */
outline: none;
- background-color: var(--mod-textfield-background-color, var(--spectrum-textfield-background-color));
+ background-color: var(--spectrum-textfield-background-color);
border-width: var(--mod-textfield-border-width, var(--spectrum-textfield-border-width));
border-style: solid;
border-color: var(--highcontrast-textfield-border-color, var(--mod-textfield-border-color, var(--spectrum-textfield-border-color)));
@@ -461,8 +479,8 @@
.spectrum-Textfield.is-disabled &,
.spectrum-Textfield.is-disabled:hover &,
&:disabled {
- background-color: var(--mod-textfield-background-color-disabled, var(--spectrum-textfield-background-color-disabled));
- border-color: var(--mod-textfield-border-color-disabled, var(--spectrum-textfield-border-color-disabled));
+ background-color: var(--spectrum-textfield-background-color-disabled);
+ border-color: var(--spectrum-textfield-border-color-disabled);
color: var(--highcontrast-textfield-text-color-disabled, var(--mod-textfield-text-color-disabled, var(--spectrum-textfield-text-color-disabled)));
/* Disable the resize functionality when disabled */
@@ -498,7 +516,7 @@
.spectrum-Textfield--quiet.is-disabled:hover &,
&:disabled {
background-color: transparent;
- border-color: var(--mod-textfield-border-color-disabled, var(--spectrum-textfield-border-color-disabled));
+ border-color: var(--spectrum-textfield-border-color-disabled);
color: var(--highcontrast-textfield-text-color-disabled, var(--mod-textfield-text-color-disabled, var(--spectrum-textfield-text-color-disabled)));
&::placeholder {
diff --git a/components/textfield/package.json b/components/textfield/package.json
index 97a92cfdadf..76834d6a43a 100644
--- a/components/textfield/package.json
+++ b/components/textfield/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/textfield",
- "version": "8.1.1",
+ "version": "9.0.0-next.0",
"description": "The Spectrum CSS textfield component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/helptext": ">=7.0.0 <8.0.0",
+ "@spectrum-css/helptext": ">=8.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -37,7 +37,7 @@
}
},
"devDependencies": {
- "@spectrum-css/helptext": "7.1.0",
+ "@spectrum-css/helptext": "8.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/textfield/stories/template.js b/components/textfield/stories/template.js
index 5f20b0abb86..e255eeae0ee 100644
--- a/components/textfield/stories/template.js
+++ b/components/textfield/stories/template.js
@@ -1,8 +1,8 @@
import { Template as FieldLabel } from "@spectrum-css/fieldlabel/stories/template.js";
import { Template as HelpText } from "@spectrum-css/helptext/stories/template.js";
import { Template as Icon } from "@spectrum-css/icon/stories/template.js";
+import { Template as InfieldProgressCircle } from "@spectrum-css/infieldprogresscircle/stories/template.js";
import { Container, getRandomId } from "@spectrum-css/preview/decorators";
-import { Template as ProgressCircle } from "@spectrum-css/progresscircle/stories/template.js";
import { html } from "lit";
import { classMap } from "lit/directives/class-map.js";
import { ifDefined } from "lit/directives/if-defined.js";
@@ -10,9 +10,6 @@ import { styleMap } from "lit/directives/style-map.js";
import { when } from "lit/directives/when.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
/**
* @typedef API
@@ -21,7 +18,7 @@ import "../themes/express.css";
* @property {string[]} [customClasses=[]]
* @property {string[]} [customInputClasses=[]]
* @property {string[]} [customIconClasses=[]]
- * @property {string[]} [customProgressCircleClasses=[]]
+ * @property {string[]} [customInfieldProgressCircleClasses=[]]
* @property {Record} [customStyles={}]
* @property {boolean} [isInvalid=false]
* @property {boolean} [isValid=false]
@@ -61,7 +58,7 @@ export const Template = ({
customClasses = [],
customInputClasses = [],
customIconClasses = [],
- customProgressCircleClasses = [],
+ customInfieldProgressCircleClasses = [],
isInvalid = false,
isValid = false,
multiline = false,
@@ -78,7 +75,7 @@ export const Template = ({
labelText,
characterCount,
iconName,
- iconSet,
+ iconSet = "workflow",
pattern,
placeholder,
name,
@@ -199,10 +196,10 @@ export const Template = ({
})}
/>`
)}
- ${when(isLoading, () => ProgressCircle({
+ ${when(isLoading, () => InfieldProgressCircle({
isIndeterminate: true,
- size: "s",
- customClasses: customProgressCircleClasses,
+ size: size,
+ customClasses: customInfieldProgressCircleClasses,
}, context))}
${when(helpText, () =>
HelpText({
diff --git a/components/textfield/themes/express.css b/components/textfield/themes/express.css
deleted file mode 100644
index 31de0c5779a..00000000000
--- a/components/textfield/themes/express.css
+++ /dev/null
@@ -1,28 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
-
-@container style(--system: express) {
- .spectrum-Textfield {
- --spectrum-textfield-border-color: var(--spectrum-gray-400);
- --spectrum-textfield-border-color-hover: var(--spectrum-gray-500);
- --spectrum-textfield-border-color-focus: var(--spectrum-gray-800);
- --spectrum-textfield-border-color-focus-hover: var(--spectrum-gray-900);
- --spectrum-textfield-border-color-keyboard-focus: var(--spectrum-gray-900);
-
- --spectrum-textfield-border-width: var(--spectrum-border-width-200);
- }
-}
diff --git a/components/textfield/themes/spectrum-two.css b/components/textfield/themes/spectrum-two.css
deleted file mode 100644
index 9d0f61284f3..00000000000
--- a/components/textfield/themes/spectrum-two.css
+++ /dev/null
@@ -1,46 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-Textfield {
- --spectrum-textfield-background-color: var(--spectrum-gray-25);
- --spectrum-textfield-background-color-disabled: var(--spectrum-gray-25);
-
- --spectrum-textfield-border-color: var(--spectrum-gray-500);
- --spectrum-textfield-border-color-hover: var(--spectrum-gray-600);
- --spectrum-textfield-border-color-focus: var(--spectrum-gray-800);
- --spectrum-textfield-border-color-focus-hover: var(--spectrum-gray-900);
- --spectrum-textfield-border-color-keyboard-focus: var(--spectrum-gray-800);
- --spectrum-textfield-border-color-disabled: var(--spectrum-gray-300);
-
- --spectrum-textfield-border-width: var(--spectrum-border-width-100);
-
- --spectrum-textfield-icon-spacing-block-invalid: var(--spectrum-component-top-to-workflow-icon-100);
-
- &.spectrum-Textfield--sizeS {
- --spectrum-textfield-icon-spacing-block-invalid: var(--spectrum-component-top-to-workflow-icon-75);
- }
-
- &.spectrum-Textfield--sizeL {
- --spectrum-textfield-icon-spacing-block-invalid: var(--spectrum-component-top-to-workflow-icon-200);
- }
-
- &.spectrum-Textfield--sizeXL {
- --spectrum-textfield-icon-spacing-block-invalid: var(--spectrum-component-top-to-workflow-icon-300);
- }
-
- &.spectrum-Textfield--quiet {
- --spectrum-textfield-border-color-disabled: var(--spectrum-gray-300);
- }
- }
-}
diff --git a/components/textfield/themes/spectrum.css b/components/textfield/themes/spectrum.css
deleted file mode 100644
index 1a097e31eac..00000000000
--- a/components/textfield/themes/spectrum.css
+++ /dev/null
@@ -1,45 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-Textfield {
- --spectrum-textfield-background-color: var(--spectrum-gray-50);
- --spectrum-textfield-background-color-disabled: var(--spectrum-disabled-background-color);
-
- --spectrum-textfield-border-color-disabled: var(--spectrum-gray-200);
-
- --spectrum-textfield-border-color-keyboard-focus: var(--spectrum-gray-900);
-
- --spectrum-textfield-icon-spacing-block-invalid: var(--spectrum-field-top-to-alert-icon-medium);
-
- &.spectrum-Textfield--sizeS {
- --spectrum-textfield-icon-spacing-block-invalid: var(--spectrum-field-top-to-alert-icon-small);
- }
-
- &.spectrum-Textfield--sizeL {
- --spectrum-textfield-icon-spacing-block-invalid: var(--spectrum-field-top-to-alert-icon-large);
- }
-
- &.spectrum-Textfield--sizeXL {
- --spectrum-textfield-icon-spacing-block-invalid: var(--spectrum-field-top-to-alert-icon-extra-large);
- }
-
- &.spectrum-Textfield--quiet {
- --spectrum-textfield-border-color-disabled: var(--spectrum-gray-300);
- }
- }
-}
diff --git a/components/thumbnail/dist/metadata.json b/components/thumbnail/dist/metadata.json
index 067259ff6a1..2a5fa051ef2 100644
--- a/components/thumbnail/dist/metadata.json
+++ b/components/thumbnail/dist/metadata.json
@@ -49,10 +49,10 @@
"--spectrum-thumbnail-border-color-selected",
"--spectrum-thumbnail-border-opacity",
"--spectrum-thumbnail-border-radius",
- "--spectrum-thumbnail-border-radius-default",
"--spectrum-thumbnail-border-width",
"--spectrum-thumbnail-border-width-selected",
"--spectrum-thumbnail-color-opacity-disabled",
+ "--spectrum-thumbnail-corner-radius",
"--spectrum-thumbnail-focus-indicator-color",
"--spectrum-thumbnail-focus-indicator-gap",
"--spectrum-thumbnail-focus-indicator-thickness",
@@ -60,6 +60,7 @@
"--spectrum-thumbnail-layer-border-color-outer",
"--spectrum-thumbnail-layer-border-width-inner",
"--spectrum-thumbnail-layer-border-width-outer",
+ "--spectrum-thumbnail-opacity-checkerboard-square-size",
"--spectrum-thumbnail-opacity-disabled",
"--spectrum-thumbnail-size",
"--spectrum-thumbnail-size-100",
@@ -73,8 +74,7 @@
"--spectrum-thumbnail-size-700",
"--spectrum-thumbnail-size-75",
"--spectrum-thumbnail-size-800",
- "--spectrum-thumbnail-size-900",
- "--spectrum-thumbnail-sized-size"
+ "--spectrum-thumbnail-size-900"
],
"global": [
"--spectrum-accent-color-800",
@@ -88,8 +88,7 @@
"--spectrum-gray-800-rgb",
"--spectrum-white"
],
- "system-theme": ["--system-thumbnail-border-radius"],
- "passthroughs": [],
+ "passthroughs": ["--mod-opacity-checkerboard-size"],
"high-contrast": [
"--highcontrast-thumbnail-border-color",
"--highcontrast-thumbnail-border-color-selected",
diff --git a/components/thumbnail/index.css b/components/thumbnail/index.css
index 62e44665518..3f2ab89f941 100644
--- a/components/thumbnail/index.css
+++ b/components/thumbnail/index.css
@@ -11,76 +11,81 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
+.spectrum-Thumbnail {
+ --spectrum-thumbnail-size: var(--spectrum-thumbnail-size-500);
-.spectrum-Thumbnail,
-.spectrum-Thumbnail--size500 {
- --spectrum-thumbnail-sized-size: var(--spectrum-thumbnail-size-500);
+ --spectrum-thumbnail-border-radius: var(--spectrum-thumbnail-corner-radius);
+ --spectrum-thumbnail-border-width: var(--spectrum-border-width-100);
+
+ /* @todo Refactor with --spectrum-thumbnail-border-color once gray rgb token is no longer necessary to workaround nested rgb color token value using rgba(). */
+ --spectrum-thumbnail-border-color: rgba(var(--spectrum-gray-800-rgb), var(--spectrum-thumbnail-border-opacity));
+ --spectrum-thumbnail-layer-border-width-inner: var(--spectrum-border-width-400);
+ --spectrum-thumbnail-layer-border-color-inner: var(--spectrum-white);
+ --spectrum-thumbnail-layer-border-width-outer: var(--spectrum-border-width-100);
+ --spectrum-thumbnail-layer-border-color-outer: var(--spectrum-gray-500);
+
+ --spectrum-thumbnail-border-width-selected: var(--spectrum-border-width-200);
+ --spectrum-thumbnail-border-color-selected: var(--spectrum-accent-color-800);
+
+ --spectrum-thumbnail-focus-indicator-thickness: var(--spectrum-focus-indicator-thickness);
+ --spectrum-thumbnail-focus-indicator-gap: var(--spectrum-focus-indicator-gap);
+ --spectrum-thumbnail-focus-indicator-color: var(--spectrum-focus-indicator-color);
+
+ --spectrum-thumbnail-color-opacity-disabled: var(--spectrum-thumbnail-opacity-disabled);
+
+ /* @passthrough -- custom sizing for opacity checkerboard */
+ --mod-opacity-checkerboard-size: var(--spectrum-thumbnail-opacity-checkerboard-square-size);
}
.spectrum-Thumbnail--size50 {
- --spectrum-thumbnail-sized-size: var(--spectrum-thumbnail-size-50);
+ --spectrum-thumbnail-size: var(--spectrum-thumbnail-size-50);
}
.spectrum-Thumbnail--size75 {
- --spectrum-thumbnail-sized-size: var(--spectrum-thumbnail-size-75);
+ --spectrum-thumbnail-size: var(--spectrum-thumbnail-size-75);
}
.spectrum-Thumbnail--size100 {
- --spectrum-thumbnail-sized-size: var(--spectrum-thumbnail-size-100);
+ --spectrum-thumbnail-size: var(--spectrum-thumbnail-size-100);
}
.spectrum-Thumbnail--size200 {
- --spectrum-thumbnail-sized-size: var(--spectrum-thumbnail-size-200);
+ --spectrum-thumbnail-size: var(--spectrum-thumbnail-size-200);
}
.spectrum-Thumbnail--size300 {
- --spectrum-thumbnail-sized-size: var(--spectrum-thumbnail-size-300);
+ --spectrum-thumbnail-size: var(--spectrum-thumbnail-size-300);
}
.spectrum-Thumbnail--size400 {
- --spectrum-thumbnail-sized-size: var(--spectrum-thumbnail-size-400);
+ --spectrum-thumbnail-size: var(--spectrum-thumbnail-size-400);
+}
+
+.spectrum-Thumbnail--size500 {
+ --spectrum-thumbnail-size: var(--spectrum-thumbnail-size-500);
}
.spectrum-Thumbnail--size600 {
- --spectrum-thumbnail-sized-size: var(--spectrum-thumbnail-size-600);
+ --spectrum-thumbnail-size: var(--spectrum-thumbnail-size-600);
}
.spectrum-Thumbnail--size700 {
- --spectrum-thumbnail-sized-size: var(--spectrum-thumbnail-size-700);
+ --spectrum-thumbnail-size: var(--spectrum-thumbnail-size-700);
}
.spectrum-Thumbnail--size800 {
- --spectrum-thumbnail-sized-size: var(--spectrum-thumbnail-size-800);
+ --spectrum-thumbnail-size: var(--spectrum-thumbnail-size-800);
}
.spectrum-Thumbnail--size900 {
- --spectrum-thumbnail-sized-size: var(--spectrum-thumbnail-size-900);
+ --spectrum-thumbnail-size: var(--spectrum-thumbnail-size-900);
}
.spectrum-Thumbnail--size1000 {
- --spectrum-thumbnail-sized-size: var(--spectrum-thumbnail-size-1000);
+ --spectrum-thumbnail-size: var(--spectrum-thumbnail-size-1000);
}
.spectrum-Thumbnail {
- --spectrum-thumbnail-size: var(--mod-thumbnail-size, var(--spectrum-thumbnail-sized-size));
-
- /* @todo Refactor with --spectrum-thumbnail-border-color once gray rgb token is no longer necessary to workaround nested rgb color token value using rgba(). */
- --spectrum-thumbnail-border-color: var(--highcontrast-thumbnail-border-color, var(--mod-thumbnail-border-color, rgba(var(--spectrum-gray-800-rgb), var(--spectrum-thumbnail-border-opacity))));
- --spectrum-thumbnail-border-color-selected: var(--highcontrast-thumbnail-border-color-selected, var(--mod-thumbnail-border-color-selected, var(--spectrum-accent-color-800)));
- --spectrum-thumbnail-border-width: var(--mod-thumbnail-border-width, var(--spectrum-border-width-100));
- --spectrum-thumbnail-border-width-selected: var(--mod-thumbnail-border-width-selected, var(--spectrum-border-width-200));
- --spectrum-thumbnail-border-radius-default: var(--mod-thumbnail-border-radius, var(--spectrum-thumbnail-border-radius));
-
- --spectrum-thumbnail-layer-border-color-inner: var(--highcontrast-thumbnail-layer-border-color-inner, var(--mod-thumbnail-layer-border-color-inner, var(--spectrum-white)));
- --spectrum-thumbnail-layer-border-color-outer: var(--highcontrast-thumbnail-layer-border-color-outer, var(--mod-thumbnail-layer-border-color-outer, var(--spectrum-gray-500)));
- --spectrum-thumbnail-layer-border-width-inner: var(--mod-thumbnail-layer-border-width-inner, var(--spectrum-border-width-400));
- --spectrum-thumbnail-layer-border-width-outer: var(--mod-thumbnail-layer-border-width-outer, var(--spectrum-border-width-100));
-
- --spectrum-thumbnail-focus-indicator-thickness: var(--mod-thumbnail-focus-indicator-thickness, var(--spectrum-focus-indicator-thickness));
- --spectrum-thumbnail-focus-indicator-gap: var(--mod-thumbnail-focus-indicator-gap, var(--spectrum-focus-indicator-gap));
- --spectrum-thumbnail-focus-indicator-color: var(--highcontrast-thumbnail-focus-indicator-color, var(--mod-thumbnail-focus-indicator-color, var(--spectrum-focus-indicator-color)));
-
--spectrum-thumbnail-color-opacity-disabled: var(--spectrum-thumbnail-opacity-disabled);
position: relative;
@@ -88,11 +93,13 @@
padding: 0;
display: block;
- inline-size: var(--spectrum-thumbnail-size);
- block-size: var(--spectrum-thumbnail-size);
+ inline-size: var(--mod-thumbnail-size, var(--spectrum-thumbnail-size));
+ block-size: var(--mod-thumbnail-size, var(--spectrum-thumbnail-size));
- border-radius: var(--spectrum-thumbnail-border-radius-default);
+ border-radius: var(--mod-thumbnail-border-radius, var(--spectrum-thumbnail-border-radius));
+ /* Friends should align to the top of the tabs */
+ vertical-align: top;
overflow: hidden;
z-index: 0;
@@ -102,8 +109,8 @@
position: absolute;
inline-size: 100%;
block-size: 100%;
- border-radius: var(--spectrum-thumbnail-border-radius-default);
- box-shadow: inset 0 0 0 var(--spectrum-thumbnail-border-width) var(--spectrum-thumbnail-border-color);
+ border-radius: var(--mod-thumbnail-border-radius, var(--spectrum-thumbnail-border-radius));
+ box-shadow: inset 0 0 0 var(--mod-thumbnail-border-width, var(--spectrum-thumbnail-border-width)) var(--highcontrast-thumbnail-border-color, var(--mod-thumbnail-border-color, var(--spectrum-thumbnail-border-color)));
}
&.is-disabled {
@@ -116,27 +123,24 @@
&::after {
content: "";
border-style: solid;
- border-width: var(--spectrum-thumbnail-focus-indicator-thickness);
- border-color: var(--spectrum-thumbnail-focus-indicator-color);
- border-radius: var(--spectrum-thumbnail-border-radius-default);
+ border-width: var(--mod-thumbnail-focus-indicator-thickness, var(--spectrum-thumbnail-focus-indicator-thickness));
+ border-color: var(--highcontrast-thumbnail-focus-indicator-color, var(--mod-thumbnail-focus-indicator-color, var(--spectrum-thumbnail-focus-indicator-color)));
+ border-radius: var(--mod-thumbnail-border-radius, var(--spectrum-thumbnail-border-radius));
position: absolute;
- inset-inline-start: calc((var(--spectrum-thumbnail-focus-indicator-gap) + var(--spectrum-thumbnail-focus-indicator-thickness)) * -1);
- inset-inline-end: calc((var(--spectrum-thumbnail-focus-indicator-gap) + var(--spectrum-thumbnail-focus-indicator-thickness)) * -1);
- inset-block-end: calc((var(--spectrum-thumbnail-focus-indicator-gap) + var(--spectrum-thumbnail-focus-indicator-thickness)) * -1);
- inset-block-start: calc((var(--spectrum-thumbnail-focus-indicator-gap) + var(--spectrum-thumbnail-focus-indicator-thickness)) * -1);
+ inset: calc((var(--mod-thumbnail-focus-indicator-gap, var(--spectrum-thumbnail-focus-indicator-gap)) + var(--mod-thumbnail-focus-indicator-thickness, var(--spectrum-thumbnail-focus-indicator-thickness))) * -1);
}
.spectrum-Thumbnail-image-wrapper {
overflow: hidden;
- border-radius: var(--spectrum-thumbnail-border-radius-default);
+ border-radius: var(--mod-thumbnail-border-radius, var(--spectrum-thumbnail-border-radius));
}
}
}
.spectrum-Thumbnail-layer {
border-style: solid;
- border-width: var(--spectrum-thumbnail-layer-border-width-outer);
- border-color: var(--spectrum-thumbnail-layer-border-color-outer);
+ border-width: var(--mod-thumbnail-layer-border-width-outer, var(--spectrum-thumbnail-layer-border-width-outer));
+ border-color: var(--highcontrast-thumbnail-layer-border-color-outer, var(--mod-thumbnail-layer-border-color-outer, var(--spectrum-thumbnail-layer-border-color-outer)));
box-sizing: border-box;
display: flex;
@@ -149,9 +153,9 @@
&.is-selected {
outline-style: solid;
- outline-color: var(--spectrum-thumbnail-border-color-selected);
- outline-width: var(--spectrum-thumbnail-border-width-selected);
- outline-offset: calc(var(--spectrum-thumbnail-border-width-selected) - var(--spectrum-thumbnail-layer-border-width-inner));
+ outline-color: var(--highcontrast-thumbnail-border-color-selected, var(--mod-thumbnail-border-color-selected, var(--spectrum-thumbnail-border-color-selected)));
+ outline-width: var(--mod-thumbnail-border-width-selected, var(--spectrum-thumbnail-border-width-selected));
+ outline-offset: calc(var(--mod-thumbnail-border-width-selected, var(--spectrum-thumbnail-border-width-selected)) - var(--mod-thumbnail-layer-border-width-inner, var(--spectrum-thumbnail-layer-border-width-inner)));
}
}
@@ -160,11 +164,11 @@
align-items: center;
justify-content: center;
- inline-size: calc(var(--spectrum-thumbnail-size) - var(--spectrum-thumbnail-layer-border-width-inner) * 2);
- block-size: calc(var(--spectrum-thumbnail-size) - var(--spectrum-thumbnail-layer-border-width-inner) * 2);
+ inline-size: calc(var(--spectrum-thumbnail-size) - ((var(--mod-thumbnail-layer-border-width-inner, var(--spectrum-thumbnail-layer-border-width-inner)))) * 2);
+ block-size: calc(var(--spectrum-thumbnail-size) - ((var(--mod-thumbnail-layer-border-width-inner, var(--spectrum-thumbnail-layer-border-width-inner)))) * 2);
outline-style: solid;
- outline-color: var(--spectrum-thumbnail-layer-border-color-inner);
- outline-width: calc(var(--spectrum-thumbnail-layer-border-width-inner) - var(--spectrum-thumbnail-layer-border-width-outer));
+ outline-color: var(--highcontrast-thumbnail-layer-border-color-inner, var(--mod-thumbnail-layer-border-color-inner, var(--spectrum-thumbnail-layer-border-color-inner)));
+ outline-width: calc(var(--mod-thumbnail-layer-border-width-inner, var(--spectrum-thumbnail-layer-border-width-inner)) - var(--mod-thumbnail-layer-border-width-outer, var(--spectrum-thumbnail-layer-border-width-outer)));
}
.spectrum-Thumbnail-image-wrapper {
@@ -177,8 +181,8 @@
.spectrum-Thumbnail-image {
position: relative;
- max-inline-size: 100%;
max-block-size: 100%;
+ max-inline-size: 100%;
z-index: 1;
}
@@ -202,7 +206,7 @@
inline-size: 100%;
background-size: cover;
background-position: center center;
- border-radius: var(--spectrum-thumbnail-border-radius-default);
+ border-radius: var(--mod-thumbnail-border-radius, var(--spectrum-thumbnail-border-radius));
}
/* Windows High Contrast Mode */
diff --git a/components/thumbnail/stories/template.js b/components/thumbnail/stories/template.js
index aa476ea722b..2b40d8e1015 100644
--- a/components/thumbnail/stories/template.js
+++ b/components/thumbnail/stories/template.js
@@ -7,9 +7,6 @@ import { styleMap } from "lit/directives/style-map.js";
import { when } from "lit/directives/when.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-Thumbnail",
diff --git a/components/thumbnail/stories/thumbnail.stories.js b/components/thumbnail/stories/thumbnail.stories.js
index cf32fab1dbb..aea3b4ece7d 100644
--- a/components/thumbnail/stories/thumbnail.stories.js
+++ b/components/thumbnail/stories/thumbnail.stories.js
@@ -95,6 +95,7 @@ export default {
packageJson,
metadata,
},
+ tags: ["migrated"],
};
// @todo combine variants into one snapshot
diff --git a/components/thumbnail/themes/express.css b/components/thumbnail/themes/express.css
deleted file mode 100644
index 9fd550418f2..00000000000
--- a/components/thumbnail/themes/express.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
diff --git a/components/thumbnail/themes/spectrum-two.css b/components/thumbnail/themes/spectrum-two.css
deleted file mode 100644
index 4cd647afd85..00000000000
--- a/components/thumbnail/themes/spectrum-two.css
+++ /dev/null
@@ -1,18 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-Thumbnail {
- --spectrum-thumbnail-border-radius: 2px;
- }
-}
diff --git a/components/thumbnail/themes/spectrum.css b/components/thumbnail/themes/spectrum.css
deleted file mode 100644
index b1abf324653..00000000000
--- a/components/thumbnail/themes/spectrum.css
+++ /dev/null
@@ -1,22 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-Thumbnail {
- --spectrum-thumbnail-border-radius: var(--spectrum-corner-radius-75);
- }
-}
diff --git a/components/toast/CHANGELOG.md b/components/toast/CHANGELOG.md
index 7b5fa2d863b..c77f3aea285 100644
--- a/components/toast/CHANGELOG.md
+++ b/components/toast/CHANGELOG.md
@@ -1,5 +1,14 @@
# Change log
+## 12.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+ - @spectrum-css/button@15.0.0-next.0
+ - @spectrum-css/closebutton@7.0.0-next.0
+
## 11.1.0
### Minor Changes
diff --git a/components/toast/dist/metadata.json b/components/toast/dist/metadata.json
index 8721a98ef8a..853a11f961a 100644
--- a/components/toast/dist/metadata.json
+++ b/components/toast/dist/metadata.json
@@ -99,10 +99,6 @@
"--spectrum-transparent-white-400",
"--spectrum-white"
],
- "system-theme": [
- "--system-toast-background-color-default",
- "--system-toast-divider-color"
- ],
"passthroughs": [],
"high-contrast": ["--highcontrast-toast-border-color"]
}
diff --git a/components/toast/index.css b/components/toast/index.css
index 8b3793de9af..b8156dc08b9 100644
--- a/components/toast/index.css
+++ b/components/toast/index.css
@@ -11,9 +11,10 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
.spectrum-Toast {
+ --spectrum-toast-background-color-default: var(--spectrum-neutral-subdued-background-color-default);
+ --spectrum-toast-divider-color: var(--spectrum-transparent-white-400);
+
/* Hardcoded variables */
--spectrum-toast-font-weight: var(--spectrum-regular-font-weight);
diff --git a/components/toast/package.json b/components/toast/package.json
index 3494679f390..b6c13cf0776 100644
--- a/components/toast/package.json
+++ b/components/toast/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/toast",
- "version": "11.1.0",
+ "version": "12.0.0-next.0",
"description": "The Spectrum CSS toast component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,9 +25,9 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/button": ">=14.0.0 <15.0.0",
- "@spectrum-css/closebutton": ">=6.0.0 <7.0.0",
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
+ "@spectrum-css/button": ">=15.0.0-next.0",
+ "@spectrum-css/closebutton": ">=7.0.0-next.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -45,9 +45,9 @@
}
},
"devDependencies": {
- "@spectrum-css/button": "14.1.3",
- "@spectrum-css/closebutton": "6.1.0",
- "@spectrum-css/icon": "9.1.0",
+ "@spectrum-css/button": "15.0.0-next.0",
+ "@spectrum-css/closebutton": "7.0.0-next.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/toast/stories/template.js b/components/toast/stories/template.js
index 89d459dbf0a..6bf43215408 100644
--- a/components/toast/stories/template.js
+++ b/components/toast/stories/template.js
@@ -9,9 +9,6 @@ import { styleMap } from "lit/directives/style-map.js";
import { when } from "lit/directives/when.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-Toast",
diff --git a/components/toast/themes/express.css b/components/toast/themes/express.css
deleted file mode 100644
index 2de113b03ed..00000000000
--- a/components/toast/themes/express.css
+++ /dev/null
@@ -1,22 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
-
-@container style(--system: express) {
- .spectrum-Toast {
- --spectrum-toast-background-color-default: var(--spectrum-neutral-background-color-default);
- }
-}
diff --git a/components/toast/themes/spectrum-two.css b/components/toast/themes/spectrum-two.css
deleted file mode 100644
index 1097d457299..00000000000
--- a/components/toast/themes/spectrum-two.css
+++ /dev/null
@@ -1,19 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-Toast {
- --spectrum-toast-background-color-default: var(--spectrum-neutral-subdued-background-color-default);
- --spectrum-toast-divider-color: var(--spectrum-transparent-white-400);
- }
-}
diff --git a/components/toast/themes/spectrum.css b/components/toast/themes/spectrum.css
deleted file mode 100644
index 3f6e05c5d78..00000000000
--- a/components/toast/themes/spectrum.css
+++ /dev/null
@@ -1,22 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-Toast {
- --spectrum-toast-divider-color: var(--spectrum-transparent-white-300);
- }
-}
diff --git a/components/tooltip/CHANGELOG.md b/components/tooltip/CHANGELOG.md
index 6a20990e026..c7088f007b8 100644
--- a/components/tooltip/CHANGELOG.md
+++ b/components/tooltip/CHANGELOG.md
@@ -1,5 +1,12 @@
# Change log
+## 8.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+
## 7.1.0
### Minor Changes
diff --git a/components/tooltip/dist/metadata.json b/components/tooltip/dist/metadata.json
index 7f6d6d0b94d..008df5e0cbe 100644
--- a/components/tooltip/dist/metadata.json
+++ b/components/tooltip/dist/metadata.json
@@ -35,8 +35,6 @@
".spectrum-Tooltip--end-top.is-open:dir(rtl)",
".spectrum-Tooltip--end.is-open",
".spectrum-Tooltip--end.is-open:dir(rtl)",
- ".spectrum-Tooltip--info",
- ".spectrum-Tooltip--info .spectrum-Tooltip-tip",
".spectrum-Tooltip--left",
".spectrum-Tooltip--left .spectrum-Tooltip-tip",
".spectrum-Tooltip--left .spectrum-Tooltip-tip:dir(rtl)",
@@ -49,10 +47,6 @@
".spectrum-Tooltip--left-top .spectrum-Tooltip-tip:dir(rtl)",
".spectrum-Tooltip--left-top.is-open",
".spectrum-Tooltip--left.is-open",
- ".spectrum-Tooltip--negative",
- ".spectrum-Tooltip--negative .spectrum-Tooltip-tip",
- ".spectrum-Tooltip--positive",
- ".spectrum-Tooltip--positive .spectrum-Tooltip-tip",
".spectrum-Tooltip--right",
".spectrum-Tooltip--right .spectrum-Tooltip-tip",
".spectrum-Tooltip--right .spectrum-Tooltip-tip:dir(rtl)",
@@ -99,7 +93,6 @@
".spectrum-Tooltip--top.is-open",
".spectrum-Tooltip-label",
".spectrum-Tooltip-tip",
- ".spectrum-Tooltip-typeIcon",
".spectrum-Tooltip.is-open",
".spectrum-Tooltip:lang(ja)",
".spectrum-Tooltip:lang(ko)",
@@ -309,20 +302,12 @@
"--mod-overlay-animation-duration-opened",
"--mod-tooltip-animation-distance",
"--mod-tooltip-background-color-default",
- "--mod-tooltip-background-color-informative",
- "--mod-tooltip-background-color-negative",
- "--mod-tooltip-background-color-positive",
"--mod-tooltip-border-radius",
"--mod-tooltip-cjk-line-height",
"--mod-tooltip-content-color",
"--mod-tooltip-font-size",
"--mod-tooltip-font-weight",
"--mod-tooltip-height",
- "--mod-tooltip-icon-height",
- "--mod-tooltip-icon-spacing-block-start",
- "--mod-tooltip-icon-spacing-inline-end",
- "--mod-tooltip-icon-spacing-inline-start",
- "--mod-tooltip-icon-width",
"--mod-tooltip-line-height",
"--mod-tooltip-margin",
"--mod-tooltip-max-inline-size",
@@ -332,6 +317,7 @@
"--mod-tooltip-spacing-inline",
"--mod-tooltip-tip-antialiasing-inset",
"--mod-tooltip-tip-block-size",
+ "--mod-tooltip-tip-corner-radius",
"--mod-tooltip-tip-height-percentage",
"--mod-tooltip-tip-square-size"
],
@@ -340,20 +326,12 @@
"--spectrum-tooltip-animation-duration",
"--spectrum-tooltip-backgound-color-default-neutral",
"--spectrum-tooltip-background-color-default",
- "--spectrum-tooltip-background-color-informative",
- "--spectrum-tooltip-background-color-negative",
- "--spectrum-tooltip-background-color-positive",
"--spectrum-tooltip-border-radius",
"--spectrum-tooltip-cjk-line-height",
"--spectrum-tooltip-content-color",
"--spectrum-tooltip-font-size",
"--spectrum-tooltip-font-weight",
"--spectrum-tooltip-height",
- "--spectrum-tooltip-icon-height",
- "--spectrum-tooltip-icon-spacing-block-start",
- "--spectrum-tooltip-icon-spacing-inline-end",
- "--spectrum-tooltip-icon-spacing-inline-start",
- "--spectrum-tooltip-icon-width",
"--spectrum-tooltip-line-height",
"--spectrum-tooltip-margin",
"--spectrum-tooltip-max-inline-size",
@@ -364,11 +342,10 @@
"--spectrum-tooltip-spacing-inline",
"--spectrum-tooltip-tip-antialiasing-inset",
"--spectrum-tooltip-tip-block-size",
+ "--spectrum-tooltip-tip-corner-radius",
"--spectrum-tooltip-tip-height",
"--spectrum-tooltip-tip-height-percentage",
- "--spectrum-tooltip-tip-inline-size",
- "--spectrum-tooltip-tip-square-size",
- "--spectrum-tooltip-tip-width"
+ "--spectrum-tooltip-tip-square-size"
],
"global": [
"--spectrum-animation-duration-0",
@@ -378,25 +355,17 @@
"--spectrum-component-edge-to-text-75",
"--spectrum-component-height-75",
"--spectrum-component-top-to-text-75",
- "--spectrum-component-top-to-workflow-icon-75",
- "--spectrum-corner-radius-100",
+ "--spectrum-corner-radius-400",
"--spectrum-font-size-75",
- "--spectrum-informative-background-color-default",
- "--spectrum-line-height-100",
- "--spectrum-negative-background-color-default",
+ "--spectrum-gray-25",
+ "--spectrum-neutral-background-color-default",
"--spectrum-neutral-subdued-background-color-default",
- "--spectrum-positive-background-color-default",
"--spectrum-regular-font-weight",
- "--spectrum-text-to-visual-75",
- "--spectrum-white",
- "--spectrum-workflow-icon-size-50"
+ "--spectrum-spacing-75"
],
- "system-theme": ["--system-tooltip-backgound-color-default-neutral"],
"passthroughs": [],
"high-contrast": [
"--highcontrast-tooltip-background-color-default",
- "--highcontrast-tooltip-background-color-informative",
- "--highcontrast-tooltip-background-color-negative",
- "--highcontrast-tooltip-background-color-positive"
+ "--highcontrast-tooltip-border-width"
]
}
diff --git a/components/tooltip/index.css b/components/tooltip/index.css
index f488b9cbf49..2a7787b7aec 100644
--- a/components/tooltip/index.css
+++ b/components/tooltip/index.css
@@ -11,24 +11,25 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
@import "@spectrum-css/commons/overlay.css";
.spectrum-Tooltip {
+ --spectrum-tooltip-backgound-color-default-neutral: var(--spectrum-neutral-subdued-background-color-default);
+
--spectrum-tooltip-animation-duration: var(--spectrum-animation-duration-100);
+ --spectrum-tooltip-animation-distance: var(--spectrum-spacing-75);
/* override if additional spacing to source is required */
--spectrum-tooltip-margin: 0px;
--spectrum-tooltip-height: var(--spectrum-component-height-75);
--spectrum-tooltip-max-inline-size: var(--spectrum-tooltip-maximum-width);
- --spectrum-tooltip-border-radius: var(--spectrum-corner-radius-100);
-
- --spectrum-tooltip-icon-width: var(--spectrum-workflow-icon-size-50);
- --spectrum-tooltip-icon-height: var(--spectrum-workflow-icon-size-50);
+ --spectrum-tooltip-border-radius: var(--spectrum-corner-radius-400);
--spectrum-tooltip-font-size: var(--spectrum-font-size-75);
- --spectrum-tooltip-line-height: var(--spectrum-line-height-100);
+
+ /* @todo set line-height using font size specific line-height tokens when they are finalized along with the new variable font. */
+ --spectrum-tooltip-line-height: 1.2;
--spectrum-tooltip-cjk-line-height: var(--spectrum-cjk-line-height-100);
--spectrum-tooltip-font-weight: var(--spectrum-regular-font-weight);
@@ -39,53 +40,23 @@
--spectrum-tooltip-spacing-block-start: var(--spectrum-component-top-to-text-75);
--spectrum-tooltip-spacing-block-end: var(--spectrum-component-bottom-to-text-75);
- /* icon spacing */
- --spectrum-tooltip-icon-spacing-inline-start: var(--spectrum-text-to-visual-75);
- --spectrum-tooltip-icon-spacing-inline-end: var(--spectrum-text-to-visual-75);
- --spectrum-tooltip-icon-spacing-block-start: var(--spectrum-component-top-to-workflow-icon-75);
-
- /* colors */
- --spectrum-tooltip-background-color-informative: var(--spectrum-informative-background-color-default);
- --spectrum-tooltip-background-color-positive: var(--spectrum-positive-background-color-default);
- --spectrum-tooltip-background-color-negative: var(--spectrum-negative-background-color-default);
-
- --spectrum-tooltip-content-color: var(--spectrum-white);
+ --spectrum-tooltip-content-color: var(--spectrum-gray-25);
+ --spectrum-tooltip-background-color-default: var(--spectrum-neutral-background-color-default);
/* tip */
- --spectrum-tooltip-tip-inline-size: var(--spectrum-tooltip-tip-width);
--spectrum-tooltip-tip-block-size: var(--spectrum-tooltip-tip-height);
- /* Width and height of square element used to render the tip triangle. */
- --spectrum-tooltip-tip-square-size: var(--spectrum-tooltip-tip-inline-size);
-
/* Percentage value of height divided by width, for calculating clip-path within a square tip. */
- --spectrum-tooltip-tip-height-percentage: 50%;
+ --spectrum-tooltip-tip-height-percentage: 100%;
/* Tip inset from container edges for clip-paths calculation, to fix hairline gap in Chrome cause by antialiasing. */
--spectrum-tooltip-tip-antialiasing-inset: 0.5px;
/* pointer tip - default spacing to edge - corner radius plus half of tip width to neutralize override */
- --spectrum-tooltip-pointer-corner-spacing: var(--spectrum-corner-radius-100);
+ --spectrum-tooltip-pointer-corner-spacing: var(--mod-tooltip-border-radius, var(--spectrum-tooltip-border-radius));
- /* neutral background changes per theme */
- --spectrum-tooltip-background-color-default: var(--spectrum-tooltip-backgound-color-default-neutral);
+ --highcontrast-tooltip-border-width: 0px;
}
-
-@media (forced-colors: active) {
- .spectrum-Tooltip {
- border: 1px solid transparent;
- }
-
- .spectrum-Tooltip-tip {
- --highcontrast-tooltip-background-color-default: CanvasText;
- --highcontrast-tooltip-background-color-informative: CanvasText;
- --highcontrast-tooltip-background-color-positive: CanvasText;
- --highcontrast-tooltip-background-color-negative: CanvasText;
-
- forced-color-adjust: none;
- }
-}
-
.spectrum-Tooltip {
@extend %spectrum-overlay;
@@ -131,19 +102,6 @@
}
}
-/****** Variants ******/
-.spectrum-Tooltip--info {
- background-color: var(--highcontrast-tooltip-background-color-informative, var(--mod-tooltip-background-color-informative, var(--spectrum-tooltip-background-color-informative)));
-}
-
-.spectrum-Tooltip--positive {
- background-color: var(--highcontrast-tooltip-background-color-positive, var(--mod-tooltip-background-color-positive, var(--spectrum-tooltip-background-color-positive)));
-}
-
-.spectrum-Tooltip--negative {
- background-color: var(--highcontrast-tooltip-background-color-negative, var(--mod-tooltip-background-color-negative, var(--spectrum-tooltip-background-color-negative)));
-}
-
.spectrum-Tooltip.is-open {
@extend %spectrum-overlay--open;
}
@@ -155,27 +113,17 @@
block-size: var(--mod-tooltip-tip-square-size, var(--spectrum-tooltip-tip-square-size));
inline-size: var(--mod-tooltip-tip-square-size, var(--spectrum-tooltip-tip-square-size));
- inset-block-start: 100%;
+ inset-block-start: calc(100% - (0.5 * var(--mod-tooltip-tip-square-size, var(--spectrum-tooltip-tip-square-size))) - var(--mod-tooltip-tip-antialiasing-inset, var(--spectrum-tooltip-tip-antialiasing-inset)) + var(--highcontrast-tooltip-border-width));
/* stylelint-disable-next-line csstools/use-logical -- intentional use of non-logical property */
- left: 50%;
- transform: translateX(-50%);
+ left: calc(50% - (0.5 * var(--mod-tooltip-tip-square-size, var(--spectrum-tooltip-tip-square-size))));
+ transform: rotate(-45deg);
background-color: var(--highcontrast-tooltip-background-color-default, var(--mod-tooltip-background-color-default, var(--spectrum-tooltip-background-color-default)));
/* Default: Pointing down ▽ */
- clip-path: polygon(0 calc(0% - var(--mod-tooltip-tip-antialiasing-inset, var(--spectrum-tooltip-tip-antialiasing-inset))), 50% var(--mod-tooltip-tip-height-percentage, var(--spectrum-tooltip-tip-height-percentage)), 100% calc(0% - var(--mod-tooltip-tip-antialiasing-inset, var(--spectrum-tooltip-tip-antialiasing-inset))));
-
- .spectrum-Tooltip--info & {
- background-color: var(--highcontrast-tooltip-background-color-informative, var(--mod-tooltip-background-color-informative, var(--spectrum-tooltip-background-color-informative)));
- }
+ clip-path: polygon(0 0, 100% var(--mod-tooltip-tip-height-percentage, var(--spectrum-tooltip-tip-height-percentage)), 0 100%);
- .spectrum-Tooltip--positive & {
- background-color: var(--highcontrast-tooltip-background-color-positive, var(--mod-tooltip-background-color-positive, var(--spectrum-tooltip-background-color-positive)));
- }
-
- .spectrum-Tooltip--negative & {
- background-color: var(--highcontrast-tooltip-background-color-negative, var(--mod-tooltip-background-color-negative, var(--spectrum-tooltip-background-color-negative)));
- }
+ border-radius: 0 0 0 var(--mod-tooltip-tip-corner-radius, var(--spectrum-tooltip-tip-corner-radius));
/*** Tip Placement ***/
/* tip is horizontal at bottom pointing down ▽ */
@@ -184,7 +132,8 @@
.spectrum-Tooltip--top-right &,
.spectrum-Tooltip--top-start &,
.spectrum-Tooltip--top-end & {
- inset-block-start: 100%;
+ inset-block-start: calc(100% - (0.5 * var(--mod-tooltip-tip-square-size, var(--spectrum-tooltip-tip-square-size))) - var(--mod-tooltip-tip-antialiasing-inset, var(--spectrum-tooltip-tip-antialiasing-inset)) + var(--highcontrast-tooltip-border-width));
+ transform: rotate(-45deg);
}
/* tip is horizontal at top pointing up △ */
@@ -193,20 +142,8 @@
.spectrum-Tooltip--bottom-right &,
.spectrum-Tooltip--bottom-start &,
.spectrum-Tooltip--bottom-end & {
- clip-path: polygon(50% calc(100% - var(--mod-tooltip-tip-height-percentage, var(--spectrum-tooltip-tip-height-percentage))), 0 calc(100% + var(--mod-tooltip-tip-antialiasing-inset, var(--spectrum-tooltip-tip-antialiasing-inset))), 100% calc(100% + var(--mod-tooltip-tip-antialiasing-inset, var(--spectrum-tooltip-tip-antialiasing-inset))));
- inset-block: auto 100%;
- }
-
- /* tip is horizontal and at the edge */
- .spectrum-Tooltip--top-left &,
- .spectrum-Tooltip--bottom-left &,
- .spectrum-Tooltip--top-right &,
- .spectrum-Tooltip--bottom-right &,
- .spectrum-Tooltip--top-start &,
- .spectrum-Tooltip--bottom-start &,
- .spectrum-Tooltip--top-end &,
- .spectrum-Tooltip--bottom-end & {
- transform: none;
+ inset-block: auto calc(100% - (0.5 * var(--mod-tooltip-tip-square-size, var(--spectrum-tooltip-tip-square-size))) - var(--mod-tooltip-tip-antialiasing-inset, var(--spectrum-tooltip-tip-antialiasing-inset)) + var(--highcontrast-tooltip-border-width));
+ transform: rotate(135deg);
}
/* tip is horizontal at left △ ▽ */
@@ -256,8 +193,7 @@
.spectrum-Tooltip--end &,
.spectrum-Tooltip--end-top &,
.spectrum-Tooltip--end-bottom & {
- inset-block-start: 50%;
- transform: translateY(-50%);
+ inset-block-start: calc(50% - (0.5 * var(--mod-tooltip-tip-square-size, var(--spectrum-tooltip-tip-square-size))));
}
/* tip is vertical and at edge */
@@ -269,7 +205,6 @@
.spectrum-Tooltip--start-bottom &,
.spectrum-Tooltip--end-top &,
.spectrum-Tooltip--end-bottom & {
- transform: none;
inset-block-start: auto;
}
@@ -280,8 +215,8 @@
.spectrum-Tooltip--end &,
.spectrum-Tooltip--end-top &,
.spectrum-Tooltip--end-bottom & {
- clip-path: polygon(calc(100% - var(--mod-tooltip-tip-height-percentage, var(--spectrum-tooltip-tip-height-percentage))) 50%, calc(100% + var(--mod-tooltip-tip-antialiasing-inset, var(--spectrum-tooltip-tip-antialiasing-inset))) 100%, calc(100% + var(--mod-tooltip-tip-antialiasing-inset, var(--spectrum-tooltip-tip-antialiasing-inset))) 0);
- inset-inline: auto 100%;
+ inset-inline: auto calc(100% - (0.5 * var(--mod-tooltip-tip-square-size, var(--spectrum-tooltip-tip-square-size))) - var(--mod-tooltip-tip-antialiasing-inset, var(--spectrum-tooltip-tip-antialiasing-inset)) + var(--highcontrast-tooltip-border-width));
+ transform: rotate(45deg);
}
/* tip is vertical pointing ▷ right or end, for LTR. */
@@ -291,8 +226,8 @@
.spectrum-Tooltip--start &,
.spectrum-Tooltip--start-top &,
.spectrum-Tooltip--start-bottom & {
- clip-path: polygon(calc(0% - var(--mod-tooltip-tip-antialiasing-inset, var(--spectrum-tooltip-tip-antialiasing-inset))) 0, calc(0% - var(--mod-tooltip-tip-antialiasing-inset, var(--spectrum-tooltip-tip-antialiasing-inset))) 100%, var(--mod-tooltip-tip-height-percentage, var(--spectrum-tooltip-tip-height-percentage)) 50%);
- inset-inline-start: 100%;
+ inset-inline-start: calc(100% - (0.5 * var(--mod-tooltip-tip-square-size, var(--spectrum-tooltip-tip-square-size))) - var(--mod-tooltip-tip-antialiasing-inset, var(--spectrum-tooltip-tip-antialiasing-inset)) + var(--highcontrast-tooltip-border-width));
+ transform: rotate(-135deg);
}
/* tip is vertical at top ◁ ▷ */
@@ -319,9 +254,9 @@
.spectrum-Tooltip--end-top &,
.spectrum-Tooltip--end-bottom & {
&:dir(rtl) {
- clip-path: polygon(calc(0% - var(--mod-tooltip-tip-antialiasing-inset, var(--spectrum-tooltip-tip-antialiasing-inset))) 0, calc(0% - var(--mod-tooltip-tip-antialiasing-inset, var(--spectrum-tooltip-tip-antialiasing-inset))) 100%, var(--mod-tooltip-tip-height-percentage, var(--spectrum-tooltip-tip-height-percentage)) 50%);
+ transform: rotate(-135deg);
right: auto;
- left: 100%;
+ left: calc(100% - (0.5 * var(--mod-tooltip-tip-square-size, var(--spectrum-tooltip-tip-square-size))) - var(--mod-tooltip-tip-antialiasing-inset, var(--spectrum-tooltip-tip-antialiasing-inset)) + var(--highcontrast-tooltip-border-width));
}
}
@@ -333,25 +268,13 @@
.spectrum-Tooltip--start-top &,
.spectrum-Tooltip--start-bottom & {
&:dir(rtl) {
- clip-path: polygon(var(--mod-tooltip-tip-height-percentage, var(--spectrum-tooltip-tip-height-percentage)) 50%, calc(100% + var(--mod-tooltip-tip-antialiasing-inset, var(--spectrum-tooltip-tip-antialiasing-inset))) 100%, calc(100% + var(--mod-tooltip-tip-antialiasing-inset, var(--spectrum-tooltip-tip-antialiasing-inset))) 0);
+ transform: rotate(45deg);
left: auto;
- right: 100%;
+ right: calc(100% - (0.5 * var(--mod-tooltip-tip-square-size, var(--spectrum-tooltip-tip-square-size))) - var(--mod-tooltip-tip-antialiasing-inset, var(--spectrum-tooltip-tip-antialiasing-inset)) + var(--highcontrast-tooltip-border-width));
}
}
}
-/****** Icon ******/
-.spectrum-Tooltip-typeIcon {
- /* subtract tooltip padding from icon start margin */
- margin-inline-start: calc(var(--mod-tooltip-icon-spacing-inline-start, var(--spectrum-tooltip-icon-spacing-inline-start)) - var(--mod-tooltip-spacing-inline, var(--spectrum-tooltip-spacing-inline)));
- margin-inline-end: var(--mod-tooltip-icon-spacing-inline-end, var(--spectrum-tooltip-icon-spacing-inline-end));
- margin-block-start: var(--mod-tooltip-icon-spacing-block-start, var(--spectrum-tooltip-icon-spacing-block-start));
- inline-size: var(--mod-tooltip-icon-width, var(--spectrum-tooltip-icon-width));
- block-size: var(--mod-tooltip-icon-height, var(--spectrum-tooltip-icon-height));
- align-self: flex-start;
- flex-shrink: 0;
-}
-
/****** Label ******/
.spectrum-Tooltip-label {
/* Make sure line height is correct to prevent problems in Windows */
@@ -649,3 +572,15 @@
}
}
}
+
+@media (forced-colors: active) {
+ .spectrum-Tooltip {
+ --highcontrast-tooltip-border-width: 1px;
+
+ border: var(--highcontrast-tooltip-border-width) solid CanvasText;
+ }
+
+ .spectrum-Tooltip-tip {
+ --highcontrast-tooltip-background-color-default: CanvasText;
+ }
+}
diff --git a/components/tooltip/package.json b/components/tooltip/package.json
index 379ecb22fc4..5b43715d76e 100644
--- a/components/tooltip/package.json
+++ b/components/tooltip/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/tooltip",
- "version": "7.1.0",
+ "version": "8.0.0-next.0",
"description": "The Spectrum CSS tooltip component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -38,7 +38,7 @@
},
"devDependencies": {
"@spectrum-css/commons": "11.0.0",
- "@spectrum-css/icon": "9.1.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/tooltip/stories/template.js b/components/tooltip/stories/template.js
index 5c5c260f4d6..61cf2ce81b2 100644
--- a/components/tooltip/stories/template.js
+++ b/components/tooltip/stories/template.js
@@ -7,15 +7,12 @@ import { when } from "lit/directives/when.js";
import { capitalize } from "lodash-es";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-Tooltip",
label,
- variant = "neutral",
placement,
+ variant = "neutral",
isOpen = true,
isFocused = false,
showOnHover = false,
@@ -45,8 +42,6 @@ export const Template = ({
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
-
-@container style(--system: express) {
- .spectrum-Tooltip {
- --spectrum-tooltip-backgound-color-default-neutral: var(--spectrum-neutral-background-color-default);
- }
-}
diff --git a/components/tooltip/themes/spectrum-two.css b/components/tooltip/themes/spectrum-two.css
deleted file mode 100644
index 42b423e3448..00000000000
--- a/components/tooltip/themes/spectrum-two.css
+++ /dev/null
@@ -1,18 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-Tooltip {
- --spectrum-tooltip-backgound-color-default-neutral: var(--spectrum-neutral-subdued-background-color-default);
- }
-}
diff --git a/components/tooltip/themes/spectrum.css b/components/tooltip/themes/spectrum.css
deleted file mode 100644
index 3d81bc564b5..00000000000
--- a/components/tooltip/themes/spectrum.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
diff --git a/components/tray/CHANGELOG.md b/components/tray/CHANGELOG.md
index 2237276890d..c47c91ac961 100644
--- a/components/tray/CHANGELOG.md
+++ b/components/tray/CHANGELOG.md
@@ -1,5 +1,28 @@
# Change log
+## 6.0.0-next.2
+
+### Patch Changes
+
+- Updated dependencies [[`cb1b957`](https://github.com/adobe/spectrum-css/commit/cb1b957c05ecf02d3f473de09a8bfd5f2b5d42bf)]:
+ - @spectrum-css/modal@7.1.1-next.0
+
+## 6.0.0-next.1
+
+### Patch Changes
+
+- Updated dependencies [[`c6836fb`](https://github.com/adobe/spectrum-css/commit/c6836fb132effcfb09e4ca6d0d8923564bfe2914)]:
+ - @spectrum-css/divider@6.0.0-next.0
+
+## 6.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+ - @spectrum-css/button@15.0.0-next.0
+ - @spectrum-css/dialog@13.0.0-next.0
+
## 5.1.0
### Minor Changes
diff --git a/components/tray/dist/metadata.json b/components/tray/dist/metadata.json
index 2d510b6a7aa..db6c152c441 100644
--- a/components/tray/dist/metadata.json
+++ b/components/tray/dist/metadata.json
@@ -36,7 +36,6 @@
"--spectrum-background-layer-2-color",
"--spectrum-corner-radius-100"
],
- "system-theme": [],
"passthroughs": ["--mod-modal-max-width"],
"high-contrast": ["--highcontrast-tray-background-color"]
}
diff --git a/components/tray/package.json b/components/tray/package.json
index c791e2b82f9..7bc62cc5102 100644
--- a/components/tray/package.json
+++ b/components/tray/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/tray",
- "version": "5.1.0",
+ "version": "6.0.0-next.2",
"description": "The Spectrum CSS tray component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,11 +25,11 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/button": ">=14.0.0 <15.0.0",
- "@spectrum-css/dialog": ">=12.0.0 <13.0.0",
- "@spectrum-css/divider": ">=5.0.0 <6.0.0",
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
- "@spectrum-css/modal": ">=7.0.0 <8.0.0",
+ "@spectrum-css/button": ">=15.0.0-next.0",
+ "@spectrum-css/dialog": ">=13.0.0-next.0",
+ "@spectrum-css/divider": ">=6.0.0-next.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
+ "@spectrum-css/modal": ">=7.1.1-next.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
@@ -53,11 +53,11 @@
}
},
"devDependencies": {
- "@spectrum-css/button": "14.1.3",
- "@spectrum-css/dialog": "12.1.0",
- "@spectrum-css/divider": "5.1.0",
- "@spectrum-css/icon": "9.1.0",
- "@spectrum-css/modal": "7.1.0",
+ "@spectrum-css/button": "15.0.0-next.0",
+ "@spectrum-css/dialog": "13.0.0-next.2",
+ "@spectrum-css/divider": "6.0.0-next.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
+ "@spectrum-css/modal": "7.1.1-next.0",
"@spectrum-css/tokens": "16.0.1"
},
"keywords": [
diff --git a/components/treeview/CHANGELOG.md b/components/treeview/CHANGELOG.md
index 50df5078888..2134a9069dc 100644
--- a/components/treeview/CHANGELOG.md
+++ b/components/treeview/CHANGELOG.md
@@ -1,5 +1,12 @@
# Change log
+## 13.0.0-next.0
+
+### Patch Changes
+
+- Updated dependencies [[`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b)]:
+ - @spectrum-css/icon@10.0.0-next.0
+
## 12.1.0
### Minor Changes
@@ -215,6 +222,7 @@ Output for all component CSS files is now being run through a lightweight optimi
### 🛑 BREAKING CHANGE
- Removes component-builder & component-builder-simple for script leveraging postcss
+
- Imports added to index.css and themes/express.css
## 9.2.6
diff --git a/components/treeview/dist/metadata.json b/components/treeview/dist/metadata.json
index 0e5af238587..7456a1853f8 100644
--- a/components/treeview/dist/metadata.json
+++ b/components/treeview/dist/metadata.json
@@ -4,7 +4,6 @@
".spectrum-TreeView",
".spectrum-TreeView .spectrum-TreeView",
".spectrum-TreeView--sizeL",
- ".spectrum-TreeView--sizeM",
".spectrum-TreeView--sizeS",
".spectrum-TreeView--sizeXL",
".spectrum-TreeView--thumbnail .spectrum-TreeView-itemThumbnail",
@@ -168,10 +167,6 @@
"--spectrum-neutral-content-color-default",
"--spectrum-text-to-visual-75"
],
- "system-theme": [
- "--system-tree-view-item-background-color-focus",
- "--system-tree-view-item-background-color-hover"
- ],
"passthroughs": [],
"high-contrast": [
"--highcontrast-treeview-heading-color",
diff --git a/components/treeview/index.css b/components/treeview/index.css
index 2c55ebea3be..20e3fd46ea6 100644
--- a/components/treeview/index.css
+++ b/components/treeview/index.css
@@ -11,8 +11,6 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
@media (forced-colors: active) {
.spectrum-TreeView {
--highcontrast-treeview-item-background-color-selected: Highlight;
@@ -54,8 +52,39 @@
}
}
-.spectrum-TreeView,
-.spectrum-TreeView--sizeM {
+.spectrum-TreeView {
+ --spectrum-treeview-item-background-color-hover: var(--spectrum-gray-100);
+ --spectrum-treeview-item-background-color-focus: var(--spectrum-gray-100);
+
+ --spectrum-treeview-item-border-size: var(--mod-treeview-item-border-size, var(--spectrum-border-width-200));
+ --spectrum-treeview-item-border-size-selected: var(--mod-treeview-item-border-size-selected, 1px);
+ --spectrum-treeview-item-border-radius: var(--mod-treeview-item-border-radius, 0px);
+
+ --spectrum-treeview-item-border-color-selected: var(--highcontrast-treeview-item-border-color-selected, var(--mod-treeview-item-border-color-selected, var(--spectrum-blue-800)));
+ --spectrum-treeview-item-border-color-focus: var(--highcontrast-treeview-item-border-color-focus, var(--mod-treeview-item-border-color-focus, var(--spectrum-blue-700)));
+
+ --spectrum-treeview-item-border-color-quiet-selected: var(--highcontrast-treeview-item-border-color-selected, var(--mod-treeview-item-border-color-selected-quiet, transparent));
+
+ --spectrum-treeview-item-background-color-hover: var(--spectrum-gray-100);
+ --spectrum-treeview-item-background-color-focus: var(--spectrum-gray-100);
+
+ --spectrum-treeview-item-icon-gap: var(--mod-treeview-item-icon-gap, var(--spectrum-text-to-visual-75));
+ --spectrum-treeview-item-icon-color: var(--highcontrast-treeview-item-icon-color, var(--mod-treeview-item-icon-color, var(--spectrum-gray-700)));
+ --spectrum-treeview-item-icon-color-hover: var(--highcontrast-treeview-item-text-color-focus, var(--mod-treeview-item-icon-color-hover, var(--spectrum-gray-900)));
+ --spectrum-treeview-item-icon-color-focus: var(--highcontrast-treeview-item-icon-color-focus, var(--mod-treeview-item-icon-color-focus, var(--spectrum-gray-900)));
+ --spectrum-treeview-item-icon-color-selected: var(--highcontrast-treeview-item-icon-color-selected, var(--mod-treeview-item-icon-color-selected, var(--spectrum-gray-900)));
+ --spectrum-treeview-item-icon-color-disabled: var(--highcontrast-treeview-item-icon-color-disabled, var(--mod-treeview-item-icon-color-disabled, var(--spectrum-disabled-content-color)));
+
+ --spectrum-treeview-item-text-color: var(--highcontrast-treeview-item-text-color, var(--mod-treeview-item-text-color, var(--spectrum-neutral-content-color-default)));
+ --spectrum-treeview-item-text-color-selected: var(--highcontrast-treeview-item-text-color-selected, var(--mod-treeview-item-text-color-selected, var(--spectrum-gray-900)));
+ --spectrum-treeview-item-text-color-disabled: var(--highcontrast-treeview-item-text-color-disabled, var(--mod-treeview-item-text-color-disabled, var(--spectrum-gray-500)));
+ --spectrum-treeview-item-text-color-focus: var(--highcontrast-treeview-item-text-color-focus, var(--mod-treeview-item-text-color-focus, var(--spectrum-gray-900)));
+ --spectrum-treeview-item-text-color-hover: var(--highcontrast-treeview-item-text-color-focus, var(--mod-treeview-item-text-color-hover, var(--spectrum-gray-900)));
+
+ --spectrum-treeview-indicator-animation-duration: var(--mod-treeview-indicator-animation-duration, var(--spectrum-animation-duration-100));
+
+ --spectrum-treeview-item-min-block-size: var(--mod-treeview-item-min-block-size, var(--spectrum-treeview-item-sized-min-block-size));
+
--spectrum-treeview-font-size: var(--mod-treeview-font-size, var(--spectrum-font-size-100));
--spectrum-treeview-item-sized-min-block-size: var(--mod-treeview-item-min-block-size, var(--spectrum-component-height-100));
diff --git a/components/treeview/package.json b/components/treeview/package.json
index fb3c89534d4..d0b448f2604 100644
--- a/components/treeview/package.json
+++ b/components/treeview/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/treeview",
- "version": "12.1.0",
+ "version": "13.0.0-next.0",
"description": "The Spectrum CSS Tree view component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/icon": ">=9.0.0 <10.0.0",
+ "@spectrum-css/icon": ">=10.0.0-next.0",
"@spectrum-css/thumbnail": ">=8.0.0 <9.0.0",
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
@@ -41,7 +41,7 @@
}
},
"devDependencies": {
- "@spectrum-css/icon": "9.1.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
"@spectrum-css/thumbnail": "8.1.0",
"@spectrum-css/tokens": "16.0.1"
},
diff --git a/components/treeview/stories/template.js b/components/treeview/stories/template.js
index df31e3ed464..7114a75a1ac 100644
--- a/components/treeview/stories/template.js
+++ b/components/treeview/stories/template.js
@@ -9,9 +9,6 @@ import { styleMap } from "lit/directives/style-map.js";
import { when } from "lit/directives/when.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const TreeViewItem = ({
rootClass = "spectrum-TreeView",
@@ -25,7 +22,7 @@ export const TreeViewItem = ({
isOpen,
isDropTarget,
icon,
- iconSet,
+ iconSet = "workflow",
thumbnail,
items,
variant,
diff --git a/components/treeview/themes/express.css b/components/treeview/themes/express.css
deleted file mode 100644
index 9fd550418f2..00000000000
--- a/components/treeview/themes/express.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
diff --git a/components/treeview/themes/spectrum-two.css b/components/treeview/themes/spectrum-two.css
deleted file mode 100644
index 215290b3b6e..00000000000
--- a/components/treeview/themes/spectrum-two.css
+++ /dev/null
@@ -1,19 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-TreeView {
- --spectrum-treeview-item-background-color-hover: var(--spectrum-gray-100);
- --spectrum-treeview-item-background-color-focus: var(--spectrum-gray-100);
- }
-}
diff --git a/components/treeview/themes/spectrum.css b/components/treeview/themes/spectrum.css
deleted file mode 100644
index 7698b2b4c3e..00000000000
--- a/components/treeview/themes/spectrum.css
+++ /dev/null
@@ -1,23 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-TreeView {
- --spectrum-treeview-item-background-color-hover: var(--spectrum-gray-200);
- --spectrum-treeview-item-background-color-focus: var(--spectrum-gray-200);
- }
-}
diff --git a/components/typography/dist/metadata.json b/components/typography/dist/metadata.json
index 5d45be326da..3ef566f741d 100644
--- a/components/typography/dist/metadata.json
+++ b/components/typography/dist/metadata.json
@@ -751,7 +751,6 @@
"--spectrum-sans-font-family-stack",
"--spectrum-serif-font-family-stack"
],
- "system-theme": [],
"passthroughs": [],
"high-contrast": [
"--highcontrast-body-font-color",
diff --git a/components/typography/package.json b/components/typography/package.json
index b14835ead75..d420b5bf827 100644
--- a/components/typography/package.json
+++ b/components/typography/package.json
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
"@spectrum-css/tokens": {
diff --git a/components/typography/stories/typography.stories.js b/components/typography/stories/typography.stories.js
index 044a76bc5b6..2eb198a216a 100644
--- a/components/typography/stories/typography.stories.js
+++ b/components/typography/stories/typography.stories.js
@@ -4,16 +4,16 @@ import { size } from "@spectrum-css/preview/types";
import metadata from "../dist/metadata.json";
import packageJson from "../package.json";
import {
- DocsBodyVariants,
- DocsCodeVariants,
- DocsDetailVariants,
- DocsHeadingBodyPairing,
- DocsHeadingVariants,
- DocsInternationalizedBodyVariants,
- DocsInternationalizedCodeVariants,
- DocsInternationalizedDetailVariants,
- DocsInternationalizedHeadingBodyPairing,
- DocsInternationalizedHeadingVariants, Template
+ DocsBodyVariants,
+ DocsCodeVariants,
+ DocsDetailVariants,
+ DocsHeadingBodyPairing,
+ DocsHeadingVariants,
+ DocsInternationalizedBodyVariants,
+ DocsInternationalizedCodeVariants,
+ DocsInternationalizedDetailVariants,
+ DocsInternationalizedHeadingBodyPairing,
+ DocsInternationalizedHeadingVariants, Template
} from "./template.js";
import { TypographyGroup } from "./typography.test.js";
diff --git a/components/underlay/dist/metadata.json b/components/underlay/dist/metadata.json
index 6b35fb4f7f0..21a3e4aa1d0 100644
--- a/components/underlay/dist/metadata.json
+++ b/components/underlay/dist/metadata.json
@@ -30,7 +30,6 @@
"--spectrum-black-rgb",
"--spectrum-overlay-opacity"
],
- "system-theme": [],
"passthroughs": [],
"high-contrast": []
}
diff --git a/components/underlay/package.json b/components/underlay/package.json
index aeffe00205c..7b6c78a236b 100644
--- a/components/underlay/package.json
+++ b/components/underlay/package.json
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
"@spectrum-css/tokens": {
diff --git a/components/well/dist/metadata.json b/components/well/dist/metadata.json
index 3587fa73f7a..c9fdd7f6da1 100644
--- a/components/well/dist/metadata.json
+++ b/components/well/dist/metadata.json
@@ -27,7 +27,6 @@
"--spectrum-gray-1000-rgb",
"--spectrum-gray-800-rgb"
],
- "system-theme": ["--system-well-border-color"],
"passthroughs": [],
"high-contrast": []
}
diff --git a/components/well/index.css b/components/well/index.css
index 26abcff0032..1aabb0c2b55 100644
--- a/components/well/index.css
+++ b/components/well/index.css
@@ -11,9 +11,9 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/spectrum-two.css";
-
.spectrum-Well {
+ --spectrum-well-border-color: rgba(var(--spectrum-gray-1000-rgb), 0.05);
+
--spectrum-well-border-width: var(--spectrum-border-width-100);
--spectrum-well-content-color: var(--spectrum-body-color);
--spectrum-well-background-color: rgba(var(--spectrum-gray-800-rgb), 0.02);
diff --git a/components/well/package.json b/components/well/package.json
index f13f53473ae..98f5443072e 100644
--- a/components/well/package.json
+++ b/components/well/package.json
@@ -25,7 +25,7 @@
},
"main": "dist/index.css",
"peerDependencies": {
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
},
"peerDependenciesMeta": {
"@spectrum-css/tokens": {
diff --git a/components/well/stories/template.js b/components/well/stories/template.js
index c9645cfdcdb..5e8210305d1 100644
--- a/components/well/stories/template.js
+++ b/components/well/stories/template.js
@@ -5,9 +5,6 @@ import { ifDefined } from "lit/directives/if-defined.js";
import { styleMap } from "lit/directives/style-map.js";
import "../index.css";
-import "../themes/spectrum.css";
-/* Must be imported last */
-import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-Well",
diff --git a/components/well/themes/express.css b/components/well/themes/express.css
deleted file mode 100644
index 9fd550418f2..00000000000
--- a/components/well/themes/express.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--express */
-
-@import "./spectrum.css";
diff --git a/components/well/themes/spectrum-two.css b/components/well/themes/spectrum-two.css
deleted file mode 100644
index f4a2ef0983e..00000000000
--- a/components/well/themes/spectrum-two.css
+++ /dev/null
@@ -1,18 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-@container style(--system: spectrum) {
- .spectrum-Well {
- --spectrum-well-border-color: rgba(var(--spectrum-gray-1000-rgb), 0.05);
- }
-}
diff --git a/components/well/themes/spectrum.css b/components/well/themes/spectrum.css
deleted file mode 100644
index 5cfe7120396..00000000000
--- a/components/well/themes/spectrum.css
+++ /dev/null
@@ -1,22 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/* @combine .spectrum.spectrum--legacy */
-
-@import "./spectrum-two.css";
-
-@container style(--system: legacy) {
- .spectrum-Well {
- --spectrum-well-border-color: rgba(var(--spectrum-gray-900-rgb), 0.05);
- }
-}
diff --git a/package.json b/package.json
index f594da0847e..1e3ad03e856 100644
--- a/package.json
+++ b/package.json
@@ -72,8 +72,6 @@
"@commitlint/config-conventional": "^19.6.0",
"@csstools/postcss-bundler": "^2.0.6",
"@nx/devkit": "^19.8.2",
- "@spectrum-tools/postcss-add-theming-layer": "1.0.2",
- "@spectrum-tools/postcss-property-rollup": "0.0.1",
"@spectrum-tools/postcss-rgb-mapping": "1.0.0",
"@yarnpkg/types": "^4.0.0",
"at-rule-packer": "^0.4.2",
diff --git a/plugins/postcss-add-theming-layer/CHANGELOG.md b/plugins/postcss-add-theming-layer/CHANGELOG.md
deleted file mode 100644
index 761d4dfbac9..00000000000
--- a/plugins/postcss-add-theming-layer/CHANGELOG.md
+++ /dev/null
@@ -1,25 +0,0 @@
-# Change Log
-
-## 1.0.2
-
-### Patch Changes
-
-- [#3527](https://github.com/adobe/spectrum-css/pull/3527) [`5f1751c`](https://github.com/adobe/spectrum-css/commit/5f1751c82a5fe55ae0d999f5f50cfeca4c8a5c75) Thanks [@castastrophe](https://github.com/castastrophe)! - Minor dependency updates to align with the larger project.
-
-## 1.0.1
-
-### Patch Changes
-
-📝 [#3541](https://github.com/adobe/spectrum-css/pull/3541) [`1a3245c`](https://github.com/adobe/spectrum-css/commit/1a3245c3a660bc52ed260f18b6cceab5ee81541d) Thanks [@castastrophe](https://github.com/castastrophe)!
-
-- Dependency alignment across the project.
-
- Set component peerDependencies as optional to reduce console warnings on downstream projects.
-
-## 1.0.0
-
-### Major Changes
-
-📝 [#3502](https://github.com/adobe/spectrum-css/pull/3502) [`562396e`](https://github.com/adobe/spectrum-css/commit/562396eaf21769341f78ea3761393b65f00e751b) Thanks [@castastrophe](https://github.com/castastrophe)!
-
-- 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).
diff --git a/plugins/postcss-add-theming-layer/README.md b/plugins/postcss-add-theming-layer/README.md
deleted file mode 100644
index 610310f5662..00000000000
--- a/plugins/postcss-add-theming-layer/README.md
+++ /dev/null
@@ -1,115 +0,0 @@
-# postcss-add-theming-layer
-
-> Leveraging style container queries to create an abstraction layer for supporting multiple theming systems.
-
-## Installation
-
-Add the dependency to your project:
-
-```sh
-npm install postcss-add-theming-layer
-```
-
-or
-
-```sh
-yarn add -DW postcss-add-theming-layer
-```
-
-Use the plugin in your PostCSS configuration:
-
-```js
-module.exports = {
- plugins: {
- "postcss-add-theming-layer": {},
- },
-};
-```
-
-or as part of your CLI command:
-
-```sh
-postcss -u postcss-add-theming-layer -o dist/index.css src/index.css
-```
-
-## Options
-
-### `selectorPrefix` [string]
-
-This optional input will prefix the new theming layer selector with the provided string. This can be useful if you want to namespace the injected selectors for the new theming layer to avoid conflicts.
-
-### `skipMapping` [boolean=false]
-
-Skip the mapping of the variables to the system variables. This can be useful if you only want to extract the variables and not map them to the system variables.
-
-### `preserveVariables` [boolean=true]
-
-When used with `skipMapping`, this option will preserve the variables defined inside the container query in the output by injecting them to the root selector.
-
-### `referencesOnly` [boolean=false]
-
-This option will only output those variables that are referencing the newly created system variables and not the system variables themselves. This can be used as a bridge between an old and new implementation for the component.
-
-### `stripLocalSelectors` [boolean=false]
-
-This option will remove the local selectors (those that map to system variables) from the output leaving only the system definitions.
-
-### `processIdentifier` [(identifierValue: string, identifierName: string) => string]`
-
-Customize the selectors that variables are placed in. Passed the value and key of the variable that was passed to the container, i.e. `identifierValue = spectrum` and `identifierName = system` for the example below. By default, `identifierName` is used as-is.
-
-## Usage
-
-This plugin turns this:
-
-```css
-@container style(--system: legacy) {
- .component {
- --background-color: blue;
- }
- .component.is-selected {
- --background-color: darkblue;
- }
- .component .icon {
- --color: gray;
- }
-}
-
-@container style(--system: modern) {
- .component {
- --background-color: purple;
- }
- .component.is-selected {
- --background-color: darkpurple;
- }
- .component .icon {
- --color: white;
- }
-}
-```
-
-Into this:
-
-```css
-.legacy {
- --system-component-background-color: blue;
- --system-component-selected-background-color: darkblue;
-}
-
-.modern {
- --system-component-background-color: purple;
- --system-component-selected-background-color: darkpurple;
-}
-
-.component {
- --background-color: var(--system-component-background-color);
-}
-
-.component.is-selected {
- --background-color: var(--system-component-selected-background-color);
-}
-```
-
-## Usage notes
-
-This plugin will ignore any underscore-prefixed variables, as they are considered private and not part of the theming layer.
diff --git a/plugins/postcss-add-theming-layer/expected/basic.css b/plugins/postcss-add-theming-layer/expected/basic.css
deleted file mode 100644
index 711a906a74d..00000000000
--- a/plugins/postcss-add-theming-layer/expected/basic.css
+++ /dev/null
@@ -1,41 +0,0 @@
-.legacy {
- --system-component-background-color: blue;
- --system-component-selected-background-color: darkblue;
- --system-component-icon-color: gray;
- --system-where-component-background-color: blue;
- --system-component-where-selected-background-color: darkblue;
- --system-component-has-icon-color: gray
-}
-
-.modern {
- --system-component-background-color: purple;
- --system-component-selected-background-color: indigo;
- --system-component-icon-color: white;
- --system-where-component-background-color: indigo;
- --system-component-where-selected-background-color: darkpurple;
- --system-component-has-icon-color: white
-}
-
-.component {
- --background-color: var(--system-component-background-color)
-}
-
-.component.is-selected {
- --background-color: var(--system-component-selected-background-color)
-}
-
-.component .icon {
- --color: var(--system-component-icon-color)
-}
-
-:where(.component) {
- --background-color: var(--system-where-component-background-color)
-}
-
-.component:where(:selected,.is-selected) {
- --background-color: var(--system-component-where-selected-background-color)
-}
-
-.component:has(.icon) {
- --color: var(--system-component-has-icon-color)
-}
diff --git a/plugins/postcss-add-theming-layer/fixtures/basic.css b/plugins/postcss-add-theming-layer/fixtures/basic.css
deleted file mode 100644
index 50692d97093..00000000000
--- a/plugins/postcss-add-theming-layer/fixtures/basic.css
+++ /dev/null
@@ -1,49 +0,0 @@
-@container style(--system: legacy) {
- .component {
- --background-color: blue;
- }
- .component.is-selected {
- --background-color: darkblue;
- }
- .component .icon {
- --color: gray;
- }
-
- :where(.component) {
- --background-color: blue;
- }
-
- .component:where(:selected, .is-selected) {
- --background-color: darkblue;
- }
-
- .component:has(.icon) {
- --color: gray;
- }
-}
-
-@container style(--system: modern) {
- .component {
- --background-color: purple;
- }
-
- .component.is-selected {
- --background-color: indigo;
- }
-
- .component .icon {
- --color: white;
- }
-
- :where(.component) {
- --background-color: indigo;
- }
-
- .component:where(:selected, .is-selected) {
- --background-color: darkpurple;
- }
-
- .component:has(.icon) {
- --color: white;
- }
-}
diff --git a/plugins/postcss-add-theming-layer/index.js b/plugins/postcss-add-theming-layer/index.js
deleted file mode 100644
index fa9904a5801..00000000000
--- a/plugins/postcss-add-theming-layer/index.js
+++ /dev/null
@@ -1,201 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-const selectorParser = require("postcss-selector-parser");
-const {
- cleanPropertyName,
- extractFallbackValue,
- getVariableName,
- checkForReplacement
-} = require("./utilities");
-
-/**
- * @typedef Options
- * @property {string} [selectorPrefix] - The prefix to use for the new selectors
- * @property {boolean} [skipMapping=false] - Skip the mapping of the variables to the system variables. This can be useful if you only want to extract the variables and not map them to the system variables.
- * @property {boolean} [preserveVariables=false] - When used with `skipMapping`, this option will preserve the variables defined inside the container query in the output by injecting them to the root selector.
- * @property {boolean} [referencesOnly=false] - This option will only output those variables that are referencing the newly created system variables and not the system variables themselves. This can be used as a bridge between an old and new implementation for the component.
- * @property {boolean} [stripLocalSelectors=false] - This option will remove the local selectors (those that map to system variables) from the output leaving only the system definitions.
- * @property {(identifierValue: string, identifierName: string) => string} [processIdentifier] - A function that processes the identifier value and creates a new selector
-*/
-
-/** @type import('postcss').PluginCreator */
-module.exports = ({
- selectorPrefix,
- skipMapping = false,
- preserveVariables = true,
- referencesOnly = false,
- stripLocalSelectors = false,
- processIdentifier,
-}) => ({
- postcssPlugin: "postcss-add-theming-layer",
- OnceExit(root, { Rule, Declaration }) {
- // Fallback function to process the identifier value and create a new selector
- if (typeof processIdentifier !== "function") {
- // If the base prefix exists and differs from the identifier value, append the identifier value to the base prefix as the new class name
- processIdentifier = (identifierValue) => selectorPrefix && selectorPrefix !== identifierValue ? `.${selectorPrefix}--${identifierValue}` : `.${identifierValue}`;
- }
-
- // This object will store the mappings for each selector
- const systemMap = new Map();
- const conversionMap = new Map();
-
- // Step 1: loop over all the container style queries and create a new selector for each
- // to be used as a theming toggle for components where style queries are not natively supported
- // @todo should there be a support check around this?
- root.walkAtRules(/container/, (container) => {
- if (skipMapping) {
- if (preserveVariables) {
- // Iterate over each rule in the container and append them to the root
- container.walkRules((rule) => {
- root.insertAfter(root.first, rule);
- });
- }
-
- container.remove();
- return;
- }
-
- // Extract the custom property name and it's value to use in creating the new selector
- // Identifier name is the prefix used for the custom properties created for the bridge
- // Identifier value is used to create the new selector
- const [, identifierName, identifierValue] = container.params.match(
- /\(\s*--(.*?)\s*[:=]\s*(.*?)\s*\)/
- );
-
- const selectorMap = systemMap.get(identifierName) ?? {};
-
- // Create a new rule using this selector to attach the new system-level custom properties
- let rule;
-
- // If we're only interested in references, we can skip the next step of appending the new rule
- if (!referencesOnly) {
- rule = new Rule({
- selector: processIdentifier(identifierValue, identifierName),
- source: container.source,
- });
-
- container.parent.insertAfter(container, rule);
- }
-
- // Iterate over each custom property in the container to create a new mapping that supports the new selector
- container.walkDecls(/^--[A-Z|a-z]/, (decl) => {
- selectorParser((selectors) => {
- selectors.each((s) => {
- // Check if the property is already mapped
- const variableName = getVariableName(s, decl.prop, {
- identifierName,
- identifierValue,
- selectorPrefix
- });
-
- const newDecl = decl.clone({
- prop: variableName,
- });
- newDecl.raws.before = "\n ";
-
- const uniqueSet = conversionMap.get(decl.prop) ?? new Set();
- conversionMap.set(decl.prop, uniqueSet.add(variableName));
-
- if (!referencesOnly) {
- rule.append(newDecl);
- }
-
- const selector = s.toString();
- selectorMap[selector] = selectorMap[selector] ?? {};
-
- const selectorNode = selectorMap[selector];
-
- // Check for fallbacks in the var() function
- const fallbackValue = extractFallbackValue(decl.value);
- if (fallbackValue) {
- // The final declaration should have the override present
- selectorNode[decl.prop] = `var(${fallbackValue}, var(${variableName}))`;
-
- // The system-level declaration should only have the fallback
- newDecl.value = `var(${fallbackValue})`;
- }
- else {
- selectorNode[decl.prop] = `var(${variableName})`;
- }
-
- selectorMap[selector] = selectorNode;
- });
- }).processSync(decl.parent.selector, { lossless: false });
- });
-
- systemMap.set(identifierName, selectorMap);
-
- if (rule) {
- rule.walkDecls((decl) => {
- const convertedProps = [...conversionMap.keys()];
-
- if (!convertedProps.some((key) => decl.value.includes(key))) return;
-
- // loop over all the updated properties and update internal references to the new variables
- for (let [prop, mappedValues] of conversionMap.entries()) {
- // Check if this key exists in the value
- if (!decl.value.match(new RegExp(`${prop}[^-]`))) continue;
-
- const systemValues = [...mappedValues];
-
- // If there is only one system variable, replace all instances of the prop with the system variable
- if (systemValues.length === 1) {
- decl.value = decl.value.replace(new RegExp(prop, "g"), systemValues[0]);
- continue;
- }
-
- const replacement = checkForReplacement(decl, prop, [
- `--${identifierName}-${cleanPropertyName(prop, { selectorPrefix })}`,
- ], systemValues);
-
- if (replacement) {
- decl.value = replacement;
- continue;
- }
-
- // @note: this will be an empty variable because we didn't find a match but it will match the format of the other variables
- decl.value = decl.value.replace(new RegExp(decl.prop, "g"), `--${identifierName}-${cleanPropertyName(decl.prop, { selectorPrefix })}`);
- }
- });
- }
-
- container.remove();
- });
-
- // Our job here is done
- if (skipMapping || stripLocalSelectors) return;
-
- const rules = [];
- for (let [, selectorMap] of systemMap.entries()) {
- // This adds the new selectors to the root with their respective system-level mappings
- for (let [selector, props] of Object.entries(selectorMap)) {
- const rule = new Rule({ selector });
-
- for (let [prop, value] of Object.entries(props)) {
- const decl = new Declaration({ prop, value });
- decl.raws.before = "\n ";
-
- rule.append(decl);
- }
-
- rules.push(rule);
- }
- }
-
- // Insert the new rules in order after the first rule in the root
- root.append(rules);
- },
-});
-
-module.exports.postcss = true;
diff --git a/plugins/postcss-add-theming-layer/package.json b/plugins/postcss-add-theming-layer/package.json
deleted file mode 100644
index baf25437dd4..00000000000
--- a/plugins/postcss-add-theming-layer/package.json
+++ /dev/null
@@ -1,44 +0,0 @@
-{
- "name": "@spectrum-tools/postcss-add-theming-layer",
- "version": "1.0.2",
- "description": "Leveraging style container queries to create an abstraction layer for supporting multiple theming systems",
- "license": "Apache-2.0",
- "author": "Adobe",
- "contributors": [
- "Cassondra Roberts "
- ],
- "homepage": "https://opensource.adobe.com/spectrum-css/",
- "repository": {
- "type": "git",
- "url": "https://github.com/adobe/spectrum-css.git",
- "directory": "plugins/postcss-add-theming-layer"
- },
- "bugs": {
- "url": "https://github.com/adobe/spectrum-css/issues"
- },
- "main": "index.js",
- "files": [
- "package.json",
- "index.js",
- "*.md"
- ],
- "dependencies": {
- "postcss-selector-parser": "^6.1.2",
- "postcss-values-parser": "^6.0.2"
- },
- "peerDependencies": {
- "postcss": ">=8"
- },
- "devDependencies": {
- "ava": "^6.2.0",
- "c8": "^10.1.3",
- "postcss": "^8.5.3"
- },
- "keywords": [
- "css",
- "theming",
- "custom properties",
- "postcss",
- "postcss-plugin"
- ]
-}
diff --git a/plugins/postcss-add-theming-layer/project.json b/plugins/postcss-add-theming-layer/project.json
deleted file mode 100644
index 7797edce0f8..00000000000
--- a/plugins/postcss-add-theming-layer/project.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "$schema": "../../node_modules/nx/schemas/project-schema.json",
- "name": "postcss-add-theming-layer",
- "tags": ["tooling", "postcss"],
- "targets": {
- "format": {
- "defaultConfiguration": "plugins"
- },
- "lint": {
- "defaultConfiguration": "plugins"
- },
- "test": {
- "defaultConfiguration": "plugins"
- }
- }
-}
diff --git a/plugins/postcss-add-theming-layer/test.js b/plugins/postcss-add-theming-layer/test.js
deleted file mode 100644
index ed431c85f20..00000000000
--- a/plugins/postcss-add-theming-layer/test.js
+++ /dev/null
@@ -1,43 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-const fs = require("fs");
-const test = require("ava");
-const postcss = require("postcss");
-const plugin = require("./index.js");
-
-function compare(
- t,
- fixtureFilePath,
- expectedFilePath,
- options = {}
-) {
- return postcss([plugin(options)])
- .process(readFile(`./fixtures/${fixtureFilePath}`), {
- from: fixtureFilePath,
- })
- .then((result) => {
- const actual = result.css;
- const expected = readFile(`./expected/${expectedFilePath}`);
- t.is(actual, expected);
- t.is(result.warnings().length, 0);
- });
-}
-
-function readFile(filename) {
- return fs.readFileSync(filename, "utf8");
-}
-
-test("create basic output", (t) => {
- return compare(t, "basic.css", "basic.css");
-});
diff --git a/plugins/postcss-add-theming-layer/utilities.js b/plugins/postcss-add-theming-layer/utilities.js
deleted file mode 100644
index 0988f27ce38..00000000000
--- a/plugins/postcss-add-theming-layer/utilities.js
+++ /dev/null
@@ -1,244 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-const valuesParser = require("postcss-values-parser");
-
-/**
- * Clean the property name to be used as a variable name
- * @param {string} prop
- * @param {{ selectorPrefix: string }} options
- * @returns {string} The clean variable name
- */
-function cleanPropertyName(prop, { selectorPrefix = "" } = {}) {
- if (!prop) return;
- return (
- prop
- // Remove the provided prefix if used
- .replace(new RegExp(selectorPrefix, "gi"), "")
- // Remove mod from the new property name
- .replace(/-?mod-/g, "-")
- // Remove state-based prefix
- .replace(/is-/g, "")
- // Remove the internal identifier marker
- .replace(/^_/g, "")
- // If a string has a lowercase letter followed by an uppercase letter, insert a dash between them
- .replace(/([a-z])([A-Z])/g, "$1-$2")
- // If a string has two uppercase letters followed by a lowercase letter, insert a dash between them
- .replace(/([A-Z])([A-Z])([a-z])/g, "$1-$2$3")
- .replace(/([a-z])([0-9])/g, "$1-$2")
- // Remove all whitespace
- .replace(/\s+/g, "")
- // Remove non-alphanumeric characters
- .replace(/\W/g, "-")
- // Replace multiple dashes with a single dash
- .replace(/-+/g, "-")
- // Remove any leading or trailing dashes
- .replace(/^-/g, "")
- .replace(/-$/g, "")
- .toLowerCase()
- );
-}
-
-/**
- * Extract the fallback value from a var() function
- * @param {string} declValue
- * @returns {string} The fallback value
- */
-function extractFallbackValue(declValue) {
- const parsed = valuesParser.parse(declValue);
- let fallbackValue;
-
- parsed.walk((node) => {
- if (node.type !== "func" || node.value !== "var") {
- return;
- }
-
- // Assuming the second argument of the var() function is the fallback
- const fallbackNode = node.nodes[2];
- if (fallbackNode) {
- // Convert the fallback node back to a string
- fallbackValue = valuesParser.stringify(fallbackNode);
- }
- });
-
- return fallbackValue;
-}
-
-/**
- * Get the base selector for a given selector
- * @param {string} selector
- * @param {{ selectorPrefix: string }} options
- * @returns {string} The base selector
- */
-function getBaseSelector(selector, { selectorPrefix = "" } = {}) {
- let baseSelector;
-
- if (!selector || !selector.nodes) return baseSelector;
-
- // This regex is designed to pull spectrum- out of a selector
- const baseRegex = new RegExp(
- `^(${selectorPrefix ? `${selectorPrefix}-` : ""}[A-Z][^\\W-.\\s]+)`,
- );
-
- // Iterate over the selector nodes to find a common root class name
- const found = [];
- selector.each((node) => {
- if (node.type !== "class") return;
- if (!node.value) return;
-
- const value = node.value ?? node.toString();
- const matches = value.match(baseRegex);
- if (!matches) return;
-
- const [, foundSelector] = matches;
- if (foundSelector) found.push(foundSelector);
- });
-
- if (found.length === 1) {
- return cleanPropertyName(found[0], { selectorPrefix });
- }
-
- let countMap = new Map();
-
- // Find and return the most common base selector in the array
- found.forEach((s) => countMap.set(s, (countMap.get(s) || 0) + 1));
-
- let count = 0;
- for (let [s, c] of countMap.entries()) {
- if (c > count) {
- baseSelector = s;
- count = c;
- }
- }
-
- // Remove the selector prefix from the returned base selector
- return baseSelector ? cleanPropertyName(baseSelector, { selectorPrefix }) : baseSelector;
-}
-
-/**
- * Fallback function to process the name of the new variable
- * @param {string} selector
- * @param {string} prop
- * @param {{ identifierName: string, identifierValue: string, selectorPrefix: string }} options
- * @returns {string} The new variable name
- */
-function getVariableName(
- selector,
- prop,
- { selectorPrefix = "", identifierName, identifierValue } = {},
-) {
- const baseSelector = getBaseSelector(selector, { selectorPrefix }) ?? "";
-
- const clean = (prop) =>
- prop &&
- cleanPropertyName(
- prop
- .replace(new RegExp(selectorPrefix, "gi"), "")
- // Remove the identifers if they exist
- .replace(new RegExp(baseSelector, "gi"), "")
- // Check for identifiers in the property name that don't include the dash
- .replace(new RegExp(baseSelector?.replace(/-/g, ""), "gi"), "")
- .replace(new RegExp(identifierName, "gi"), "")
- .replace(new RegExp(identifierValue, "gi"), ""),
- { selectorPrefix }
- );
-
- let property = [];
-
- function processSelector(node) {
- if (node.type === "pseudo") {
- property.push(node.value.slice(1));
- }
- else if (node.type === "tag") {
- property.push(node.value);
- }
- else if (node.type === "combinator") {
- switch (node.value) {
- case " ": // Descendant combinator
- break;
- case ">":
- property.push("child-of");
- break;
- case "+":
- property.push("next-to");
- break;
- case "~":
- property.push("sibling-of");
- break;
- }
- }
- else if (node.type === "class") {
- if (node.value === baseSelector) return;
- property.push(clean(node.value));
- return;
- }
-
- if (!node.nodes) return;
- node.each(processSelector);
- }
-
- selector.each(processSelector);
-
- // Dedupe the property array, removing the 2nd instance of a property
- property = property
- .filter((value, index) => property.indexOf(value) === index)
- .filter(Boolean);
-
- return `--${[identifierName, baseSelector, clean([...property, prop].filter(Boolean).join("-"))].filter(Boolean).join("-").toLowerCase()}`;
-}
-
-/**
- * Check for a replacement value based on the provided guesses
- * @param {import('postcss').Declaration} decl
- * @param {string} replace
- * @param {string[]} guesses
- * @param {string[]} systemValues
- * @returns {string|undefined|void} The updated declaration value
- */
-function checkForReplacement(
- decl,
- replace,
- guesses = [],
- systemValues = [],
-) {
- if (!decl || !replace || guesses.length === 0) return;
-
- const replacer = new RegExp(replace, "g");
-
- for (const g of guesses) {
- if (systemValues.includes(g)) {
- return decl.value.replace(replacer, g);
- }
-
- const values = systemValues.filter((value) => value.startsWith(g));
- if (values.length === 0) continue;
-
- if (values.length === 1) {
- return decl.value.replace(replacer, values[0]);
- }
-
- if (values.length > 1) {
- return decl.value.replace(replacer, values[0]);
- }
-
- continue;
- }
-}
-
-module.exports = {
- cleanPropertyName,
- extractFallbackValue,
- getBaseSelector,
- getVariableName,
- checkForReplacement,
-};
diff --git a/plugins/postcss-property-rollup/CHANGELOG.md b/plugins/postcss-property-rollup/CHANGELOG.md
deleted file mode 100644
index cfcc225c5d1..00000000000
--- a/plugins/postcss-property-rollup/CHANGELOG.md
+++ /dev/null
@@ -1,45 +0,0 @@
-# Change log
-
-## 0.0.1
-
-### Patch Changes
-
-📝 [#3541](https://github.com/adobe/spectrum-css/pull/3541) [`1a3245c`](https://github.com/adobe/spectrum-css/commit/1a3245c3a660bc52ed260f18b6cceab5ee81541d) Thanks [@castastrophe](https://github.com/castastrophe)!
-
-- Dependency alignment across the project.
-
- Set component peerDependencies as optional to reduce console warnings on downstream projects.
-
-## 2.0.1
-
-### Patch Changes
-
-📝 [#2775](https://github.com/adobe/spectrum-css/pull/2775) [`2452637`](https://github.com/adobe/spectrum-css/commit/2452637d1179b9b2b025dafeb5834720712413d7) Thanks [@castastrophe](https://github.com/castastrophe)!
-
-- Dependency minor and patch updates to support new features in tools leveraged
-
-## 2.0.0
-
-🗓 2024-01-29 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/postcss-combininator@1.0.2...postcss-combininator@2.0.0)
-
-### 🛑 BREAKING CHANGE
-
-Upgrade to PostCSS v8 [bd6c40e](https://github.com/adobe/spectrum-css/commit/bd6c40eb5a4b43df94dff1f325502e5cd08b7f5f)
-
-## 1.0.2
-
-🗓 2023-04-25 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/postcss-combininator@1.0.0...postcss-combininator@1.0.2)
-
-**Note:** Version bump only for package postcss-combininator
-
-## 1.0.1
-
-🗓 2023-04-25 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/postcss-combininator@1.0.0...postcss-combininator@1.0.1)
-
-**Note:** Version bump only for package postcss-combininator
-
-## 1.0.0
-
-🗓 2023-03-27
-
-**Note:** Version bump only for package postcss-combininator
diff --git a/plugins/postcss-property-rollup/README.md b/plugins/postcss-property-rollup/README.md
deleted file mode 100644
index a7a653d2a1b..00000000000
--- a/plugins/postcss-property-rollup/README.md
+++ /dev/null
@@ -1,74 +0,0 @@
-# postcss-property-rollup
-
-> Combines multiple blocks of custom properties
-
-## Installation
-
-```sh
-npm install postcss-property-rollup
-```
-
-## Usage
-
-On the command line:
-
-```sh
-postcss -u postcss-property-rollup -o dist/index.css src/index.css
-```
-
-or in the PostCSS configuration:
-
-```js
-module.exports = {
- plugins: {
- "postcss-property-rollup": {},
- },
-};
-```
-
-This plugin turns this:
-
-```css
-.lorem {
- --spectrum-actionbutton-background-color: blue;
- --spectrum-actionbutton-border-color: transparent;
-}
-
-.ipsum {
- --spectrum-actionbutton-background-color: purple;
-}
-```
-
-Into this:
-
-```css
-.ipsum {
- --spectrum-actionbutton-border-color: transparent;
- --spectrum-actionbutton-background-color: purple;
-}
-```
-
-The resulting selector comes from the last rule unless a `newSelector` option is provided, and all duplicate properties in the subsequent rules override the previous declarations.
-
-## Options
-
-### `newSelector`
-
-Type: `string`
-Default: `null`
-
-The selector to use for the combined rule. If not provided, the last selector in the list will be used.
-
-### `ignore`
-
-Type: `string[]`
-Default: `[]`
-
-An array of selectors to ignore when combining rules.
-
-### `keyword`
-
-Type: `string`
-Default: `combine`
-
-The `@` prefixed comment keyword to search for when determining what code to roll-up into the new selector.
diff --git a/plugins/postcss-property-rollup/expected/basic.css b/plugins/postcss-property-rollup/expected/basic.css
deleted file mode 100644
index 201ab4356c5..00000000000
--- a/plugins/postcss-property-rollup/expected/basic.css
+++ /dev/null
@@ -1,4 +0,0 @@
-.spectrum--express {
- --spectrum-actionbutton-background-color: purple;
- --spectrum-actionbutton-border-color: transparent;
-}
diff --git a/plugins/postcss-property-rollup/fixtures/basic.css b/plugins/postcss-property-rollup/fixtures/basic.css
deleted file mode 100644
index d7614ec6ee3..00000000000
--- a/plugins/postcss-property-rollup/fixtures/basic.css
+++ /dev/null
@@ -1,9 +0,0 @@
-/* @combine */
-.spectrum {
- --spectrum-actionbutton-background-color: blue;
- --spectrum-actionbutton-border-color: transparent;
-}
-
-.spectrum--express {
- --spectrum-actionbutton-background-color: purple;
-}
diff --git a/plugins/postcss-property-rollup/index.js b/plugins/postcss-property-rollup/index.js
deleted file mode 100644
index 2d986684c94..00000000000
--- a/plugins/postcss-property-rollup/index.js
+++ /dev/null
@@ -1,98 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-/**
- * @typedef Options
- * @property ignore {string[]} - List of selectors to ignore
- * @property newSelector {string} - New selector to create with the combined declarations
- */
-
-/** @type import('postcss').PluginCreator */
-module.exports = ({
- ignore = [],
- newSelector,
-} = {}) => {
- return {
- postcssPlugin: "postcss-property-rollup",
- OnceExit(root, { Rule }) {
- let shouldCombine = false;
- let localSelector;
- // Check the file for a comment with @combine and fetch the preceeding selector(s)
- root.walkComments((comment) => {
- if (!comment.text.includes("@combine")) return;
-
- shouldCombine = true;
-
- // Remove the @combine from the string
- const selectors = comment.text.replace("@combine", "").trim();
-
- comment.remove();
-
- if (!selectors) return;
-
- // Prefer the selectors from the comment over one provided in the config
- if (!localSelector) localSelector = selectors;
- });
-
- if (!shouldCombine) return;
-
- if (localSelector) newSelector = localSelector;
-
- const rules = [];
- const declarations = {};
-
- root.walkRules((rule) => {
- if (ignore.includes(rule.selector)) return;
- rules.push(rule);
- rule.walkDecls(/^--/, (decl) => {
- declarations[decl.prop] = decl;
- decl.remove();
- });
- });
-
- if (!rules.length) return;
-
- if (newSelector) {
- // Create a new rule with the combined declarations
- const newRule = new Rule({ selector: newSelector });
- for (const decl of Object.values(declarations)) {
- newRule.append(decl);
- }
- root.append(newRule);
-
- // Remove the rules from the root
- rules.forEach((rule) => {
- rule.remove();
- });
-
- return;
- }
-
- // If no new selector is provided, combine the declarations into the last rule
- const lastIdx = rules.length - 1;
- const lastRule = rules[lastIdx];
-
- if (!lastRule) return;
-
- rules.forEach((rule, index) => {
- if (index !== lastIdx) rule.remove();
- });
-
- for (const decl of Object.values(declarations)) {
- lastRule.append(decl);
- }
- },
- };
-};
-
-module.exports.postcss = true;
diff --git a/plugins/postcss-property-rollup/package.json b/plugins/postcss-property-rollup/package.json
deleted file mode 100644
index 1c909722236..00000000000
--- a/plugins/postcss-property-rollup/package.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "name": "@spectrum-tools/postcss-property-rollup",
- "version": "0.0.1",
- "description": "Combines custom properties from multiple selectors into a single selector",
- "license": "Apache-2.0",
- "author": "Adobe",
- "contributors": [
- "Cassondra Roberts "
- ],
- "homepage": "https://opensource.adobe.com/spectrum-css/",
- "repository": {
- "type": "git",
- "url": "https://github.com/adobe/spectrum-css.git",
- "directory": "plugins/postcss-property-rollup"
- },
- "bugs": {
- "url": "https://github.com/adobe/spectrum-css/issues"
- },
- "main": "index.js",
- "files": [
- "package.json",
- "index.js",
- "*.md"
- ],
- "peerDependencies": {
- "postcss": ">=8"
- },
- "devDependencies": {
- "ava": "^6.2.0",
- "c8": "^10.1.3",
- "postcss": "^8.5.3"
- },
- "keywords": [
- "css",
- "theming",
- "custom properties",
- "postcss",
- "postcss-plugin"
- ]
-}
diff --git a/plugins/postcss-property-rollup/project.json b/plugins/postcss-property-rollup/project.json
deleted file mode 100644
index 681869f7a14..00000000000
--- a/plugins/postcss-property-rollup/project.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "$schema": "../../node_modules/nx/schemas/project-schema.json",
- "name": "postcss-property-rollup",
- "tags": ["tooling", "postcss"],
- "targets": {
- "format": {
- "defaultConfiguration": "plugins"
- },
- "lint": {
- "defaultConfiguration": "plugins"
- },
- "test": {
- "defaultConfiguration": "plugins"
- }
- }
-}
diff --git a/plugins/postcss-property-rollup/test.js b/plugins/postcss-property-rollup/test.js
deleted file mode 100644
index 2e2923f7b91..00000000000
--- a/plugins/postcss-property-rollup/test.js
+++ /dev/null
@@ -1,50 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- *
- * 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
- *
- * 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
- * governing permissions and limitations under the License.
- */
-
-const fs = require("fs");
-const test = require("ava");
-const postcss = require("postcss");
-const plugin = require("./index.js");
-
-function compare(
- t,
- fixtureFilePath,
- expectedFilePath,
- options = {
- processIdentifier: (identifier) => {
- if (identifier === "express") {
- return "spectrum--express";
- }
- return identifier;
- },
- }
-) {
- return postcss([plugin(options)])
- .process(readFile(`./fixtures/${fixtureFilePath}`), {
- from: fixtureFilePath,
- })
- .then((result) => {
- const actual = result.css;
- const expected = readFile(`./expected/${expectedFilePath}`);
- t.is(actual, expected);
- t.is(result.warnings().length, 0);
- });
-}
-
-function readFile(filename) {
- return fs.readFileSync(filename, "utf8");
-}
-
-test("create basic output", (t) => {
- return compare(t, "basic.css", "basic.css");
-});
diff --git a/plugins/postcss-rgb-mapping/index.js b/plugins/postcss-rgb-mapping/index.js
index 155a1c68cfe..248c928e991 100644
--- a/plugins/postcss-rgb-mapping/index.js
+++ b/plugins/postcss-rgb-mapping/index.js
@@ -24,7 +24,7 @@ function rgbMappingFunction ({
colorFunctionalNotation = false,
}) {
return {
- postcssPlugin: "postcss-rgb-mapping",
+ postcssPlugin: "@spectrum-tools/postcss-rgb-mapping",
/** @type {import('postcss').DeclarationProcessor} */
Declaration(decl, { Warning }) {
const { prop, value } = decl;
diff --git a/plugins/stylelint-no-missing-var/CHANGELOG.md b/plugins/stylelint-no-missing-var/CHANGELOG.md
index a222116b019..fc2214fb983 100644
--- a/plugins/stylelint-no-missing-var/CHANGELOG.md
+++ b/plugins/stylelint-no-missing-var/CHANGELOG.md
@@ -4,7 +4,9 @@
### Patch Changes
-- [#3527](https://github.com/adobe/spectrum-css/pull/3527) [`5f1751c`](https://github.com/adobe/spectrum-css/commit/5f1751c82a5fe55ae0d999f5f50cfeca4c8a5c75) Thanks [@castastrophe](https://github.com/castastrophe)! - Minor dependency updates to align with the larger project.
+📝 [#3527](https://github.com/adobe/spectrum-css/pull/3527) [`5f1751c`](https://github.com/adobe/spectrum-css/commit/5f1751c82a5fe55ae0d999f5f50cfeca4c8a5c75) Thanks [@castastrophe](https://github.com/castastrophe)!
+
+- Minor dependency updates to align with the larger project.
## 2.0.1
diff --git a/plugins/stylelint-no-unknown-custom-properties/CHANGELOG.md b/plugins/stylelint-no-unknown-custom-properties/CHANGELOG.md
index 4d2d09b6cac..9b66e2074f8 100644
--- a/plugins/stylelint-no-unknown-custom-properties/CHANGELOG.md
+++ b/plugins/stylelint-no-unknown-custom-properties/CHANGELOG.md
@@ -4,7 +4,9 @@
### Patch Changes
-- [#3527](https://github.com/adobe/spectrum-css/pull/3527) [`5f1751c`](https://github.com/adobe/spectrum-css/commit/5f1751c82a5fe55ae0d999f5f50cfeca4c8a5c75) Thanks [@castastrophe](https://github.com/castastrophe)! - Minor dependency updates to align with the larger project.
+📝 [#3527](https://github.com/adobe/spectrum-css/pull/3527) [`5f1751c`](https://github.com/adobe/spectrum-css/commit/5f1751c82a5fe55ae0d999f5f50cfeca4c8a5c75) Thanks [@castastrophe](https://github.com/castastrophe)!
+
+- Minor dependency updates to align with the larger project.
## 2.0.2
diff --git a/plugins/stylelint-no-unknown-custom-properties/index.js b/plugins/stylelint-no-unknown-custom-properties/index.js
index 443af61c20e..69ec3f8ad67 100644
--- a/plugins/stylelint-no-unknown-custom-properties/index.js
+++ b/plugins/stylelint-no-unknown-custom-properties/index.js
@@ -30,7 +30,6 @@ const messages = ruleMessages(ruleName, {
expected: (prop) => `Custom property ${prop.magenta} not defined`,
});
-import fg from "fast-glob";
import { parse } from "postcss";
import valuesParser from "postcss-values-parser";
@@ -71,14 +70,6 @@ const ruleFunction = (enabled, options = {}) => {
const sharedDefinitions = new Set();
- for (const themePath of fg.sync(["themes/*.css"], { cwd: componentRoot, absolute: true })) {
- const content = readFileSync(themePath, "utf8");
- if (!content) continue;
- parse(content).walkDecls(/^--/, ({ prop }) => {
- sharedDefinitions.add(prop);
- });
- }
-
function fetchResolutions(depName) {
let req;
try {
diff --git a/plugins/stylelint-no-unused-custom-properties/CHANGELOG.md b/plugins/stylelint-no-unused-custom-properties/CHANGELOG.md
index 3d00882fc9d..364204278d1 100644
--- a/plugins/stylelint-no-unused-custom-properties/CHANGELOG.md
+++ b/plugins/stylelint-no-unused-custom-properties/CHANGELOG.md
@@ -4,7 +4,9 @@
### Patch Changes
-- [#3527](https://github.com/adobe/spectrum-css/pull/3527) [`5f1751c`](https://github.com/adobe/spectrum-css/commit/5f1751c82a5fe55ae0d999f5f50cfeca4c8a5c75) Thanks [@castastrophe](https://github.com/castastrophe)! - Minor dependency updates to align with the larger project.
+📝 [#3527](https://github.com/adobe/spectrum-css/pull/3527) [`5f1751c`](https://github.com/adobe/spectrum-css/commit/5f1751c82a5fe55ae0d999f5f50cfeca4c8a5c75) Thanks [@castastrophe](https://github.com/castastrophe)!
+
+- Minor dependency updates to align with the larger project.
## 2.0.4
diff --git a/plugins/stylelint-theme-alignment/CHANGELOG.md b/plugins/stylelint-theme-alignment/CHANGELOG.md
deleted file mode 100644
index 86056dd1405..00000000000
--- a/plugins/stylelint-theme-alignment/CHANGELOG.md
+++ /dev/null
@@ -1,31 +0,0 @@
-# Change log
-
-## 1.2.1
-
-### Patch Changes
-
-- [#3527](https://github.com/adobe/spectrum-css/pull/3527) [`5f1751c`](https://github.com/adobe/spectrum-css/commit/5f1751c82a5fe55ae0d999f5f50cfeca4c8a5c75) Thanks [@castastrophe](https://github.com/castastrophe)! - Minor dependency updates to align with the larger project.
-
-## 1.2.0
-
-### Minor Changes
-
-📝 [#3502](https://github.com/adobe/spectrum-css/pull/3502) [`562396e`](https://github.com/adobe/spectrum-css/commit/562396eaf21769341f78ea3761393b65f00e751b) Thanks [@castastrophe](https://github.com/castastrophe)!
-
-- Fixes a bug where the source file is expected to be "spectrum-two" instead of "spectrum".
-
-## 1.1.0
-
-### Minor Changes
-
-📝 [#3403](https://github.com/adobe/spectrum-css/pull/3403) [`48626b8`](https://github.com/adobe/spectrum-css/commit/48626b8ca11043d290c0fe987ec501b88bd6e339) Thanks [@castastrophe](https://github.com/castastrophe)!
-
-- Allow the base filename to be passed into the tool so that the core theme can be updated. Great preparations for S2 roll-out when spectrum-two.css theme files will become our primary source of theme content.
-
-## 1.0.0
-
-### Major Changes
-
-📝 [#3026](https://github.com/adobe/spectrum-css/pull/3026) [`544a803`](https://github.com/adobe/spectrum-css/commit/544a8039e84423a4db3137a0688f27b7812e291f) Thanks [@castastrophe](https://github.com/castastrophe)!
-
-- Initial release of the stylelint theme alignment tool. This package uses the base file (themes/spectrum.css) for a Spectrum CSS component as a "source of truth" and validates the sub-themes (i.e., themes/express.css) use only selectors and custom properties defined in the base file.
diff --git a/plugins/stylelint-theme-alignment/README.md b/plugins/stylelint-theme-alignment/README.md
deleted file mode 100644
index 1aa58cd7fa4..00000000000
--- a/plugins/stylelint-theme-alignment/README.md
+++ /dev/null
@@ -1,78 +0,0 @@
-# stylelint-no-unused-custom-properties
-
-> Remove or report on unused variable definitions
-
-## Installation
-
-```sh
-yarn add -D @spectrum-tools/stylelint-no-unused-custom-properties
-```
-
-## Usage
-
-Assuming you have some variables defined and rule(s) that use them:
-
-```css
-:root {
- --prefix-component-background-color: blue;
- --prefix-component-width: 10px;
- --prefix-component-height: 10px;
- --prefix-component-size: 10px;
-}
-
-.component {
- background-color: var(--prefix-component-background-color);
-
- width: var(--prefix-component-width);
- height: var(--prefix-component-height);
-}
-```
-
-The variables that are not used in any rule will be removed from the output or reported to the console:
-
-```css
-:root {
- --prefix-component-background-color: blue;
- --prefix-component-width: 10px;
- --prefix-component-height: 10px;
-}
-
-.component {
- background-color: var(--prefix-component-background-color);
-
- width: var(--prefix-component-width);
- height: var(--prefix-component-height);
-}
-```
-
-To allow variables to be defined without being used, such as when you want to pass custom properties down to a child component, you can add a `/* @passthrough */` comment to the variable definition:
-
-```css
-:root {
- /* @passthrough */
- --nested-component-background-color: blue;
- --prefix-component-width: 10px;
- --prefix-component-height: 10px;
- --prefix-component-size: 10px;
-}
-```
-
-To allow a group of properties to be passed down, you can prefix the set with `/* @passthrough start */` and suffix it with `/* @passthrough end */`:
-
-```css
-:root {
- /* @passthrough start */
- --nested-component-background-color: blue;
- --nested-component-width: 10px;
- /* @passthrough end */
-
- --prefix-component-height: 10px;
- --prefix-component-size: 10px;
-}
-```
-
-## Options
-
-### `ignoreList` (default: `[]`)
-
-An array of strings or regular expressions that will be matched against the variable name. If a match is found, the variable will be ignored.
diff --git a/plugins/stylelint-theme-alignment/index.js b/plugins/stylelint-theme-alignment/index.js
deleted file mode 100644
index 98653a2225a..00000000000
--- a/plugins/stylelint-theme-alignment/index.js
+++ /dev/null
@@ -1,158 +0,0 @@
-/*!
- * Copyright 2024 Adobe. All rights reserved.
- * 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
- * governing permissions and limitations under the License.
- */
-
-import fs from "node:fs";
-import { basename, relative, sep } from "node:path";
-
-import postcss from "postcss";
-import valuesParser from "postcss-values-parser";
-import stylelint from "stylelint";
-import { isString } from "stylelint/lib/utils/validateTypes.mjs";
-
-const {
- createPlugin,
- utils: { report, ruleMessages, validateOptions }
-} = stylelint;
-
-import "colors";
-
-const ruleName = "spectrum-tools/theme-alignment";
-const messages = ruleMessages(ruleName, {
- missing: (baseFile, sourceFile, rootPath) => `A base file (${relative(rootPath, baseFile)}) is required to validate ${relative(rootPath, sourceFile)}.`,
- // Report if a selector is in this file but not in the base file
- expected: (selector, baseFile, rootPath) => `Selector "${selector}" is not used or defined in the base file (${relative(rootPath, baseFile)}).`,
- // Report if a custom property is used in this file but not in the base file
- referenced: (property, baseFile, rootPath) => `Custom property "${property}" is not used or defined by the base file (${relative(rootPath, baseFile)}).`,
-});
-
-/** @type {import('stylelint').Plugin} */
-const ruleFunction = (enabled, options = {}) => {
- return (root, result) => {
- const validOptions = validateOptions(
- result,
- ruleName,
- {
- actual: enabled,
- possible: [true],
- },
- {
- actual: options,
- possible: {
- baseFilename: isString,
- },
- optional: true,
- },
- );
-
- if (!validOptions) return;
-
-
- const { baseFilename = "spectrum" } = options;
-
- const sourceFile = root.source.input.file;
- const parts = sourceFile ? sourceFile.split(sep) : [];
- const isTheme = parts[parts.length - 2] === "themes";
- const filename = parts[parts.length - 1];
-
- if (!isTheme || basename(filename, ".css") === baseFilename) return;
-
- // All the parts of the source file but replace the filename with the baseFilename
- const baseFile = [...parts.slice(0, -1), `${baseFilename}.css`].join(sep);
- const rootPath = parts.slice(0, -2).join(sep);
-
- // If the base file doesn't exist, throw an error
- if (!fs.existsSync(baseFile)) {
- report({
- message: messages.missing,
- messageArgs: [baseFile, sourceFile, rootPath],
- node: root,
- result,
- ruleName,
- });
- return;
- }
-
- // Read in the base file and parse it
- const baseContent = fs.readFileSync(baseFile, "utf8");
- const baseRoot = postcss.parse(baseContent);
-
- /* A list of all selectors in the base file */
- const baseSelectors = new Set();
- /* A list of all properties in the base file */
- const baseProperties = new Set();
-
- /* Iterate over selectors in the base root */
- baseRoot.walkRules((rule) => {
- rule.selectors.forEach((selector) => {
- // Add this selector to the selectors set
- baseSelectors.add(selector);
- });
-
- rule.walkDecls((decl) => {
- // If this is a custom property, add it to the properties set
- if (decl.prop.startsWith("--")) {
- baseProperties.add(decl.prop);
- }
-
- // If the value of this declaration includes a custom property, add it to the properties set
- const parsed = valuesParser.parse(decl.value);
- parsed.walk((node) => {
- if (node.type === "func" && node.value === "var") {
- baseProperties.add(node.nodes[0].value);
- }
- });
- });
- });
-
- /* Iterate over selectors in the source root and validate that they align with the base */
- root.walkRules((rule) => {
- rule.selectors.forEach((selector) => {
- // Check if this selector exists in the base
- if (!baseSelectors.has(selector)) {
- // Report any selectors that don't exist in the base
- report({
- message: messages.expected,
- messageArgs: [selector, baseFile, rootPath],
- node: rule,
- result,
- ruleName,
- });
- return;
- }
- });
-
- rule.walkDecls((decl) => {
- const isProperty = decl.prop.startsWith("--");
- // @todo should report that this is setting something other than a custom property in the theme file
- if (!isProperty) {
- return;
- }
-
- // If this is a custom property, check if it's used in the base
- if (!baseProperties.has(decl.prop)) {
- report({
- message: messages.referenced,
- messageArgs: [decl.prop, baseFile, rootPath],
- node: decl,
- result,
- ruleName,
- });
- }
- });
- });
- };
-};
-
-ruleFunction.ruleName = ruleName;
-ruleFunction.messages = messages;
-
-export default createPlugin(ruleName, ruleFunction);
diff --git a/plugins/stylelint-theme-alignment/package.json b/plugins/stylelint-theme-alignment/package.json
deleted file mode 100644
index 38e269695b0..00000000000
--- a/plugins/stylelint-theme-alignment/package.json
+++ /dev/null
@@ -1,44 +0,0 @@
-{
- "name": "@spectrum-tools/stylelint-theme-alignment",
- "version": "1.2.1",
- "description": "A utility to ensure that all custom properties are intially defined in a core resource file and all subsequent uses leverage only values defined there first.",
- "license": "Apache-2.0",
- "author": "Adobe",
- "contributors": [
- "Cassondra Roberts "
- ],
- "homepage": "https://opensource.adobe.com/spectrum-css",
- "repository": {
- "type": "git",
- "url": "https://github.com/adobe/spectrum-css.git",
- "directory": "plugins/stylelint-theme-alignment"
- },
- "bugs": {
- "url": "https://github.com/adobe/spectrum-css/issues"
- },
- "type": "module",
- "main": "index.js",
- "files": [
- "package.json",
- "index.js",
- "*.md"
- ],
- "dependencies": {
- "colors": "^1.4.0",
- "postcss": "^8.5.3",
- "postcss-values-parser": "^6.0.2"
- },
- "peerDependencies": {
- "stylelint": ">=16"
- },
- "devDependencies": {
- "stylelint": "^16.15.0"
- },
- "keywords": [
- "css",
- "lint",
- "properties",
- "report",
- "stylelint-plugin"
- ]
-}
diff --git a/plugins/stylelint-theme-alignment/project.json b/plugins/stylelint-theme-alignment/project.json
deleted file mode 100644
index 90709f217ad..00000000000
--- a/plugins/stylelint-theme-alignment/project.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "$schema": "../../node_modules/nx/schemas/project-schema.json",
- "name": "stylelint-theme-alignment",
- "tags": ["tooling", "stylelint"],
- "targets": {
- "format": {
- "defaultConfiguration": "plugins"
- },
- "lint": {
- "defaultConfiguration": "plugins"
- }
- }
-}
diff --git a/postcss.config.js b/postcss.config.js
index d30bb25de04..5e4804ed0d5 100644
--- a/postcss.config.js
+++ b/postcss.config.js
@@ -15,12 +15,7 @@ const fs = require("node:fs");
const { join, basename } = require("node:path");
module.exports = ({
- skipMapping = false,
- referencesOnly = false,
- preserveVariables = true,
- stripLocalSelectors = false,
resolveImports = true,
- shouldCombine = false,
lint = true,
verbose = true,
minify = false,
@@ -84,19 +79,6 @@ module.exports = ({
prefix: "is-"
} : false,
"postcss-hover-media-feature": {},
- /* --------------------------------------------------- */
- /* ------------------- VARIABLE PARSING -------------- */
- "@spectrum-tools/postcss-add-theming-layer": {
- selectorPrefix: "spectrum",
- skipMapping,
- preserveVariables,
- referencesOnly,
- stripLocalSelectors,
- debug: verbose,
- },
- "@spectrum-tools/postcss-property-rollup": shouldCombine ? {
- newSelector: ".spectrum",
- } : false,
...additionalPlugins,
/* --------------------------------------------------- */
/* ------------------- POLYFILLS --------------------- */
diff --git a/schemas/metadata.schema.json b/schemas/metadata.schema.json
index c91ce98e0f2..1352f802900 100644
--- a/schemas/metadata.schema.json
+++ b/schemas/metadata.schema.json
@@ -10,71 +10,54 @@
"pattern": "^.+\\.css$",
"description": "The path to the source file used in generating the metadata."
},
- "selectors": {
- "description": "These are the selectors available for the component.",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "modifiers": {
- "description": "These are the modifiers available for the component.",
- "type": "array",
- "items": {
- "type": "string",
- "pattern": "^--mod-"
- }
- },
- "component": {
- "description": "The component-level custom properties for the component.",
- "type": "array",
- "items": {
- "type": "string",
- "pattern": "^--spectrum-"
- }
- },
- "global": {
- "description": "The global custom properties used in this component as generated by the design tokens.",
- "type": "array",
- "items": {
- "type": "string",
- "pattern": "^--spectrum-"
- }
- },
- "system-theme": {
- "description": "The system theme hooks created by the postcss tooling to allow theme toggling on a component.",
- "type": "array",
- "items": {
- "type": "string",
- "pattern": "^--system-"
- }
- },
- "passthroughs": {
- "description": "Modifier custom properties for nested components that are passed through by this component.",
- "type": "array",
- "items": {
- "type": "string",
- "pattern": "^--mod-"
- }
- },
- "high-contrast": {
- "description": "Custom properties that allow high-contrast styles to be applied to the component.",
- "type": "array",
- "items": {
- "type": "string",
- "pattern": "^--highcontrast-"
- }
- }
+ "selectors": {
+ "description": "These are the selectors available for the component.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "modifiers": {
+ "description": "These are the modifiers available for the component.",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "pattern": "^--mod-"
+ }
+ },
+ "component": {
+ "description": "The component-level custom properties for the component.",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "pattern": "^--spectrum-"
+ }
+ },
+ "global": {
+ "description": "The global custom properties used in this component as generated by the design tokens.",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "pattern": "^--spectrum-"
+ }
+ },
+ "passthroughs": {
+ "description": "Modifier custom properties for nested components that are passed through by this component.",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "pattern": "^--mod-"
+ }
+ },
+ "high-contrast": {
+ "description": "Custom properties that allow high-contrast styles to be applied to the component.",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "pattern": "^--highcontrast-"
+ }
+ }
},
- "required": [
- "sourceFile",
- "selectors",
- "modifiers",
- "component",
- "global",
- "system-theme",
- "passthroughs",
- "high-contrast"
- ],
+ "required": ["sourceFile", "selectors", "modifiers", "component", "global", "passthroughs", "high-contrast"],
"additionalProperties": false
}
diff --git a/stylelint.config.js b/stylelint.config.js
index 2d5c9697c84..0a8ad1f507c 100644
--- a/stylelint.config.js
+++ b/stylelint.config.js
@@ -11,7 +11,6 @@ module.exports = {
"@spectrum-tools/stylelint-no-missing-var",
"@spectrum-tools/stylelint-no-unused-custom-properties",
"@spectrum-tools/stylelint-no-unknown-custom-properties",
- "@spectrum-tools/stylelint-theme-alignment",
// "stylelint-high-performance-animation",
],
rules: {
@@ -150,7 +149,6 @@ module.exports = {
* Local/custom plugins
* -------------------------------------------------------------- */
"spectrum-tools/no-missing-var": true,
- "spectrum-tools/theme-alignment": null,
"spectrum-tools/no-unused-custom-properties": null,
"spectrum-tools/no-unknown-custom-properties": null,
},
@@ -208,21 +206,6 @@ module.exports = {
"custom-property-pattern": [/^(spectrum|color|scale|system)/, {}],
}
},
- {
- /* Validate that the legacy themes don't introduce any new selectors or custom properties */
- files: ["components/*/themes/*.css", "!components/*/themes/spectrum.css"],
- rules: {
- "spectrum-tools/no-unused-custom-properties": null,
- "selector-class-pattern": [
- "^(spectrum-|is-|u-)[A-Za-z0-9-]+", {
- resolveNestedSelectors: true
- }
- ],
- "spectrum-tools/theme-alignment": [true, {
- baseFilename: "spectrum-two",
- }],
- },
- },
{
/* Allow "tree shaking" of unused custom properties in the bundle */
files: ["tools/bundle/**/*.css"],
diff --git a/tasks/clean-up-after-migration.sh b/tasks/clean-up-after-migration.sh
index 101f07e82ee..f04cb29e10c 100644
--- a/tasks/clean-up-after-migration.sh
+++ b/tasks/clean-up-after-migration.sh
@@ -13,11 +13,6 @@
# After migrating from our old build system, there are a lot of empty folders hanging out still
# This script aims to clean up those folders
-# Legacy tools folder (included storybook & generator)
-# test -d "tools" && rm -rf tools
-
-test -d "tools" && rm -rf tools
-
# Remove deprecated files
for folder in components/*; do
# Only processing nested folders, not top-level files
diff --git a/tasks/component-builder.js b/tasks/component-builder.js
index 93afb637693..6d37af3b6a4 100644
--- a/tasks/component-builder.js
+++ b/tasks/component-builder.js
@@ -196,79 +196,6 @@ async function build({ cwd = process.cwd(), clean = false, minify = false, compo
]);
}
-/**
- * The builder for the individual themes assets
- * @param {object} config
- * @param {string} config.cwd - Current working directory for the component being built
- * @param {boolean} config.clean - Should the built assets be cleaned before running the build
- * @returns Promise
- */
-async function buildThemes({ cwd = process.cwd(), minify = false, clean = false } = {}) {
- // This fetches the content of the files and returns an array of objects with the content and input paths
- const contentData = await fetchContent(["themes/*.css"], { cwd, clean });
-
- // Nothing to do if there's no content
- if (!contentData || contentData.length === 0) return;
-
- const imports = contentData.map(({ input }) => input);
- const importMap = imports.map((i) => `@import "${i}";`).join("\n");
-
- const basePostCSSOptions = {
- cwd,
- clean,
- map: false,
- env: "production",
- lint: false,
- };
-
- const promises = [];
-
- contentData.forEach(async ({ content, input }) => {
- const theme = path.basename(input, ".css");
-
- promises.push(
- processCSS(content, path.join(cwd, input), path.join(cwd, "dist", "themes", `${theme}.css`), {
- ...basePostCSSOptions,
- shouldCombine: true,
- // Only output the new selectors with the system mappings
- stripLocalSelectors: true,
- }),
- minify ? processCSS(content, path.join(cwd, input), path.join(cwd, "dist", "themes", `${theme}.min.css`), {
- ...basePostCSSOptions,
- shouldCombine: true,
- // Only output the new selectors with the system mappings
- stripLocalSelectors: true,
- }) : Promise.resolve(),
- );
- });
-
- promises.push(
- processCSS(undefined, path.join(cwd, "index.css"), path.join(cwd, "dist", "index-base.css"), {
- ...basePostCSSOptions,
- referencesOnly: true,
- // Only output the new selectors with the system mappings
- stripLocalSelectors: true,
- }),
- minify ? processCSS(undefined, path.join(cwd, "index.css"), path.join(cwd, "dist", "index-base.min.css"), {
- ...basePostCSSOptions,
- referencesOnly: true,
- // Only output the new selectors with the system mappings
- stripLocalSelectors: true,
- }) : Promise.resolve(),
- // Expect this file to have component-specific selectors mapping to the system tokens but not the system tokens themselves
- processCSS(importMap, path.join(cwd, "index.css"), path.join(cwd, "dist", "index-theme.css"), {
- ...basePostCSSOptions,
- referencesOnly: true,
- }),
- minify ? processCSS(importMap, path.join(cwd, "index.css"), path.join(cwd, "dist", "index-theme.min.css"), {
- ...basePostCSSOptions,
- referencesOnly: true,
- }) : Promise.resolve(),
- );
-
- return Promise.all(promises);
-}
-
/**
* The main entry point for this tool; this builds a CSS component
* @param {object} config
@@ -304,42 +231,33 @@ async function main({
const key = `[build] ${`@spectrum-css/${componentName}`.cyan}`;
console.time(key);
- // Create the dist directory if it doesn't exist
- if (!fs.existsSync(path.join(cwd, "dist"))) {
- fs.mkdirSync(path.join(cwd, "dist"));
+ const reports = [];
+ const errors = [];
+
+ await build({ cwd, clean, minify }).then((report) => reports.push(report)).catch((err) => errors.push(err));
+
+ const logs = reports.flat(Infinity).filter(Boolean);
+ const errs = errors.flat(Infinity).filter(Boolean);
+
+ console.log(`\n\n${key} 🔨`);
+ console.log(`${"".padStart(30, "-")}`);
+
+ if (errs && errs.length > 0) {
+ errs.forEach((err) => console.error(err));
+ }
+ else {
+ if (logs && logs.length > 0) {
+ logs.forEach((log) => console.log(log));
+ }
+ else console.log("No assets created.".gray);
}
- return Promise.all([
- build({ cwd, clean, minify }),
- buildThemes({ cwd, clean, minify }),
- ])
- .then((report) => {
- const logs = report.flat(Infinity).filter(Boolean);
-
- console.log(`\n\n${key} 🔨`);
- console.log(`${"".padStart(30, "-")}`);
-
- if (logs && logs.length > 0) {
- logs.forEach((log) => console.log(log));
- }
- else console.log("No assets created.".gray);
-
- console.log(`${"".padStart(30, "-")}`);
- console.timeEnd(key);
- console.log("");
- })
- .catch((err) => {
- console.log(`\n\n${key} 🔨`);
- console.log(`${"".padStart(30, "-")}`);
-
- console.trace(err);
-
- console.log(`${"".padStart(30, "-")}`);
- console.timeEnd(key);
- console.log("");
-
- process.exit(1);
- });
+ console.log(`${"".padStart(30, "-")}`);
+ console.timeEnd(key);
+ console.log("");
+
+ if (errs && errs.length > 0) process.exit(1);
+ else process.exit(0);
}
exports.processCSS = processCSS;
diff --git a/tasks/component-reporter.js b/tasks/component-reporter.js
index 444449c833a..379256b9107 100644
--- a/tasks/component-reporter.js
+++ b/tasks/component-reporter.js
@@ -66,6 +66,9 @@ async function extractModifiers(
const selectors = new Set();
const root = postcss.parse(content);
root.walkRules((rule) => {
+ // Check that the selector is not inside a keyframe
+ if (rule.parent.type === "atrule" && rule.parent.name === "keyframes") return;
+
if (rule.selectors) {
rule.selectors.forEach((selector) => {
// If the selector is not a base selector, add it to the set
@@ -170,10 +173,6 @@ async function main({
const processed = await processCSS(undefined, sourceCSS, undefined, {
cwd,
- skipMapping: false,
- referencesOnly: false,
- preserveVariables: true,
- stripLocalSelectors: false,
map: false,
env: "production",
});
@@ -184,11 +183,10 @@ async function main({
cwd,
sourcePath: sourceCSS,
componentName,
- baseSelectors: [".spectrum", ".spectrum--express", ".spectrum--legacy"],
+ baseSelectors: [".spectrum"],
dataModel: {
modifiers: ["mod"],
spectrum: ["spectrum"],
- "system-theme": ["system"],
"high-contrast": ["highcontrast"],
},
}
@@ -203,7 +201,6 @@ async function main({
modifiers: meta.modifiers,
component: meta.component,
global: meta.global,
- "system-theme": meta["system-theme"],
passthroughs: meta.passthroughs,
"high-contrast": meta["high-contrast"],
}, null, 2),
diff --git a/tasks/templates/diff-preview.njk b/tasks/templates/diff-preview.njk
index dc90d09a576..468a77ed93c 100644
--- a/tasks/templates/diff-preview.njk
+++ b/tasks/templates/diff-preview.njk
@@ -7,11 +7,11 @@
-
+
-
-
-
+
+
+
diff --git a/tokens/CHANGELOG.md b/tokens/CHANGELOG.md
index 7e4724fbcbc..486f6660ba1 100644
--- a/tokens/CHANGELOG.md
+++ b/tokens/CHANGELOG.md
@@ -2750,6 +2750,7 @@ chore: updated css properties
## 11.0.2
🗓 2023-07-24 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/tokens@11.0.1...@spectrum-css/tokens@11.0.2)
+
**Note:** Version bump only for package @spectrum-css/tokens
## 11.0.1
@@ -2760,6 +2761,8 @@ chore: updated css properties
## 11.0.0
+🗓 2023-07-14 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/tokens@10.2.2...@spectrum-css/tokens@11.0.0)
+
### ✨ Features
- **tokens:** update to spectrum-tokens 12.4.0 ([#2031](https://github.com/adobe/spectrum-css/issues/2031))([955c8f1](https://github.com/adobe/spectrum-css/commit/955c8f1))
diff --git a/tokens/README.md b/tokens/README.md
index a0e99bf2381..ebdf427d75e 100644
--- a/tokens/README.md
+++ b/tokens/README.md
@@ -29,7 +29,7 @@ Consumers should load only the mappings for the components they are using in the
The output is concatenated into a single `dist/index.css` for use in a vanilla HTML application. This entire file should be imported, and the relevant classes should be toggled to swap out core tokens.
-On the `` element, start with `.spectrum`, add in `.spectrum--light`, then `.spectrum--medium`. To switch to another context, add `.spectrum--legacy` or `.spectrum--express`.
+On the `` element, start with `.spectrum`, add in `.spectrum--light`, then `.spectrum--medium`.
For additional guidance on which assets to load, see the architecture section below.
diff --git a/tokens/custom/global-vars.css b/tokens/custom/global-vars.css
index 55cad6984bd..0a188980cb1 100644
--- a/tokens/custom/global-vars.css
+++ b/tokens/custom/global-vars.css
@@ -57,9 +57,12 @@
--spectrum-cjk-font-family-stack: adobe-clean-han-japanese, var(--spectrum-cjk-font-family), sans-serif;
--spectrum-cjk-font: var(--spectrum-code-font-family-stack);
- /* static white / black background color for docs containers */
- --spectrum-docs-static-white-background-color: rgb(15 121 125);
- --spectrum-docs-static-black-background-color: rgb(181 209 211);
+ /* Gradient that changes with the color theme. */
+ --spectrum-examples-gradient: linear-gradient(45deg, var(--spectrum-magenta-1500), var(--spectrum-blue-1500));
+
+ /* Gradients that do not change with the color theme, for use in static color backgrounds. */
+ --spectrum-examples-gradient-static-black: linear-gradient(45deg, rgb(255, 241, 246), rgb(238, 245, 255));
+ --spectrum-examples-gradient-static-white: linear-gradient(45deg, rgb(64, 0, 22), rgb(14, 24, 67));
--spectrum-coach-indicator-ring-static-white-color: var(--spectrum-white);
}
diff --git a/tokens/custom/large-vars.css b/tokens/custom/large-vars.css
index 358ad3404c6..cdc0bc73bf9 100644
--- a/tokens/custom/large-vars.css
+++ b/tokens/custom/large-vars.css
@@ -104,6 +104,11 @@
--spectrum-slider-tick-mark-height: 13px;
--spectrum-slider-ramp-track-height: 20px;
+ --spectrum-standard-dialog-spacing-edge-to-content: var(--spectrum-spacing-400);
+ --spectrum-takeover-dialog-spacing-grid-padding: var(--spectrum-spacing-400);
+ --spectrum-takeover-dialog-spacing-header-gap: var(--spectrum-spacing-300);
+ --spectrum-takeover-dialog-spacing-title-to-body: var(--spectrum-spacing-400);
+
--spectrum-treeview-item-indentation-medium: 20px;
--spectrum-treeview-item-indentation-small: 15px;
--spectrum-treeview-item-indentation-large: 25px;
@@ -111,7 +116,9 @@
--spectrum-treeview-indicator-inset-block-start: 6px;
--spectrum-treeview-item-min-block-size-thumbnail-offset-medium: 2px;
- --spectrum-tooltip-animation-distance: 5px;
+ /* To get a square that measures 12px on the diagonal, the sides have to be 10px */
+ --spectrum-tooltip-tip-square-size: 10px;
+
--spectrum-ui-icon-medium-display: none;
--spectrum-ui-icon-large-display: block;
diff --git a/tokens/custom/medium-vars.css b/tokens/custom/medium-vars.css
index 5221e74999c..817e26b2d5d 100644
--- a/tokens/custom/medium-vars.css
+++ b/tokens/custom/medium-vars.css
@@ -102,6 +102,11 @@
--spectrum-slider-ramp-track-height: 16px;
--spectrum-slider-tick-mark-height: 10px;
+ --spectrum-standard-dialog-spacing-edge-to-content: var(--spectrum-spacing-500);
+ --spectrum-takeover-dialog-spacing-grid-padding: var(--spectrum-spacing-500);
+ --spectrum-takeover-dialog-spacing-header-gap: var(--spectrum-spacing-400);
+ --spectrum-takeover-dialog-spacing-title-to-body: var(--spectrum-spacing-500);
+
--spectrum-treeview-indicator-inset-block-start: 5px;
--spectrum-treeview-item-indentation-small: var(--spectrum-spacing-200);
--spectrum-treeview-item-indentation-medium: var(--spectrum-spacing-300);
@@ -109,7 +114,9 @@
--spectrum-treeview-item-indentation-extra-large: var(--spectrum-spacing-400);
--spectrum-treeview-item-min-block-size-thumbnail-offset-medium: 0px;
- --spectrum-tooltip-animation-distance: var(--spectrum-spacing-75);
+ /* To get a square that measures 10px on the diagonal, the sides have to be 8px */
+ --spectrum-tooltip-tip-square-size: 8px;
+
--spectrum-ui-icon-medium-display: block;
--spectrum-ui-icon-large-display: none;
diff --git a/tokens/dist/json/tokens.json b/tokens/dist/json/tokens.json
index 2be36fb5803..5a4bb6de487 100644
--- a/tokens/dist/json/tokens.json
+++ b/tokens/dist/json/tokens.json
@@ -386,6 +386,42 @@
"value": "20px"
}
},
+ "accordion-content-area-edge-to-content-extra-large": {
+ "prop": "--spectrum-accordion-content-area-edge-to-content-extra-large",
+ "desktop": {
+ "value": "15px"
+ },
+ "mobile": {
+ "value": "19px"
+ }
+ },
+ "accordion-content-area-edge-to-content-large": {
+ "prop": "--spectrum-accordion-content-area-edge-to-content-large",
+ "desktop": {
+ "value": "12px"
+ },
+ "mobile": {
+ "value": "15px"
+ }
+ },
+ "accordion-content-area-edge-to-content-medium": {
+ "prop": "--spectrum-accordion-content-area-edge-to-content-medium",
+ "desktop": {
+ "value": "9px"
+ },
+ "mobile": {
+ "value": "11px"
+ }
+ },
+ "accordion-content-area-edge-to-content-small": {
+ "prop": "--spectrum-accordion-content-area-edge-to-content-small",
+ "desktop": {
+ "value": "8px"
+ },
+ "mobile": {
+ "value": "10px"
+ }
+ },
"accordion-content-area-top-to-content": {
"prop": "--spectrum-accordion-content-area-top-to-content",
"desktop": {
@@ -399,6 +435,42 @@
"prop": "--spectrum-accordion-disclosure-indicator-to-text",
"value": "0px"
},
+ "accordion-disclosure-indicator-to-text-extra-large": {
+ "prop": "--spectrum-accordion-disclosure-indicator-to-text-extra-large",
+ "desktop": {
+ "value": "17px"
+ },
+ "mobile": {
+ "value": "22px"
+ }
+ },
+ "accordion-disclosure-indicator-to-text-large": {
+ "prop": "--spectrum-accordion-disclosure-indicator-to-text-large",
+ "desktop": {
+ "value": "14px"
+ },
+ "mobile": {
+ "value": "17px"
+ }
+ },
+ "accordion-disclosure-indicator-to-text-medium": {
+ "prop": "--spectrum-accordion-disclosure-indicator-to-text-medium",
+ "desktop": {
+ "value": "11px"
+ },
+ "mobile": {
+ "value": "13px"
+ }
+ },
+ "accordion-disclosure-indicator-to-text-small": {
+ "prop": "--spectrum-accordion-disclosure-indicator-to-text-small",
+ "desktop": {
+ "value": "7px"
+ },
+ "mobile": {
+ "value": "9px"
+ }
+ },
"accordion-edge-to-disclosure-indicator": {
"prop": "--spectrum-accordion-edge-to-disclosure-indicator",
"value": "0px"
@@ -411,6 +483,10 @@
"prop": "--spectrum-accordion-focus-indicator-gap",
"value": "0px"
},
+ "accordion-item-to-divider": {
+ "prop": "--spectrum-accordion-item-to-divider",
+ "value": "0px"
+ },
"accordion-minimum-width": {
"prop": "--spectrum-accordion-minimum-width",
"desktop": {
@@ -527,22 +603,79 @@
"value": "12px"
}
},
+ "action-bar-border-color": {
+ "prop": "--spectrum-action-bar-border-color",
+ "light": {
+ "ref": "var(--spectrum-transparent-white-25)",
+ "value": "rgba(255, 255, 255, 0)"
+ },
+ "ref": "var(--spectrum-gray-400)",
+ "dark": {
+ "value": "rgb(68, 68, 68)"
+ }
+ },
+ "action-bar-bottom-to-content-area": {
+ "prop": "--spectrum-action-bar-bottom-to-content-area",
+ "ref": "var(--spectrum-spacing-200)",
+ "value": "12px"
+ },
+ "action-bar-close-button-to-counter": {
+ "prop": "--spectrum-action-bar-close-button-to-counter",
+ "ref": "var(--spectrum-text-to-control-50)",
+ "desktop": {
+ "value": "4px"
+ },
+ "mobile": {
+ "value": "5px"
+ }
+ },
+ "action-bar-counter-font-size": {
+ "prop": "--spectrum-action-bar-counter-font-size",
+ "ref": "var(--spectrum-font-size-100)",
+ "desktop": {
+ "value": "14px"
+ },
+ "mobile": {
+ "value": "17px"
+ }
+ },
+ "action-bar-edge-to-content-area": {
+ "prop": "--spectrum-action-bar-edge-to-content-area",
+ "ref": "var(--spectrum-spacing-100)",
+ "value": "8px"
+ },
"action-bar-height": {
"prop": "--spectrum-action-bar-height",
+ "ref": "var(--spectrum-component-height-400)",
"desktop": {
- "value": "48px"
+ "value": "56px"
},
"mobile": {
- "value": "56px"
+ "value": "70px"
}
},
+ "action-bar-label-to-action-group-area": {
+ "prop": "--spectrum-action-bar-label-to-action-group-area",
+ "ref": "var(--spectrum-spacing-300)",
+ "value": "16px"
+ },
+ "action-bar-minimum-width": {
+ "prop": "--spectrum-action-bar-minimum-width",
+ "value": "176px"
+ },
+ "action-bar-top-to-content-area": {
+ "prop": "--spectrum-action-bar-top-to-content-area",
+ "ref": "var(--spectrum-spacing-200)",
+ "value": "12px"
+ },
"action-bar-top-to-item-counter": {
"prop": "--spectrum-action-bar-top-to-item-counter",
+ "ref": "var(--spectrum-component-top-to-text-300)",
"desktop": {
- "value": "14px"
+ "value": "12px"
},
"mobile": {
- "value": "16px"
+ "value": "15px"
}
},
"action-button-edge-to-hold-icon-extra-large": {
@@ -583,7 +716,7 @@
"alert-banner-bottom-to-text": {
"prop": "--spectrum-alert-banner-bottom-to-text",
"desktop": {
- "value": "17px"
+ "value": "20px"
},
"mobile": {
"value": "22px"
@@ -592,7 +725,7 @@
"alert-banner-minimum-height": {
"prop": "--spectrum-alert-banner-minimum-height",
"desktop": {
- "value": "48px"
+ "value": "56px"
},
"mobile": {
"value": "64px"
@@ -602,7 +735,7 @@
"prop": "--spectrum-alert-banner-to-bottom-text",
"ref": "var(--spectrum-alert-banner-bottom-to-text)",
"desktop": {
- "value": "17px"
+ "value": "20px"
},
"mobile": {
"value": "22px"
@@ -612,7 +745,7 @@
"prop": "--spectrum-alert-banner-to-top-text",
"ref": "var(--spectrum-alert-banner-top-to-text)",
"desktop": {
- "value": "14px"
+ "value": "18px"
},
"mobile": {
"value": "21px"
@@ -622,16 +755,25 @@
"prop": "--spectrum-alert-banner-to-top-workflow-icon",
"ref": "var(--spectrum-alert-banner-top-to-workflow-icon)",
"desktop": {
- "value": "15px"
+ "value": "18px"
},
"mobile": {
- "value": "21px"
+ "value": "20px"
+ }
+ },
+ "alert-banner-top-to-alert-icon": {
+ "prop": "--spectrum-alert-banner-top-to-alert-icon",
+ "desktop": {
+ "value": "37px"
+ },
+ "mobile": {
+ "value": "29px"
}
},
"alert-banner-top-to-text": {
"prop": "--spectrum-alert-banner-top-to-text",
"desktop": {
- "value": "14px"
+ "value": "18px"
},
"mobile": {
"value": "21px"
@@ -640,10 +782,10 @@
"alert-banner-top-to-workflow-icon": {
"prop": "--spectrum-alert-banner-top-to-workflow-icon",
"desktop": {
- "value": "15px"
+ "value": "18px"
},
"mobile": {
- "value": "21px"
+ "value": "20px"
}
},
"alert-banner-width": {
@@ -655,14 +797,24 @@
"value": "680px"
}
},
+ "alert-dialog-description-font-size": {
+ "prop": "--spectrum-alert-dialog-description-font-size",
+ "ref": "var(--spectrum-body-size-s)",
+ "desktop": {
+ "value": "16px"
+ },
+ "mobile": {
+ "value": "17px"
+ }
+ },
"alert-dialog-description-size": {
"prop": "--spectrum-alert-dialog-description-size",
- "ref": "var(--spectrum-body-size-xs)",
+ "ref": "var(--spectrum-body-size-s)",
"desktop": {
- "value": "14px"
+ "value": "16px"
},
"mobile": {
- "value": "15px"
+ "value": "17px"
}
},
"alert-dialog-maximum-width": {
@@ -673,14 +825,24 @@
"prop": "--spectrum-alert-dialog-minimum-width",
"value": "288px"
},
+ "alert-dialog-title-font-size": {
+ "prop": "--spectrum-alert-dialog-title-font-size",
+ "ref": "var(--spectrum-title-size-xl)",
+ "desktop": {
+ "value": "22px"
+ },
+ "mobile": {
+ "value": "24px"
+ }
+ },
"alert-dialog-title-size": {
"prop": "--spectrum-alert-dialog-title-size",
- "ref": "var(--spectrum-heading-size-xs)",
+ "ref": "var(--spectrum-title-size-xl)",
"desktop": {
- "value": "18px"
+ "value": "22px"
},
"mobile": {
- "value": "19px"
+ "value": "24px"
}
},
"android-elevation": {
@@ -781,130 +943,350 @@
"prop": "--spectrum-asterisk-icon-size-75",
"value": "8px"
},
- "avatar-opacity-disabled": {
- "prop": "--spectrum-avatar-opacity-disabled",
- "ref": "var(--spectrum-opacity-disabled)",
- "value": "0.3"
- },
- "avatar-size-100": {
- "prop": "--spectrum-avatar-size-100",
- "desktop": {
- "value": "20px"
+ "avatar-border-color": {
+ "prop": "--spectrum-avatar-border-color",
+ "ref": "var(--spectrum-gray-25)",
+ "dark": {
+ "value": "rgb(17, 17, 17)"
},
- "mobile": {
- "value": "26px"
+ "light": {
+ "value": "rgb(255, 255, 255)"
}
},
- "avatar-size-200": {
- "prop": "--spectrum-avatar-size-200",
+ "avatar-border-width": {
+ "prop": "--spectrum-avatar-border-width",
+ "ref": "var(--spectrum-border-width-100)",
+ "value": "1px"
+ },
+ "avatar-group-size-100": {
+ "prop": "--spectrum-avatar-group-size-100",
+ "ref": "var(--spectrum-avatar-size-100)",
"desktop": {
- "value": "22px"
+ "value": "24px"
},
"mobile": {
"value": "28px"
}
},
- "avatar-size-300": {
- "prop": "--spectrum-avatar-size-300",
+ "avatar-group-size-200": {
+ "prop": "--spectrum-avatar-group-size-200",
+ "ref": "var(--spectrum-avatar-size-200)",
"desktop": {
- "value": "26px"
+ "value": "28px"
},
"mobile": {
"value": "32px"
}
},
- "avatar-size-400": {
- "prop": "--spectrum-avatar-size-400",
+ "avatar-group-size-300": {
+ "prop": "--spectrum-avatar-group-size-300",
+ "ref": "var(--spectrum-avatar-size-300)",
"desktop": {
- "value": "28px"
+ "value": "32px"
},
"mobile": {
"value": "36px"
}
},
- "avatar-size-50": {
- "prop": "--spectrum-avatar-size-50",
+ "avatar-group-size-400": {
+ "prop": "--spectrum-avatar-group-size-400",
+ "ref": "var(--spectrum-avatar-size-400)",
"desktop": {
- "value": "16px"
+ "value": "36px"
},
"mobile": {
- "value": "20px"
+ "value": "40px"
}
},
- "avatar-size-500": {
- "prop": "--spectrum-avatar-size-500",
+ "avatar-group-size-50": {
+ "prop": "--spectrum-avatar-group-size-50",
+ "ref": "var(--spectrum-avatar-size-50)",
"desktop": {
- "value": "32px"
+ "value": "16px"
},
"mobile": {
- "value": "40px"
+ "value": "20px"
}
},
- "avatar-size-600": {
- "prop": "--spectrum-avatar-size-600",
+ "avatar-group-size-500": {
+ "prop": "--spectrum-avatar-group-size-500",
+ "ref": "var(--spectrum-avatar-size-500)",
"desktop": {
- "value": "36px"
+ "value": "40px"
},
"mobile": {
- "value": "46px"
+ "value": "44px"
}
},
- "avatar-size-700": {
- "prop": "--spectrum-avatar-size-700",
+ "avatar-group-size-75": {
+ "prop": "--spectrum-avatar-group-size-75",
+ "ref": "var(--spectrum-avatar-size-75)",
"desktop": {
- "value": "40px"
+ "value": "20px"
},
"mobile": {
- "value": "50px"
+ "value": "24px"
}
},
- "avatar-size-75": {
- "prop": "--spectrum-avatar-size-75",
+ "avatar-opacity-disabled": {
+ "prop": "--spectrum-avatar-opacity-disabled",
+ "ref": "var(--spectrum-opacity-disabled)",
+ "value": "0.3"
+ },
+ "avatar-size-100": {
+ "prop": "--spectrum-avatar-size-100",
"desktop": {
- "value": "18px"
+ "value": "24px"
},
"mobile": {
- "value": "22px"
+ "value": "28px"
}
},
- "background-base-color": {
- "prop": "--spectrum-background-base-color",
- "ref": "var(--spectrum-gray-25)",
- "dark": {
- "value": "rgb(17, 17, 17)"
+ "avatar-size-1000": {
+ "prop": "--spectrum-avatar-size-1000",
+ "desktop": {
+ "value": "64px"
},
- "light": {
- "value": "rgb(255, 255, 255)"
+ "mobile": {
+ "value": "72px"
}
},
- "background-elevated-color": {
- "prop": "--spectrum-background-elevated-color",
- "ref": "var(--spectrum-gray-25)",
- "dark": {
- "value": "rgb(34, 34, 34)"
+ "avatar-size-1100": {
+ "prop": "--spectrum-avatar-size-1100",
+ "desktop": {
+ "value": "72px"
},
- "light": {
- "value": "rgb(255, 255, 255)"
+ "mobile": {
+ "value": "80px"
}
},
- "background-layer-1-color": {
- "prop": "--spectrum-background-layer-1-color",
- "ref": "var(--spectrum-gray-50)",
- "light": {
- "value": "rgb(248, 248, 248)"
+ "avatar-size-1200": {
+ "prop": "--spectrum-avatar-size-1200",
+ "desktop": {
+ "value": "80px"
},
- "dark": {
- "value": "rgb(27, 27, 27)"
+ "mobile": {
+ "value": "88px"
}
},
- "background-layer-2-color": {
- "prop": "--spectrum-background-layer-2-color",
- "ref": "var(--spectrum-gray-75)",
- "light": {
- "value": "rgb(255, 255, 255)"
+ "avatar-size-1300": {
+ "prop": "--spectrum-avatar-size-1300",
+ "desktop": {
+ "value": "88px"
},
- "dark": {
- "value": "rgb(34, 34, 34)"
+ "mobile": {
+ "value": "96px"
+ }
+ },
+ "avatar-size-1400": {
+ "prop": "--spectrum-avatar-size-1400",
+ "desktop": {
+ "value": "96px"
+ },
+ "mobile": {
+ "value": "104px"
+ }
+ },
+ "avatar-size-1500": {
+ "prop": "--spectrum-avatar-size-1500",
+ "desktop": {
+ "value": "104px"
+ },
+ "mobile": {
+ "value": "112px"
+ }
+ },
+ "avatar-size-200": {
+ "prop": "--spectrum-avatar-size-200",
+ "desktop": {
+ "value": "28px"
+ },
+ "mobile": {
+ "value": "32px"
+ }
+ },
+ "avatar-size-300": {
+ "prop": "--spectrum-avatar-size-300",
+ "desktop": {
+ "value": "32px"
+ },
+ "mobile": {
+ "value": "36px"
+ }
+ },
+ "avatar-size-400": {
+ "prop": "--spectrum-avatar-size-400",
+ "desktop": {
+ "value": "36px"
+ },
+ "mobile": {
+ "value": "40px"
+ }
+ },
+ "avatar-size-50": {
+ "prop": "--spectrum-avatar-size-50",
+ "desktop": {
+ "value": "16px"
+ },
+ "mobile": {
+ "value": "20px"
+ }
+ },
+ "avatar-size-500": {
+ "prop": "--spectrum-avatar-size-500",
+ "desktop": {
+ "value": "40px"
+ },
+ "mobile": {
+ "value": "44px"
+ }
+ },
+ "avatar-size-600": {
+ "prop": "--spectrum-avatar-size-600",
+ "desktop": {
+ "value": "44px"
+ },
+ "mobile": {
+ "value": "48px"
+ }
+ },
+ "avatar-size-700": {
+ "prop": "--spectrum-avatar-size-700",
+ "desktop": {
+ "value": "48px"
+ },
+ "mobile": {
+ "value": "52px"
+ }
+ },
+ "avatar-size-75": {
+ "prop": "--spectrum-avatar-size-75",
+ "desktop": {
+ "value": "20px"
+ },
+ "mobile": {
+ "value": "24px"
+ }
+ },
+ "avatar-size-800": {
+ "prop": "--spectrum-avatar-size-800",
+ "desktop": {
+ "value": "52px"
+ },
+ "mobile": {
+ "value": "56px"
+ }
+ },
+ "avatar-size-900": {
+ "prop": "--spectrum-avatar-size-900",
+ "desktop": {
+ "value": "56px"
+ },
+ "mobile": {
+ "value": "64px"
+ }
+ },
+ "avatar-to-avatar-100": {
+ "prop": "--spectrum-avatar-to-avatar-100",
+ "desktop": {
+ "value": "-6px"
+ },
+ "mobile": {
+ "value": "-7px"
+ }
+ },
+ "avatar-to-avatar-200": {
+ "prop": "--spectrum-avatar-to-avatar-200",
+ "desktop": {
+ "value": "-7px"
+ },
+ "mobile": {
+ "value": "-8px"
+ }
+ },
+ "avatar-to-avatar-300": {
+ "prop": "--spectrum-avatar-to-avatar-300",
+ "desktop": {
+ "value": "-8px"
+ },
+ "mobile": {
+ "value": "-9px"
+ }
+ },
+ "avatar-to-avatar-400": {
+ "prop": "--spectrum-avatar-to-avatar-400",
+ "desktop": {
+ "value": "-9px"
+ },
+ "mobile": {
+ "value": "-10px"
+ }
+ },
+ "avatar-to-avatar-50": {
+ "prop": "--spectrum-avatar-to-avatar-50",
+ "desktop": {
+ "value": "-4px"
+ },
+ "mobile": {
+ "value": "-5px"
+ }
+ },
+ "avatar-to-avatar-500": {
+ "prop": "--spectrum-avatar-to-avatar-500",
+ "desktop": {
+ "value": "-10px"
+ },
+ "mobile": {
+ "value": "-11px"
+ }
+ },
+ "avatar-to-avatar-75": {
+ "prop": "--spectrum-avatar-to-avatar-75",
+ "desktop": {
+ "value": "-5px"
+ },
+ "mobile": {
+ "value": "-6px"
+ }
+ },
+ "background-base-color": {
+ "prop": "--spectrum-background-base-color",
+ "ref": "var(--spectrum-gray-25)",
+ "dark": {
+ "value": "rgb(17, 17, 17)"
+ },
+ "light": {
+ "value": "rgb(255, 255, 255)"
+ }
+ },
+ "background-elevated-color": {
+ "prop": "--spectrum-background-elevated-color",
+ "ref": "var(--spectrum-gray-25)",
+ "dark": {
+ "value": "rgb(34, 34, 34)"
+ },
+ "light": {
+ "value": "rgb(255, 255, 255)"
+ }
+ },
+ "background-layer-1-color": {
+ "prop": "--spectrum-background-layer-1-color",
+ "ref": "var(--spectrum-gray-50)",
+ "light": {
+ "value": "rgb(248, 248, 248)"
+ },
+ "dark": {
+ "value": "rgb(27, 27, 27)"
+ }
+ },
+ "background-layer-2-color": {
+ "prop": "--spectrum-background-layer-2-color",
+ "ref": "var(--spectrum-gray-75)",
+ "light": {
+ "value": "rgb(255, 255, 255)"
+ },
+ "dark": {
+ "value": "rgb(34, 34, 34)"
}
},
"background-opacity-default": {
@@ -933,6 +1315,42 @@
"value": "rgb(233, 233, 233)"
}
},
+ "bar-panel-gripper-color": {
+ "prop": "--spectrum-bar-panel-gripper-color",
+ "ref": "var(--spectrum-gray-200)",
+ "light": {
+ "value": "rgb(225, 225, 225)"
+ },
+ "dark": {
+ "value": "rgb(50, 50, 50)"
+ }
+ },
+ "bar-panel-gripper-color-drag": {
+ "prop": "--spectrum-bar-panel-gripper-color-drag",
+ "ref": "var(--spectrum-gray-800)",
+ "light": {
+ "value": "rgb(41, 41, 41)"
+ },
+ "dark": {
+ "value": "rgb(219, 219, 219)"
+ }
+ },
+ "bar-panel-maximum-width": {
+ "prop": "--spectrum-bar-panel-maximum-width",
+ "value": "72px"
+ },
+ "bar-panel-minimum-width": {
+ "prop": "--spectrum-bar-panel-minimum-width",
+ "value": "40px"
+ },
+ "bar-panel-spacing-extra-spacious": {
+ "prop": "--spectrum-bar-panel-spacing-extra-spacious",
+ "value": "20px"
+ },
+ "bar-panel-width": {
+ "prop": "--spectrum-bar-panel-width",
+ "value": "56px"
+ },
"black": {
"prop": "--spectrum-black",
"value": "rgb(0, 0, 0)"
@@ -1143,46 +1561,126 @@
"body-cjk-line-height": {
"prop": "--spectrum-body-cjk-line-height",
"ref": "var(--spectrum-cjk-line-height-200)",
- "value": "1.7"
+ "value": 1.7
},
- "body-cjk-strong-emphasized-font-style": {
- "prop": "--spectrum-body-cjk-strong-emphasized-font-style",
- "ref": "var(--spectrum-default-font-style)",
- "value": "normal"
+ "body-cjk-size-l": {
+ "prop": "--spectrum-body-cjk-size-l",
+ "ref": "var(--spectrum-font-size-200)",
+ "desktop": {
+ "value": "16px"
+ },
+ "mobile": {
+ "value": "19px"
+ }
},
- "body-cjk-strong-emphasized-font-weight": {
- "prop": "--spectrum-body-cjk-strong-emphasized-font-weight",
- "ref": "var(--spectrum-black-font-weight)",
- "value": "900"
+ "body-cjk-size-m": {
+ "prop": "--spectrum-body-cjk-size-m",
+ "ref": "var(--spectrum-font-size-100)",
+ "desktop": {
+ "value": "14px"
+ },
+ "mobile": {
+ "value": "17px"
+ }
},
- "body-cjk-strong-font-style": {
- "prop": "--spectrum-body-cjk-strong-font-style",
- "ref": "var(--spectrum-default-font-style)",
- "value": "normal"
+ "body-cjk-size-s": {
+ "prop": "--spectrum-body-cjk-size-s",
+ "ref": "var(--spectrum-font-size-75)",
+ "desktop": {
+ "value": "12px"
+ },
+ "mobile": {
+ "value": "15px"
+ }
},
- "body-cjk-strong-font-weight": {
- "prop": "--spectrum-body-cjk-strong-font-weight",
- "ref": "var(--spectrum-black-font-weight)",
- "value": "900"
+ "body-cjk-size-xl": {
+ "prop": "--spectrum-body-cjk-size-xl",
+ "ref": "var(--spectrum-font-size-300)",
+ "desktop": {
+ "value": "18px"
+ },
+ "mobile": {
+ "value": "22px"
+ }
},
- "body-color": {
- "prop": "--spectrum-body-color",
- "ref": "var(--spectrum-gray-800)",
- "light": {
- "value": "rgb(41, 41, 41)"
+ "body-cjk-size-xs": {
+ "prop": "--spectrum-body-cjk-size-xs",
+ "ref": "var(--spectrum-font-size-50)",
+ "desktop": {
+ "value": "11px"
},
- "dark": {
- "value": "rgb(219, 219, 219)"
+ "mobile": {
+ "value": "13px"
}
},
- "body-line-height": {
- "prop": "--spectrum-body-line-height",
+ "body-cjk-size-xxl": {
+ "prop": "--spectrum-body-cjk-size-xxl",
+ "ref": "var(--spectrum-font-size-400)",
+ "desktop": {
+ "value": "20px"
+ },
+ "mobile": {
+ "value": "24px"
+ }
+ },
+ "body-cjk-size-xxs": {
+ "prop": "--spectrum-body-cjk-size-xxs",
+ "ref": "var(--spectrum-font-size-25)",
+ "desktop": {
+ "value": "10px"
+ },
+ "mobile": {
+ "value": "12px"
+ }
+ },
+ "body-cjk-size-xxxl": {
+ "prop": "--spectrum-body-cjk-size-xxxl",
+ "ref": "var(--spectrum-font-size-500)",
+ "desktop": {
+ "value": "22px"
+ },
+ "mobile": {
+ "value": "27px"
+ }
+ },
+ "body-cjk-strong-emphasized-font-style": {
+ "prop": "--spectrum-body-cjk-strong-emphasized-font-style",
+ "ref": "var(--spectrum-default-font-style)",
+ "value": "normal"
+ },
+ "body-cjk-strong-emphasized-font-weight": {
+ "prop": "--spectrum-body-cjk-strong-emphasized-font-weight",
+ "ref": "var(--spectrum-extra-bold-font-weight)",
+ "value": "800"
+ },
+ "body-cjk-strong-font-style": {
+ "prop": "--spectrum-body-cjk-strong-font-style",
+ "ref": "var(--spectrum-default-font-style)",
+ "value": "normal"
+ },
+ "body-cjk-strong-font-weight": {
+ "prop": "--spectrum-body-cjk-strong-font-weight",
+ "ref": "var(--spectrum-extra-bold-font-weight)",
+ "value": "800"
+ },
+ "body-color": {
+ "prop": "--spectrum-body-color",
+ "ref": "var(--spectrum-gray-800)",
+ "light": {
+ "value": "rgb(41, 41, 41)"
+ },
+ "dark": {
+ "value": "rgb(219, 219, 219)"
+ }
+ },
+ "body-line-height": {
+ "prop": "--spectrum-body-line-height",
"ref": "var(--spectrum-line-height-200)",
- "value": "1.5"
+ "value": 1.5
},
"body-margin-multiplier": {
"prop": "--spectrum-body-margin-multiplier",
- "value": "0.75"
+ "value": 0.75
},
"body-sans-serif-emphasized-font-style": {
"prop": "--spectrum-body-sans-serif-emphasized-font-style",
@@ -1334,6 +1832,16 @@
"value": "27px"
}
},
+ "body-size-xxs": {
+ "prop": "--spectrum-body-size-xxs",
+ "ref": "var(--spectrum-font-size-50)",
+ "desktop": {
+ "value": "11px"
+ },
+ "mobile": {
+ "value": "13px"
+ }
+ },
"body-size-xxxl": {
"prop": "--spectrum-body-size-xxxl",
"ref": "var(--spectrum-font-size-600)",
@@ -1362,20 +1870,22 @@
},
"breadcrumbs-bottom-to-text": {
"prop": "--spectrum-breadcrumbs-bottom-to-text",
+ "ref": "var(--spectrum-component-bottom-to-text-200)",
"desktop": {
- "value": "15px"
+ "value": "11px"
},
"mobile": {
- "value": "19px"
+ "value": "14px"
}
},
"breadcrumbs-bottom-to-text-compact": {
"prop": "--spectrum-breadcrumbs-bottom-to-text-compact",
+ "ref": "var(--spectrum-component-bottom-to-text-100)",
"desktop": {
- "value": "12px"
+ "value": "9px"
},
"mobile": {
- "value": "19px"
+ "value": "11px"
}
},
"breadcrumbs-bottom-to-text-multiline": {
@@ -1384,7 +1894,7 @@
"value": "9px"
},
"mobile": {
- "value": "10px"
+ "value": "11px"
}
},
"breadcrumbs-end-edge-to-text": {
@@ -1393,22 +1903,22 @@
},
"breadcrumbs-height": {
"prop": "--spectrum-breadcrumbs-height",
- "ref": "var(--spectrum-component-height-300)",
+ "ref": "var(--spectrum-component-height-200)",
"desktop": {
- "value": "48px"
+ "value": "40px"
},
"mobile": {
- "value": "60px"
+ "value": "50px"
}
},
"breadcrumbs-height-compact": {
"prop": "--spectrum-breadcrumbs-height-compact",
- "ref": "var(--spectrum-component-height-200)",
+ "ref": "var(--spectrum-component-height-100)",
"desktop": {
- "value": "40px"
+ "value": "32px"
},
"mobile": {
- "value": "50px"
+ "value": "40px"
}
},
"breadcrumbs-height-multiline": {
@@ -1417,11 +1927,21 @@
"value": "72px"
},
"mobile": {
- "value": "84px"
+ "value": "90px"
}
},
"breadcrumbs-separator-icon-to-bottom-text-multiline": {
"prop": "--spectrum-breadcrumbs-separator-icon-to-bottom-text-multiline",
+ "ref": "var(--spectrum-breadcrumbs-separator-to-bottom-text-multiline)",
+ "desktop": {
+ "value": "11px"
+ },
+ "mobile": {
+ "value": "15px"
+ }
+ },
+ "breadcrumbs-separator-to-bottom-text-multiline": {
+ "prop": "--spectrum-breadcrumbs-separator-to-bottom-text-multiline",
"desktop": {
"value": "11px"
},
@@ -1431,17 +1951,72 @@
},
"breadcrumbs-start-edge-to-text": {
"prop": "--spectrum-breadcrumbs-start-edge-to-text",
+ "ref": "var(--spectrum-breadcrumbs-start-edge-to-text-large)",
"desktop": {
- "value": "8px"
+ "value": "9px"
},
"mobile": {
+ "value": "11px"
+ }
+ },
+ "breadcrumbs-start-edge-to-text-large": {
+ "prop": "--spectrum-breadcrumbs-start-edge-to-text-large",
+ "desktop": {
"value": "9px"
+ },
+ "mobile": {
+ "value": "11px"
+ }
+ },
+ "breadcrumbs-start-edge-to-text-medium": {
+ "prop": "--spectrum-breadcrumbs-start-edge-to-text-medium",
+ "desktop": {
+ "value": "6px"
+ },
+ "mobile": {
+ "value": "8px"
+ }
+ },
+ "breadcrumbs-start-edge-to-text-multiline": {
+ "prop": "--spectrum-breadcrumbs-start-edge-to-text-multiline",
+ "desktop": {
+ "value": "4px"
+ },
+ "mobile": {
+ "value": "5px"
}
},
"breadcrumbs-start-edge-to-truncated-menu": {
"prop": "--spectrum-breadcrumbs-start-edge-to-truncated-menu",
"value": "0px"
},
+ "breadcrumbs-text-to-separator-large": {
+ "prop": "--spectrum-breadcrumbs-text-to-separator-large",
+ "desktop": {
+ "value": "9px"
+ },
+ "mobile": {
+ "value": "11px"
+ }
+ },
+ "breadcrumbs-text-to-separator-medium": {
+ "prop": "--spectrum-breadcrumbs-text-to-separator-medium",
+ "desktop": {
+ "value": "6px"
+ },
+ "mobile": {
+ "value": "8px"
+ }
+ },
+ "breadcrumbs-text-to-separator-multiline": {
+ "prop": "--spectrum-breadcrumbs-text-to-separator-multiline",
+ "desktop": {
+ "value": "4px"
+ },
+ "mobile": {
+ "value": "5px"
+ }
+ },
"breadcrumbs-top-text-to-bottom-text": {
"prop": "--spectrum-breadcrumbs-top-text-to-bottom-text",
"desktop": {
@@ -1453,24 +2028,36 @@
},
"breadcrumbs-top-to-separator-icon": {
"prop": "--spectrum-breadcrumbs-top-to-separator-icon",
+ "ref": "var(--spectrum-breadcrumbs-top-to-separator-large)",
"desktop": {
- "value": "19px"
+ "value": "15px"
},
"mobile": {
- "value": "25px"
+ "value": "20px"
}
},
"breadcrumbs-top-to-separator-icon-compact": {
"prop": "--spectrum-breadcrumbs-top-to-separator-icon-compact",
+ "ref": "var(--spectrum-breadcrumbs-top-to-separator-medium)",
"desktop": {
- "value": "15px"
+ "value": "11px"
},
"mobile": {
- "value": "23px"
+ "value": "15px"
}
},
"breadcrumbs-top-to-separator-icon-multiline": {
"prop": "--spectrum-breadcrumbs-top-to-separator-icon-multiline",
+ "ref": "var(--spectrum-breadcrumbs-separator-icon-to-bottom-text-multiline)",
+ "desktop": {
+ "value": "7px"
+ },
+ "mobile": {
+ "value": "15px"
+ }
+ },
+ "breadcrumbs-top-to-separator-large": {
+ "prop": "--spectrum-breadcrumbs-top-to-separator-large",
"desktop": {
"value": "15px"
},
@@ -1478,44 +2065,64 @@
"value": "20px"
}
},
+ "breadcrumbs-top-to-separator-medium": {
+ "prop": "--spectrum-breadcrumbs-top-to-separator-medium",
+ "desktop": {
+ "value": "11px"
+ },
+ "mobile": {
+ "value": "15px"
+ }
+ },
+ "breadcrumbs-top-to-separator-multiline": {
+ "prop": "--spectrum-breadcrumbs-top-to-separator-multiline",
+ "desktop": {
+ "value": "7px"
+ },
+ "mobile": {
+ "value": "10px"
+ }
+ },
"breadcrumbs-top-to-text": {
"prop": "--spectrum-breadcrumbs-top-to-text",
+ "ref": "var(--spectrum-component-top-to-text-200)",
"desktop": {
- "value": "13px"
+ "value": "9px"
},
"mobile": {
- "value": "17px"
+ "value": "12px"
}
},
"breadcrumbs-top-to-text-compact": {
"prop": "--spectrum-breadcrumbs-top-to-text-compact",
+ "ref": "var(--spectrum-component-top-to-text-100)",
"desktop": {
- "value": "11px"
+ "value": "6px"
},
"mobile": {
- "value": "16px"
+ "value": "8px"
}
},
"breadcrumbs-top-to-text-multiline": {
"prop": "--spectrum-breadcrumbs-top-to-text-multiline",
"desktop": {
- "value": "12px"
+ "value": "4px"
},
"mobile": {
- "value": "15px"
+ "value": "5px"
}
},
"breadcrumbs-top-to-truncated-menu": {
"prop": "--spectrum-breadcrumbs-top-to-truncated-menu",
- "desktop": {
- "value": "8px"
- },
- "mobile": {
- "value": "10px"
- }
+ "value": "0px"
},
"breadcrumbs-top-to-truncated-menu-compact": {
"prop": "--spectrum-breadcrumbs-top-to-truncated-menu-compact",
+ "ref": "var(--spectrum-breadcrumbs-top-to-truncated-menu)",
+ "value": "0px"
+ },
+ "breadcrumbs-truncated-menu-to-bottom-text": {
+ "prop": "--spectrum-breadcrumbs-truncated-menu-to-bottom-text",
"desktop": {
"value": "4px"
},
@@ -1523,12 +2130,13 @@
"value": "5px"
}
},
- "breadcrumbs-truncated-menu-to-bottom-text": {
- "prop": "--spectrum-breadcrumbs-truncated-menu-to-bottom-text",
+ "breadcrumbs-truncated-menu-to-separator": {
+ "prop": "--spectrum-breadcrumbs-truncated-menu-to-separator",
"value": "0px"
},
"breadcrumbs-truncated-menu-to-separator-icon": {
"prop": "--spectrum-breadcrumbs-truncated-menu-to-separator-icon",
+ "ref": "var(--spectrum-breadcrumbs-truncated-menu-to-separator)",
"value": "0px"
},
"brown-100": {
@@ -1707,7 +2315,7 @@
},
"button-minimum-width-multiplier": {
"prop": "--spectrum-button-minimum-width-multiplier",
- "value": "2.25"
+ "value": 2.25
},
"card-minimum-width": {
"prop": "--spectrum-card-minimum-width",
@@ -2122,73 +2730,73 @@
"checkbox-control-size-extra-large": {
"prop": "--spectrum-checkbox-control-size-extra-large",
"desktop": {
- "value": "18px"
+ "value": "20px"
},
"mobile": {
- "value": "22px"
+ "value": "26px"
}
},
"checkbox-control-size-large": {
"prop": "--spectrum-checkbox-control-size-large",
"desktop": {
- "value": "16px"
+ "value": "18px"
},
"mobile": {
- "value": "20px"
+ "value": "22px"
}
},
"checkbox-control-size-medium": {
"prop": "--spectrum-checkbox-control-size-medium",
"desktop": {
- "value": "14px"
+ "value": "16px"
},
"mobile": {
- "value": "18px"
+ "value": "20px"
}
},
"checkbox-control-size-small": {
"prop": "--spectrum-checkbox-control-size-small",
"desktop": {
- "value": "12px"
+ "value": "14px"
},
"mobile": {
- "value": "16px"
+ "value": "18px"
}
},
"checkbox-top-to-control-extra-large": {
"prop": "--spectrum-checkbox-top-to-control-extra-large",
"desktop": {
- "value": "15px"
+ "value": "14px"
},
"mobile": {
- "value": "19px"
+ "value": "17px"
}
},
"checkbox-top-to-control-large": {
"prop": "--spectrum-checkbox-top-to-control-large",
"desktop": {
- "value": "12px"
+ "value": "11px"
},
"mobile": {
- "value": "15px"
+ "value": "14px"
}
},
"checkbox-top-to-control-medium": {
"prop": "--spectrum-checkbox-top-to-control-medium",
"desktop": {
- "value": "9px"
+ "value": "8px"
},
"mobile": {
- "value": "11px"
+ "value": "10px"
}
},
"checkbox-top-to-control-small": {
"prop": "--spectrum-checkbox-top-to-control-small",
"desktop": {
- "value": "6px"
+ "value": "5px"
},
"mobile": {
- "value": "7px"
+ "value": "6px"
}
},
"checkmark-icon-size-100": {
@@ -2515,34 +3123,83 @@
},
"cjk-letter-spacing": {
"prop": "--spectrum-cjk-letter-spacing",
- "value": "0.05em"
+ "ref": "var(--spectrum-letter-spacing)",
+ "value": "0em"
},
"cjk-line-height-100": {
"prop": "--spectrum-cjk-line-height-100",
- "value": "1.5"
+ "value": 1.5
},
"cjk-line-height-200": {
"prop": "--spectrum-cjk-line-height-200",
- "value": "1.7"
+ "value": 1.7
},
- "coach-mark-body-size": {
- "prop": "--spectrum-coach-mark-body-size",
- "ref": "var(--spectrum-body-size-xs)",
- "desktop": {
- "value": "14px"
+ "coach-indicator-collapsed-gap": {
+ "prop": "--spectrum-coach-indicator-collapsed-gap",
+ "value": "2px"
+ },
+ "coach-indicator-collapsed-ring-rounding-increment": {
+ "prop": "--spectrum-coach-indicator-collapsed-ring-rounding-increment",
+ "value": "6px"
+ },
+ "coach-indicator-collapsed-ring-thickness": {
+ "prop": "--spectrum-coach-indicator-collapsed-ring-thickness",
+ "value": "4px"
+ },
+ "coach-indicator-color": {
+ "prop": "--spectrum-coach-indicator-color",
+ "ref": "var(--spectrum-blue-800)",
+ "light": {
+ "value": "rgb(75, 117, 255)"
},
- "mobile": {
- "value": "15px"
+ "dark": {
+ "value": "rgb(64, 105, 253)"
}
},
- "coach-mark-edge-to-content": {
- "prop": "--spectrum-coach-mark-edge-to-content",
+ "coach-indicator-expanded-gap": {
+ "prop": "--spectrum-coach-indicator-expanded-gap",
+ "value": "6px"
+ },
+ "coach-indicator-expanded-ring-rounding-increment": {
+ "prop": "--spectrum-coach-indicator-expanded-ring-rounding-increment",
+ "value": "14px"
+ },
+ "coach-indicator-expanded-ring-thickness": {
+ "prop": "--spectrum-coach-indicator-expanded-ring-thickness",
+ "value": "8px"
+ },
+ "coach-indicator-opacity": {
+ "prop": "--spectrum-coach-indicator-opacity",
+ "value": "0.2"
+ },
+ "coach-mark-body-font-size": {
+ "prop": "--spectrum-coach-mark-body-font-size",
+ "ref": "var(--spectrum-body-size-s)",
"desktop": {
- "ref": "var(--spectrum-spacing-400)",
- "value": "24px"
+ "value": "16px"
},
"mobile": {
- "ref": "var(--spectrum-spacing-300)",
+ "value": "17px"
+ }
+ },
+ "coach-mark-body-size": {
+ "prop": "--spectrum-coach-mark-body-size",
+ "ref": "var(--spectrum-body-size-s)",
+ "desktop": {
+ "value": "16px"
+ },
+ "mobile": {
+ "value": "17px"
+ }
+ },
+ "coach-mark-edge-to-content": {
+ "prop": "--spectrum-coach-mark-edge-to-content",
+ "desktop": {
+ "ref": "var(--spectrum-spacing-400)",
+ "value": "24px"
+ },
+ "mobile": {
+ "ref": "var(--spectrum-spacing-300)",
"value": "16px"
}
},
@@ -2582,6 +3239,16 @@
"value": "216px"
}
},
+ "coach-mark-pagination-body-font-size": {
+ "prop": "--spectrum-coach-mark-pagination-body-font-size",
+ "ref": "var(--spectrum-body-size-xs)",
+ "desktop": {
+ "value": "14px"
+ },
+ "mobile": {
+ "value": "15px"
+ }
+ },
"coach-mark-pagination-body-size": {
"prop": "--spectrum-coach-mark-pagination-body-size",
"ref": "var(--spectrum-body-size-xs)",
@@ -2611,9 +3278,19 @@
"value": "22px"
}
},
+ "coach-mark-title-font-size": {
+ "prop": "--spectrum-coach-mark-title-font-size",
+ "ref": "var(--spectrum-title-size-s)",
+ "desktop": {
+ "value": "16px"
+ },
+ "mobile": {
+ "value": "17px"
+ }
+ },
"coach-mark-title-size": {
"prop": "--spectrum-coach-mark-title-size",
- "ref": "var(--spectrum-heading-size-xxs)",
+ "ref": "var(--spectrum-title-size-s)",
"desktop": {
"value": "16px"
},
@@ -2658,7 +3335,57 @@
"code-cjk-line-height": {
"prop": "--spectrum-code-cjk-line-height",
"ref": "var(--spectrum-cjk-line-height-200)",
- "value": "1.7"
+ "value": 1.7
+ },
+ "code-cjk-size-l": {
+ "prop": "--spectrum-code-cjk-size-l",
+ "ref": "var(--spectrum-code-size-l)",
+ "desktop": {
+ "value": "18px"
+ },
+ "mobile": {
+ "value": "22px"
+ }
+ },
+ "code-cjk-size-m": {
+ "prop": "--spectrum-code-cjk-size-m",
+ "ref": "var(--spectrum-code-size-m)",
+ "desktop": {
+ "value": "16px"
+ },
+ "mobile": {
+ "value": "19px"
+ }
+ },
+ "code-cjk-size-s": {
+ "prop": "--spectrum-code-cjk-size-s",
+ "ref": "var(--spectrum-code-size-s)",
+ "desktop": {
+ "value": "14px"
+ },
+ "mobile": {
+ "value": "17px"
+ }
+ },
+ "code-cjk-size-xl": {
+ "prop": "--spectrum-code-cjk-size-xl",
+ "ref": "var(--spectrum-code-size-xl)",
+ "desktop": {
+ "value": "20px"
+ },
+ "mobile": {
+ "value": "24px"
+ }
+ },
+ "code-cjk-size-xs": {
+ "prop": "--spectrum-code-cjk-size-xs",
+ "ref": "var(--spectrum-code-size-xs)",
+ "desktop": {
+ "value": "12px"
+ },
+ "mobile": {
+ "value": "15px"
+ }
},
"code-cjk-strong-emphasized-font-style": {
"prop": "--spectrum-code-cjk-strong-emphasized-font-style",
@@ -2667,8 +3394,8 @@
},
"code-cjk-strong-emphasized-font-weight": {
"prop": "--spectrum-code-cjk-strong-emphasized-font-weight",
- "ref": "var(--spectrum-black-font-weight)",
- "value": "900"
+ "ref": "var(--spectrum-bold-font-weight)",
+ "value": "700"
},
"code-cjk-strong-font-style": {
"prop": "--spectrum-code-cjk-strong-font-style",
@@ -2677,8 +3404,8 @@
},
"code-cjk-strong-font-weight": {
"prop": "--spectrum-code-cjk-strong-font-weight",
- "ref": "var(--spectrum-black-font-weight)",
- "value": "900"
+ "ref": "var(--spectrum-bold-font-weight)",
+ "value": "700"
},
"code-color": {
"prop": "--spectrum-code-color",
@@ -2717,7 +3444,7 @@
"code-line-height": {
"prop": "--spectrum-code-line-height",
"ref": "var(--spectrum-line-height-200)",
- "value": "1.5"
+ "value": 1.5
},
"code-size-l": {
"prop": "--spectrum-code-size-l",
@@ -2791,12 +3518,12 @@
},
"color-area-border-color": {
"prop": "--spectrum-color-area-border-color",
- "ref": "var(--spectrum-gray-900)",
- "light": {
- "value": "rgb(19, 19, 19)"
- },
+ "ref": "var(--spectrum-gray-1000)",
"dark": {
- "value": "rgb(242, 242, 242)"
+ "value": "rgb(255, 255, 255)"
+ },
+ "light": {
+ "value": "rgb(0, 0, 0)"
}
},
"color-area-border-opacity": {
@@ -2936,20 +3663,22 @@
},
"color-loupe-drop-shadow-blur": {
"prop": "--spectrum-color-loupe-drop-shadow-blur",
+ "ref": "var(--spectrum-drop-shadow-elevated-blur)",
"value": "8px"
},
"color-loupe-drop-shadow-color": {
"prop": "--spectrum-color-loupe-drop-shadow-color",
- "ref": "var(--spectrum-transparent-black-300)",
+ "ref": "var(--spectrum-drop-shadow-elevated-color)",
"light": {
- "value": "rgba(0, 0, 0, 0.15)"
+ "value": "rgba(0, 0, 0, 0.16)"
},
"dark": {
- "value": "rgba(0, 0, 0, 0.15)"
+ "value": "rgba(0, 0, 0, 0.48)"
}
},
"color-loupe-drop-shadow-y": {
"prop": "--spectrum-color-loupe-drop-shadow-y",
+ "ref": "var(--spectrum-drop-shadow-elevated-y)",
"value": "2px"
},
"color-loupe-height": {
@@ -2959,12 +3688,7 @@
"color-loupe-inner-border": {
"prop": "--spectrum-color-loupe-inner-border",
"ref": "var(--spectrum-transparent-black-200)",
- "light": {
- "value": "rgba(0, 0, 0, 0.12)"
- },
- "dark": {
- "value": "rgba(0, 0, 0, 0.12)"
- }
+ "value": "rgba(0, 0, 0, 0.12)"
},
"color-loupe-inner-border-width": {
"prop": "--spectrum-color-loupe-inner-border-width",
@@ -2973,12 +3697,7 @@
"color-loupe-outer-border": {
"prop": "--spectrum-color-loupe-outer-border",
"ref": "var(--spectrum-white)",
- "light": {
- "value": "rgb(255, 255, 255)"
- },
- "dark": {
- "value": "rgb(255, 255, 255)"
- }
+ "value": "rgb(255, 255, 255)"
},
"color-loupe-outer-border-width": {
"prop": "--spectrum-color-loupe-outer-border-width",
@@ -2991,12 +3710,12 @@
},
"color-slider-border-color": {
"prop": "--spectrum-color-slider-border-color",
- "ref": "var(--spectrum-gray-900)",
- "light": {
- "value": "rgb(19, 19, 19)"
- },
+ "ref": "var(--spectrum-gray-1000)",
"dark": {
- "value": "rgb(242, 242, 242)"
+ "value": "rgb(255, 255, 255)"
+ },
+ "light": {
+ "value": "rgb(0, 0, 0)"
}
},
"color-slider-border-opacity": {
@@ -3030,6 +3749,20 @@
"value": "100px"
}
},
+ "color-wheel-border-color": {
+ "prop": "--spectrum-color-wheel-border-color",
+ "ref": "var(--spectrum-gray-1000)",
+ "dark": {
+ "value": "rgb(255, 255, 255)"
+ },
+ "light": {
+ "value": "rgb(0, 0, 0)"
+ }
+ },
+ "color-wheel-border-opacity": {
+ "prop": "--spectrum-color-wheel-border-opacity",
+ "value": "0.1"
+ },
"color-wheel-color-area-margin": {
"prop": "--spectrum-color-wheel-color-area-margin",
"value": "12px"
@@ -3054,51 +3787,40 @@
},
"combo-box-minimum-width-multiplier": {
"prop": "--spectrum-combo-box-minimum-width-multiplier",
- "value": "2.5"
+ "value": 2.5
},
"combo-box-quiet-minimum-width-multiplier": {
"prop": "--spectrum-combo-box-quiet-minimum-width-multiplier",
- "value": "2"
+ "value": 2
+ },
+ "combo-box-visual-to-field-button": {
+ "prop": "--spectrum-combo-box-visual-to-field-button",
+ "value": "0px"
},
"combo-box-visual-to-field-button-extra-large": {
"prop": "--spectrum-combo-box-visual-to-field-button-extra-large",
- "desktop": {
- "value": "10px"
- },
- "mobile": {
- "value": "13px"
- }
+ "ref": "var(--spectrum-combo-box-visual-to-field-button)",
+ "value": "0px"
},
"combo-box-visual-to-field-button-large": {
"prop": "--spectrum-combo-box-visual-to-field-button-large",
- "desktop": {
- "value": "9px"
- },
- "mobile": {
- "value": "11px"
- }
+ "ref": "var(--spectrum-combo-box-visual-to-field-button)",
+ "value": "0px"
},
"combo-box-visual-to-field-button-medium": {
"prop": "--spectrum-combo-box-visual-to-field-button-medium",
- "desktop": {
- "value": "8px"
- },
- "mobile": {
- "value": "10px"
- }
+ "ref": "var(--spectrum-combo-box-visual-to-field-button)",
+ "value": "0px"
},
"combo-box-visual-to-field-button-quiet": {
"prop": "--spectrum-combo-box-visual-to-field-button-quiet",
+ "ref": "var(--spectrum-combo-box-visual-to-field-button)",
"value": "0px"
},
"combo-box-visual-to-field-button-small": {
"prop": "--spectrum-combo-box-visual-to-field-button-small",
- "desktop": {
- "value": "7px"
- },
- "mobile": {
- "value": "9px"
- }
+ "ref": "var(--spectrum-combo-box-visual-to-field-button)",
+ "value": "0px"
},
"component-bottom-to-text-100": {
"prop": "--spectrum-component-bottom-to-text-100",
@@ -3160,13 +3882,13 @@
"value": "15px"
},
"mobile": {
- "value": "18px"
+ "value": "19px"
}
},
"component-edge-to-text-300": {
"prop": "--spectrum-component-edge-to-text-300",
"desktop": {
- "value": "17px"
+ "value": "18px"
},
"mobile": {
"value": "22px"
@@ -3178,16 +3900,16 @@
"value": "8px"
},
"mobile": {
- "value": "11px"
+ "value": "10px"
}
},
"component-edge-to-text-75": {
"prop": "--spectrum-component-edge-to-text-75",
"desktop": {
- "value": "10px"
+ "value": "9px"
},
"mobile": {
- "value": "13px"
+ "value": "11px"
}
},
"component-edge-to-visual-100": {
@@ -3205,34 +3927,34 @@
"value": "13px"
},
"mobile": {
- "value": "15px"
+ "value": "16px"
}
},
"component-edge-to-visual-300": {
"prop": "--spectrum-component-edge-to-visual-300",
"desktop": {
- "value": "14px"
+ "value": "15px"
},
"mobile": {
- "value": "20px"
+ "value": "19px"
}
},
"component-edge-to-visual-50": {
"prop": "--spectrum-component-edge-to-visual-50",
"desktop": {
- "value": "7px"
+ "value": "6px"
},
"mobile": {
- "value": "9px"
+ "value": "7px"
}
},
"component-edge-to-visual-75": {
"prop": "--spectrum-component-edge-to-visual-75",
"desktop": {
- "value": "8px"
+ "value": "7px"
},
"mobile": {
- "value": "11px"
+ "value": "9px"
}
},
"component-edge-to-visual-only-100": {
@@ -3358,13 +4080,13 @@
"value": "20px"
},
"mobile": {
- "value": "24px"
+ "value": "25px"
}
},
"component-pill-edge-to-text-300": {
"prop": "--spectrum-component-pill-edge-to-text-300",
"desktop": {
- "value": "23px"
+ "value": "24px"
},
"mobile": {
"value": "30px"
@@ -3373,10 +4095,10 @@
"component-pill-edge-to-text-75": {
"prop": "--spectrum-component-pill-edge-to-text-75",
"desktop": {
- "value": "13px"
+ "value": "12px"
},
"mobile": {
- "value": "17px"
+ "value": "15px"
}
},
"component-pill-edge-to-visual-100": {
@@ -3394,25 +4116,25 @@
"value": "18px"
},
"mobile": {
- "value": "21px"
+ "value": "22px"
}
},
"component-pill-edge-to-visual-300": {
"prop": "--spectrum-component-pill-edge-to-visual-300",
"desktop": {
- "value": "20px"
+ "value": "21px"
},
"mobile": {
- "value": "28px"
+ "value": "27px"
}
},
"component-pill-edge-to-visual-75": {
"prop": "--spectrum-component-pill-edge-to-visual-75",
"desktop": {
- "value": "11px"
+ "value": "10px"
},
"mobile": {
- "value": "15px"
+ "value": "13px"
}
},
"component-pill-edge-to-visual-only-100": {
@@ -3451,6 +4173,22 @@
"value": "6px"
}
},
+ "component-size-difference-down": {
+ "prop": "--spectrum-component-size-difference-down",
+ "value": "-2px"
+ },
+ "component-size-maximum-perspective-down": {
+ "prop": "--spectrum-component-size-maximum-perspective-down",
+ "value": "96px"
+ },
+ "component-size-minimum-perspective-down": {
+ "prop": "--spectrum-component-size-minimum-perspective-down",
+ "value": "24px"
+ },
+ "component-size-width-ratio-down": {
+ "prop": "--spectrum-component-size-width-ratio-down",
+ "value": 0.3333
+ },
"component-to-menu-extra-large": {
"prop": "--spectrum-component-to-menu-extra-large",
"desktop": {
@@ -3577,6 +4315,16 @@
"value": "6px"
}
},
+ "contextual-help-body-font-size": {
+ "prop": "--spectrum-contextual-help-body-font-size",
+ "ref": "var(--spectrum-body-size-xs)",
+ "desktop": {
+ "value": "14px"
+ },
+ "mobile": {
+ "value": "15px"
+ }
+ },
"contextual-help-body-size": {
"prop": "--spectrum-contextual-help-body-size",
"ref": "var(--spectrum-body-size-xs)",
@@ -3591,9 +4339,19 @@
"prop": "--spectrum-contextual-help-minimum-width",
"value": "268px"
},
+ "contextual-help-title-font-size": {
+ "prop": "--spectrum-contextual-help-title-font-size",
+ "ref": "var(--spectrum-title-size-s)",
+ "desktop": {
+ "value": "16px"
+ },
+ "mobile": {
+ "value": "17px"
+ }
+ },
"contextual-help-title-size": {
"prop": "--spectrum-contextual-help-title-size",
- "ref": "var(--spectrum-heading-size-xxs)",
+ "ref": "var(--spectrum-title-size-s)",
"desktop": {
"value": "16px"
},
@@ -3607,15 +4365,15 @@
},
"corner-radius-100": {
"prop": "--spectrum-corner-radius-100",
- "value": "8px"
+ "value": "4px"
},
"corner-radius-1000": {
"prop": "--spectrum-corner-radius-1000",
- "value": "0.5"
+ "value": 0.5
},
"corner-radius-200": {
"prop": "--spectrum-corner-radius-200",
- "value": "10px"
+ "value": "5px"
},
"corner-radius-300": {
"prop": "--spectrum-corner-radius-300",
@@ -3639,7 +4397,7 @@
},
"corner-radius-75": {
"prop": "--spectrum-corner-radius-75",
- "value": "4px"
+ "value": "3px"
},
"corner-radius-800": {
"prop": "--spectrum-corner-radius-800",
@@ -3653,7 +4411,7 @@
"corner-radius-full": {
"prop": "--spectrum-corner-radius-full",
"ref": "var(--spectrum-corner-radius-1000)",
- "value": "0.5"
+ "value": 0.5
},
"corner-radius-large-default": {
"prop": "--spectrum-corner-radius-large-default",
@@ -3698,7 +4456,7 @@
"corner-radius-small-default": {
"prop": "--spectrum-corner-radius-small-default",
"ref": "var(--spectrum-corner-radius-100)",
- "value": "8px"
+ "value": "4px"
},
"corner-radius-small-size-extra-large": {
"prop": "--spectrum-corner-radius-small-size-extra-large",
@@ -3708,17 +4466,17 @@
"corner-radius-small-size-large": {
"prop": "--spectrum-corner-radius-small-size-large",
"ref": "var(--spectrum-corner-radius-200)",
- "value": "10px"
+ "value": "5px"
},
"corner-radius-small-size-medium": {
"prop": "--spectrum-corner-radius-small-size-medium",
"ref": "var(--spectrum-corner-radius-100)",
- "value": "8px"
+ "value": "4px"
},
"corner-radius-small-size-small": {
"prop": "--spectrum-corner-radius-small-size-small",
"ref": "var(--spectrum-corner-radius-75)",
- "value": "4px"
+ "value": "3px"
},
"corner-triangle-icon-size-100": {
"prop": "--spectrum-corner-triangle-icon-size-100",
@@ -4081,8 +4839,8 @@
},
"detail-cjk-emphasized-font-weight": {
"prop": "--spectrum-detail-cjk-emphasized-font-weight",
- "ref": "var(--spectrum-black-font-weight)",
- "value": "900"
+ "ref": "var(--spectrum-extra-bold-font-weight)",
+ "value": "800"
},
"detail-cjk-font-family": {
"prop": "--spectrum-detail-cjk-font-family",
@@ -4096,8 +4854,8 @@
},
"detail-cjk-font-weight": {
"prop": "--spectrum-detail-cjk-font-weight",
- "ref": "var(--spectrum-extra-bold-font-weight)",
- "value": "800"
+ "ref": "var(--spectrum-bold-font-weight)",
+ "value": "700"
},
"detail-cjk-light-emphasized-font-style": {
"prop": "--spectrum-detail-cjk-light-emphasized-font-style",
@@ -4142,36 +4900,86 @@
"detail-cjk-line-height": {
"prop": "--spectrum-detail-cjk-line-height",
"ref": "var(--spectrum-cjk-line-height-100)",
- "value": "1.5"
- },
- "detail-cjk-strong-emphasized-font-style": {
- "prop": "--spectrum-detail-cjk-strong-emphasized-font-style",
- "ref": "var(--spectrum-default-font-style)",
- "value": "normal"
+ "value": 1.5
},
- "detail-cjk-strong-emphasized-font-weight": {
- "prop": "--spectrum-detail-cjk-strong-emphasized-font-weight",
- "ref": "var(--spectrum-black-font-weight)",
- "value": "900"
- },
- "detail-cjk-strong-font-style": {
- "prop": "--spectrum-detail-cjk-strong-font-style",
- "ref": "var(--spectrum-default-font-style)",
- "value": "normal"
+ "detail-cjk-size-l": {
+ "prop": "--spectrum-detail-cjk-size-l",
+ "ref": "var(--spectrum-font-size-100)",
+ "desktop": {
+ "value": "14px"
+ },
+ "mobile": {
+ "value": "17px"
+ }
+ },
+ "detail-cjk-size-m": {
+ "prop": "--spectrum-detail-cjk-size-m",
+ "ref": "var(--spectrum-font-size-75)",
+ "desktop": {
+ "value": "12px"
+ },
+ "mobile": {
+ "value": "15px"
+ }
+ },
+ "detail-cjk-size-s": {
+ "prop": "--spectrum-detail-cjk-size-s",
+ "ref": "var(--spectrum-font-size-50)",
+ "desktop": {
+ "value": "11px"
+ },
+ "mobile": {
+ "value": "13px"
+ }
+ },
+ "detail-cjk-size-xl": {
+ "prop": "--spectrum-detail-cjk-size-xl",
+ "ref": "var(--spectrum-font-size-200)",
+ "desktop": {
+ "value": "16px"
+ },
+ "mobile": {
+ "value": "19px"
+ }
+ },
+ "detail-cjk-size-xs": {
+ "prop": "--spectrum-detail-cjk-size-xs",
+ "ref": "var(--spectrum-font-size-25)",
+ "desktop": {
+ "value": "10px"
+ },
+ "mobile": {
+ "value": "12px"
+ }
+ },
+ "detail-cjk-strong-emphasized-font-style": {
+ "prop": "--spectrum-detail-cjk-strong-emphasized-font-style",
+ "ref": "var(--spectrum-default-font-style)",
+ "value": "normal"
+ },
+ "detail-cjk-strong-emphasized-font-weight": {
+ "prop": "--spectrum-detail-cjk-strong-emphasized-font-weight",
+ "ref": "var(--spectrum-extra-bold-font-weight)",
+ "value": "800"
+ },
+ "detail-cjk-strong-font-style": {
+ "prop": "--spectrum-detail-cjk-strong-font-style",
+ "ref": "var(--spectrum-default-font-style)",
+ "value": "normal"
},
"detail-cjk-strong-font-weight": {
"prop": "--spectrum-detail-cjk-strong-font-weight",
- "ref": "var(--spectrum-black-font-weight)",
- "value": "900"
+ "ref": "var(--spectrum-extra-bold-font-weight)",
+ "value": "800"
},
"detail-color": {
"prop": "--spectrum-detail-color",
- "ref": "var(--spectrum-gray-900)",
+ "ref": "var(--spectrum-gray-600)",
"light": {
- "value": "rgb(19, 19, 19)"
+ "value": "rgb(113, 113, 113)"
},
"dark": {
- "value": "rgb(242, 242, 242)"
+ "value": "rgb(138, 138, 138)"
}
},
"detail-letter-spacing": {
@@ -4181,15 +4989,15 @@
"detail-line-height": {
"prop": "--spectrum-detail-line-height",
"ref": "var(--spectrum-line-height-100)",
- "value": "1.3"
+ "value": 1.3
},
"detail-margin-bottom-multiplier": {
"prop": "--spectrum-detail-margin-bottom-multiplier",
- "value": "0.25"
+ "value": 0.25
},
"detail-margin-top-multiplier": {
"prop": "--spectrum-detail-margin-top-multiplier",
- "value": "0.88888889"
+ "value": 0.88888889
},
"detail-sans-serif-emphasized-font-style": {
"prop": "--spectrum-detail-sans-serif-emphasized-font-style",
@@ -4198,8 +5006,8 @@
},
"detail-sans-serif-emphasized-font-weight": {
"prop": "--spectrum-detail-sans-serif-emphasized-font-weight",
- "ref": "var(--spectrum-bold-font-weight)",
- "value": "700"
+ "ref": "var(--spectrum-regular-font-weight)",
+ "value": "400"
},
"detail-sans-serif-font-family": {
"prop": "--spectrum-detail-sans-serif-font-family",
@@ -4213,8 +5021,8 @@
},
"detail-sans-serif-font-weight": {
"prop": "--spectrum-detail-sans-serif-font-weight",
- "ref": "var(--spectrum-bold-font-weight)",
- "value": "700"
+ "ref": "var(--spectrum-medium-font-weight)",
+ "value": "500"
},
"detail-sans-serif-light-emphasized-font-style": {
"prop": "--spectrum-detail-sans-serif-light-emphasized-font-style",
@@ -4287,8 +5095,8 @@
},
"detail-serif-emphasized-font-weight": {
"prop": "--spectrum-detail-serif-emphasized-font-weight",
- "ref": "var(--spectrum-bold-font-weight)",
- "value": "700"
+ "ref": "var(--spectrum-medium-font-weight)",
+ "value": "500"
},
"detail-serif-font-family": {
"prop": "--spectrum-detail-serif-font-family",
@@ -4302,8 +5110,8 @@
},
"detail-serif-font-weight": {
"prop": "--spectrum-detail-serif-font-weight",
- "ref": "var(--spectrum-bold-font-weight)",
- "value": "700"
+ "ref": "var(--spectrum-medium-font-weight)",
+ "value": "500"
},
"detail-serif-light-emphasized-font-style": {
"prop": "--spectrum-detail-serif-light-emphasized-font-style",
@@ -4371,42 +5179,52 @@
},
"detail-size-l": {
"prop": "--spectrum-detail-size-l",
- "ref": "var(--spectrum-font-size-100)",
+ "ref": "var(--spectrum-font-size-200)",
"desktop": {
- "value": "14px"
+ "value": "16px"
},
"mobile": {
- "value": "17px"
+ "value": "19px"
}
},
"detail-size-m": {
"prop": "--spectrum-detail-size-m",
- "ref": "var(--spectrum-font-size-75)",
+ "ref": "var(--spectrum-font-size-100)",
"desktop": {
- "value": "12px"
+ "value": "14px"
},
"mobile": {
- "value": "15px"
+ "value": "17px"
}
},
"detail-size-s": {
"prop": "--spectrum-detail-size-s",
- "ref": "var(--spectrum-font-size-50)",
+ "ref": "var(--spectrum-font-size-75)",
"desktop": {
- "value": "11px"
+ "value": "12px"
},
"mobile": {
- "value": "13px"
+ "value": "15px"
}
},
"detail-size-xl": {
"prop": "--spectrum-detail-size-xl",
- "ref": "var(--spectrum-font-size-200)",
+ "ref": "var(--spectrum-font-size-300)",
"desktop": {
- "value": "16px"
+ "value": "18px"
},
"mobile": {
- "value": "19px"
+ "value": "22px"
+ }
+ },
+ "detail-size-xs": {
+ "prop": "--spectrum-detail-size-xs",
+ "ref": "var(--spectrum-font-size-50)",
+ "desktop": {
+ "value": "11px"
+ },
+ "mobile": {
+ "value": "13px"
}
},
"disabled-background-color": {
@@ -4442,62 +5260,32 @@
"disabled-static-black-background-color": {
"prop": "--spectrum-disabled-static-black-background-color",
"ref": "var(--spectrum-transparent-black-100)",
- "light": {
- "value": "rgba(0, 0, 0, 0.09)"
- },
- "dark": {
- "value": "rgba(0, 0, 0, 0.09)"
- }
+ "value": "rgba(0, 0, 0, 0.09)"
},
"disabled-static-black-border-color": {
"prop": "--spectrum-disabled-static-black-border-color",
"ref": "var(--spectrum-transparent-black-300)",
- "light": {
- "value": "rgba(0, 0, 0, 0.15)"
- },
- "dark": {
- "value": "rgba(0, 0, 0, 0.15)"
- }
+ "value": "rgba(0, 0, 0, 0.15)"
},
"disabled-static-black-content-color": {
"prop": "--spectrum-disabled-static-black-content-color",
"ref": "var(--spectrum-transparent-black-400)",
- "light": {
- "value": "rgba(0, 0, 0, 0.22)"
- },
- "dark": {
- "value": "rgba(0, 0, 0, 0.22)"
- }
+ "value": "rgba(0, 0, 0, 0.22)"
},
"disabled-static-white-background-color": {
"prop": "--spectrum-disabled-static-white-background-color",
"ref": "var(--spectrum-transparent-white-100)",
- "light": {
- "value": "rgba(255, 255, 255, 0.11)"
- },
- "dark": {
- "value": "rgba(255, 255, 255, 0.11)"
- }
+ "value": "rgba(255, 255, 255, 0.11)"
},
"disabled-static-white-border-color": {
"prop": "--spectrum-disabled-static-white-border-color",
"ref": "var(--spectrum-transparent-white-300)",
- "light": {
- "value": "rgba(255, 255, 255, 0.17)"
- },
- "dark": {
- "value": "rgba(255, 255, 255, 0.17)"
- }
+ "value": "rgba(255, 255, 255, 0.17)"
},
"disabled-static-white-content-color": {
"prop": "--spectrum-disabled-static-white-content-color",
"ref": "var(--spectrum-transparent-white-400)",
- "light": {
- "value": "rgba(255, 255, 255, 0.21)"
- },
- "dark": {
- "value": "rgba(255, 255, 255, 0.21)"
- }
+ "value": "rgba(255, 255, 255, 0.21)"
},
"disclosure-indicator-top-to-disclosure-icon-extra-large": {
"prop": "--spectrum-disclosure-indicator-top-to-disclosure-icon-extra-large",
@@ -4535,6 +5323,10 @@
"value": "9px"
}
},
+ "divider-horizontal-minimum-width": {
+ "prop": "--spectrum-divider-horizontal-minimum-width",
+ "value": "200px"
+ },
"divider-thickness-large": {
"prop": "--spectrum-divider-thickness-large",
"value": "4px"
@@ -4547,14 +5339,26 @@
"prop": "--spectrum-divider-thickness-small",
"value": "1px"
},
+ "divider-vertical-minimum-height": {
+ "prop": "--spectrum-divider-vertical-minimum-height",
+ "value": "200px"
+ },
"drop-shadow-blur": {
"prop": "--spectrum-drop-shadow-blur",
- "desktop": {
- "value": "4px"
- },
- "mobile": {
- "value": "6px"
- }
+ "ref": "var(--spectrum-drop-shadow-blur-100)",
+ "value": "6px"
+ },
+ "drop-shadow-blur-100": {
+ "prop": "--spectrum-drop-shadow-blur-100",
+ "value": "6px"
+ },
+ "drop-shadow-blur-200": {
+ "prop": "--spectrum-drop-shadow-blur-200",
+ "value": "8px"
+ },
+ "drop-shadow-blur-300": {
+ "prop": "--spectrum-drop-shadow-blur-300",
+ "value": "16px"
},
"drop-shadow-color": {
"prop": "--spectrum-drop-shadow-color",
@@ -4593,6 +5397,11 @@
"value": "rgba(0, 0, 0, 0.6)"
}
},
+ "drop-shadow-dragged-blur": {
+ "prop": "--spectrum-drop-shadow-dragged-blur",
+ "ref": "var(--spectrum-drop-shadow-blur-300)",
+ "value": "16px"
+ },
"drop-shadow-dragged-color": {
"prop": "--spectrum-drop-shadow-dragged-color",
"ref": "var(--spectrum-drop-shadow-color-300)",
@@ -4603,6 +5412,21 @@
"value": "rgba(0, 0, 0, 0.6)"
}
},
+ "drop-shadow-dragged-x": {
+ "prop": "--spectrum-drop-shadow-dragged-x",
+ "ref": "var(--spectrum-drop-shadow-x-300)",
+ "value": "0px"
+ },
+ "drop-shadow-dragged-y": {
+ "prop": "--spectrum-drop-shadow-dragged-y",
+ "ref": "var(--spectrum-drop-shadow-y-300)",
+ "value": "6px"
+ },
+ "drop-shadow-elevated-blur": {
+ "prop": "--spectrum-drop-shadow-elevated-blur",
+ "ref": "var(--spectrum-drop-shadow-blur-200)",
+ "value": "8px"
+ },
"drop-shadow-elevated-color": {
"prop": "--spectrum-drop-shadow-elevated-color",
"ref": "var(--spectrum-drop-shadow-color-200)",
@@ -4613,6 +5437,21 @@
"value": "rgba(0, 0, 0, 0.48)"
}
},
+ "drop-shadow-elevated-x": {
+ "prop": "--spectrum-drop-shadow-elevated-x",
+ "ref": "var(--spectrum-drop-shadow-x-200)",
+ "value": "0px"
+ },
+ "drop-shadow-elevated-y": {
+ "prop": "--spectrum-drop-shadow-elevated-y",
+ "ref": "var(--spectrum-drop-shadow-y-200)",
+ "value": "2px"
+ },
+ "drop-shadow-emphasized-default-blur": {
+ "prop": "--spectrum-drop-shadow-emphasized-default-blur",
+ "ref": "var(--spectrum-drop-shadow-blur-100)",
+ "value": "6px"
+ },
"drop-shadow-emphasized-default-color": {
"prop": "--spectrum-drop-shadow-emphasized-default-color",
"ref": "var(--spectrum-drop-shadow-color-100)",
@@ -4623,6 +5462,21 @@
"value": "rgba(0, 0, 0, 0.36)"
}
},
+ "drop-shadow-emphasized-default-x": {
+ "prop": "--spectrum-drop-shadow-emphasized-default-x",
+ "ref": "var(--spectrum-drop-shadow-x-100)",
+ "value": "0px"
+ },
+ "drop-shadow-emphasized-default-y": {
+ "prop": "--spectrum-drop-shadow-emphasized-default-y",
+ "ref": "var(--spectrum-drop-shadow-y-100)",
+ "value": "1px"
+ },
+ "drop-shadow-emphasized-hover-blur": {
+ "prop": "--spectrum-drop-shadow-emphasized-hover-blur",
+ "ref": "var(--spectrum-drop-shadow-blur-200)",
+ "value": "8px"
+ },
"drop-shadow-emphasized-hover-color": {
"prop": "--spectrum-drop-shadow-emphasized-hover-color",
"ref": "var(--spectrum-drop-shadow-color-200)",
@@ -4633,18 +5487,49 @@
"value": "rgba(0, 0, 0, 0.48)"
}
},
+ "drop-shadow-emphasized-hover-x": {
+ "prop": "--spectrum-drop-shadow-emphasized-hover-x",
+ "ref": "var(--spectrum-drop-shadow-x-200)",
+ "value": "0px"
+ },
+ "drop-shadow-emphasized-hover-y": {
+ "prop": "--spectrum-drop-shadow-emphasized-hover-y",
+ "ref": "var(--spectrum-drop-shadow-y-200)",
+ "value": "2px"
+ },
"drop-shadow-x": {
"prop": "--spectrum-drop-shadow-x",
+ "ref": "var(--spectrum-drop-shadow-x-100)",
+ "value": "0px"
+ },
+ "drop-shadow-x-100": {
+ "prop": "--spectrum-drop-shadow-x-100",
+ "value": "0px"
+ },
+ "drop-shadow-x-200": {
+ "prop": "--spectrum-drop-shadow-x-200",
+ "value": "0px"
+ },
+ "drop-shadow-x-300": {
+ "prop": "--spectrum-drop-shadow-x-300",
"value": "0px"
},
"drop-shadow-y": {
"prop": "--spectrum-drop-shadow-y",
- "desktop": {
- "value": "1px"
- },
- "mobile": {
- "value": "2px"
- }
+ "ref": "var(--spectrum-drop-shadow-y-100)",
+ "value": "1px"
+ },
+ "drop-shadow-y-100": {
+ "prop": "--spectrum-drop-shadow-y-100",
+ "value": "1px"
+ },
+ "drop-shadow-y-200": {
+ "prop": "--spectrum-drop-shadow-y-200",
+ "value": "2px"
+ },
+ "drop-shadow-y-300": {
+ "prop": "--spectrum-drop-shadow-y-300",
+ "value": "6px"
},
"drop-zone-background-color": {
"prop": "--spectrum-drop-zone-background-color",
@@ -4664,8 +5549,8 @@
"prop": "--spectrum-drop-zone-background-color-opacity-filled",
"value": "0.3"
},
- "drop-zone-body-size": {
- "prop": "--spectrum-drop-zone-body-size",
+ "drop-zone-body-font-size": {
+ "prop": "--spectrum-drop-zone-body-font-size",
"ref": "var(--spectrum-body-size-xs)",
"desktop": {
"value": "14px"
@@ -4674,39 +5559,54 @@
"value": "15px"
}
},
+ "drop-zone-body-size": {
+ "prop": "--spectrum-drop-zone-body-size",
+ "ref": "var(--spectrum-drop-zone-body-font-size)",
+ "value": "{drop-zone-body-font-size}"
+ },
"drop-zone-border-dash-gap": {
"prop": "--spectrum-drop-zone-border-dash-gap",
- "value": "4px"
+ "value": "6px"
},
"drop-zone-border-dash-length": {
"prop": "--spectrum-drop-zone-border-dash-length",
"value": "8px"
},
- "drop-zone-cjk-title-size": {
- "prop": "--spectrum-drop-zone-cjk-title-size",
- "ref": "var(--spectrum-heading-cjk-size-s)",
+ "drop-zone-cjk-title-font-size": {
+ "prop": "--spectrum-drop-zone-cjk-title-font-size",
+ "ref": "var(--spectrum-title-cjk-size-l)",
"desktop": {
- "value": "20px"
+ "value": "18px"
},
"mobile": {
- "value": "22px"
+ "value": "19px"
}
},
+ "drop-zone-cjk-title-size": {
+ "prop": "--spectrum-drop-zone-cjk-title-size",
+ "ref": "var(--spectrum-drop-zone-cjk-title-font-size)",
+ "value": "{drop-zone-cjk-title-font-size}"
+ },
"drop-zone-content-maximum-width": {
"prop": "--spectrum-drop-zone-content-maximum-width",
"ref": "var(--spectrum-illustrated-message-maximum-width)",
"value": "380px"
},
- "drop-zone-title-size": {
- "prop": "--spectrum-drop-zone-title-size",
- "ref": "var(--spectrum-heading-size-s)",
+ "drop-zone-title-font-size": {
+ "prop": "--spectrum-drop-zone-title-font-size",
+ "ref": "var(--spectrum-title-size-l)",
"desktop": {
- "value": "22px"
+ "value": "20px"
},
"mobile": {
"value": "22px"
}
},
+ "drop-zone-title-size": {
+ "prop": "--spectrum-drop-zone-title-size",
+ "ref": "var(--spectrum-drop-zone-title-font-size)",
+ "value": "{drop-zone-title-font-size}"
+ },
"drop-zone-width": {
"prop": "--spectrum-drop-zone-width",
"value": "428px"
@@ -4715,6 +5615,42 @@
"prop": "--spectrum-extra-bold-font-weight",
"value": "800"
},
+ "field-default-width-extra-large": {
+ "prop": "--spectrum-field-default-width-extra-large",
+ "desktop": {
+ "value": "240px"
+ },
+ "mobile": {
+ "value": "288px"
+ }
+ },
+ "field-default-width-large": {
+ "prop": "--spectrum-field-default-width-large",
+ "desktop": {
+ "value": "224px"
+ },
+ "mobile": {
+ "value": "272px"
+ }
+ },
+ "field-default-width-medium": {
+ "prop": "--spectrum-field-default-width-medium",
+ "desktop": {
+ "value": "208px"
+ },
+ "mobile": {
+ "value": "256px"
+ }
+ },
+ "field-default-width-small": {
+ "prop": "--spectrum-field-default-width-small",
+ "desktop": {
+ "value": "192px"
+ },
+ "mobile": {
+ "value": "240px"
+ }
+ },
"field-edge-to-alert-icon-extra-large": {
"prop": "--spectrum-field-edge-to-alert-icon-extra-large",
"desktop": {
@@ -4957,30 +5893,15 @@
},
"field-label-top-margin-extra-large": {
"prop": "--spectrum-field-label-top-margin-extra-large",
- "desktop": {
- "value": "5px"
- },
- "mobile": {
- "value": "6px"
- }
+ "value": "0px"
},
"field-label-top-margin-large": {
"prop": "--spectrum-field-label-top-margin-large",
- "desktop": {
- "value": "5px"
- },
- "mobile": {
- "value": "6px"
- }
+ "value": "0px"
},
"field-label-top-margin-medium": {
"prop": "--spectrum-field-label-top-margin-medium",
- "desktop": {
- "value": "4px"
- },
- "mobile": {
- "value": "5px"
- }
+ "value": "0px"
},
"field-label-top-margin-small": {
"prop": "--spectrum-field-label-top-margin-small",
@@ -4989,7 +5910,7 @@
"field-label-top-to-asterisk-extra-large": {
"prop": "--spectrum-field-label-top-to-asterisk-extra-large",
"desktop": {
- "value": "19px"
+ "value": "18px"
},
"mobile": {
"value": "24px"
@@ -5169,28 +6090,28 @@
"field-top-to-progress-circle-extra-large": {
"prop": "--spectrum-field-top-to-progress-circle-extra-large",
"desktop": {
- "value": "16px"
+ "value": "11px"
},
"mobile": {
- "value": "22px"
+ "value": "15px"
}
},
"field-top-to-progress-circle-large": {
"prop": "--spectrum-field-top-to-progress-circle-large",
"desktop": {
- "value": "12px"
+ "value": "9px"
},
"mobile": {
- "value": "17px"
+ "value": "11px"
}
},
"field-top-to-progress-circle-medium": {
"prop": "--spectrum-field-top-to-progress-circle-medium",
"desktop": {
- "value": "8px"
+ "value": "6px"
},
"mobile": {
- "value": "12px"
+ "value": "8px"
}
},
"field-top-to-progress-circle-small": {
@@ -5199,7 +6120,7 @@
"value": "4px"
},
"mobile": {
- "value": "7px"
+ "value": "6px"
}
},
"field-top-to-validation-icon-extra-large": {
@@ -5240,6 +6161,47 @@
},
"field-width": {
"prop": "--spectrum-field-width",
+ "ref": "var(--spectrum-field-width-small)",
+ "desktop": {
+ "value": "192px"
+ },
+ "mobile": {
+ "value": "240px"
+ }
+ },
+ "field-width-extra-large": {
+ "prop": "--spectrum-field-width-extra-large",
+ "ref": "var(--spectrum-field-default-width-extra-large)",
+ "desktop": {
+ "value": "240px"
+ },
+ "mobile": {
+ "value": "288px"
+ }
+ },
+ "field-width-large": {
+ "prop": "--spectrum-field-width-large",
+ "ref": "var(--spectrum-field-default-width-large)",
+ "desktop": {
+ "value": "224px"
+ },
+ "mobile": {
+ "value": "272px"
+ }
+ },
+ "field-width-medium": {
+ "prop": "--spectrum-field-width-medium",
+ "ref": "var(--spectrum-field-default-width-medium)",
+ "desktop": {
+ "value": "208px"
+ },
+ "mobile": {
+ "value": "256px"
+ }
+ },
+ "field-width-small": {
+ "prop": "--spectrum-field-width-small",
+ "ref": "var(--spectrum-field-default-width-small)",
"desktop": {
"value": "192px"
},
@@ -5254,12 +6216,7 @@
"floating-action-button-drop-shadow-color": {
"prop": "--spectrum-floating-action-button-drop-shadow-color",
"ref": "var(--spectrum-transparent-black-300)",
- "light": {
- "value": "rgba(0, 0, 0, 0.15)"
- },
- "dark": {
- "value": "rgba(0, 0, 0, 0.15)"
- }
+ "value": "rgba(0, 0, 0, 0.15)"
},
"floating-action-button-drop-shadow-y": {
"prop": "--spectrum-floating-action-button-drop-shadow-y",
@@ -5268,12 +6225,7 @@
"floating-action-button-shadow-color": {
"prop": "--spectrum-floating-action-button-shadow-color",
"ref": "var(--spectrum-floating-action-button-drop-shadow-color)",
- "light": {
- "value": "rgba(0, 0, 0, 0.15)"
- },
- "dark": {
- "value": "rgba(0, 0, 0, 0.15)"
- }
+ "value": "rgba(0, 0, 0, 0.15)"
},
"focus-indicator-color": {
"prop": "--spectrum-focus-indicator-color",
@@ -5323,7 +6275,7 @@
"font-size-1200": {
"prop": "--spectrum-font-size-1200",
"desktop": {
- "value": "50px"
+ "value": "51px"
},
"mobile": {
"value": "62px"
@@ -5332,12 +6284,30 @@
"font-size-1300": {
"prop": "--spectrum-font-size-1300",
"desktop": {
- "value": "60px"
+ "value": "58px"
},
"mobile": {
"value": "70px"
}
},
+ "font-size-1400": {
+ "prop": "--spectrum-font-size-1400",
+ "desktop": {
+ "value": "65px"
+ },
+ "mobile": {
+ "value": "79px"
+ }
+ },
+ "font-size-1500": {
+ "prop": "--spectrum-font-size-1500",
+ "desktop": {
+ "value": "73px"
+ },
+ "mobile": {
+ "value": "88px"
+ }
+ },
"font-size-200": {
"prop": "--spectrum-font-size-200",
"desktop": {
@@ -5347,6 +6317,15 @@
"value": "19px"
}
},
+ "font-size-25": {
+ "prop": "--spectrum-font-size-25",
+ "desktop": {
+ "value": "10px"
+ },
+ "mobile": {
+ "value": "12px"
+ }
+ },
"font-size-300": {
"prop": "--spectrum-font-size-300",
"desktop": {
@@ -5602,6 +6581,30 @@
"value": "rgb(213, 73, 235)"
}
},
+ "gradient-stop-1-genai": {
+ "prop": "--spectrum-gradient-stop-1-genai",
+ "value": 0
+ },
+ "gradient-stop-1-premium": {
+ "prop": "--spectrum-gradient-stop-1-premium",
+ "value": 0
+ },
+ "gradient-stop-2-genai": {
+ "prop": "--spectrum-gradient-stop-2-genai",
+ "value": 0.3333
+ },
+ "gradient-stop-2-premium": {
+ "prop": "--spectrum-gradient-stop-2-premium",
+ "value": 0.6666
+ },
+ "gradient-stop-3-genai": {
+ "prop": "--spectrum-gradient-stop-3-genai",
+ "value": 1
+ },
+ "gradient-stop-3-premium": {
+ "prop": "--spectrum-gradient-stop-3-premium",
+ "value": 1
+ },
"gray-100": {
"prop": "--spectrum-gray-100",
"light": {
@@ -5965,8 +6968,8 @@
},
"heading-cjk-heavy-font-weight": {
"prop": "--spectrum-heading-cjk-heavy-font-weight",
- "ref": "var(--spectrum-black-font-weight)",
- "value": "900"
+ "ref": "var(--spectrum-extra-bold-font-weight)",
+ "value": "800"
},
"heading-cjk-heavy-strong-emphasized-font-style": {
"prop": "--spectrum-heading-cjk-heavy-strong-emphasized-font-style",
@@ -6031,7 +7034,7 @@
"heading-cjk-line-height": {
"prop": "--spectrum-heading-cjk-line-height",
"ref": "var(--spectrum-cjk-line-height-100)",
- "value": "1.5"
+ "value": 1.5
},
"heading-cjk-size-l": {
"prop": "--spectrum-heading-cjk-size-l",
@@ -6085,12 +7088,12 @@
},
"heading-cjk-size-xxl": {
"prop": "--spectrum-heading-cjk-size-xxl",
- "ref": "var(--spectrum-font-size-900)",
+ "ref": "var(--spectrum-font-size-1000)",
"desktop": {
- "value": "36px"
+ "value": "40px"
},
"mobile": {
- "value": "44px"
+ "value": "49px"
}
},
"heading-cjk-size-xxs": {
@@ -6105,12 +7108,22 @@
},
"heading-cjk-size-xxxl": {
"prop": "--spectrum-heading-cjk-size-xxxl",
- "ref": "var(--spectrum-font-size-1300)",
+ "ref": "var(--spectrum-font-size-1200)",
"desktop": {
- "value": "60px"
+ "value": "51px"
},
"mobile": {
- "value": "70px"
+ "value": "62px"
+ }
+ },
+ "heading-cjk-size-xxxxl": {
+ "prop": "--spectrum-heading-cjk-size-xxxxl",
+ "ref": "var(--spectrum-font-size-1400)",
+ "desktop": {
+ "value": "65px"
+ },
+ "mobile": {
+ "value": "79px"
}
},
"heading-cjk-strong-emphasized-font-style": {
@@ -6146,15 +7159,15 @@
"heading-line-height": {
"prop": "--spectrum-heading-line-height",
"ref": "var(--spectrum-line-height-100)",
- "value": "1.3"
+ "value": 1.3
},
"heading-margin-bottom-multiplier": {
"prop": "--spectrum-heading-margin-bottom-multiplier",
- "value": "0.25"
+ "value": 0.25
},
"heading-margin-top-multiplier": {
"prop": "--spectrum-heading-margin-top-multiplier",
- "value": "0.88888889"
+ "value": 0.88888889
},
"heading-sans-serif-emphasized-font-style": {
"prop": "--spectrum-heading-sans-serif-emphasized-font-style",
@@ -6163,8 +7176,8 @@
},
"heading-sans-serif-emphasized-font-weight": {
"prop": "--spectrum-heading-sans-serif-emphasized-font-weight",
- "ref": "var(--spectrum-bold-font-weight)",
- "value": "700"
+ "ref": "var(--spectrum-extra-bold-font-weight)",
+ "value": "800"
},
"heading-sans-serif-font-family": {
"prop": "--spectrum-heading-sans-serif-font-family",
@@ -6178,8 +7191,8 @@
},
"heading-sans-serif-font-weight": {
"prop": "--spectrum-heading-sans-serif-font-weight",
- "ref": "var(--spectrum-bold-font-weight)",
- "value": "700"
+ "ref": "var(--spectrum-extra-bold-font-weight)",
+ "value": "800"
},
"heading-sans-serif-heavy-emphasized-font-style": {
"prop": "--spectrum-heading-sans-serif-heavy-emphasized-font-style",
@@ -6428,12 +7441,12 @@
},
"heading-size-s": {
"prop": "--spectrum-heading-size-s",
- "ref": "var(--spectrum-font-size-300)",
+ "ref": "var(--spectrum-font-size-400)",
"desktop": {
- "value": "18px"
+ "value": "20px"
},
"mobile": {
- "value": "22px"
+ "value": "24px"
}
},
"heading-size-xl": {
@@ -6448,12 +7461,12 @@
},
"heading-size-xs": {
"prop": "--spectrum-heading-size-xs",
- "ref": "var(--spectrum-font-size-200)",
+ "ref": "var(--spectrum-font-size-300)",
"desktop": {
- "value": "16px"
+ "value": "18px"
},
"mobile": {
- "value": "19px"
+ "value": "22px"
}
},
"heading-size-xxl": {
@@ -6480,50 +7493,74 @@
"prop": "--spectrum-heading-size-xxxl",
"ref": "var(--spectrum-font-size-1300)",
"desktop": {
- "value": "60px"
+ "value": "58px"
},
"mobile": {
"value": "70px"
}
},
+ "heading-size-xxxxl": {
+ "prop": "--spectrum-heading-size-xxxxl",
+ "ref": "var(--spectrum-font-size-1500)",
+ "desktop": {
+ "value": "73px"
+ },
+ "mobile": {
+ "value": "88px"
+ }
+ },
"help-text-to-component": {
"prop": "--spectrum-help-text-to-component",
"value": "0px"
},
"help-text-top-to-workflow-icon-extra-large": {
"prop": "--spectrum-help-text-top-to-workflow-icon-extra-large",
+ "ref": "var(--spectrum-component-top-to-workflow-icon-300)",
"desktop": {
- "value": "9px"
+ "value": "11px"
},
"mobile": {
- "value": "11px"
+ "value": "15px"
}
},
"help-text-top-to-workflow-icon-large": {
"prop": "--spectrum-help-text-top-to-workflow-icon-large",
+ "ref": "var(--spectrum-component-top-to-workflow-icon-200)",
"desktop": {
- "value": "6px"
+ "value": "9px"
},
"mobile": {
- "value": "8px"
+ "value": "11px"
}
},
"help-text-top-to-workflow-icon-medium": {
"prop": "--spectrum-help-text-top-to-workflow-icon-medium",
+ "ref": "var(--spectrum-component-top-to-workflow-icon-100)",
"desktop": {
- "value": "3px"
+ "value": "6px"
},
"mobile": {
- "value": "4px"
+ "value": "8px"
}
},
"help-text-top-to-workflow-icon-small": {
"prop": "--spectrum-help-text-top-to-workflow-icon-small",
+ "ref": "var(--spectrum-component-top-to-workflow-icon-75)",
"desktop": {
"value": "4px"
},
"mobile": {
- "value": "5px"
+ "value": "6px"
+ }
+ },
+ "icon-color-blue-background": {
+ "prop": "--spectrum-icon-color-blue-background",
+ "ref": "var(--spectrum-blue-300)",
+ "light": {
+ "value": "rgb(229, 240, 254)"
+ },
+ "dark": {
+ "value": "rgb(12, 33, 117)"
}
},
"icon-color-blue-primary-default": {
@@ -6536,3186 +7573,5611 @@
"value": "rgb(64, 105, 253)"
}
},
- "icon-color-green-primary-default": {
- "prop": "--spectrum-icon-color-green-primary-default",
- "ref": "var(--spectrum-green-800)",
+ "icon-color-blue-primary-down": {
+ "prop": "--spectrum-icon-color-blue-primary-down",
+ "ref": "var(--spectrum-blue-1000)",
"light": {
- "value": "rgb(5, 131, 78)"
+ "value": "rgb(29, 62, 207)"
},
"dark": {
- "value": "rgb(6, 136, 80)"
+ "value": "rgb(105, 149, 254)"
}
},
- "icon-color-inverse": {
- "prop": "--spectrum-icon-color-inverse",
- "ref": "var(--spectrum-gray-50)",
+ "icon-color-blue-primary-hover": {
+ "prop": "--spectrum-icon-color-blue-primary-hover",
+ "ref": "var(--spectrum-blue-900)",
"light": {
- "value": "rgb(248, 248, 248)"
+ "value": "rgb(39, 77, 234)"
},
"dark": {
- "value": "rgb(27, 27, 27)"
+ "value": "rgb(86, 129, 255)"
}
},
- "icon-color-primary-default": {
- "prop": "--spectrum-icon-color-primary-default",
- "ref": "var(--spectrum-neutral-content-color-default)",
+ "icon-color-brown-background": {
+ "prop": "--spectrum-icon-color-brown-background",
+ "ref": "var(--spectrum-brown-400)",
"light": {
- "value": "rgb(41, 41, 41)"
+ "value": "rgb(247, 238, 225)"
},
"dark": {
- "value": "rgb(219, 219, 219)"
+ "value": "rgb(78, 55, 19)"
}
},
- "icon-color-red-primary-default": {
- "prop": "--spectrum-icon-color-red-primary-default",
- "ref": "var(--spectrum-red-700)",
+ "icon-color-brown-primary-default": {
+ "prop": "--spectrum-icon-color-brown-primary-default",
+ "ref": "var(--spectrum-brown-700)",
"light": {
- "value": "rgb(215, 50, 32)"
+ "value": "rgb(154, 123, 77)"
},
"dark": {
- "value": "rgb(205, 46, 29)"
+ "value": "rgb(132, 104, 61)"
}
},
- "icon-color-yellow-primary-default": {
- "prop": "--spectrum-icon-color-yellow-primary-default",
- "ref": "var(--spectrum-yellow-1000)",
+ "icon-color-brown-primary-down": {
+ "prop": "--spectrum-icon-color-brown-primary-down",
+ "ref": "var(--spectrum-brown-900)",
"light": {
- "value": "rgb(245, 199, 0)"
+ "value": "rgb(119, 91, 50)"
},
"dark": {
- "value": "rgb(203, 141, 0)"
+ "value": "rgb(163, 132, 84)"
}
},
- "illustrated-message-body-size": {
- "prop": "--spectrum-illustrated-message-body-size",
- "ref": "var(--spectrum-body-size-xs)",
- "desktop": {
- "value": "14px"
+ "icon-color-brown-primary-hover": {
+ "prop": "--spectrum-icon-color-brown-primary-hover",
+ "ref": "var(--spectrum-brown-800)",
+ "light": {
+ "value": "rgb(139, 109, 66)"
},
- "mobile": {
- "value": "15px"
+ "dark": {
+ "value": "rgb(143, 114, 69)"
}
},
- "illustrated-message-cjk-title-size": {
- "prop": "--spectrum-illustrated-message-cjk-title-size",
- "ref": "var(--spectrum-heading-cjk-size-s)",
- "desktop": {
- "value": "20px"
+ "icon-color-celery-background": {
+ "prop": "--spectrum-icon-color-celery-background",
+ "ref": "var(--spectrum-celery-400)",
+ "light": {
+ "value": "rgb(235, 255, 220)"
},
- "mobile": {
- "value": "22px"
+ "dark": {
+ "value": "rgb(31, 67, 4)"
}
},
- "illustrated-message-maximum-width": {
- "prop": "--spectrum-illustrated-message-maximum-width",
- "value": "380px"
- },
- "illustrated-message-title-size": {
- "prop": "--spectrum-illustrated-message-title-size",
- "ref": "var(--spectrum-heading-size-s)",
- "desktop": {
- "value": "22px"
+ "icon-color-celery-primary-default": {
+ "prop": "--spectrum-icon-color-celery-primary-default",
+ "ref": "var(--spectrum-celery-900)",
+ "light": {
+ "value": "rgb(82, 161, 25)"
},
- "mobile": {
- "value": "22px"
+ "dark": {
+ "value": "rgb(78, 154, 23)"
}
},
- "in-field-button-edge-to-disclosure-icon-stacked-extra-large": {
- "prop": "--spectrum-in-field-button-edge-to-disclosure-icon-stacked-extra-large",
- "value": "16px"
- },
- "in-field-button-edge-to-disclosure-icon-stacked-large": {
- "prop": "--spectrum-in-field-button-edge-to-disclosure-icon-stacked-large",
- "value": "13px"
+ "icon-color-celery-primary-down": {
+ "prop": "--spectrum-icon-color-celery-primary-down",
+ "ref": "var(--spectrum-celery-1100)",
+ "light": {
+ "value": "rgb(64, 129, 17)"
+ },
+ "dark": {
+ "value": "rgb(100, 190, 35)"
+ }
},
- "in-field-button-edge-to-disclosure-icon-stacked-medium": {
- "prop": "--spectrum-in-field-button-edge-to-disclosure-icon-stacked-medium",
- "value": "9px"
+ "icon-color-celery-primary-hover": {
+ "prop": "--spectrum-icon-color-celery-primary-hover",
+ "ref": "var(--spectrum-celery-1000)",
+ "light": {
+ "value": "rgb(72, 144, 20)"
+ },
+ "dark": {
+ "value": "rgb(88, 172, 28)"
+ }
},
- "in-field-button-edge-to-disclosure-icon-stacked-small": {
- "prop": "--spectrum-in-field-button-edge-to-disclosure-icon-stacked-small",
- "value": "7px"
+ "icon-color-chartreuse-background": {
+ "prop": "--spectrum-icon-color-chartreuse-background",
+ "ref": "var(--spectrum-chartreuse-400)",
+ "light": {
+ "value": "rgb(234, 246, 173)"
+ },
+ "dark": {
+ "value": "rgb(53, 63, 0)"
+ }
},
- "in-field-button-edge-to-fill": {
- "prop": "--spectrum-in-field-button-edge-to-fill",
- "value": "0px"
+ "icon-color-chartreuse-primary-default": {
+ "prop": "--spectrum-icon-color-chartreuse-primary-default",
+ "ref": "var(--spectrum-chartreuse-1000)",
+ "light": {
+ "value": "rgb(143, 172, 0)"
+ },
+ "dark": {
+ "value": "rgb(136, 164, 0)"
+ }
},
- "in-field-button-fill-stacked-inner-border-rounding": {
- "prop": "--spectrum-in-field-button-fill-stacked-inner-border-rounding",
- "value": "0px"
+ "icon-color-chartreuse-primary-down": {
+ "prop": "--spectrum-icon-color-chartreuse-primary-down",
+ "ref": "var(--spectrum-chartreuse-1200)",
+ "light": {
+ "value": "rgb(114, 137, 0)"
+ },
+ "dark": {
+ "value": "rgb(169, 203, 0)"
+ }
},
- "in-field-button-inner-edge-to-disclosure-icon-stacked-extra-large": {
- "prop": "--spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-extra-large",
- "ref": "var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large)",
- "value": "5px"
- },
- "in-field-button-inner-edge-to-disclosure-icon-stacked-large": {
- "prop": "--spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-large",
- "ref": "var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-large)",
- "value": "4px"
- },
- "in-field-button-inner-edge-to-disclosure-icon-stacked-medium": {
- "prop": "--spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-medium",
- "ref": "var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-medium)",
- "value": "3px"
- },
- "in-field-button-inner-edge-to-disclosure-icon-stacked-small": {
- "prop": "--spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-small",
- "ref": "var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-small)",
- "value": "3px"
- },
- "in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large": {
- "prop": "--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large",
- "value": "5px"
- },
- "in-field-button-outer-edge-to-disclosure-icon-stacked-large": {
- "prop": "--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-large",
- "value": "4px"
- },
- "in-field-button-outer-edge-to-disclosure-icon-stacked-medium": {
- "prop": "--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-medium",
- "value": "3px"
- },
- "in-field-button-outer-edge-to-disclosure-icon-stacked-small": {
- "prop": "--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-small",
- "value": "3px"
- },
- "in-field-button-stacked-inner-edge-to-fill": {
- "prop": "--spectrum-in-field-button-stacked-inner-edge-to-fill",
- "value": "0px"
- },
- "in-field-button-width-stacked-extra-large": {
- "prop": "--spectrum-in-field-button-width-stacked-extra-large",
- "value": "44px"
- },
- "in-field-button-width-stacked-large": {
- "prop": "--spectrum-in-field-button-width-stacked-large",
- "value": "36px"
- },
- "in-field-button-width-stacked-medium": {
- "prop": "--spectrum-in-field-button-width-stacked-medium",
- "value": "28px"
- },
- "in-field-button-width-stacked-small": {
- "prop": "--spectrum-in-field-button-width-stacked-small",
- "value": "20px"
- },
- "in-line-alert-minimum-width": {
- "prop": "--spectrum-in-line-alert-minimum-width",
- "value": "240px"
- },
- "indigo-100": {
- "prop": "--spectrum-indigo-100",
+ "icon-color-chartreuse-primary-hover": {
+ "prop": "--spectrum-icon-color-chartreuse-primary-hover",
+ "ref": "var(--spectrum-chartreuse-1100)",
"light": {
- "value": "rgb(247, 248, 255)"
+ "value": "rgb(128, 153, 0)"
},
"dark": {
- "value": "rgb(30, 0, 93)"
+ "value": "rgb(151, 181, 0)"
}
},
- "indigo-1000": {
- "prop": "--spectrum-indigo-1000",
+ "icon-color-cinnamon-background": {
+ "prop": "--spectrum-icon-color-cinnamon-background",
+ "ref": "var(--spectrum-cinnamon-300)",
"light": {
- "value": "rgb(99, 56, 238)"
+ "value": "rgb(249, 236, 229)"
},
"dark": {
- "value": "rgb(139, 141, 254)"
+ "value": "rgb(79, 28, 7)"
}
},
- "indigo-1100": {
- "prop": "--spectrum-indigo-1100",
+ "icon-color-cinnamon-primary-default": {
+ "prop": "--spectrum-icon-color-cinnamon-primary-default",
+ "ref": "var(--spectrum-cinnamon-800)",
+ "dark": {
+ "value": "rgb(176, 98, 59)"
+ },
"light": {
- "value": "rgb(84, 36, 219)"
+ "value": "rgb(184, 109, 70)"
+ }
+ },
+ "icon-color-cinnamon-primary-down": {
+ "prop": "--spectrum-icon-color-cinnamon-primary-down",
+ "ref": "var(--spectrum-cinnamon-1000)",
+ "dark": {
+ "value": "rgb(206, 136, 99)"
},
+ "light": {
+ "value": "rgb(147, 77, 43)"
+ }
+ },
+ "icon-color-cinnamon-primary-hover": {
+ "prop": "--spectrum-icon-color-cinnamon-primary-hover",
+ "ref": "var(--spectrum-cinnamon-900)",
"dark": {
- "value": "rgb(153, 161, 255)"
+ "value": "rgb(192, 119, 80)"
+ },
+ "light": {
+ "value": "rgb(170, 94, 56)"
}
},
- "indigo-1200": {
- "prop": "--spectrum-indigo-1200",
+ "icon-color-cyan-background": {
+ "prop": "--spectrum-icon-color-cyan-background",
+ "ref": "var(--spectrum-cyan-400)",
"light": {
- "value": "rgb(69, 19, 191)"
+ "value": "rgb(238, 250, 254)"
},
"dark": {
- "value": "rgb(176, 186, 255)"
+ "value": "rgb(0, 64, 88)"
}
},
- "indigo-1300": {
- "prop": "--spectrum-indigo-1300",
+ "icon-color-cyan-primary-default": {
+ "prop": "--spectrum-icon-color-cyan-primary-default",
+ "ref": "var(--spectrum-cyan-800)",
"light": {
- "value": "rgb(55, 6, 160)"
+ "value": "rgb(18, 134, 205)"
},
"dark": {
- "value": "rgb(199, 208, 255)"
+ "value": "rgb(13, 125, 186)"
}
},
- "indigo-1400": {
- "prop": "--spectrum-indigo-1400",
+ "icon-color-cyan-primary-down": {
+ "prop": "--spectrum-icon-color-cyan-primary-down",
+ "ref": "var(--spectrum-cyan-1000)",
"light": {
- "value": "rgb(42, 0, 129)"
+ "value": "rgb(4, 102, 145)"
},
"dark": {
- "value": "rgb(223, 228, 255)"
+ "value": "rgb(38, 159, 244)"
}
},
- "indigo-1500": {
- "prop": "--spectrum-indigo-1500",
- "dark": {
- "value": "rgb(243, 244, 255)"
- },
+ "icon-color-cyan-primary-hover": {
+ "prop": "--spectrum-icon-color-cyan-primary-hover",
+ "ref": "var(--spectrum-cyan-900)",
"light": {
- "value": "rgb(31, 0, 98)"
+ "value": "rgb(11, 120, 179)"
+ },
+ "dark": {
+ "value": "rgb(24, 142, 220)"
}
},
- "indigo-1600": {
- "prop": "--spectrum-indigo-1600",
- "dark": {
- "value": "rgb(255, 255, 255)"
- },
+ "icon-color-disabled-primary": {
+ "prop": "--spectrum-icon-color-disabled-primary",
+ "ref": "var(--spectrum-gray-400)",
"light": {
- "value": "rgb(17, 0, 54)"
+ "value": "rgb(198, 198, 198)"
+ },
+ "dark": {
+ "value": "rgb(68, 68, 68)"
}
},
- "indigo-200": {
- "prop": "--spectrum-indigo-200",
+ "icon-color-emphasized-background": {
+ "prop": "--spectrum-icon-color-emphasized-background",
+ "ref": "var(--spectrum-gray-900)",
"light": {
- "value": "rgb(235, 238, 255)"
+ "value": "rgb(19, 19, 19)"
},
"dark": {
- "value": "rgb(35, 0, 110)"
+ "value": "rgb(242, 242, 242)"
}
},
- "indigo-300": {
- "prop": "--spectrum-indigo-300",
+ "icon-color-fuchsia-background": {
+ "prop": "--spectrum-icon-color-fuchsia-background",
+ "ref": "var(--spectrum-fuchsia-200)",
"light": {
- "value": "rgb(216, 222, 255)"
+ "value": "rgb(253, 233, 255)"
},
"dark": {
- "value": "rgb(47, 0, 140)"
+ "value": "rgb(61, 0, 74)"
}
},
- "indigo-400": {
- "prop": "--spectrum-indigo-400",
+ "icon-color-fuchsia-primary-default": {
+ "prop": "--spectrum-icon-color-fuchsia-primary-default",
+ "ref": "var(--spectrum-fuchsia-700)",
"light": {
- "value": "rgb(192, 201, 255)"
+ "value": "rgb(181, 57, 200)"
},
"dark": {
- "value": "rgb(62, 12, 174)"
+ "value": "rgb(173, 51, 192)"
}
},
- "indigo-500": {
- "prop": "--spectrum-indigo-500",
+ "icon-color-fuchsia-primary-down": {
+ "prop": "--spectrum-icon-color-fuchsia-primary-down",
+ "ref": "var(--spectrum-fuchsia-900)",
"light": {
- "value": "rgb(167, 178, 255)"
+ "value": "rgb(135, 27, 154)"
},
"dark": {
- "value": "rgb(79, 30, 209)"
+ "value": "rgb(213, 73, 235)"
}
},
- "indigo-600": {
- "prop": "--spectrum-indigo-600",
+ "icon-color-fuchsia-primary-hover": {
+ "prop": "--spectrum-icon-color-fuchsia-primary-hover",
+ "ref": "var(--spectrum-fuchsia-800)",
"light": {
- "value": "rgb(145, 151, 254)"
+ "value": "rgb(156, 40, 175)"
},
"dark": {
- "value": "rgb(95, 52, 235)"
+ "value": "rgb(186, 60, 206)"
}
},
- "indigo-700": {
- "prop": "--spectrum-indigo-700",
+ "icon-color-green-background": {
+ "prop": "--spectrum-icon-color-green-background",
+ "ref": "var(--spectrum-green-400)",
"light": {
- "value": "rgb(132, 128, 254)"
+ "value": "rgb(237, 252, 241)"
},
"dark": {
- "value": "rgb(109, 75, 248)"
+ "value": "rgb(0, 68, 48)"
}
},
- "indigo-800": {
- "prop": "--spectrum-indigo-800",
+ "icon-color-green-primary-default": {
+ "prop": "--spectrum-icon-color-green-primary-default",
+ "ref": "var(--spectrum-green-800)",
"light": {
- "value": "rgb(122, 106, 253)"
+ "value": "rgb(7, 147, 85)"
},
"dark": {
- "value": "rgb(116, 91, 252)"
+ "value": "rgb(6, 136, 80)"
}
},
- "indigo-900": {
- "prop": "--spectrum-indigo-900",
+ "icon-color-green-primary-down": {
+ "prop": "--spectrum-icon-color-green-primary-down",
+ "ref": "var(--spectrum-green-1000)",
"light": {
- "value": "rgb(113, 85, 250)"
+ "value": "rgb(3, 110, 69)"
},
"dark": {
- "value": "rgb(128, 119, 254)"
+ "value": "rgb(14, 175, 98)"
}
},
- "indigo-background-color-default": {
- "prop": "--spectrum-indigo-background-color-default",
- "ref": "var(--spectrum-indigo-800)",
+ "icon-color-green-primary-hover": {
+ "prop": "--spectrum-icon-color-green-primary-hover",
+ "ref": "var(--spectrum-green-900)",
"light": {
- "value": "rgb(113, 85, 250)"
+ "value": "rgb(5, 131, 78)"
},
"dark": {
- "value": "rgb(116, 91, 252)"
+ "value": "rgb(9, 157, 89)"
}
},
- "indigo-subtle-background-color-default": {
- "prop": "--spectrum-indigo-subtle-background-color-default",
- "ref": "var(--spectrum-indigo-300)",
+ "icon-color-indigo-background": {
+ "prop": "--spectrum-icon-color-indigo-background",
+ "ref": "var(--spectrum-indigo-100)",
"light": {
"value": "rgb(235, 238, 255)"
},
"dark": {
- "value": "rgb(47, 0, 140)"
+ "value": "rgb(30, 0, 93)"
}
},
- "indigo-visual-color": {
- "prop": "--spectrum-indigo-visual-color",
- "ref": "var(--spectrum-indigo-900)",
+ "icon-color-indigo-primary-default": {
+ "prop": "--spectrum-icon-color-indigo-primary-default",
+ "ref": "var(--spectrum-indigo-700)",
"light": {
- "value": "rgb(122, 106, 253)"
+ "value": "rgb(113, 85, 250)"
},
"dark": {
- "value": "rgb(128, 119, 254)"
+ "value": "rgb(109, 75, 248)"
}
},
- "informative-background-color-default": {
- "prop": "--spectrum-informative-background-color-default",
- "ref": "var(--spectrum-informative-color-800)",
+ "icon-color-indigo-primary-down": {
+ "prop": "--spectrum-icon-color-indigo-primary-down",
+ "ref": "var(--spectrum-indigo-900)",
"light": {
- "value": "rgb(59, 99, 251)"
+ "value": "rgb(84, 36, 219)"
},
"dark": {
- "value": "rgb(64, 105, 253)"
+ "value": "rgb(128, 119, 254)"
}
},
- "informative-background-color-down": {
- "prop": "--spectrum-informative-background-color-down",
- "ref": "var(--spectrum-informative-color-700)",
+ "icon-color-indigo-primary-hover": {
+ "prop": "--spectrum-icon-color-indigo-primary-hover",
+ "ref": "var(--spectrum-indigo-800)",
"light": {
- "value": "rgb(39, 77, 234)"
+ "value": "rgb(99, 56, 238)"
},
"dark": {
- "value": "rgb(52, 91, 248)"
+ "value": "rgb(116, 91, 252)"
}
},
- "informative-background-color-hover": {
- "prop": "--spectrum-informative-background-color-hover",
- "ref": "var(--spectrum-informative-color-700)",
+ "icon-color-informative": {
+ "prop": "--spectrum-icon-color-informative",
+ "ref": "var(--spectrum-informative-color-900)",
"light": {
- "value": "rgb(39, 77, 234)"
+ "value": "rgb(75, 117, 255)"
},
"dark": {
- "value": "rgb(52, 91, 248)"
+ "value": "rgb(86, 129, 255)"
}
},
- "informative-background-color-key-focus": {
- "prop": "--spectrum-informative-background-color-key-focus",
- "ref": "var(--spectrum-informative-color-700)",
+ "icon-color-inverse": {
+ "prop": "--spectrum-icon-color-inverse",
+ "ref": "var(--spectrum-gray-50)",
"light": {
- "value": "rgb(39, 77, 234)"
+ "value": "rgb(248, 248, 248)"
},
"dark": {
- "value": "rgb(52, 91, 248)"
+ "value": "rgb(27, 27, 27)"
}
},
- "informative-color-100": {
- "prop": "--spectrum-informative-color-100",
- "ref": "var(--spectrum-blue-100)",
+ "icon-color-inverse-background": {
+ "prop": "--spectrum-icon-color-inverse-background",
+ "ref": "var(--spectrum-gray-50)",
"light": {
- "value": "rgb(245, 249, 255)"
+ "value": "rgb(248, 248, 248)"
},
"dark": {
- "value": "rgb(14, 23, 63)"
+ "value": "rgb(27, 27, 27)"
}
},
- "informative-color-1000": {
- "prop": "--spectrum-informative-color-1000",
- "ref": "var(--spectrum-blue-1000)",
+ "icon-color-magenta-background": {
+ "prop": "--spectrum-icon-color-magenta-background",
+ "ref": "var(--spectrum-magenta-200)",
"light": {
- "value": "rgb(39, 77, 234)"
+ "value": "rgb(255, 232, 240)"
},
"dark": {
- "value": "rgb(105, 149, 254)"
+ "value": "rgb(74, 0, 27)"
}
},
- "informative-color-1100": {
- "prop": "--spectrum-informative-color-1100",
- "ref": "var(--spectrum-blue-1100)",
+ "icon-color-magenta-primary-default": {
+ "prop": "--spectrum-icon-color-magenta-primary-default",
+ "ref": "var(--spectrum-magenta-700)",
"light": {
- "value": "rgb(29, 62, 207)"
+ "value": "rgb(217, 35, 97)"
},
"dark": {
- "value": "rgb(124, 169, 252)"
+ "value": "rgb(207, 31, 92)"
}
},
- "informative-color-1200": {
- "prop": "--spectrum-informative-color-1200",
- "ref": "var(--spectrum-blue-1200)",
+ "icon-color-magenta-primary-down": {
+ "prop": "--spectrum-icon-color-magenta-primary-down",
+ "ref": "var(--spectrum-magenta-900)",
"light": {
- "value": "rgb(21, 50, 173)"
+ "value": "rgb(163, 5, 62)"
},
"dark": {
- "value": "rgb(152, 192, 252)"
+ "value": "rgb(255, 51, 119)"
}
},
- "informative-color-1300": {
- "prop": "--spectrum-informative-color-1300",
- "ref": "var(--spectrum-blue-1300)",
+ "icon-color-magenta-primary-hover": {
+ "prop": "--spectrum-icon-color-magenta-primary-hover",
+ "ref": "var(--spectrum-magenta-800)",
"light": {
- "value": "rgb(16, 40, 140)"
+ "value": "rgb(186, 22, 80)"
},
"dark": {
- "value": "rgb(181, 213, 253)"
+ "value": "rgb(224, 38, 101)"
}
},
- "informative-color-1400": {
- "prop": "--spectrum-informative-color-1400",
- "ref": "var(--spectrum-blue-1400)",
+ "icon-color-negative": {
+ "prop": "--spectrum-icon-color-negative",
+ "ref": "var(--spectrum-negative-color-900)",
"light": {
- "value": "rgb(12, 31, 105)"
+ "value": "rgb(240, 56, 35)"
},
"dark": {
- "value": "rgb(213, 231, 254)"
+ "value": "rgb(252, 67, 46)"
}
},
- "informative-color-1500": {
- "prop": "--spectrum-informative-color-1500",
- "ref": "var(--spectrum-blue-1500)",
- "dark": {
- "value": "rgb(238, 245, 255)"
- },
+ "icon-color-neutral": {
+ "prop": "--spectrum-icon-color-neutral",
+ "ref": "var(--spectrum-gray-600)",
"light": {
- "value": "rgb(14, 24, 67)"
- }
- },
- "informative-color-1600": {
- "prop": "--spectrum-informative-color-1600",
- "ref": "var(--spectrum-blue-1600)",
- "dark": {
- "value": "rgb(255, 255, 255)"
+ "value": "rgb(143, 143, 143)"
},
- "light": {
- "value": "rgb(7, 11, 30)"
+ "dark": {
+ "value": "rgb(138, 138, 138)"
}
},
- "informative-color-200": {
- "prop": "--spectrum-informative-color-200",
- "ref": "var(--spectrum-blue-200)",
+ "icon-color-notice": {
+ "prop": "--spectrum-icon-color-notice",
+ "ref": "var(--spectrum-notice-color-900)",
"light": {
- "value": "rgb(229, 240, 254)"
+ "value": "rgb(212, 91, 0)"
},
"dark": {
- "value": "rgb(15, 28, 82)"
+ "value": "rgb(224, 100, 0)"
}
},
- "informative-color-300": {
- "prop": "--spectrum-informative-color-300",
- "ref": "var(--spectrum-blue-300)",
+ "icon-color-orange-background": {
+ "prop": "--spectrum-icon-color-orange-background",
+ "ref": "var(--spectrum-orange-300)",
"light": {
- "value": "rgb(203, 226, 254)"
+ "value": "rgb(255, 236, 207)"
},
"dark": {
- "value": "rgb(12, 33, 117)"
+ "value": "rgb(80, 27, 0)"
}
},
- "informative-color-400": {
- "prop": "--spectrum-informative-color-400",
- "ref": "var(--spectrum-blue-400)",
+ "icon-color-orange-primary-default": {
+ "prop": "--spectrum-icon-color-orange-primary-default",
+ "ref": "var(--spectrum-orange-900)",
"light": {
- "value": "rgb(172, 207, 253)"
+ "value": "rgb(232, 106, 0)"
},
"dark": {
- "value": "rgb(18, 45, 154)"
+ "value": "rgb(224, 100, 0)"
}
},
- "informative-color-500": {
- "prop": "--spectrum-informative-color-500",
- "ref": "var(--spectrum-blue-500)",
+ "icon-color-orange-primary-down": {
+ "prop": "--spectrum-icon-color-orange-primary-down",
+ "ref": "var(--spectrum-orange-1100)",
"light": {
- "value": "rgb(142, 185, 252)"
+ "value": "rgb(194, 78, 0)"
},
"dark": {
- "value": "rgb(26, 58, 195)"
+ "value": "rgb(255, 137, 0)"
}
},
- "informative-color-600": {
- "prop": "--spectrum-informative-color-600",
- "ref": "var(--spectrum-blue-600)",
+ "icon-color-orange-primary-hover": {
+ "prop": "--spectrum-icon-color-orange-primary-hover",
+ "ref": "var(--spectrum-orange-1000)",
"light": {
- "value": "rgb(114, 158, 253)"
+ "value": "rgb(212, 91, 0)"
},
"dark": {
- "value": "rgb(37, 73, 229)"
+ "value": "rgb(243, 117, 0)"
}
},
- "informative-color-700": {
- "prop": "--spectrum-informative-color-700",
- "ref": "var(--spectrum-blue-700)",
- "light": {
- "value": "rgb(93, 137, 255)"
- },
+ "icon-color-pink-background": {
+ "prop": "--spectrum-icon-color-pink-background",
+ "ref": "var(--spectrum-pink-200)",
"dark": {
- "value": "rgb(52, 91, 248)"
+ "value": "rgb(71, 0, 44)"
+ },
+ "light": {
+ "value": "rgb(255, 232, 247)"
}
},
- "informative-color-800": {
- "prop": "--spectrum-informative-color-800",
- "ref": "var(--spectrum-blue-800)",
+ "icon-color-pink-primary-default": {
+ "prop": "--spectrum-icon-color-pink-primary-default",
+ "ref": "var(--spectrum-pink-700)",
"light": {
- "value": "rgb(75, 117, 255)"
+ "value": "rgb(228, 52, 163)"
},
"dark": {
- "value": "rgb(64, 105, 253)"
+ "value": "rgb(196, 39, 138)"
}
},
- "informative-color-900": {
- "prop": "--spectrum-informative-color-900",
- "ref": "var(--spectrum-blue-900)",
+ "icon-color-pink-primary-down": {
+ "prop": "--spectrum-icon-color-pink-primary-down",
+ "ref": "var(--spectrum-pink-900)",
"light": {
- "value": "rgb(59, 99, 251)"
+ "value": "rgb(176, 31, 123)"
},
"dark": {
- "value": "rgb(86, 129, 255)"
+ "value": "rgb(236, 67, 175)"
}
},
- "informative-subtle-background-color-default": {
- "prop": "--spectrum-informative-subtle-background-color-default",
- "ref": "var(--spectrum-informative-color-300)",
+ "icon-color-pink-primary-hover": {
+ "prop": "--spectrum-icon-color-pink-primary-hover",
+ "ref": "var(--spectrum-pink-800)",
"light": {
- "value": "rgb(229, 240, 254)"
+ "value": "rgb(206, 42, 146)"
},
"dark": {
- "value": "rgb(12, 33, 117)"
+ "value": "rgb(213, 45, 151)"
}
},
- "informative-visual-color": {
- "prop": "--spectrum-informative-visual-color",
- "ref": "var(--spectrum-informative-color-900)",
+ "icon-color-positive": {
+ "prop": "--spectrum-icon-color-positive",
+ "ref": "var(--spectrum-positive-color-900)",
"light": {
- "value": "rgb(75, 117, 255)"
+ "value": "rgb(7, 147, 85)"
},
"dark": {
- "value": "rgb(86, 129, 255)"
+ "value": "rgb(9, 157, 89)"
}
},
- "italic-font-style": {
- "prop": "--spectrum-italic-font-style",
- "value": "italic"
- },
- "light-font-weight": {
- "prop": "--spectrum-light-font-weight",
- "value": "300"
- },
- "line-height-100": {
- "prop": "--spectrum-line-height-100",
- "value": "1.3"
- },
- "line-height-200": {
- "prop": "--spectrum-line-height-200",
- "value": "1.5"
- },
- "magenta-100": {
- "prop": "--spectrum-magenta-100",
+ "icon-color-primary-default": {
+ "prop": "--spectrum-icon-color-primary-default",
+ "ref": "var(--spectrum-neutral-content-color-default)",
"light": {
- "value": "rgb(255, 245, 248)"
+ "value": "rgb(41, 41, 41)"
},
"dark": {
- "value": "rgb(59, 0, 22)"
+ "value": "rgb(219, 219, 219)"
}
},
- "magenta-1000": {
- "prop": "--spectrum-magenta-1000",
+ "icon-color-primary-down": {
+ "prop": "--spectrum-icon-color-primary-down",
+ "ref": "var(--spectrum-neutral-content-color-down)",
"light": {
- "value": "rgb(186, 22, 80)"
+ "value": "rgb(19, 19, 19)"
},
"dark": {
- "value": "rgb(255, 96, 149)"
+ "value": "rgb(242, 242, 242)"
}
},
- "magenta-1100": {
- "prop": "--spectrum-magenta-1100",
+ "icon-color-primary-hover": {
+ "prop": "--spectrum-icon-color-primary-hover",
+ "ref": "var(--spectrum-neutral-content-color-hover)",
"light": {
- "value": "rgb(163, 5, 62)"
+ "value": "rgb(19, 19, 19)"
},
"dark": {
- "value": "rgb(255, 128, 171)"
+ "value": "rgb(242, 242, 242)"
}
},
- "magenta-1200": {
- "prop": "--spectrum-magenta-1200",
+ "icon-color-purple-background": {
+ "prop": "--spectrum-icon-color-purple-background",
+ "ref": "var(--spectrum-purple-200)",
"light": {
- "value": "rgb(136, 0, 51)"
+ "value": "rgb(244, 235, 252)"
},
"dark": {
- "value": "rgb(255, 163, 194)"
+ "value": "rgb(50, 0, 96)"
}
},
- "magenta-1300": {
- "prop": "--spectrum-magenta-1300",
+ "icon-color-purple-primary-default": {
+ "prop": "--spectrum-icon-color-purple-primary-default",
+ "ref": "var(--spectrum-purple-700)",
"light": {
- "value": "rgb(111, 0, 40)"
+ "value": "rgb(154, 71, 226)"
},
"dark": {
- "value": "rgb(255, 193, 214)"
+ "value": "rgb(148, 62, 224)"
}
},
- "magenta-1400": {
- "prop": "--spectrum-magenta-1400",
+ "icon-color-purple-primary-down": {
+ "prop": "--spectrum-icon-color-purple-primary-down",
+ "ref": "var(--spectrum-purple-900)",
"light": {
- "value": "rgb(86, 0, 30)"
+ "value": "rgb(115, 13, 204)"
},
"dark": {
- "value": "rgb(255, 220, 232)"
+ "value": "rgb(173, 105, 233)"
}
},
- "magenta-1500": {
- "prop": "--spectrum-magenta-1500",
- "dark": {
- "value": "rgb(255, 241, 246)"
- },
+ "icon-color-purple-primary-hover": {
+ "prop": "--spectrum-icon-color-purple-primary-hover",
+ "ref": "var(--spectrum-purple-800)",
"light": {
- "value": "rgb(64, 0, 22)"
- }
- },
- "magenta-1600": {
- "prop": "--spectrum-magenta-1600",
- "dark": {
- "value": "rgb(255, 255, 255)"
+ "value": "rgb(134, 40, 217)"
},
- "light": {
- "value": "rgb(35, 0, 12)"
+ "dark": {
+ "value": "rgb(157, 78, 228)"
}
},
- "magenta-200": {
- "prop": "--spectrum-magenta-200",
+ "icon-color-red-background": {
+ "prop": "--spectrum-icon-color-red-background",
+ "ref": "var(--spectrum-red-300)",
"light": {
- "value": "rgb(255, 232, 240)"
+ "value": "rgb(255, 235, 232)"
},
"dark": {
- "value": "rgb(74, 0, 27)"
+ "value": "rgb(87, 17, 7)"
}
},
- "magenta-300": {
- "prop": "--spectrum-magenta-300",
+ "icon-color-red-primary-default": {
+ "prop": "--spectrum-icon-color-red-primary-default",
+ "ref": "var(--spectrum-red-700)",
"light": {
- "value": "rgb(255, 213, 227)"
+ "value": "rgb(215, 50, 32)"
},
"dark": {
- "value": "rgb(93, 0, 34)"
+ "value": "rgb(205, 46, 29)"
}
},
- "magenta-400": {
- "prop": "--spectrum-magenta-400",
+ "icon-color-red-primary-down": {
+ "prop": "--spectrum-icon-color-red-primary-down",
+ "ref": "var(--spectrum-red-900)",
"light": {
- "value": "rgb(255, 185, 208)"
+ "value": "rgb(156, 33, 19)"
},
"dark": {
- "value": "rgb(123, 0, 45)"
+ "value": "rgb(252, 67, 46)"
}
},
- "magenta-500": {
- "prop": "--spectrum-magenta-500",
+ "icon-color-red-primary-hover": {
+ "prop": "--spectrum-icon-color-red-primary-hover",
+ "ref": "var(--spectrum-red-800)",
"light": {
- "value": "rgb(255, 152, 187)"
+ "value": "rgb(183, 40, 24)"
},
"dark": {
- "value": "rgb(152, 7, 60)"
+ "value": "rgb(223, 52, 34)"
}
},
- "magenta-600": {
- "prop": "--spectrum-magenta-600",
+ "icon-color-seafoam-background": {
+ "prop": "--spectrum-icon-color-seafoam-background",
+ "ref": "var(--spectrum-seafoam-400)",
"light": {
- "value": "rgb(255, 112, 159)"
+ "value": "rgb(211, 246, 234)"
},
"dark": {
- "value": "rgb(181, 19, 76)"
+ "value": "rgb(0, 67, 59)"
}
},
- "magenta-700": {
- "prop": "--spectrum-magenta-700",
+ "icon-color-seafoam-primary-default": {
+ "prop": "--spectrum-icon-color-seafoam-primary-default",
+ "ref": "var(--spectrum-seafoam-800)",
"light": {
- "value": "rgb(255, 72, 133)"
+ "value": "rgb(9, 144, 120)"
},
"dark": {
- "value": "rgb(207, 31, 92)"
+ "value": "rgb(8, 134, 112)"
}
},
- "magenta-800": {
- "prop": "--spectrum-magenta-800",
+ "icon-color-seafoam-primary-down": {
+ "prop": "--spectrum-icon-color-seafoam-primary-down",
+ "ref": "var(--spectrum-seafoam-1000)",
"light": {
- "value": "rgb(240, 45, 110)"
+ "value": "rgb(5, 108, 92)"
},
"dark": {
- "value": "rgb(224, 38, 101)"
+ "value": "rgb(12, 173, 142)"
}
},
- "magenta-900": {
- "prop": "--spectrum-magenta-900",
+ "icon-color-seafoam-primary-hover": {
+ "prop": "--spectrum-icon-color-seafoam-primary-hover",
+ "ref": "var(--spectrum-seafoam-900)",
"light": {
- "value": "rgb(217, 35, 97)"
+ "value": "rgb(7, 129, 109)"
},
"dark": {
- "value": "rgb(255, 51, 119)"
+ "value": "rgb(10, 154, 128)"
}
},
- "magenta-background-color-default": {
- "prop": "--spectrum-magenta-background-color-default",
- "ref": "var(--spectrum-magenta-800)",
+ "icon-color-silver-background": {
+ "prop": "--spectrum-icon-color-silver-background",
+ "ref": "var(--spectrum-silver-400)",
"light": {
- "value": "rgb(217, 35, 97)"
+ "value": "rgb(239, 239, 239)"
},
"dark": {
- "value": "rgb(224, 38, 101)"
+ "value": "rgb(59, 59, 59)"
}
},
- "magenta-subtle-background-color-default": {
- "prop": "--spectrum-magenta-subtle-background-color-default",
- "ref": "var(--spectrum-magenta-300)",
+ "icon-color-silver-primary-default": {
+ "prop": "--spectrum-icon-color-silver-primary-default",
+ "ref": "var(--spectrum-silver-800)",
"light": {
- "value": "rgb(255, 232, 240)"
+ "value": "rgb(143, 143, 143)"
},
"dark": {
- "value": "rgb(93, 0, 34)"
+ "value": "rgb(118, 118, 118)"
}
},
- "magenta-visual-color": {
- "prop": "--spectrum-magenta-visual-color",
- "ref": "var(--spectrum-magenta-900)",
+ "icon-color-silver-primary-down": {
+ "prop": "--spectrum-icon-color-silver-primary-down",
+ "ref": "var(--spectrum-silver-1000)",
"light": {
- "value": "rgb(240, 45, 110)"
+ "value": "rgb(114, 114, 114)"
},
"dark": {
- "value": "rgb(255, 51, 119)"
+ "value": "rgb(152, 152, 152)"
}
},
- "medium-font-weight": {
- "prop": "--spectrum-medium-font-weight",
- "value": "500"
- },
- "menu-item-edge-to-content-not-selected-extra-large": {
- "prop": "--spectrum-menu-item-edge-to-content-not-selected-extra-large",
- "desktop": {
- "value": "45px"
+ "icon-color-silver-primary-hover": {
+ "prop": "--spectrum-icon-color-silver-primary-hover",
+ "ref": "var(--spectrum-silver-900)",
+ "light": {
+ "value": "rgb(128, 128, 128)"
},
- "mobile": {
- "value": "54px"
+ "dark": {
+ "value": "rgb(137, 137, 137)"
}
},
- "menu-item-edge-to-content-not-selected-large": {
- "prop": "--spectrum-menu-item-edge-to-content-not-selected-large",
- "desktop": {
- "value": "38px"
+ "icon-color-turquoise-background": {
+ "prop": "--spectrum-icon-color-turquoise-background",
+ "ref": "var(--spectrum-turquoise-400)",
+ "light": {
+ "value": "rgb(209, 245, 245)"
},
- "mobile": {
- "value": "47px"
+ "dark": {
+ "value": "rgb(0, 66, 72)"
}
},
- "menu-item-edge-to-content-not-selected-medium": {
- "prop": "--spectrum-menu-item-edge-to-content-not-selected-medium",
- "desktop": {
- "value": "32px"
+ "icon-color-turquoise-primary-default": {
+ "prop": "--spectrum-icon-color-turquoise-primary-default",
+ "ref": "var(--spectrum-turquoise-800)",
+ "light": {
+ "value": "rgb(12, 158, 171)"
},
- "mobile": {
- "value": "42px"
+ "dark": {
+ "value": "rgb(9, 131, 142)"
}
},
- "menu-item-edge-to-content-not-selected-small": {
- "prop": "--spectrum-menu-item-edge-to-content-not-selected-small",
- "desktop": {
- "value": "28px"
+ "icon-color-turquoise-primary-down": {
+ "prop": "--spectrum-icon-color-turquoise-primary-down",
+ "ref": "var(--spectrum-turquoise-1000)",
+ "light": {
+ "value": "rgb(8, 126, 137)"
},
- "mobile": {
- "value": "24px"
+ "dark": {
+ "value": "rgb(13, 168, 182)"
}
},
- "menu-item-label-to-description": {
- "prop": "--spectrum-menu-item-label-to-description",
- "value": "1px"
+ "icon-color-turquoise-primary-hover": {
+ "prop": "--spectrum-icon-color-turquoise-primary-hover",
+ "ref": "var(--spectrum-turquoise-900)",
+ "light": {
+ "value": "rgb(10, 141, 153)"
+ },
+ "dark": {
+ "value": "rgb(11, 151, 164)"
+ }
},
- "menu-item-section-divider-height": {
- "prop": "--spectrum-menu-item-section-divider-height",
- "value": "8px"
+ "icon-color-yellow-background": {
+ "prop": "--spectrum-icon-color-yellow-background",
+ "ref": "var(--spectrum-yellow-400)",
+ "light": {
+ "value": "rgb(255, 248, 204)"
+ },
+ "dark": {
+ "value": "rgb(83, 52, 0)"
+ }
},
- "menu-item-top-to-disclosure-icon-extra-large": {
- "prop": "--spectrum-menu-item-top-to-disclosure-icon-extra-large",
- "desktop": {
- "value": "17px"
+ "icon-color-yellow-primary-default": {
+ "prop": "--spectrum-icon-color-yellow-primary-default",
+ "ref": "var(--spectrum-yellow-1200)",
+ "light": {
+ "value": "rgb(245, 199, 0)"
},
- "mobile": {
- "value": "22px"
+ "dark": {
+ "value": "rgb(235, 183, 0)"
}
},
- "menu-item-top-to-disclosure-icon-large": {
- "prop": "--spectrum-menu-item-top-to-disclosure-icon-large",
- "desktop": {
- "value": "14px"
+ "icon-color-yellow-primary-down": {
+ "prop": "--spectrum-icon-color-yellow-primary-down",
+ "ref": "var(--spectrum-yellow-1400)",
+ "light": {
+ "value": "rgb(210, 149, 0)"
},
- "mobile": {
- "value": "17px"
+ "dark": {
+ "value": "rgb(255, 230, 86)"
}
},
- "menu-item-top-to-disclosure-icon-medium": {
- "prop": "--spectrum-menu-item-top-to-disclosure-icon-medium",
- "desktop": {
- "value": "11px"
+ "icon-color-yellow-primary-hover": {
+ "prop": "--spectrum-icon-color-yellow-primary-hover",
+ "ref": "var(--spectrum-yellow-1300)",
+ "light": {
+ "value": "rgb(230, 175, 0)"
},
- "mobile": {
- "value": "13px"
+ "dark": {
+ "value": "rgb(249, 206, 0)"
}
},
- "menu-item-top-to-disclosure-icon-small": {
- "prop": "--spectrum-menu-item-top-to-disclosure-icon-small",
+ "illustrated-message-body-size": {
+ "prop": "--spectrum-illustrated-message-body-size",
+ "ref": "var(--spectrum-body-size-xs)",
"desktop": {
- "value": "7px"
+ "value": "14px"
},
"mobile": {
- "value": "9px"
+ "value": "15px"
}
},
- "menu-item-top-to-selected-icon-extra-large": {
- "prop": "--spectrum-menu-item-top-to-selected-icon-extra-large",
+ "illustrated-message-cjk-title-size": {
+ "prop": "--spectrum-illustrated-message-cjk-title-size",
+ "ref": "var(--spectrum-title-cjk-size-xl)",
"desktop": {
- "value": "17px"
+ "value": "20px"
},
"mobile": {
"value": "22px"
}
},
- "menu-item-top-to-selected-icon-large": {
- "prop": "--spectrum-menu-item-top-to-selected-icon-large",
+ "illustrated-message-horizontal-maximum-width": {
+ "prop": "--spectrum-illustrated-message-horizontal-maximum-width",
+ "value": "535px"
+ },
+ "illustrated-message-large-body-font-size": {
+ "prop": "--spectrum-illustrated-message-large-body-font-size",
+ "ref": "var(--spectrum-body-size-xs)",
"desktop": {
"value": "14px"
},
"mobile": {
- "value": "17px"
+ "value": "15px"
}
},
- "menu-item-top-to-selected-icon-medium": {
- "prop": "--spectrum-menu-item-top-to-selected-icon-medium",
+ "illustrated-message-large-cjk-title-font-size": {
+ "prop": "--spectrum-illustrated-message-large-cjk-title-font-size",
+ "ref": "var(--spectrum-title-cjk-size-xl)",
"desktop": {
- "value": "11px"
+ "value": "20px"
},
"mobile": {
- "value": "13px"
+ "value": "22px"
}
},
- "menu-item-top-to-selected-icon-small": {
- "prop": "--spectrum-menu-item-top-to-selected-icon-small",
+ "illustrated-message-large-title-font-size": {
+ "prop": "--spectrum-illustrated-message-large-title-font-size",
+ "ref": "var(--spectrum-title-size-xl)",
"desktop": {
- "value": "7px"
+ "value": "22px"
},
"mobile": {
- "value": "9px"
+ "value": "24px"
}
},
- "meter-default-width": {
- "prop": "--spectrum-meter-default-width",
- "ref": "var(--spectrum-meter-width)",
+ "illustrated-message-maximum-width": {
+ "prop": "--spectrum-illustrated-message-maximum-width",
+ "ref": "var(--spectrum-illustrated-message-vertical-maximum-width)",
+ "value": "380px"
+ },
+ "illustrated-message-medium-body-font-size": {
+ "prop": "--spectrum-illustrated-message-medium-body-font-size",
+ "ref": "var(--spectrum-body-size-xs)",
"desktop": {
- "value": "192px"
+ "value": "14px"
},
"mobile": {
- "value": "240px"
+ "value": "15px"
}
},
- "meter-maximum-width": {
- "prop": "--spectrum-meter-maximum-width",
- "value": "768px"
- },
- "meter-minimum-width": {
- "prop": "--spectrum-meter-minimum-width",
- "value": "48px"
- },
- "meter-thickness-large": {
- "prop": "--spectrum-meter-thickness-large",
+ "illustrated-message-medium-cjk-title-font-size": {
+ "prop": "--spectrum-illustrated-message-medium-cjk-title-font-size",
+ "ref": "var(--spectrum-title-cjk-size-l)",
"desktop": {
- "value": "6px"
+ "value": "18px"
},
"mobile": {
- "value": "8px"
+ "value": "19px"
}
},
- "meter-thickness-small": {
- "prop": "--spectrum-meter-thickness-small",
+ "illustrated-message-medium-title-font-size": {
+ "prop": "--spectrum-illustrated-message-medium-title-font-size",
+ "ref": "var(--spectrum-title-size-l)",
"desktop": {
- "value": "4px"
+ "value": "20px"
},
"mobile": {
- "value": "5px"
+ "value": "22px"
}
},
- "meter-width": {
- "prop": "--spectrum-meter-width",
+ "illustrated-message-small-body-font-size": {
+ "prop": "--spectrum-illustrated-message-small-body-font-size",
+ "ref": "var(--spectrum-body-size-xs)",
"desktop": {
- "value": "192px"
+ "value": "12px"
},
"mobile": {
- "value": "240px"
+ "value": "15px"
}
},
- "navigational-indicator-top-to-back-icon-extra-large": {
- "prop": "--spectrum-navigational-indicator-top-to-back-icon-extra-large",
+ "illustrated-message-small-cjk-title-font-size": {
+ "prop": "--spectrum-illustrated-message-small-cjk-title-font-size",
+ "ref": "var(--spectrum-title-cjk-size-s)",
"desktop": {
- "value": "15px"
+ "value": "14px"
},
"mobile": {
- "value": "19px"
+ "value": "15px"
}
},
- "navigational-indicator-top-to-back-icon-large": {
- "prop": "--spectrum-navigational-indicator-top-to-back-icon-large",
+ "illustrated-message-small-title-font-size": {
+ "prop": "--spectrum-illustrated-message-small-title-font-size",
+ "ref": "var(--spectrum-title-size-s)",
"desktop": {
- "value": "12px"
+ "value": "16px"
},
"mobile": {
- "value": "16px"
+ "value": "17px"
}
},
- "navigational-indicator-top-to-back-icon-medium": {
- "prop": "--spectrum-navigational-indicator-top-to-back-icon-medium",
+ "illustrated-message-title-size": {
+ "prop": "--spectrum-illustrated-message-title-size",
+ "ref": "var(--spectrum-title-size-xl)",
"desktop": {
- "value": "9px"
+ "value": "22px"
},
"mobile": {
- "value": "12px"
+ "value": "24px"
}
},
- "navigational-indicator-top-to-back-icon-small": {
- "prop": "--spectrum-navigational-indicator-top-to-back-icon-small",
+ "illustrated-message-vertical-maximum-width": {
+ "prop": "--spectrum-illustrated-message-vertical-maximum-width",
+ "value": "380px"
+ },
+ "in-field-button-edge-to-disclosure-icon-stacked-extra-large": {
+ "prop": "--spectrum-in-field-button-edge-to-disclosure-icon-stacked-extra-large",
+ "value": "16px"
+ },
+ "in-field-button-edge-to-disclosure-icon-stacked-large": {
+ "prop": "--spectrum-in-field-button-edge-to-disclosure-icon-stacked-large",
+ "value": "13px"
+ },
+ "in-field-button-edge-to-disclosure-icon-stacked-medium": {
+ "prop": "--spectrum-in-field-button-edge-to-disclosure-icon-stacked-medium",
+ "value": "9px"
+ },
+ "in-field-button-edge-to-disclosure-icon-stacked-small": {
+ "prop": "--spectrum-in-field-button-edge-to-disclosure-icon-stacked-small",
+ "value": "7px"
+ },
+ "in-field-button-edge-to-fill": {
+ "prop": "--spectrum-in-field-button-edge-to-fill",
+ "value": "0px"
+ },
+ "in-field-button-edge-to-fill-extra-large": {
+ "prop": "--spectrum-in-field-button-edge-to-fill-extra-large",
"desktop": {
- "value": "6px"
+ "value": "8px"
},
"mobile": {
- "value": "7px"
+ "value": "10px"
}
},
- "negative-background-color-default": {
- "prop": "--spectrum-negative-background-color-default",
- "ref": "var(--spectrum-negative-color-800)",
- "light": {
- "value": "rgb(215, 50, 32)"
- },
- "dark": {
- "value": "rgb(223, 52, 34)"
- }
+ "in-field-button-edge-to-fill-large": {
+ "prop": "--spectrum-in-field-button-edge-to-fill-large",
+ "value": "8px"
},
- "negative-background-color-down": {
- "prop": "--spectrum-negative-background-color-down",
- "ref": "var(--spectrum-negative-color-700)",
- "light": {
- "value": "rgb(183, 40, 24)"
- },
- "dark": {
- "value": "rgb(205, 46, 29)"
- }
+ "in-field-button-edge-to-fill-medium": {
+ "prop": "--spectrum-in-field-button-edge-to-fill-medium",
+ "value": "6px"
},
- "negative-background-color-hover": {
- "prop": "--spectrum-negative-background-color-hover",
- "ref": "var(--spectrum-negative-color-700)",
- "light": {
- "value": "rgb(183, 40, 24)"
+ "in-field-button-edge-to-fill-small": {
+ "prop": "--spectrum-in-field-button-edge-to-fill-small",
+ "desktop": {
+ "value": "4px"
},
- "dark": {
- "value": "rgb(205, 46, 29)"
+ "mobile": {
+ "value": "5px"
}
},
- "negative-background-color-key-focus": {
- "prop": "--spectrum-negative-background-color-key-focus",
- "ref": "var(--spectrum-negative-color-700)",
- "light": {
- "value": "rgb(183, 40, 24)"
+ "in-field-button-fill-stacked-inner-border-rounding": {
+ "prop": "--spectrum-in-field-button-fill-stacked-inner-border-rounding",
+ "value": "0px"
+ },
+ "in-field-button-inner-edge-to-disclosure-icon-stacked-extra-large": {
+ "prop": "--spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-extra-large",
+ "ref": "var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large)",
+ "value": "5px"
+ },
+ "in-field-button-inner-edge-to-disclosure-icon-stacked-large": {
+ "prop": "--spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-large",
+ "ref": "var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-large)",
+ "value": "4px"
+ },
+ "in-field-button-inner-edge-to-disclosure-icon-stacked-medium": {
+ "prop": "--spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-medium",
+ "ref": "var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-medium)",
+ "value": "3px"
+ },
+ "in-field-button-inner-edge-to-disclosure-icon-stacked-small": {
+ "prop": "--spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-small",
+ "ref": "var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-small)",
+ "value": "3px"
+ },
+ "in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large": {
+ "prop": "--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large",
+ "value": "5px"
+ },
+ "in-field-button-outer-edge-to-disclosure-icon-stacked-large": {
+ "prop": "--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-large",
+ "value": "4px"
+ },
+ "in-field-button-outer-edge-to-disclosure-icon-stacked-medium": {
+ "prop": "--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-medium",
+ "value": "3px"
+ },
+ "in-field-button-outer-edge-to-disclosure-icon-stacked-small": {
+ "prop": "--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-small",
+ "value": "3px"
+ },
+ "in-field-button-stacked-inner-edge-to-fill": {
+ "prop": "--spectrum-in-field-button-stacked-inner-edge-to-fill",
+ "value": "0px"
+ },
+ "in-field-button-width-stacked-extra-large": {
+ "prop": "--spectrum-in-field-button-width-stacked-extra-large",
+ "value": "44px"
+ },
+ "in-field-button-width-stacked-large": {
+ "prop": "--spectrum-in-field-button-width-stacked-large",
+ "value": "36px"
+ },
+ "in-field-button-width-stacked-medium": {
+ "prop": "--spectrum-in-field-button-width-stacked-medium",
+ "value": "28px"
+ },
+ "in-field-button-width-stacked-small": {
+ "prop": "--spectrum-in-field-button-width-stacked-small",
+ "value": "20px"
+ },
+ "in-field-progress-circle-edge-to-fill": {
+ "prop": "--spectrum-in-field-progress-circle-edge-to-fill",
+ "desktop": {
+ "value": "1px"
},
- "dark": {
- "value": "rgb(205, 46, 29)"
+ "mobile": {
+ "value": "2px"
}
},
- "negative-border-color-default": {
- "prop": "--spectrum-negative-border-color-default",
- "ref": "var(--spectrum-negative-color-900)",
- "light": {
- "value": "rgb(215, 50, 32)"
+ "in-field-progress-circle-size-100": {
+ "prop": "--spectrum-in-field-progress-circle-size-100",
+ "desktop": {
+ "value": "20px"
},
- "dark": {
- "value": "rgb(252, 67, 46)"
+ "mobile": {
+ "value": "24px"
}
},
- "negative-border-color-down": {
- "prop": "--spectrum-negative-border-color-down",
- "ref": "var(--spectrum-negative-color-1100)",
- "light": {
- "value": "rgb(156, 33, 19)"
+ "in-field-progress-circle-size-200": {
+ "prop": "--spectrum-in-field-progress-circle-size-200",
+ "desktop": {
+ "value": "22px"
},
- "dark": {
- "value": "rgb(255, 134, 120)"
+ "mobile": {
+ "value": "28px"
}
},
- "negative-border-color-focus": {
- "prop": "--spectrum-negative-border-color-focus",
- "ref": "var(--spectrum-negative-color-1000)",
- "light": {
- "value": "rgb(183, 40, 24)"
+ "in-field-progress-circle-size-300": {
+ "prop": "--spectrum-in-field-progress-circle-size-300",
+ "desktop": {
+ "value": "26px"
},
- "dark": {
- "value": "rgb(255, 103, 86)"
+ "mobile": {
+ "value": "30px"
}
},
- "negative-border-color-focus-hover": {
- "prop": "--spectrum-negative-border-color-focus-hover",
- "ref": "var(--spectrum-negative-border-color-down)",
- "light": {
- "value": "rgb(156, 33, 19)"
+ "in-field-progress-circle-size-75": {
+ "prop": "--spectrum-in-field-progress-circle-size-75",
+ "desktop": {
+ "value": "16px"
},
- "dark": {
- "value": "rgb(255, 134, 120)"
+ "mobile": {
+ "value": "18px"
}
},
- "negative-border-color-hover": {
- "prop": "--spectrum-negative-border-color-hover",
- "ref": "var(--spectrum-negative-color-1000)",
- "light": {
- "value": "rgb(183, 40, 24)"
+ "in-field-stepper-to-end-extra-large": {
+ "prop": "--spectrum-in-field-stepper-to-end-extra-large",
+ "desktop": {
+ "value": "4px"
},
- "dark": {
- "value": "rgb(255, 103, 86)"
+ "mobile": {
+ "value": "5px"
}
},
- "negative-border-color-key-focus": {
- "prop": "--spectrum-negative-border-color-key-focus",
- "ref": "var(--spectrum-negative-color-1000)",
- "light": {
- "value": "rgb(183, 40, 24)"
+ "in-field-stepper-to-end-large": {
+ "prop": "--spectrum-in-field-stepper-to-end-large",
+ "value": "4px"
+ },
+ "in-field-stepper-to-end-medium": {
+ "prop": "--spectrum-in-field-stepper-to-end-medium",
+ "value": "3px"
+ },
+ "in-field-stepper-to-end-small": {
+ "prop": "--spectrum-in-field-stepper-to-end-small",
+ "desktop": {
+ "value": "0px"
},
- "dark": {
- "value": "rgb(255, 103, 86)"
+ "mobile": {
+ "value": "3px"
}
},
- "negative-color-100": {
- "prop": "--spectrum-negative-color-100",
- "ref": "var(--spectrum-red-100)",
+ "in-line-alert-minimum-width": {
+ "prop": "--spectrum-in-line-alert-minimum-width",
+ "value": "240px"
+ },
+ "indigo-100": {
+ "prop": "--spectrum-indigo-100",
"light": {
- "value": "rgb(255, 246, 245)"
+ "value": "rgb(247, 248, 255)"
},
"dark": {
- "value": "rgb(54, 10, 3)"
+ "value": "rgb(30, 0, 93)"
}
},
- "negative-color-1000": {
- "prop": "--spectrum-negative-color-1000",
- "ref": "var(--spectrum-red-1000)",
+ "indigo-1000": {
+ "prop": "--spectrum-indigo-1000",
"light": {
- "value": "rgb(183, 40, 24)"
+ "value": "rgb(99, 56, 238)"
},
"dark": {
- "value": "rgb(255, 103, 86)"
+ "value": "rgb(139, 141, 254)"
}
},
- "negative-color-1100": {
- "prop": "--spectrum-negative-color-1100",
- "ref": "var(--spectrum-red-1100)",
+ "indigo-1100": {
+ "prop": "--spectrum-indigo-1100",
"light": {
- "value": "rgb(156, 33, 19)"
+ "value": "rgb(84, 36, 219)"
},
"dark": {
- "value": "rgb(255, 134, 120)"
+ "value": "rgb(153, 161, 255)"
}
},
- "negative-color-1200": {
- "prop": "--spectrum-negative-color-1200",
- "ref": "var(--spectrum-red-1200)",
+ "indigo-1200": {
+ "prop": "--spectrum-indigo-1200",
"light": {
- "value": "rgb(129, 27, 14)"
+ "value": "rgb(69, 19, 191)"
},
"dark": {
- "value": "rgb(255, 167, 157)"
+ "value": "rgb(176, 186, 255)"
}
},
- "negative-color-1300": {
- "prop": "--spectrum-negative-color-1300",
- "ref": "var(--spectrum-red-1300)",
+ "indigo-1300": {
+ "prop": "--spectrum-indigo-1300",
"light": {
- "value": "rgb(104, 21, 10)"
+ "value": "rgb(55, 6, 160)"
},
"dark": {
- "value": "rgb(255, 196, 189)"
+ "value": "rgb(199, 208, 255)"
}
},
- "negative-color-1400": {
- "prop": "--spectrum-negative-color-1400",
- "ref": "var(--spectrum-red-1400)",
+ "indigo-1400": {
+ "prop": "--spectrum-indigo-1400",
"light": {
- "value": "rgb(80, 16, 6)"
+ "value": "rgb(42, 0, 129)"
},
"dark": {
- "value": "rgb(255, 222, 219)"
+ "value": "rgb(223, 228, 255)"
}
},
- "negative-color-1500": {
- "prop": "--spectrum-negative-color-1500",
- "ref": "var(--spectrum-red-1500)",
+ "indigo-1500": {
+ "prop": "--spectrum-indigo-1500",
"dark": {
- "value": "rgb(255, 242, 240)"
+ "value": "rgb(243, 244, 255)"
},
"light": {
- "value": "rgb(59, 11, 4)"
+ "value": "rgb(31, 0, 98)"
}
},
- "negative-color-1600": {
- "prop": "--spectrum-negative-color-1600",
- "ref": "var(--spectrum-red-1600)",
+ "indigo-1600": {
+ "prop": "--spectrum-indigo-1600",
"dark": {
"value": "rgb(255, 255, 255)"
},
"light": {
- "value": "rgb(29, 5, 2)"
+ "value": "rgb(17, 0, 54)"
}
},
- "negative-color-200": {
- "prop": "--spectrum-negative-color-200",
- "ref": "var(--spectrum-red-200)",
+ "indigo-200": {
+ "prop": "--spectrum-indigo-200",
"light": {
- "value": "rgb(255, 235, 232)"
+ "value": "rgb(235, 238, 255)"
},
"dark": {
- "value": "rgb(68, 13, 5)"
+ "value": "rgb(35, 0, 110)"
}
},
- "negative-color-300": {
- "prop": "--spectrum-negative-color-300",
- "ref": "var(--spectrum-red-300)",
+ "indigo-300": {
+ "prop": "--spectrum-indigo-300",
"light": {
- "value": "rgb(255, 214, 209)"
+ "value": "rgb(216, 222, 255)"
},
"dark": {
- "value": "rgb(87, 17, 7)"
+ "value": "rgb(47, 0, 140)"
}
},
- "negative-color-400": {
- "prop": "--spectrum-negative-color-400",
- "ref": "var(--spectrum-red-400)",
+ "indigo-400": {
+ "prop": "--spectrum-indigo-400",
"light": {
- "value": "rgb(255, 188, 180)"
+ "value": "rgb(192, 201, 255)"
},
"dark": {
- "value": "rgb(115, 24, 11)"
+ "value": "rgb(62, 12, 174)"
}
},
- "negative-color-500": {
- "prop": "--spectrum-negative-color-500",
- "ref": "var(--spectrum-red-500)",
+ "indigo-500": {
+ "prop": "--spectrum-indigo-500",
"light": {
- "value": "rgb(255, 157, 145)"
+ "value": "rgb(167, 178, 255)"
},
"dark": {
- "value": "rgb(147, 31, 17)"
+ "value": "rgb(79, 30, 209)"
}
},
- "negative-color-600": {
- "prop": "--spectrum-negative-color-600",
- "ref": "var(--spectrum-red-600)",
+ "indigo-600": {
+ "prop": "--spectrum-indigo-600",
"light": {
- "value": "rgb(255, 118, 101)"
+ "value": "rgb(145, 151, 254)"
},
"dark": {
- "value": "rgb(177, 38, 23)"
+ "value": "rgb(95, 52, 235)"
}
},
- "negative-color-700": {
- "prop": "--spectrum-negative-color-700",
- "ref": "var(--spectrum-red-700)",
+ "indigo-700": {
+ "prop": "--spectrum-indigo-700",
"light": {
- "value": "rgb(255, 81, 61)"
+ "value": "rgb(132, 128, 254)"
},
"dark": {
- "value": "rgb(205, 46, 29)"
+ "value": "rgb(109, 75, 248)"
}
},
- "negative-color-800": {
- "prop": "--spectrum-negative-color-800",
- "ref": "var(--spectrum-red-800)",
+ "indigo-800": {
+ "prop": "--spectrum-indigo-800",
"light": {
- "value": "rgb(240, 56, 35)"
+ "value": "rgb(122, 106, 253)"
},
"dark": {
- "value": "rgb(223, 52, 34)"
+ "value": "rgb(116, 91, 252)"
}
},
- "negative-color-900": {
- "prop": "--spectrum-negative-color-900",
- "ref": "var(--spectrum-red-900)",
+ "indigo-900": {
+ "prop": "--spectrum-indigo-900",
"light": {
- "value": "rgb(215, 50, 32)"
+ "value": "rgb(113, 85, 250)"
},
"dark": {
- "value": "rgb(252, 67, 46)"
+ "value": "rgb(128, 119, 254)"
}
},
- "negative-content-color-default": {
- "prop": "--spectrum-negative-content-color-default",
- "ref": "var(--spectrum-negative-color-900)",
+ "indigo-background-color-default": {
+ "prop": "--spectrum-indigo-background-color-default",
+ "ref": "var(--spectrum-indigo-800)",
"light": {
- "value": "rgb(215, 50, 32)"
+ "value": "rgb(113, 85, 250)"
},
"dark": {
- "value": "rgb(252, 67, 46)"
+ "value": "rgb(116, 91, 252)"
}
},
- "negative-content-color-down": {
- "prop": "--spectrum-negative-content-color-down",
- "ref": "var(--spectrum-negative-color-1000)",
+ "indigo-subtle-background-color-default": {
+ "prop": "--spectrum-indigo-subtle-background-color-default",
+ "ref": "var(--spectrum-indigo-300)",
"light": {
- "value": "rgb(183, 40, 24)"
+ "value": "rgb(235, 238, 255)"
},
"dark": {
- "value": "rgb(255, 103, 86)"
+ "value": "rgb(47, 0, 140)"
}
},
- "negative-content-color-hover": {
- "prop": "--spectrum-negative-content-color-hover",
- "ref": "var(--spectrum-negative-color-1000)",
+ "indigo-visual-color": {
+ "prop": "--spectrum-indigo-visual-color",
+ "ref": "var(--spectrum-indigo-900)",
"light": {
- "value": "rgb(183, 40, 24)"
+ "value": "rgb(122, 106, 253)"
},
"dark": {
- "value": "rgb(255, 103, 86)"
+ "value": "rgb(128, 119, 254)"
}
},
- "negative-content-color-key-focus": {
- "prop": "--spectrum-negative-content-color-key-focus",
- "ref": "var(--spectrum-negative-color-1000)",
+ "informative-background-color-default": {
+ "prop": "--spectrum-informative-background-color-default",
+ "ref": "var(--spectrum-informative-color-800)",
"light": {
- "value": "rgb(183, 40, 24)"
+ "value": "rgb(59, 99, 251)"
},
"dark": {
- "value": "rgb(255, 103, 86)"
+ "value": "rgb(64, 105, 253)"
}
},
- "negative-subdued-background-color-default": {
- "prop": "--spectrum-negative-subdued-background-color-default",
- "ref": "var(--spectrum-negative-color-300)",
+ "informative-background-color-down": {
+ "prop": "--spectrum-informative-background-color-down",
+ "ref": "var(--spectrum-informative-color-700)",
"light": {
- "value": "rgb(255, 235, 232)"
+ "value": "rgb(39, 77, 234)"
},
"dark": {
- "value": "rgb(87, 17, 7)"
+ "value": "rgb(52, 91, 248)"
}
},
- "negative-subdued-background-color-down": {
- "prop": "--spectrum-negative-subdued-background-color-down",
- "ref": "var(--spectrum-negative-color-300)",
+ "informative-background-color-hover": {
+ "prop": "--spectrum-informative-background-color-hover",
+ "ref": "var(--spectrum-informative-color-700)",
"light": {
- "value": "rgb(255, 214, 209)"
+ "value": "rgb(39, 77, 234)"
},
"dark": {
- "value": "rgb(87, 17, 7)"
+ "value": "rgb(52, 91, 248)"
}
},
- "negative-subdued-background-color-hover": {
- "prop": "--spectrum-negative-subdued-background-color-hover",
- "ref": "var(--spectrum-negative-color-300)",
+ "informative-background-color-key-focus": {
+ "prop": "--spectrum-informative-background-color-key-focus",
+ "ref": "var(--spectrum-informative-color-700)",
"light": {
- "value": "rgb(255, 214, 209)"
+ "value": "rgb(39, 77, 234)"
},
"dark": {
- "value": "rgb(87, 17, 7)"
+ "value": "rgb(52, 91, 248)"
}
},
- "negative-subdued-background-color-key-focus": {
- "prop": "--spectrum-negative-subdued-background-color-key-focus",
- "ref": "var(--spectrum-negative-color-300)",
+ "informative-color-100": {
+ "prop": "--spectrum-informative-color-100",
+ "ref": "var(--spectrum-blue-100)",
"light": {
- "value": "rgb(255, 214, 209)"
+ "value": "rgb(245, 249, 255)"
},
"dark": {
- "value": "rgb(87, 17, 7)"
+ "value": "rgb(14, 23, 63)"
}
},
- "negative-subtle-background-color-default": {
- "prop": "--spectrum-negative-subtle-background-color-default",
- "ref": "var(--spectrum-negative-color-300)",
+ "informative-color-1000": {
+ "prop": "--spectrum-informative-color-1000",
+ "ref": "var(--spectrum-blue-1000)",
"light": {
- "value": "rgb(255, 235, 232)"
+ "value": "rgb(39, 77, 234)"
},
"dark": {
- "value": "rgb(87, 17, 7)"
+ "value": "rgb(105, 149, 254)"
}
},
- "negative-visual-color": {
- "prop": "--spectrum-negative-visual-color",
- "ref": "var(--spectrum-negative-color-900)",
+ "informative-color-1100": {
+ "prop": "--spectrum-informative-color-1100",
+ "ref": "var(--spectrum-blue-1100)",
"light": {
- "value": "rgb(240, 56, 35)"
+ "value": "rgb(29, 62, 207)"
},
"dark": {
- "value": "rgb(252, 67, 46)"
+ "value": "rgb(124, 169, 252)"
}
},
- "neutral-background-color-default": {
- "prop": "--spectrum-neutral-background-color-default",
- "ref": "var(--spectrum-gray-800)",
+ "informative-color-1200": {
+ "prop": "--spectrum-informative-color-1200",
+ "ref": "var(--spectrum-blue-1200)",
"light": {
- "value": "rgb(41, 41, 41)"
+ "value": "rgb(21, 50, 173)"
},
"dark": {
- "value": "rgb(219, 219, 219)"
+ "value": "rgb(152, 192, 252)"
}
},
- "neutral-background-color-down": {
- "prop": "--spectrum-neutral-background-color-down",
- "ref": "var(--spectrum-gray-900)",
+ "informative-color-1300": {
+ "prop": "--spectrum-informative-color-1300",
+ "ref": "var(--spectrum-blue-1300)",
"light": {
- "value": "rgb(19, 19, 19)"
+ "value": "rgb(16, 40, 140)"
},
"dark": {
- "value": "rgb(242, 242, 242)"
+ "value": "rgb(181, 213, 253)"
}
},
- "neutral-background-color-hover": {
- "prop": "--spectrum-neutral-background-color-hover",
- "ref": "var(--spectrum-gray-900)",
+ "informative-color-1400": {
+ "prop": "--spectrum-informative-color-1400",
+ "ref": "var(--spectrum-blue-1400)",
"light": {
- "value": "rgb(19, 19, 19)"
+ "value": "rgb(12, 31, 105)"
},
"dark": {
- "value": "rgb(242, 242, 242)"
+ "value": "rgb(213, 231, 254)"
}
},
- "neutral-background-color-key-focus": {
- "prop": "--spectrum-neutral-background-color-key-focus",
- "ref": "var(--spectrum-gray-900)",
- "light": {
- "value": "rgb(19, 19, 19)"
+ "informative-color-1500": {
+ "prop": "--spectrum-informative-color-1500",
+ "ref": "var(--spectrum-blue-1500)",
+ "dark": {
+ "value": "rgb(238, 245, 255)"
},
+ "light": {
+ "value": "rgb(14, 24, 67)"
+ }
+ },
+ "informative-color-1600": {
+ "prop": "--spectrum-informative-color-1600",
+ "ref": "var(--spectrum-blue-1600)",
"dark": {
- "value": "rgb(242, 242, 242)"
+ "value": "rgb(255, 255, 255)"
+ },
+ "light": {
+ "value": "rgb(7, 11, 30)"
}
},
- "neutral-background-color-selected-default": {
- "prop": "--spectrum-neutral-background-color-selected-default",
- "ref": "var(--spectrum-gray-800)",
+ "informative-color-200": {
+ "prop": "--spectrum-informative-color-200",
+ "ref": "var(--spectrum-blue-200)",
"light": {
- "value": "rgb(41, 41, 41)"
+ "value": "rgb(229, 240, 254)"
},
"dark": {
- "value": "rgb(219, 219, 219)"
+ "value": "rgb(15, 28, 82)"
}
},
- "neutral-background-color-selected-down": {
- "prop": "--spectrum-neutral-background-color-selected-down",
- "ref": "var(--spectrum-gray-900)",
+ "informative-color-300": {
+ "prop": "--spectrum-informative-color-300",
+ "ref": "var(--spectrum-blue-300)",
"light": {
- "value": "rgb(19, 19, 19)"
+ "value": "rgb(203, 226, 254)"
},
"dark": {
- "value": "rgb(242, 242, 242)"
+ "value": "rgb(12, 33, 117)"
}
},
- "neutral-background-color-selected-hover": {
- "prop": "--spectrum-neutral-background-color-selected-hover",
- "ref": "var(--spectrum-gray-900)",
+ "informative-color-400": {
+ "prop": "--spectrum-informative-color-400",
+ "ref": "var(--spectrum-blue-400)",
"light": {
- "value": "rgb(19, 19, 19)"
+ "value": "rgb(172, 207, 253)"
},
"dark": {
- "value": "rgb(242, 242, 242)"
+ "value": "rgb(18, 45, 154)"
}
},
- "neutral-background-color-selected-key-focus": {
- "prop": "--spectrum-neutral-background-color-selected-key-focus",
- "ref": "var(--spectrum-gray-900)",
+ "informative-color-500": {
+ "prop": "--spectrum-informative-color-500",
+ "ref": "var(--spectrum-blue-500)",
"light": {
- "value": "rgb(19, 19, 19)"
+ "value": "rgb(142, 185, 252)"
},
"dark": {
- "value": "rgb(242, 242, 242)"
+ "value": "rgb(26, 58, 195)"
}
},
- "neutral-content-color-default": {
- "prop": "--spectrum-neutral-content-color-default",
- "ref": "var(--spectrum-gray-800)",
+ "informative-color-600": {
+ "prop": "--spectrum-informative-color-600",
+ "ref": "var(--spectrum-blue-600)",
"light": {
- "value": "rgb(41, 41, 41)"
+ "value": "rgb(114, 158, 253)"
},
"dark": {
- "value": "rgb(219, 219, 219)"
+ "value": "rgb(37, 73, 229)"
}
},
- "neutral-content-color-down": {
- "prop": "--spectrum-neutral-content-color-down",
- "ref": "var(--spectrum-gray-900)",
+ "informative-color-700": {
+ "prop": "--spectrum-informative-color-700",
+ "ref": "var(--spectrum-blue-700)",
"light": {
- "value": "rgb(19, 19, 19)"
+ "value": "rgb(93, 137, 255)"
},
"dark": {
- "value": "rgb(242, 242, 242)"
+ "value": "rgb(52, 91, 248)"
}
},
- "neutral-content-color-focus": {
- "prop": "--spectrum-neutral-content-color-focus",
- "ref": "var(--spectrum-neutral-content-color-down)",
+ "informative-color-800": {
+ "prop": "--spectrum-informative-color-800",
+ "ref": "var(--spectrum-blue-800)",
"light": {
- "value": "rgb(19, 19, 19)"
+ "value": "rgb(75, 117, 255)"
},
"dark": {
- "value": "rgb(242, 242, 242)"
+ "value": "rgb(64, 105, 253)"
}
},
- "neutral-content-color-focus-hover": {
- "prop": "--spectrum-neutral-content-color-focus-hover",
- "ref": "var(--spectrum-neutral-content-color-down)",
+ "informative-color-900": {
+ "prop": "--spectrum-informative-color-900",
+ "ref": "var(--spectrum-blue-900)",
"light": {
- "value": "rgb(19, 19, 19)"
+ "value": "rgb(59, 99, 251)"
},
"dark": {
- "value": "rgb(242, 242, 242)"
+ "value": "rgb(86, 129, 255)"
}
},
- "neutral-content-color-hover": {
- "prop": "--spectrum-neutral-content-color-hover",
- "ref": "var(--spectrum-gray-900)",
+ "informative-subtle-background-color-default": {
+ "prop": "--spectrum-informative-subtle-background-color-default",
+ "ref": "var(--spectrum-informative-color-300)",
"light": {
- "value": "rgb(19, 19, 19)"
+ "value": "rgb(229, 240, 254)"
},
"dark": {
- "value": "rgb(242, 242, 242)"
+ "value": "rgb(12, 33, 117)"
}
},
- "neutral-content-color-key-focus": {
- "prop": "--spectrum-neutral-content-color-key-focus",
- "ref": "var(--spectrum-gray-900)",
+ "informative-visual-color": {
+ "prop": "--spectrum-informative-visual-color",
+ "ref": "var(--spectrum-informative-color-900)",
"light": {
- "value": "rgb(19, 19, 19)"
+ "value": "rgb(75, 117, 255)"
},
"dark": {
- "value": "rgb(242, 242, 242)"
+ "value": "rgb(86, 129, 255)"
}
},
- "neutral-subdued-background-color-default": {
- "prop": "--spectrum-neutral-subdued-background-color-default",
- "ref": "var(--spectrum-gray-500)",
- "light": {
- "value": "rgb(80, 80, 80)"
+ "italic-font-style": {
+ "prop": "--spectrum-italic-font-style",
+ "value": "italic"
+ },
+ "letter-spacing": {
+ "prop": "--spectrum-letter-spacing",
+ "value": "0em"
+ },
+ "light-font-weight": {
+ "prop": "--spectrum-light-font-weight",
+ "value": "300"
+ },
+ "line-height-100": {
+ "prop": "--spectrum-line-height-100",
+ "value": 1.3
+ },
+ "line-height-200": {
+ "prop": "--spectrum-line-height-200",
+ "value": 1.5
+ },
+ "link-out-icon-size-100": {
+ "prop": "--spectrum-link-out-icon-size-100",
+ "desktop": {
+ "value": "12px"
},
- "dark": {
- "value": "rgb(109, 109, 109)"
+ "mobile": {
+ "value": "14px"
}
},
- "neutral-subdued-background-color-down": {
- "prop": "--spectrum-neutral-subdued-background-color-down",
- "ref": "var(--spectrum-gray-400)",
- "light": {
- "value": "rgb(41, 41, 41)"
+ "link-out-icon-size-200": {
+ "prop": "--spectrum-link-out-icon-size-200",
+ "desktop": {
+ "value": "14px"
},
- "dark": {
- "value": "rgb(68, 68, 68)"
+ "mobile": {
+ "value": "16px"
}
},
- "neutral-subdued-background-color-hover": {
- "prop": "--spectrum-neutral-subdued-background-color-hover",
- "ref": "var(--spectrum-gray-400)",
+ "link-out-icon-size-75": {
+ "prop": "--spectrum-link-out-icon-size-75",
+ "desktop": {
+ "value": "10px"
+ },
+ "mobile": {
+ "value": "12px"
+ }
+ },
+ "magenta-100": {
+ "prop": "--spectrum-magenta-100",
"light": {
- "value": "rgb(41, 41, 41)"
+ "value": "rgb(255, 245, 248)"
},
"dark": {
- "value": "rgb(68, 68, 68)"
+ "value": "rgb(59, 0, 22)"
}
},
- "neutral-subdued-background-color-key-focus": {
- "prop": "--spectrum-neutral-subdued-background-color-key-focus",
- "ref": "var(--spectrum-gray-400)",
+ "magenta-1000": {
+ "prop": "--spectrum-magenta-1000",
"light": {
- "value": "rgb(41, 41, 41)"
+ "value": "rgb(186, 22, 80)"
},
"dark": {
- "value": "rgb(68, 68, 68)"
+ "value": "rgb(255, 96, 149)"
}
},
- "neutral-subdued-content-color-default": {
- "prop": "--spectrum-neutral-subdued-content-color-default",
- "ref": "var(--spectrum-gray-700)",
+ "magenta-1100": {
+ "prop": "--spectrum-magenta-1100",
"light": {
- "value": "rgb(80, 80, 80)"
+ "value": "rgb(163, 5, 62)"
},
"dark": {
- "value": "rgb(175, 175, 175)"
+ "value": "rgb(255, 128, 171)"
}
},
- "neutral-subdued-content-color-down": {
- "prop": "--spectrum-neutral-subdued-content-color-down",
- "ref": "var(--spectrum-gray-800)",
+ "magenta-1200": {
+ "prop": "--spectrum-magenta-1200",
"light": {
- "value": "rgb(41, 41, 41)"
+ "value": "rgb(136, 0, 51)"
},
"dark": {
- "value": "rgb(219, 219, 219)"
+ "value": "rgb(255, 163, 194)"
}
},
- "neutral-subdued-content-color-hover": {
- "prop": "--spectrum-neutral-subdued-content-color-hover",
- "ref": "var(--spectrum-gray-800)",
+ "magenta-1300": {
+ "prop": "--spectrum-magenta-1300",
"light": {
- "value": "rgb(41, 41, 41)"
+ "value": "rgb(111, 0, 40)"
},
"dark": {
- "value": "rgb(219, 219, 219)"
+ "value": "rgb(255, 193, 214)"
}
},
- "neutral-subdued-content-color-key-focus": {
- "prop": "--spectrum-neutral-subdued-content-color-key-focus",
- "ref": "var(--spectrum-gray-800)",
+ "magenta-1400": {
+ "prop": "--spectrum-magenta-1400",
"light": {
- "value": "rgb(41, 41, 41)"
+ "value": "rgb(86, 0, 30)"
},
"dark": {
- "value": "rgb(219, 219, 219)"
+ "value": "rgb(255, 220, 232)"
}
},
- "neutral-subdued-content-color-selected": {
- "prop": "--spectrum-neutral-subdued-content-color-selected",
- "ref": "var(--spectrum-neutral-subdued-content-color-down)",
- "light": {
- "value": "rgb(41, 41, 41)"
+ "magenta-1500": {
+ "prop": "--spectrum-magenta-1500",
+ "dark": {
+ "value": "rgb(255, 241, 246)"
},
+ "light": {
+ "value": "rgb(64, 0, 22)"
+ }
+ },
+ "magenta-1600": {
+ "prop": "--spectrum-magenta-1600",
"dark": {
- "value": "rgb(219, 219, 219)"
+ "value": "rgb(255, 255, 255)"
+ },
+ "light": {
+ "value": "rgb(35, 0, 12)"
}
},
- "neutral-subtle-background-color-default": {
- "prop": "--spectrum-neutral-subtle-background-color-default",
- "ref": "var(--spectrum-gray-300)",
+ "magenta-200": {
+ "prop": "--spectrum-magenta-200",
"light": {
- "value": "rgb(233, 233, 233)"
+ "value": "rgb(255, 232, 240)"
},
"dark": {
- "value": "rgb(57, 57, 57)"
+ "value": "rgb(74, 0, 27)"
}
},
- "neutral-visual-color": {
- "prop": "--spectrum-neutral-visual-color",
- "ref": "var(--spectrum-gray-600)",
+ "magenta-300": {
+ "prop": "--spectrum-magenta-300",
"light": {
- "value": "rgb(143, 143, 143)"
+ "value": "rgb(255, 213, 227)"
},
"dark": {
- "value": "rgb(138, 138, 138)"
+ "value": "rgb(93, 0, 34)"
}
},
- "notice-background-color-default": {
- "prop": "--spectrum-notice-background-color-default",
- "ref": "var(--spectrum-notice-color-600)",
- "dark": {
- "value": "rgb(224, 100, 0)"
- },
+ "magenta-400": {
+ "prop": "--spectrum-magenta-400",
"light": {
- "value": "rgb(252, 125, 0)"
+ "value": "rgb(255, 185, 208)"
+ },
+ "dark": {
+ "value": "rgb(123, 0, 45)"
}
},
- "notice-color-100": {
- "prop": "--spectrum-notice-color-100",
- "ref": "var(--spectrum-orange-100)",
+ "magenta-500": {
+ "prop": "--spectrum-magenta-500",
"light": {
- "value": "rgb(255, 246, 231)"
+ "value": "rgb(255, 152, 187)"
},
"dark": {
- "value": "rgb(49, 16, 0)"
+ "value": "rgb(152, 7, 60)"
}
},
- "notice-color-1000": {
- "prop": "--spectrum-notice-color-1000",
- "ref": "var(--spectrum-orange-1000)",
+ "magenta-600": {
+ "prop": "--spectrum-magenta-600",
"light": {
- "value": "rgb(167, 62, 0)"
+ "value": "rgb(255, 112, 159)"
},
"dark": {
- "value": "rgb(243, 117, 0)"
+ "value": "rgb(181, 19, 76)"
}
},
- "notice-color-1100": {
- "prop": "--spectrum-notice-color-1100",
- "ref": "var(--spectrum-orange-1100)",
+ "magenta-700": {
+ "prop": "--spectrum-magenta-700",
"light": {
- "value": "rgb(144, 51, 0)"
+ "value": "rgb(255, 72, 133)"
},
"dark": {
- "value": "rgb(255, 137, 0)"
+ "value": "rgb(207, 31, 92)"
}
},
- "notice-color-1200": {
- "prop": "--spectrum-notice-color-1200",
- "ref": "var(--spectrum-orange-1200)",
+ "magenta-800": {
+ "prop": "--spectrum-magenta-800",
"light": {
- "value": "rgb(118, 41, 0)"
+ "value": "rgb(240, 45, 110)"
},
"dark": {
- "value": "rgb(255, 173, 45)"
+ "value": "rgb(224, 38, 101)"
}
},
- "notice-color-1300": {
- "prop": "--spectrum-notice-color-1300",
- "ref": "var(--spectrum-orange-1300)",
+ "magenta-900": {
+ "prop": "--spectrum-magenta-900",
"light": {
- "value": "rgb(95, 32, 0)"
+ "value": "rgb(217, 35, 97)"
},
"dark": {
- "value": "rgb(255, 201, 116)"
+ "value": "rgb(255, 51, 119)"
}
},
- "notice-color-1400": {
- "prop": "--spectrum-notice-color-1400",
- "ref": "var(--spectrum-orange-1400)",
+ "magenta-background-color-default": {
+ "prop": "--spectrum-magenta-background-color-default",
+ "ref": "var(--spectrum-magenta-800)",
"light": {
- "value": "rgb(73, 24, 0)"
+ "value": "rgb(217, 35, 97)"
},
"dark": {
- "value": "rgb(255, 225, 178)"
+ "value": "rgb(224, 38, 101)"
}
},
- "notice-color-1500": {
- "prop": "--spectrum-notice-color-1500",
- "ref": "var(--spectrum-orange-1500)",
- "dark": {
- "value": "rgb(255, 243, 225)"
- },
- "light": {
- "value": "rgb(52, 18, 0)"
- }
- },
- "notice-color-1600": {
- "prop": "--spectrum-notice-color-1600",
- "ref": "var(--spectrum-orange-1600)",
- "dark": {
- "value": "rgb(255, 255, 255)"
- },
- "light": {
- "value": "rgb(25, 8, 0)"
- }
- },
- "notice-color-200": {
- "prop": "--spectrum-notice-color-200",
- "ref": "var(--spectrum-orange-200)",
+ "magenta-subtle-background-color-default": {
+ "prop": "--spectrum-magenta-subtle-background-color-default",
+ "ref": "var(--spectrum-magenta-300)",
"light": {
- "value": "rgb(255, 236, 207)"
+ "value": "rgb(255, 232, 240)"
},
"dark": {
- "value": "rgb(61, 21, 0)"
+ "value": "rgb(93, 0, 34)"
}
},
- "notice-color-300": {
- "prop": "--spectrum-notice-color-300",
- "ref": "var(--spectrum-orange-300)",
+ "magenta-visual-color": {
+ "prop": "--spectrum-magenta-visual-color",
+ "ref": "var(--spectrum-magenta-900)",
"light": {
- "value": "rgb(255, 218, 158)"
+ "value": "rgb(240, 45, 110)"
},
"dark": {
- "value": "rgb(80, 27, 0)"
+ "value": "rgb(255, 51, 119)"
}
},
- "notice-color-400": {
- "prop": "--spectrum-notice-color-400",
- "ref": "var(--spectrum-orange-400)",
- "light": {
- "value": "rgb(255, 193, 94)"
- },
- "dark": {
- "value": "rgb(106, 36, 0)"
- }
+ "medium-font-weight": {
+ "prop": "--spectrum-medium-font-weight",
+ "value": "500"
},
- "notice-color-500": {
- "prop": "--spectrum-notice-color-500",
- "ref": "var(--spectrum-orange-500)",
+ "menu-item-background-color-default": {
+ "prop": "--spectrum-menu-item-background-color-default",
+ "ref": "var(--spectrum-gray-200)",
"light": {
- "value": "rgb(255, 162, 19)"
+ "value": "rgb(233, 233, 233)"
},
"dark": {
- "value": "rgb(135, 47, 0)"
+ "value": "rgb(50, 50, 50)"
}
},
- "notice-color-600": {
- "prop": "--spectrum-notice-color-600",
- "ref": "var(--spectrum-orange-600)",
+ "menu-item-background-color-disabled": {
+ "prop": "--spectrum-menu-item-background-color-disabled",
+ "ref": "var(--spectrum-gray-200)",
"light": {
- "value": "rgb(252, 125, 0)"
+ "value": "rgb(233, 233, 233)"
},
"dark": {
- "value": "rgb(162, 59, 0)"
+ "value": "rgb(50, 50, 50)"
}
},
- "notice-color-700": {
- "prop": "--spectrum-notice-color-700",
- "ref": "var(--spectrum-orange-700)",
+ "menu-item-background-color-down": {
+ "prop": "--spectrum-menu-item-background-color-down",
+ "ref": "var(--spectrum-gray-200)",
"light": {
- "value": "rgb(232, 106, 0)"
+ "value": "rgb(233, 233, 233)"
},
"dark": {
- "value": "rgb(185, 73, 0)"
+ "value": "rgb(50, 50, 50)"
}
},
- "notice-color-800": {
- "prop": "--spectrum-notice-color-800",
- "ref": "var(--spectrum-orange-800)",
+ "menu-item-background-color-hover": {
+ "prop": "--spectrum-menu-item-background-color-hover",
+ "ref": "var(--spectrum-gray-200)",
"light": {
- "value": "rgb(212, 91, 0)"
+ "value": "rgb(233, 233, 233)"
},
"dark": {
- "value": "rgb(199, 82, 0)"
+ "value": "rgb(50, 50, 50)"
}
},
- "notice-color-900": {
- "prop": "--spectrum-notice-color-900",
- "ref": "var(--spectrum-orange-900)",
+ "menu-item-background-color-keyboard-focus": {
+ "prop": "--spectrum-menu-item-background-color-keyboard-focus",
+ "ref": "var(--spectrum-gray-200)",
"light": {
- "value": "rgb(194, 78, 0)"
+ "value": "rgb(233, 233, 233)"
},
"dark": {
- "value": "rgb(224, 100, 0)"
+ "value": "rgb(50, 50, 50)"
}
},
- "notice-subtle-background-color-default": {
- "prop": "--spectrum-notice-subtle-background-color-default",
- "ref": "var(--spectrum-notice-color-300)",
- "light": {
- "value": "rgb(255, 236, 207)"
- },
- "dark": {
- "value": "rgb(80, 27, 0)"
- }
+ "menu-item-background-opacity": {
+ "prop": "--spectrum-menu-item-background-opacity",
+ "value": "0"
},
- "notice-visual-color": {
- "prop": "--spectrum-notice-visual-color",
- "ref": "var(--spectrum-notice-color-900)",
- "light": {
- "value": "rgb(212, 91, 0)"
+ "menu-item-edge-to-content-not-selected-extra-large": {
+ "prop": "--spectrum-menu-item-edge-to-content-not-selected-extra-large",
+ "desktop": {
+ "value": "45px"
},
- "dark": {
- "value": "rgb(224, 100, 0)"
+ "mobile": {
+ "value": "54px"
}
},
- "opacity-checkerboard-square-dark": {
- "prop": "--spectrum-opacity-checkerboard-square-dark",
- "ref": "var(--spectrum-gray-800)",
- "light": {
- "value": "rgb(225, 225, 225)"
+ "menu-item-edge-to-content-not-selected-large": {
+ "prop": "--spectrum-menu-item-edge-to-content-not-selected-large",
+ "desktop": {
+ "value": "38px"
},
- "dark": {
- "value": "rgb(219, 219, 219)"
+ "mobile": {
+ "value": "47px"
}
},
- "opacity-checkerboard-square-light": {
- "prop": "--spectrum-opacity-checkerboard-square-light",
- "ref": "var(--spectrum-white)",
- "light": {
- "value": "rgb(255, 255, 255)"
+ "menu-item-edge-to-content-not-selected-medium": {
+ "prop": "--spectrum-menu-item-edge-to-content-not-selected-medium",
+ "desktop": {
+ "value": "32px"
},
- "dark": {
- "value": "rgb(255, 255, 255)"
+ "mobile": {
+ "value": "42px"
}
},
- "opacity-checkerboard-square-size": {
- "prop": "--spectrum-opacity-checkerboard-square-size",
+ "menu-item-edge-to-content-not-selected-small": {
+ "prop": "--spectrum-menu-item-edge-to-content-not-selected-small",
"desktop": {
- "value": "8px"
+ "value": "28px"
},
"mobile": {
- "value": "10px"
+ "value": "24px"
}
},
- "opacity-disabled": {
- "prop": "--spectrum-opacity-disabled",
- "value": "0.3"
+ "menu-item-label-to-description": {
+ "prop": "--spectrum-menu-item-label-to-description",
+ "ref": "var(--spectrum-menu-item-label-to-description-medium)",
+ "value": "1px"
},
- "orange-100": {
- "prop": "--spectrum-orange-100",
- "light": {
- "value": "rgb(255, 246, 231)"
+ "menu-item-label-to-description-extra-large": {
+ "prop": "--spectrum-menu-item-label-to-description-extra-large",
+ "value": "2px"
+ },
+ "menu-item-label-to-description-large": {
+ "prop": "--spectrum-menu-item-label-to-description-large",
+ "value": "2px"
+ },
+ "menu-item-label-to-description-medium": {
+ "prop": "--spectrum-menu-item-label-to-description-medium",
+ "value": "1px"
+ },
+ "menu-item-label-to-description-small": {
+ "prop": "--spectrum-menu-item-label-to-description-small",
+ "value": "1px"
+ },
+ "menu-item-section-divider-height": {
+ "prop": "--spectrum-menu-item-section-divider-height",
+ "value": "12px"
+ },
+ "menu-item-top-to-disclosure-icon-extra-large": {
+ "prop": "--spectrum-menu-item-top-to-disclosure-icon-extra-large",
+ "desktop": {
+ "value": "17px"
},
- "dark": {
- "value": "rgb(49, 16, 0)"
+ "mobile": {
+ "value": "22px"
}
},
- "orange-1000": {
- "prop": "--spectrum-orange-1000",
- "light": {
- "value": "rgb(167, 62, 0)"
+ "menu-item-top-to-disclosure-icon-large": {
+ "prop": "--spectrum-menu-item-top-to-disclosure-icon-large",
+ "desktop": {
+ "value": "14px"
},
- "dark": {
- "value": "rgb(243, 117, 0)"
+ "mobile": {
+ "value": "17px"
}
},
- "orange-1100": {
- "prop": "--spectrum-orange-1100",
- "light": {
- "value": "rgb(144, 51, 0)"
+ "menu-item-top-to-disclosure-icon-medium": {
+ "prop": "--spectrum-menu-item-top-to-disclosure-icon-medium",
+ "desktop": {
+ "value": "11px"
},
- "dark": {
- "value": "rgb(255, 137, 0)"
+ "mobile": {
+ "value": "13px"
}
},
- "orange-1200": {
- "prop": "--spectrum-orange-1200",
- "light": {
- "value": "rgb(118, 41, 0)"
+ "menu-item-top-to-disclosure-icon-small": {
+ "prop": "--spectrum-menu-item-top-to-disclosure-icon-small",
+ "desktop": {
+ "value": "7px"
},
- "dark": {
- "value": "rgb(255, 173, 45)"
+ "mobile": {
+ "value": "9px"
}
},
- "orange-1300": {
- "prop": "--spectrum-orange-1300",
- "light": {
- "value": "rgb(95, 32, 0)"
+ "menu-item-top-to-selected-icon-extra-large": {
+ "prop": "--spectrum-menu-item-top-to-selected-icon-extra-large",
+ "desktop": {
+ "value": "17px"
},
- "dark": {
- "value": "rgb(255, 201, 116)"
+ "mobile": {
+ "value": "22px"
}
},
- "orange-1400": {
- "prop": "--spectrum-orange-1400",
- "light": {
- "value": "rgb(73, 24, 0)"
+ "menu-item-top-to-selected-icon-large": {
+ "prop": "--spectrum-menu-item-top-to-selected-icon-large",
+ "desktop": {
+ "value": "14px"
},
- "dark": {
- "value": "rgb(255, 225, 178)"
+ "mobile": {
+ "value": "17px"
}
},
- "orange-1500": {
- "prop": "--spectrum-orange-1500",
- "dark": {
- "value": "rgb(255, 243, 225)"
+ "menu-item-top-to-selected-icon-medium": {
+ "prop": "--spectrum-menu-item-top-to-selected-icon-medium",
+ "desktop": {
+ "value": "11px"
},
- "light": {
- "value": "rgb(52, 18, 0)"
+ "mobile": {
+ "value": "13px"
}
},
- "orange-1600": {
- "prop": "--spectrum-orange-1600",
- "dark": {
- "value": "rgb(255, 255, 255)"
+ "menu-item-top-to-selected-icon-small": {
+ "prop": "--spectrum-menu-item-top-to-selected-icon-small",
+ "desktop": {
+ "value": "7px"
},
- "light": {
- "value": "rgb(25, 8, 0)"
+ "mobile": {
+ "value": "9px"
}
},
- "orange-200": {
- "prop": "--spectrum-orange-200",
- "light": {
- "value": "rgb(255, 236, 207)"
+ "menu-item-top-to-thumbnail-extra-large": {
+ "prop": "--spectrum-menu-item-top-to-thumbnail-extra-large",
+ "desktop": {
+ "value": "11px"
},
- "dark": {
- "value": "rgb(61, 21, 0)"
+ "mobile": {
+ "value": "13px"
}
},
- "orange-300": {
- "prop": "--spectrum-orange-300",
- "light": {
- "value": "rgb(255, 218, 158)"
+ "menu-item-top-to-thumbnail-large": {
+ "prop": "--spectrum-menu-item-top-to-thumbnail-large",
+ "desktop": {
+ "value": "10px"
},
- "dark": {
- "value": "rgb(80, 27, 0)"
+ "mobile": {
+ "value": "12px"
}
},
- "orange-400": {
- "prop": "--spectrum-orange-400",
- "light": {
- "value": "rgb(255, 193, 94)"
+ "menu-item-top-to-thumbnail-medium": {
+ "prop": "--spectrum-menu-item-top-to-thumbnail-medium",
+ "desktop": {
+ "value": "9px"
},
- "dark": {
- "value": "rgb(106, 36, 0)"
+ "mobile": {
+ "value": "11px"
}
},
- "orange-500": {
- "prop": "--spectrum-orange-500",
- "light": {
- "value": "rgb(255, 162, 19)"
+ "menu-item-top-to-thumbnail-small": {
+ "prop": "--spectrum-menu-item-top-to-thumbnail-small",
+ "desktop": {
+ "value": "8px"
},
- "dark": {
- "value": "rgb(135, 47, 0)"
+ "mobile": {
+ "value": "10px"
}
},
- "orange-600": {
- "prop": "--spectrum-orange-600",
- "light": {
- "value": "rgb(252, 125, 0)"
- },
- "dark": {
- "value": "rgb(162, 59, 0)"
- }
+ "menu-section-header-to-description-extra-large": {
+ "prop": "--spectrum-menu-section-header-to-description-extra-large",
+ "value": "2px"
},
- "orange-700": {
- "prop": "--spectrum-orange-700",
- "light": {
- "value": "rgb(232, 106, 0)"
- },
- "dark": {
- "value": "rgb(185, 73, 0)"
- }
+ "menu-section-header-to-description-large": {
+ "prop": "--spectrum-menu-section-header-to-description-large",
+ "value": "2px"
},
- "orange-800": {
- "prop": "--spectrum-orange-800",
- "light": {
- "value": "rgb(212, 91, 0)"
- },
- "dark": {
- "value": "rgb(199, 82, 0)"
- }
+ "menu-section-header-to-description-medium": {
+ "prop": "--spectrum-menu-section-header-to-description-medium",
+ "value": "1px"
},
- "orange-900": {
- "prop": "--spectrum-orange-900",
- "light": {
- "value": "rgb(194, 78, 0)"
+ "menu-section-header-to-description-small": {
+ "prop": "--spectrum-menu-section-header-to-description-small",
+ "value": "1px"
+ },
+ "meter-default-width": {
+ "prop": "--spectrum-meter-default-width",
+ "ref": "var(--spectrum-meter-width)",
+ "desktop": {
+ "value": "192px"
},
- "dark": {
- "value": "rgb(224, 100, 0)"
+ "mobile": {
+ "value": "240px"
}
},
- "orange-background-color-default": {
- "prop": "--spectrum-orange-background-color-default",
- "ref": "var(--spectrum-orange-900)",
- "light": {
- "value": "rgb(252, 125, 0)"
+ "meter-maximum-width": {
+ "prop": "--spectrum-meter-maximum-width",
+ "value": "768px"
+ },
+ "meter-minimum-width": {
+ "prop": "--spectrum-meter-minimum-width",
+ "value": "48px"
+ },
+ "meter-thickness-extra-large": {
+ "prop": "--spectrum-meter-thickness-extra-large",
+ "desktop": {
+ "value": "10px"
},
- "dark": {
- "value": "rgb(224, 100, 0)"
+ "mobile": {
+ "value": "13px"
}
},
- "orange-subtle-background-color-default": {
- "prop": "--spectrum-orange-subtle-background-color-default",
- "ref": "var(--spectrum-orange-300)",
- "light": {
- "value": "rgb(255, 236, 207)"
+ "meter-thickness-large": {
+ "prop": "--spectrum-meter-thickness-large",
+ "desktop": {
+ "value": "8px"
},
- "dark": {
- "value": "rgb(80, 27, 0)"
+ "mobile": {
+ "value": "10px"
}
},
- "orange-visual-color": {
- "prop": "--spectrum-orange-visual-color",
- "ref": "var(--spectrum-orange-900)",
- "light": {
- "value": "rgb(232, 106, 0)"
+ "meter-thickness-medium": {
+ "prop": "--spectrum-meter-thickness-medium",
+ "desktop": {
+ "value": "6px"
},
- "dark": {
- "value": "rgb(224, 100, 0)"
+ "mobile": {
+ "value": "8px"
}
},
- "overlay-color": {
- "prop": "--spectrum-overlay-color",
- "ref": "var(--spectrum-black)",
- "value": "rgb(0, 0, 0)"
- },
- "overlay-opacity": {
- "prop": "--spectrum-overlay-opacity",
- "light": {
- "value": "0.4"
+ "meter-thickness-small": {
+ "prop": "--spectrum-meter-thickness-small",
+ "desktop": {
+ "value": "4px"
},
- "dark": {
- "value": "0.6"
+ "mobile": {
+ "value": "5px"
}
},
- "picker-border-width": {
- "prop": "--spectrum-picker-border-width",
- "ref": "var(--spectrum-border-width-100)",
- "value": "1px"
- },
- "picker-end-edge-to-disclosure-icon-quiet": {
- "prop": "--spectrum-picker-end-edge-to-disclosure-icon-quiet",
- "value": "0px"
- },
- "picker-end-edge-to-disclousure-icon-quiet": {
- "prop": "--spectrum-picker-end-edge-to-disclousure-icon-quiet",
- "ref": "var(--spectrum-picker-end-edge-to-disclosure-icon-quiet)",
- "value": "0px"
- },
- "picker-minimum-width-multiplier": {
- "prop": "--spectrum-picker-minimum-width-multiplier",
- "value": "2"
- },
- "picker-visual-to-disclosure-icon-extra-large": {
- "prop": "--spectrum-picker-visual-to-disclosure-icon-extra-large",
+ "meter-width": {
+ "prop": "--spectrum-meter-width",
"desktop": {
- "value": "10px"
+ "value": "192px"
},
"mobile": {
- "value": "13px"
+ "value": "240px"
}
},
- "picker-visual-to-disclosure-icon-large": {
- "prop": "--spectrum-picker-visual-to-disclosure-icon-large",
+ "navigational-indicator-top-to-back-icon-extra-large": {
+ "prop": "--spectrum-navigational-indicator-top-to-back-icon-extra-large",
"desktop": {
- "value": "9px"
+ "value": "15px"
},
"mobile": {
- "value": "11px"
+ "value": "19px"
}
},
- "picker-visual-to-disclosure-icon-medium": {
- "prop": "--spectrum-picker-visual-to-disclosure-icon-medium",
+ "navigational-indicator-top-to-back-icon-large": {
+ "prop": "--spectrum-navigational-indicator-top-to-back-icon-large",
"desktop": {
- "value": "8px"
+ "value": "12px"
},
"mobile": {
- "value": "10px"
+ "value": "16px"
}
},
- "picker-visual-to-disclosure-icon-small": {
- "prop": "--spectrum-picker-visual-to-disclosure-icon-small",
+ "navigational-indicator-top-to-back-icon-medium": {
+ "prop": "--spectrum-navigational-indicator-top-to-back-icon-medium",
"desktop": {
- "value": "7px"
+ "value": "9px"
},
"mobile": {
- "value": "9px"
+ "value": "12px"
}
},
- "pink-100": {
- "prop": "--spectrum-pink-100",
- "dark": {
- "value": "rgb(58, 0, 37)"
+ "navigational-indicator-top-to-back-icon-small": {
+ "prop": "--spectrum-navigational-indicator-top-to-back-icon-small",
+ "desktop": {
+ "value": "6px"
},
- "light": {
- "value": "rgb(255, 246, 252)"
+ "mobile": {
+ "value": "7px"
}
},
- "pink-1000": {
- "prop": "--spectrum-pink-1000",
- "dark": {
- "value": "rgb(251, 90, 196)"
- },
+ "negative-background-color-default": {
+ "prop": "--spectrum-negative-background-color-default",
+ "ref": "var(--spectrum-negative-color-800)",
"light": {
- "value": "rgb(176, 31, 123)"
+ "value": "rgb(215, 50, 32)"
+ },
+ "dark": {
+ "value": "rgb(223, 52, 34)"
}
},
- "pink-1100": {
- "prop": "--spectrum-pink-1100",
- "dark": {
- "value": "rgb(255, 122, 210)"
- },
+ "negative-background-color-down": {
+ "prop": "--spectrum-negative-background-color-down",
+ "ref": "var(--spectrum-negative-color-700)",
"light": {
- "value": "rgb(152, 22, 104)"
+ "value": "rgb(183, 40, 24)"
+ },
+ "dark": {
+ "value": "rgb(205, 46, 29)"
}
},
- "pink-1200": {
- "prop": "--spectrum-pink-1200",
- "dark": {
- "value": "rgb(255, 159, 223)"
- },
+ "negative-background-color-hover": {
+ "prop": "--spectrum-negative-background-color-hover",
+ "ref": "var(--spectrum-negative-color-700)",
"light": {
- "value": "rgb(128, 12, 85)"
+ "value": "rgb(183, 40, 24)"
+ },
+ "dark": {
+ "value": "rgb(205, 46, 29)"
}
},
- "pink-1300": {
- "prop": "--spectrum-pink-1300",
- "dark": {
- "value": "rgb(255, 191, 234)"
- },
+ "negative-background-color-key-focus": {
+ "prop": "--spectrum-negative-background-color-key-focus",
+ "ref": "var(--spectrum-negative-color-700)",
"light": {
- "value": "rgb(105, 3, 68)"
+ "value": "rgb(183, 40, 24)"
+ },
+ "dark": {
+ "value": "rgb(205, 46, 29)"
}
},
- "pink-1400": {
- "prop": "--spectrum-pink-1400",
- "dark": {
- "value": "rgb(255, 219, 243)"
- },
+ "negative-border-color-default": {
+ "prop": "--spectrum-negative-border-color-default",
+ "ref": "var(--spectrum-negative-color-900)",
"light": {
- "value": "rgb(83, 0, 53)"
- }
- },
- "pink-1500": {
- "prop": "--spectrum-pink-1500",
- "dark": {
- "value": "rgb(255, 241, 250)"
+ "value": "rgb(215, 50, 32)"
},
- "light": {
- "value": "rgb(62, 0, 39)"
- }
- },
- "pink-1600": {
- "prop": "--spectrum-pink-1600",
"dark": {
- "value": "rgb(255, 255, 255)"
- },
- "light": {
- "value": "rgb(33, 0, 21)"
+ "value": "rgb(252, 67, 46)"
}
},
- "pink-200": {
- "prop": "--spectrum-pink-200",
- "dark": {
- "value": "rgb(71, 0, 44)"
- },
+ "negative-border-color-down": {
+ "prop": "--spectrum-negative-border-color-down",
+ "ref": "var(--spectrum-negative-color-1100)",
"light": {
- "value": "rgb(255, 232, 247)"
- }
- },
- "pink-300": {
- "prop": "--spectrum-pink-300",
- "dark": {
- "value": "rgb(90, 0, 57)"
+ "value": "rgb(156, 33, 19)"
},
- "light": {
- "value": "rgb(255, 211, 240)"
- }
- },
- "pink-400": {
- "prop": "--spectrum-pink-400",
"dark": {
- "value": "rgb(115, 7, 75)"
- },
- "light": {
- "value": "rgb(255, 181, 230)"
+ "value": "rgb(255, 134, 120)"
}
},
- "pink-500": {
- "prop": "--spectrum-pink-500",
- "dark": {
- "value": "rgb(143, 18, 97)"
- },
+ "negative-border-color-focus": {
+ "prop": "--spectrum-negative-border-color-focus",
+ "ref": "var(--spectrum-negative-color-1000)",
"light": {
- "value": "rgb(255, 148, 219)"
- }
- },
- "pink-600": {
- "prop": "--spectrum-pink-600",
- "dark": {
- "value": "rgb(171, 29, 119)"
+ "value": "rgb(183, 40, 24)"
},
- "light": {
- "value": "rgb(255, 103, 204)"
- }
- },
- "pink-700": {
- "prop": "--spectrum-pink-700",
"dark": {
- "value": "rgb(196, 39, 138)"
- },
- "light": {
- "value": "rgb(242, 76, 184)"
+ "value": "rgb(255, 103, 86)"
}
},
- "pink-800": {
- "prop": "--spectrum-pink-800",
- "dark": {
- "value": "rgb(213, 45, 151)"
- },
+ "negative-border-color-focus-hover": {
+ "prop": "--spectrum-negative-border-color-focus-hover",
+ "ref": "var(--spectrum-negative-border-color-down)",
"light": {
- "value": "rgb(228, 52, 163)"
- }
- },
- "pink-900": {
- "prop": "--spectrum-pink-900",
- "dark": {
- "value": "rgb(236, 67, 175)"
+ "value": "rgb(156, 33, 19)"
},
- "light": {
- "value": "rgb(206, 42, 146)"
+ "dark": {
+ "value": "rgb(255, 134, 120)"
}
},
- "pink-background-color-default": {
- "prop": "--spectrum-pink-background-color-default",
- "ref": "var(--spectrum-pink-800)",
+ "negative-border-color-hover": {
+ "prop": "--spectrum-negative-border-color-hover",
+ "ref": "var(--spectrum-negative-color-1000)",
"light": {
- "value": "rgb(206, 42, 146)"
+ "value": "rgb(183, 40, 24)"
},
"dark": {
- "value": "rgb(213, 45, 151)"
+ "value": "rgb(255, 103, 86)"
}
},
- "pink-subtle-background-color-default": {
- "prop": "--spectrum-pink-subtle-background-color-default",
- "ref": "var(--spectrum-pink-300)",
+ "negative-border-color-key-focus": {
+ "prop": "--spectrum-negative-border-color-key-focus",
+ "ref": "var(--spectrum-negative-color-1000)",
"light": {
- "value": "rgb(255, 232, 247)"
+ "value": "rgb(183, 40, 24)"
},
"dark": {
- "value": "rgb(90, 0, 57)"
+ "value": "rgb(255, 103, 86)"
}
},
- "pink-visual-color": {
- "prop": "--spectrum-pink-visual-color",
- "ref": "var(--spectrum-pink-900)",
+ "negative-color-100": {
+ "prop": "--spectrum-negative-color-100",
+ "ref": "var(--spectrum-red-100)",
"light": {
- "value": "rgb(228, 52, 163)"
+ "value": "rgb(255, 246, 245)"
},
"dark": {
- "value": "rgb(236, 67, 175)"
+ "value": "rgb(54, 10, 3)"
}
},
- "popover-tip-height": {
- "prop": "--spectrum-popover-tip-height",
- "value": "8px"
- },
- "popover-tip-width": {
- "prop": "--spectrum-popover-tip-width",
- "value": "16px"
- },
- "popover-top-to-content-area": {
- "prop": "--spectrum-popover-top-to-content-area",
- "desktop": {
- "value": "4px"
+ "negative-color-1000": {
+ "prop": "--spectrum-negative-color-1000",
+ "ref": "var(--spectrum-red-1000)",
+ "light": {
+ "value": "rgb(183, 40, 24)"
},
- "mobile": {
- "value": "5px"
+ "dark": {
+ "value": "rgb(255, 103, 86)"
}
},
- "positive-background-color-default": {
- "prop": "--spectrum-positive-background-color-default",
- "ref": "var(--spectrum-positive-color-800)",
+ "negative-color-1100": {
+ "prop": "--spectrum-negative-color-1100",
+ "ref": "var(--spectrum-red-1100)",
"light": {
- "value": "rgb(5, 131, 78)"
+ "value": "rgb(156, 33, 19)"
},
"dark": {
- "value": "rgb(6, 136, 80)"
+ "value": "rgb(255, 134, 120)"
}
},
- "positive-background-color-down": {
- "prop": "--spectrum-positive-background-color-down",
- "ref": "var(--spectrum-positive-color-700)",
+ "negative-color-1200": {
+ "prop": "--spectrum-negative-color-1200",
+ "ref": "var(--spectrum-red-1200)",
"light": {
- "value": "rgb(3, 110, 69)"
+ "value": "rgb(129, 27, 14)"
},
"dark": {
- "value": "rgb(4, 124, 75)"
+ "value": "rgb(255, 167, 157)"
}
},
- "positive-background-color-hover": {
- "prop": "--spectrum-positive-background-color-hover",
- "ref": "var(--spectrum-positive-color-700)",
+ "negative-color-1300": {
+ "prop": "--spectrum-negative-color-1300",
+ "ref": "var(--spectrum-red-1300)",
"light": {
- "value": "rgb(3, 110, 69)"
+ "value": "rgb(104, 21, 10)"
},
"dark": {
- "value": "rgb(4, 124, 75)"
+ "value": "rgb(255, 196, 189)"
}
},
- "positive-background-color-key-focus": {
- "prop": "--spectrum-positive-background-color-key-focus",
- "ref": "var(--spectrum-positive-color-700)",
+ "negative-color-1400": {
+ "prop": "--spectrum-negative-color-1400",
+ "ref": "var(--spectrum-red-1400)",
"light": {
- "value": "rgb(3, 110, 69)"
+ "value": "rgb(80, 16, 6)"
},
"dark": {
- "value": "rgb(4, 124, 75)"
+ "value": "rgb(255, 222, 219)"
}
},
- "positive-color-100": {
- "prop": "--spectrum-positive-color-100",
- "ref": "var(--spectrum-green-100)",
- "light": {
- "value": "rgb(237, 252, 241)"
+ "negative-color-1500": {
+ "prop": "--spectrum-negative-color-1500",
+ "ref": "var(--spectrum-red-1500)",
+ "dark": {
+ "value": "rgb(255, 242, 240)"
},
+ "light": {
+ "value": "rgb(59, 11, 4)"
+ }
+ },
+ "negative-color-1600": {
+ "prop": "--spectrum-negative-color-1600",
+ "ref": "var(--spectrum-red-1600)",
"dark": {
- "value": "rgb(0, 30, 23)"
+ "value": "rgb(255, 255, 255)"
+ },
+ "light": {
+ "value": "rgb(29, 5, 2)"
}
},
- "positive-color-1000": {
- "prop": "--spectrum-positive-color-1000",
- "ref": "var(--spectrum-green-1000)",
+ "negative-color-200": {
+ "prop": "--spectrum-negative-color-200",
+ "ref": "var(--spectrum-red-200)",
"light": {
- "value": "rgb(3, 110, 69)"
+ "value": "rgb(255, 235, 232)"
},
"dark": {
- "value": "rgb(14, 175, 98)"
+ "value": "rgb(68, 13, 5)"
}
},
- "positive-color-1100": {
- "prop": "--spectrum-positive-color-1100",
- "ref": "var(--spectrum-green-1100)",
+ "negative-color-300": {
+ "prop": "--spectrum-negative-color-300",
+ "ref": "var(--spectrum-red-300)",
"light": {
- "value": "rgb(2, 93, 60)"
+ "value": "rgb(255, 214, 209)"
},
"dark": {
- "value": "rgb(24, 193, 110)"
+ "value": "rgb(87, 17, 7)"
}
},
- "positive-color-1200": {
- "prop": "--spectrum-positive-color-1200",
- "ref": "var(--spectrum-green-1200)",
+ "negative-color-400": {
+ "prop": "--spectrum-negative-color-400",
+ "ref": "var(--spectrum-red-400)",
"light": {
- "value": "rgb(1, 76, 52)"
+ "value": "rgb(255, 188, 180)"
},
"dark": {
- "value": "rgb(57, 215, 134)"
+ "value": "rgb(115, 24, 11)"
}
},
- "positive-color-1300": {
- "prop": "--spectrum-positive-color-1300",
- "ref": "var(--spectrum-green-1300)",
+ "negative-color-500": {
+ "prop": "--spectrum-negative-color-500",
+ "ref": "var(--spectrum-red-500)",
"light": {
- "value": "rgb(0, 61, 44)"
+ "value": "rgb(255, 157, 145)"
},
"dark": {
- "value": "rgb(126, 231, 172)"
+ "value": "rgb(147, 31, 17)"
}
},
- "positive-color-1400": {
- "prop": "--spectrum-positive-color-1400",
- "ref": "var(--spectrum-green-1400)",
+ "negative-color-600": {
+ "prop": "--spectrum-negative-color-600",
+ "ref": "var(--spectrum-red-600)",
"light": {
- "value": "rgb(0, 46, 34)"
+ "value": "rgb(255, 118, 101)"
},
"dark": {
- "value": "rgb(189, 241, 208)"
+ "value": "rgb(177, 38, 23)"
}
},
- "positive-color-1500": {
- "prop": "--spectrum-positive-color-1500",
- "ref": "var(--spectrum-green-1500)",
- "dark": {
- "value": "rgb(229, 250, 236)"
- },
+ "negative-color-700": {
+ "prop": "--spectrum-negative-color-700",
+ "ref": "var(--spectrum-red-700)",
"light": {
- "value": "rgb(0, 33, 25)"
- }
- },
- "positive-color-1600": {
- "prop": "--spectrum-positive-color-1600",
- "ref": "var(--spectrum-green-1600)",
- "dark": {
- "value": "rgb(255, 255, 255)"
+ "value": "rgb(255, 81, 61)"
},
- "light": {
- "value": "rgb(0, 15, 12)"
+ "dark": {
+ "value": "rgb(205, 46, 29)"
}
},
- "positive-color-200": {
- "prop": "--spectrum-positive-color-200",
- "ref": "var(--spectrum-green-200)",
+ "negative-color-800": {
+ "prop": "--spectrum-negative-color-800",
+ "ref": "var(--spectrum-red-800)",
"light": {
- "value": "rgb(215, 247, 225)"
+ "value": "rgb(240, 56, 35)"
},
"dark": {
- "value": "rgb(0, 38, 29)"
+ "value": "rgb(223, 52, 34)"
}
},
- "positive-color-300": {
- "prop": "--spectrum-positive-color-300",
- "ref": "var(--spectrum-green-300)",
+ "negative-color-900": {
+ "prop": "--spectrum-negative-color-900",
+ "ref": "var(--spectrum-red-900)",
"light": {
- "value": "rgb(173, 238, 197)"
+ "value": "rgb(215, 50, 32)"
},
"dark": {
- "value": "rgb(0, 51, 38)"
+ "value": "rgb(252, 67, 46)"
}
},
- "positive-color-400": {
- "prop": "--spectrum-positive-color-400",
- "ref": "var(--spectrum-green-400)",
+ "negative-content-color-default": {
+ "prop": "--spectrum-negative-content-color-default",
+ "ref": "var(--spectrum-negative-color-900)",
"light": {
- "value": "rgb(107, 227, 162)"
+ "value": "rgb(215, 50, 32)"
},
"dark": {
- "value": "rgb(0, 68, 48)"
+ "value": "rgb(252, 67, 46)"
}
},
- "positive-color-500": {
- "prop": "--spectrum-positive-color-500",
- "ref": "var(--spectrum-green-500)",
+ "negative-content-color-down": {
+ "prop": "--spectrum-negative-content-color-down",
+ "ref": "var(--spectrum-negative-color-1000)",
"light": {
- "value": "rgb(43, 209, 125)"
+ "value": "rgb(183, 40, 24)"
},
"dark": {
- "value": "rgb(2, 87, 58)"
+ "value": "rgb(255, 103, 86)"
}
},
- "positive-color-600": {
- "prop": "--spectrum-positive-color-600",
- "ref": "var(--spectrum-green-600)",
+ "negative-content-color-hover": {
+ "prop": "--spectrum-negative-content-color-hover",
+ "ref": "var(--spectrum-negative-color-1000)",
"light": {
- "value": "rgb(18, 184, 103)"
+ "value": "rgb(183, 40, 24)"
},
"dark": {
- "value": "rgb(3, 106, 67)"
+ "value": "rgb(255, 103, 86)"
}
},
- "positive-color-700": {
- "prop": "--spectrum-positive-color-700",
- "ref": "var(--spectrum-green-700)",
+ "negative-content-color-key-focus": {
+ "prop": "--spectrum-negative-content-color-key-focus",
+ "ref": "var(--spectrum-negative-color-1000)",
"light": {
- "value": "rgb(11, 164, 93)"
+ "value": "rgb(183, 40, 24)"
},
"dark": {
- "value": "rgb(4, 124, 75)"
+ "value": "rgb(255, 103, 86)"
}
},
- "positive-color-800": {
- "prop": "--spectrum-positive-color-800",
- "ref": "var(--spectrum-green-800)",
+ "negative-subdued-background-color-default": {
+ "prop": "--spectrum-negative-subdued-background-color-default",
+ "ref": "var(--spectrum-negative-color-300)",
"light": {
- "value": "rgb(7, 147, 85)"
+ "value": "rgb(255, 235, 232)"
},
"dark": {
- "value": "rgb(6, 136, 80)"
+ "value": "rgb(87, 17, 7)"
}
},
- "positive-color-900": {
- "prop": "--spectrum-positive-color-900",
- "ref": "var(--spectrum-green-900)",
+ "negative-subdued-background-color-down": {
+ "prop": "--spectrum-negative-subdued-background-color-down",
+ "ref": "var(--spectrum-negative-color-300)",
"light": {
- "value": "rgb(5, 131, 78)"
+ "value": "rgb(255, 214, 209)"
},
"dark": {
- "value": "rgb(9, 157, 89)"
+ "value": "rgb(87, 17, 7)"
}
},
- "positive-subtle-background-color-default": {
- "prop": "--spectrum-positive-subtle-background-color-default",
- "ref": "var(--spectrum-positive-color-300)",
+ "negative-subdued-background-color-hover": {
+ "prop": "--spectrum-negative-subdued-background-color-hover",
+ "ref": "var(--spectrum-negative-color-300)",
"light": {
- "value": "rgb(215, 247, 225)"
+ "value": "rgb(255, 214, 209)"
},
"dark": {
- "value": "rgb(0, 51, 38)"
+ "value": "rgb(87, 17, 7)"
}
},
- "positive-visual-color": {
- "prop": "--spectrum-positive-visual-color",
- "ref": "var(--spectrum-positive-color-900)",
+ "negative-subdued-background-color-key-focus": {
+ "prop": "--spectrum-negative-subdued-background-color-key-focus",
+ "ref": "var(--spectrum-negative-color-300)",
"light": {
- "value": "rgb(7, 147, 85)"
+ "value": "rgb(255, 214, 209)"
},
"dark": {
- "value": "rgb(9, 157, 89)"
+ "value": "rgb(87, 17, 7)"
}
},
- "progress-bar-maximum-width": {
- "prop": "--spectrum-progress-bar-maximum-width",
- "value": "768px"
- },
- "progress-bar-minimum-width": {
- "prop": "--spectrum-progress-bar-minimum-width",
- "value": "48px"
- },
- "progress-bar-thickness-extra-large": {
- "prop": "--spectrum-progress-bar-thickness-extra-large",
- "desktop": {
- "value": "10px"
+ "negative-subtle-background-color-default": {
+ "prop": "--spectrum-negative-subtle-background-color-default",
+ "ref": "var(--spectrum-negative-color-300)",
+ "light": {
+ "value": "rgb(255, 235, 232)"
},
- "mobile": {
- "value": "13px"
+ "dark": {
+ "value": "rgb(87, 17, 7)"
}
},
- "progress-bar-thickness-large": {
- "prop": "--spectrum-progress-bar-thickness-large",
- "desktop": {
- "value": "8px"
+ "negative-visual-color": {
+ "prop": "--spectrum-negative-visual-color",
+ "ref": "var(--spectrum-negative-color-900)",
+ "light": {
+ "value": "rgb(240, 56, 35)"
},
- "mobile": {
- "value": "10px"
+ "dark": {
+ "value": "rgb(252, 67, 46)"
}
},
- "progress-bar-thickness-medium": {
- "prop": "--spectrum-progress-bar-thickness-medium",
- "desktop": {
- "value": "6px"
+ "neutral-background-color-default": {
+ "prop": "--spectrum-neutral-background-color-default",
+ "ref": "var(--spectrum-gray-800)",
+ "light": {
+ "value": "rgb(41, 41, 41)"
},
- "mobile": {
- "value": "8px"
+ "dark": {
+ "value": "rgb(219, 219, 219)"
}
},
- "progress-bar-thickness-small": {
- "prop": "--spectrum-progress-bar-thickness-small",
- "desktop": {
- "value": "4px"
+ "neutral-background-color-down": {
+ "prop": "--spectrum-neutral-background-color-down",
+ "ref": "var(--spectrum-gray-900)",
+ "light": {
+ "value": "rgb(19, 19, 19)"
},
- "mobile": {
- "value": "5px"
+ "dark": {
+ "value": "rgb(242, 242, 242)"
}
},
- "progress-circle-size-large": {
- "prop": "--spectrum-progress-circle-size-large",
- "desktop": {
- "value": "64px"
+ "neutral-background-color-hover": {
+ "prop": "--spectrum-neutral-background-color-hover",
+ "ref": "var(--spectrum-gray-900)",
+ "light": {
+ "value": "rgb(19, 19, 19)"
},
- "mobile": {
- "value": "80px"
+ "dark": {
+ "value": "rgb(242, 242, 242)"
}
},
- "progress-circle-size-medium": {
- "prop": "--spectrum-progress-circle-size-medium",
- "desktop": {
- "value": "32px"
+ "neutral-background-color-key-focus": {
+ "prop": "--spectrum-neutral-background-color-key-focus",
+ "ref": "var(--spectrum-gray-900)",
+ "light": {
+ "value": "rgb(19, 19, 19)"
},
- "mobile": {
- "value": "40px"
+ "dark": {
+ "value": "rgb(242, 242, 242)"
}
},
- "progress-circle-size-small": {
- "prop": "--spectrum-progress-circle-size-small",
- "desktop": {
- "value": "16px"
+ "neutral-background-color-selected-default": {
+ "prop": "--spectrum-neutral-background-color-selected-default",
+ "ref": "var(--spectrum-gray-800)",
+ "light": {
+ "value": "rgb(41, 41, 41)"
},
- "mobile": {
- "value": "20px"
+ "dark": {
+ "value": "rgb(219, 219, 219)"
}
},
- "progress-circle-thickness-large": {
- "prop": "--spectrum-progress-circle-thickness-large",
- "desktop": {
- "value": "4px"
+ "neutral-background-color-selected-down": {
+ "prop": "--spectrum-neutral-background-color-selected-down",
+ "ref": "var(--spectrum-gray-900)",
+ "light": {
+ "value": "rgb(19, 19, 19)"
},
- "mobile": {
- "value": "5px"
+ "dark": {
+ "value": "rgb(242, 242, 242)"
}
},
- "progress-circle-thickness-medium": {
- "prop": "--spectrum-progress-circle-thickness-medium",
- "desktop": {
- "value": "3px"
+ "neutral-background-color-selected-hover": {
+ "prop": "--spectrum-neutral-background-color-selected-hover",
+ "ref": "var(--spectrum-gray-900)",
+ "light": {
+ "value": "rgb(19, 19, 19)"
},
- "mobile": {
- "value": "4px"
+ "dark": {
+ "value": "rgb(242, 242, 242)"
}
},
- "progress-circle-thickness-small": {
- "prop": "--spectrum-progress-circle-thickness-small",
- "desktop": {
- "value": "2px"
+ "neutral-background-color-selected-key-focus": {
+ "prop": "--spectrum-neutral-background-color-selected-key-focus",
+ "ref": "var(--spectrum-gray-900)",
+ "light": {
+ "value": "rgb(19, 19, 19)"
},
- "mobile": {
- "value": "3px"
+ "dark": {
+ "value": "rgb(242, 242, 242)"
}
},
- "purple-100": {
- "prop": "--spectrum-purple-100",
+ "neutral-content-color-default": {
+ "prop": "--spectrum-neutral-content-color-default",
+ "ref": "var(--spectrum-gray-800)",
"light": {
- "value": "rgb(251, 247, 254)"
+ "value": "rgb(41, 41, 41)"
},
"dark": {
- "value": "rgb(41, 0, 79)"
+ "value": "rgb(219, 219, 219)"
}
},
- "purple-1000": {
- "prop": "--spectrum-purple-1000",
+ "neutral-content-color-down": {
+ "prop": "--spectrum-neutral-content-color-down",
+ "ref": "var(--spectrum-gray-900)",
"light": {
- "value": "rgb(134, 40, 217)"
+ "value": "rgb(19, 19, 19)"
},
"dark": {
- "value": "rgb(186, 127, 237)"
+ "value": "rgb(242, 242, 242)"
}
},
- "purple-1100": {
- "prop": "--spectrum-purple-1100",
+ "neutral-content-color-focus": {
+ "prop": "--spectrum-neutral-content-color-focus",
+ "ref": "var(--spectrum-neutral-content-color-down)",
"light": {
- "value": "rgb(115, 13, 204)"
+ "value": "rgb(19, 19, 19)"
},
"dark": {
- "value": "rgb(197, 149, 240)"
+ "value": "rgb(242, 242, 242)"
}
},
- "purple-1200": {
- "prop": "--spectrum-purple-1200",
+ "neutral-content-color-focus-hover": {
+ "prop": "--spectrum-neutral-content-color-focus-hover",
+ "ref": "var(--spectrum-neutral-content-color-down)",
"light": {
- "value": "rgb(93, 0, 177)"
+ "value": "rgb(19, 19, 19)"
},
"dark": {
- "value": "rgb(212, 176, 244)"
+ "value": "rgb(242, 242, 242)"
}
},
- "purple-1300": {
- "prop": "--spectrum-purple-1300",
+ "neutral-content-color-hover": {
+ "prop": "--spectrum-neutral-content-color-hover",
+ "ref": "var(--spectrum-gray-900)",
"light": {
- "value": "rgb(75, 0, 144)"
+ "value": "rgb(19, 19, 19)"
},
"dark": {
- "value": "rgb(225, 201, 247)"
+ "value": "rgb(242, 242, 242)"
}
},
- "purple-1400": {
- "prop": "--spectrum-purple-1400",
+ "neutral-content-color-key-focus": {
+ "prop": "--spectrum-neutral-content-color-key-focus",
+ "ref": "var(--spectrum-gray-900)",
"light": {
- "value": "rgb(59, 0, 111)"
+ "value": "rgb(19, 19, 19)"
},
"dark": {
- "value": "rgb(238, 224, 250)"
+ "value": "rgb(242, 242, 242)"
}
},
- "purple-1500": {
- "prop": "--spectrum-purple-1500",
- "dark": {
- "value": "rgb(248, 243, 253)"
- },
+ "neutral-subdued-background-color-default": {
+ "prop": "--spectrum-neutral-subdued-background-color-default",
+ "ref": "var(--spectrum-gray-500)",
"light": {
- "value": "rgb(44, 0, 84)"
+ "value": "rgb(80, 80, 80)"
+ },
+ "dark": {
+ "value": "rgb(109, 109, 109)"
}
},
- "purple-1600": {
- "prop": "--spectrum-purple-1600",
- "dark": {
- "value": "rgb(255, 255, 255)"
- },
+ "neutral-subdued-background-color-down": {
+ "prop": "--spectrum-neutral-subdued-background-color-down",
+ "ref": "var(--spectrum-gray-400)",
"light": {
- "value": "rgb(23, 0, 45)"
+ "value": "rgb(41, 41, 41)"
+ },
+ "dark": {
+ "value": "rgb(68, 68, 68)"
}
},
- "purple-200": {
- "prop": "--spectrum-purple-200",
+ "neutral-subdued-background-color-hover": {
+ "prop": "--spectrum-neutral-subdued-background-color-hover",
+ "ref": "var(--spectrum-gray-400)",
"light": {
- "value": "rgb(244, 235, 252)"
+ "value": "rgb(41, 41, 41)"
},
"dark": {
- "value": "rgb(50, 0, 96)"
+ "value": "rgb(68, 68, 68)"
}
},
- "purple-300": {
- "prop": "--spectrum-purple-300",
+ "neutral-subdued-background-color-key-focus": {
+ "prop": "--spectrum-neutral-subdued-background-color-key-focus",
+ "ref": "var(--spectrum-gray-400)",
"light": {
- "value": "rgb(235, 218, 249)"
+ "value": "rgb(41, 41, 41)"
},
"dark": {
- "value": "rgb(64, 0, 122)"
+ "value": "rgb(68, 68, 68)"
}
},
- "purple-400": {
- "prop": "--spectrum-purple-400",
+ "neutral-subdued-content-color-default": {
+ "prop": "--spectrum-neutral-subdued-content-color-default",
+ "ref": "var(--spectrum-gray-700)",
"light": {
- "value": "rgb(221, 193, 246)"
+ "value": "rgb(80, 80, 80)"
},
"dark": {
- "value": "rgb(83, 0, 159)"
+ "value": "rgb(175, 175, 175)"
}
},
- "purple-500": {
- "prop": "--spectrum-purple-500",
+ "neutral-subdued-content-color-down": {
+ "prop": "--spectrum-neutral-subdued-content-color-down",
+ "ref": "var(--spectrum-gray-800)",
"light": {
- "value": "rgb(208, 167, 243)"
+ "value": "rgb(41, 41, 41)"
},
"dark": {
- "value": "rgb(107, 6, 195)"
+ "value": "rgb(219, 219, 219)"
}
},
- "purple-600": {
- "prop": "--spectrum-purple-600",
+ "neutral-subdued-content-color-hover": {
+ "prop": "--spectrum-neutral-subdued-content-color-hover",
+ "ref": "var(--spectrum-gray-800)",
"light": {
- "value": "rgb(191, 138, 238)"
+ "value": "rgb(41, 41, 41)"
},
"dark": {
- "value": "rgb(130, 34, 215)"
+ "value": "rgb(219, 219, 219)"
}
},
- "purple-700": {
- "prop": "--spectrum-purple-700",
+ "neutral-subdued-content-color-key-focus": {
+ "prop": "--spectrum-neutral-subdued-content-color-key-focus",
+ "ref": "var(--spectrum-gray-800)",
"light": {
- "value": "rgb(178, 114, 235)"
+ "value": "rgb(41, 41, 41)"
},
"dark": {
- "value": "rgb(148, 62, 224)"
+ "value": "rgb(219, 219, 219)"
}
},
- "purple-800": {
- "prop": "--spectrum-purple-800",
+ "neutral-subdued-content-color-selected": {
+ "prop": "--spectrum-neutral-subdued-content-color-selected",
+ "ref": "var(--spectrum-neutral-subdued-content-color-down)",
"light": {
- "value": "rgb(166, 92, 231)"
+ "value": "rgb(41, 41, 41)"
},
"dark": {
- "value": "rgb(157, 78, 228)"
+ "value": "rgb(219, 219, 219)"
}
},
- "purple-900": {
- "prop": "--spectrum-purple-900",
+ "neutral-subtle-background-color-default": {
+ "prop": "--spectrum-neutral-subtle-background-color-default",
+ "ref": "var(--spectrum-gray-300)",
"light": {
- "value": "rgb(154, 71, 226)"
+ "value": "rgb(233, 233, 233)"
},
"dark": {
- "value": "rgb(173, 105, 233)"
+ "value": "rgb(57, 57, 57)"
}
},
- "purple-background-color-default": {
- "prop": "--spectrum-purple-background-color-default",
- "ref": "var(--spectrum-purple-800)",
+ "neutral-visual-color": {
+ "prop": "--spectrum-neutral-visual-color",
+ "ref": "var(--spectrum-gray-600)",
"light": {
- "value": "rgb(154, 71, 226)"
+ "value": "rgb(143, 143, 143)"
},
"dark": {
- "value": "rgb(157, 78, 228)"
+ "value": "rgb(138, 138, 138)"
}
},
- "purple-subtle-background-color-default": {
- "prop": "--spectrum-purple-subtle-background-color-default",
- "ref": "var(--spectrum-purple-300)",
+ "notice-background-color-default": {
+ "prop": "--spectrum-notice-background-color-default",
+ "ref": "var(--spectrum-notice-color-600)",
+ "dark": {
+ "value": "rgb(224, 100, 0)"
+ },
"light": {
- "value": "rgb(244, 235, 252)"
+ "value": "rgb(252, 125, 0)"
+ }
+ },
+ "notice-color-100": {
+ "prop": "--spectrum-notice-color-100",
+ "ref": "var(--spectrum-orange-100)",
+ "light": {
+ "value": "rgb(255, 246, 231)"
},
"dark": {
- "value": "rgb(64, 0, 122)"
+ "value": "rgb(49, 16, 0)"
}
},
- "purple-visual-color": {
- "prop": "--spectrum-purple-visual-color",
- "ref": "var(--spectrum-purple-900)",
+ "notice-color-1000": {
+ "prop": "--spectrum-notice-color-1000",
+ "ref": "var(--spectrum-orange-1000)",
"light": {
- "value": "rgb(166, 92, 231)"
+ "value": "rgb(167, 62, 0)"
},
"dark": {
- "value": "rgb(173, 105, 233)"
+ "value": "rgb(243, 117, 0)"
}
},
- "radio-button-control-size-extra-large": {
- "prop": "--spectrum-radio-button-control-size-extra-large",
- "desktop": {
- "value": "18px"
+ "notice-color-1100": {
+ "prop": "--spectrum-notice-color-1100",
+ "ref": "var(--spectrum-orange-1100)",
+ "light": {
+ "value": "rgb(144, 51, 0)"
},
- "mobile": {
- "value": "22px"
+ "dark": {
+ "value": "rgb(255, 137, 0)"
}
},
- "radio-button-control-size-large": {
- "prop": "--spectrum-radio-button-control-size-large",
- "desktop": {
- "value": "16px"
+ "notice-color-1200": {
+ "prop": "--spectrum-notice-color-1200",
+ "ref": "var(--spectrum-orange-1200)",
+ "light": {
+ "value": "rgb(118, 41, 0)"
},
- "mobile": {
- "value": "20px"
+ "dark": {
+ "value": "rgb(255, 173, 45)"
}
},
- "radio-button-control-size-medium": {
- "prop": "--spectrum-radio-button-control-size-medium",
- "desktop": {
- "value": "14px"
+ "notice-color-1300": {
+ "prop": "--spectrum-notice-color-1300",
+ "ref": "var(--spectrum-orange-1300)",
+ "light": {
+ "value": "rgb(95, 32, 0)"
},
- "mobile": {
- "value": "18px"
+ "dark": {
+ "value": "rgb(255, 201, 116)"
}
},
- "radio-button-control-size-small": {
- "prop": "--spectrum-radio-button-control-size-small",
- "desktop": {
- "value": "12px"
+ "notice-color-1400": {
+ "prop": "--spectrum-notice-color-1400",
+ "ref": "var(--spectrum-orange-1400)",
+ "light": {
+ "value": "rgb(73, 24, 0)"
},
- "mobile": {
- "value": "16px"
+ "dark": {
+ "value": "rgb(255, 225, 178)"
}
},
- "radio-button-selection-indicator": {
- "prop": "--spectrum-radio-button-selection-indicator",
- "value": "4px"
- },
- "radio-button-top-to-control-extra-large": {
- "prop": "--spectrum-radio-button-top-to-control-extra-large",
- "desktop": {
- "value": "15px"
+ "notice-color-1500": {
+ "prop": "--spectrum-notice-color-1500",
+ "ref": "var(--spectrum-orange-1500)",
+ "dark": {
+ "value": "rgb(255, 243, 225)"
},
- "mobile": {
- "value": "19px"
+ "light": {
+ "value": "rgb(52, 18, 0)"
}
},
- "radio-button-top-to-control-large": {
- "prop": "--spectrum-radio-button-top-to-control-large",
- "desktop": {
- "value": "12px"
+ "notice-color-1600": {
+ "prop": "--spectrum-notice-color-1600",
+ "ref": "var(--spectrum-orange-1600)",
+ "dark": {
+ "value": "rgb(255, 255, 255)"
},
- "mobile": {
- "value": "15px"
+ "light": {
+ "value": "rgb(25, 8, 0)"
}
},
- "radio-button-top-to-control-medium": {
- "prop": "--spectrum-radio-button-top-to-control-medium",
- "desktop": {
- "value": "9px"
+ "notice-color-200": {
+ "prop": "--spectrum-notice-color-200",
+ "ref": "var(--spectrum-orange-200)",
+ "light": {
+ "value": "rgb(255, 236, 207)"
},
- "mobile": {
- "value": "11px"
+ "dark": {
+ "value": "rgb(61, 21, 0)"
}
},
- "radio-button-top-to-control-small": {
- "prop": "--spectrum-radio-button-top-to-control-small",
- "desktop": {
- "value": "6px"
+ "notice-color-300": {
+ "prop": "--spectrum-notice-color-300",
+ "ref": "var(--spectrum-orange-300)",
+ "light": {
+ "value": "rgb(255, 218, 158)"
},
- "mobile": {
- "value": "7px"
+ "dark": {
+ "value": "rgb(80, 27, 0)"
}
},
- "rating-indicator-to-icon": {
- "prop": "--spectrum-rating-indicator-to-icon",
- "desktop": {
- "value": "4px"
+ "notice-color-400": {
+ "prop": "--spectrum-notice-color-400",
+ "ref": "var(--spectrum-orange-400)",
+ "light": {
+ "value": "rgb(255, 193, 94)"
},
- "mobile": {
- "value": "5px"
+ "dark": {
+ "value": "rgb(106, 36, 0)"
}
},
- "rating-indicator-width": {
- "prop": "--spectrum-rating-indicator-width",
- "desktop": {
- "value": "18px"
+ "notice-color-500": {
+ "prop": "--spectrum-notice-color-500",
+ "ref": "var(--spectrum-orange-500)",
+ "light": {
+ "value": "rgb(255, 162, 19)"
},
- "mobile": {
- "value": "22px"
+ "dark": {
+ "value": "rgb(135, 47, 0)"
}
},
- "red-100": {
- "prop": "--spectrum-red-100",
+ "notice-color-600": {
+ "prop": "--spectrum-notice-color-600",
+ "ref": "var(--spectrum-orange-600)",
"light": {
- "value": "rgb(255, 246, 245)"
+ "value": "rgb(252, 125, 0)"
},
"dark": {
- "value": "rgb(54, 10, 3)"
+ "value": "rgb(162, 59, 0)"
}
},
- "red-1000": {
- "prop": "--spectrum-red-1000",
+ "notice-color-700": {
+ "prop": "--spectrum-notice-color-700",
+ "ref": "var(--spectrum-orange-700)",
"light": {
- "value": "rgb(183, 40, 24)"
+ "value": "rgb(232, 106, 0)"
},
"dark": {
- "value": "rgb(255, 103, 86)"
+ "value": "rgb(185, 73, 0)"
}
},
- "red-1100": {
- "prop": "--spectrum-red-1100",
+ "notice-color-800": {
+ "prop": "--spectrum-notice-color-800",
+ "ref": "var(--spectrum-orange-800)",
"light": {
- "value": "rgb(156, 33, 19)"
+ "value": "rgb(212, 91, 0)"
},
"dark": {
- "value": "rgb(255, 134, 120)"
+ "value": "rgb(199, 82, 0)"
}
},
- "red-1200": {
- "prop": "--spectrum-red-1200",
+ "notice-color-900": {
+ "prop": "--spectrum-notice-color-900",
+ "ref": "var(--spectrum-orange-900)",
"light": {
- "value": "rgb(129, 27, 14)"
+ "value": "rgb(194, 78, 0)"
},
"dark": {
- "value": "rgb(255, 167, 157)"
+ "value": "rgb(224, 100, 0)"
}
},
- "red-1300": {
- "prop": "--spectrum-red-1300",
+ "notice-subtle-background-color-default": {
+ "prop": "--spectrum-notice-subtle-background-color-default",
+ "ref": "var(--spectrum-notice-color-300)",
"light": {
- "value": "rgb(104, 21, 10)"
+ "value": "rgb(255, 236, 207)"
},
"dark": {
- "value": "rgb(255, 196, 189)"
+ "value": "rgb(80, 27, 0)"
}
},
- "red-1400": {
- "prop": "--spectrum-red-1400",
+ "notice-visual-color": {
+ "prop": "--spectrum-notice-visual-color",
+ "ref": "var(--spectrum-notice-color-900)",
"light": {
- "value": "rgb(80, 16, 6)"
+ "value": "rgb(212, 91, 0)"
},
"dark": {
- "value": "rgb(255, 222, 219)"
+ "value": "rgb(224, 100, 0)"
}
},
- "red-1500": {
- "prop": "--spectrum-red-1500",
- "dark": {
- "value": "rgb(255, 242, 240)"
+ "number-field-minimum-width-multiplier": {
+ "prop": "--spectrum-number-field-minimum-width-multiplier",
+ "value": 1.25
+ },
+ "number-field-visual-to-in-field-stepper-extra-large": {
+ "prop": "--spectrum-number-field-visual-to-in-field-stepper-extra-large",
+ "desktop": {
+ "value": "8px"
},
- "light": {
- "value": "rgb(59, 11, 4)"
+ "mobile": {
+ "value": "10px"
}
},
- "red-1600": {
- "prop": "--spectrum-red-1600",
- "dark": {
- "value": "rgb(255, 255, 255)"
+ "number-field-visual-to-in-field-stepper-large": {
+ "prop": "--spectrum-number-field-visual-to-in-field-stepper-large",
+ "desktop": {
+ "value": "7px"
},
- "light": {
- "value": "rgb(29, 5, 2)"
+ "mobile": {
+ "value": "9px"
}
},
- "red-200": {
- "prop": "--spectrum-red-200",
- "light": {
- "value": "rgb(255, 235, 232)"
+ "number-field-visual-to-in-field-stepper-medium": {
+ "prop": "--spectrum-number-field-visual-to-in-field-stepper-medium",
+ "desktop": {
+ "value": "6px"
},
- "dark": {
- "value": "rgb(68, 13, 5)"
+ "mobile": {
+ "value": "8px"
}
},
- "red-300": {
- "prop": "--spectrum-red-300",
- "light": {
- "value": "rgb(255, 214, 209)"
+ "number-field-visual-to-in-field-stepper-small": {
+ "prop": "--spectrum-number-field-visual-to-in-field-stepper-small",
+ "desktop": {
+ "value": "5px"
},
- "dark": {
- "value": "rgb(87, 17, 7)"
+ "mobile": {
+ "value": "7px"
}
},
- "red-400": {
- "prop": "--spectrum-red-400",
- "light": {
- "value": "rgb(255, 188, 180)"
+ "number-field-with-stepper-minimum-width-extra-large": {
+ "prop": "--spectrum-number-field-with-stepper-minimum-width-extra-large",
+ "desktop": {
+ "value": "168px"
},
- "dark": {
- "value": "rgb(115, 24, 11)"
+ "mobile": {
+ "value": "198px"
}
},
- "red-500": {
- "prop": "--spectrum-red-500",
- "light": {
- "value": "rgb(255, 157, 145)"
+ "number-field-with-stepper-minimum-width-large": {
+ "prop": "--spectrum-number-field-with-stepper-minimum-width-large",
+ "desktop": {
+ "value": "144px"
},
- "dark": {
- "value": "rgb(147, 31, 17)"
+ "mobile": {
+ "value": "174px"
}
},
- "red-600": {
- "prop": "--spectrum-red-600",
- "light": {
- "value": "rgb(255, 118, 101)"
+ "number-field-with-stepper-minimum-width-medium": {
+ "prop": "--spectrum-number-field-with-stepper-minimum-width-medium",
+ "desktop": {
+ "value": "120px"
},
- "dark": {
- "value": "rgb(177, 38, 23)"
+ "mobile": {
+ "value": "150px"
}
},
- "red-700": {
- "prop": "--spectrum-red-700",
- "light": {
- "value": "rgb(255, 81, 61)"
+ "number-field-with-stepper-minimum-width-small": {
+ "prop": "--spectrum-number-field-with-stepper-minimum-width-small",
+ "desktop": {
+ "value": "104px"
},
- "dark": {
- "value": "rgb(205, 46, 29)"
+ "mobile": {
+ "value": "126px"
}
},
- "red-800": {
- "prop": "--spectrum-red-800",
+ "opacity-checkerboard-square-dark": {
+ "prop": "--spectrum-opacity-checkerboard-square-dark",
+ "ref": "var(--spectrum-gray-800)",
"light": {
- "value": "rgb(240, 56, 35)"
+ "value": "rgb(225, 225, 225)"
},
"dark": {
- "value": "rgb(223, 52, 34)"
+ "value": "rgb(219, 219, 219)"
}
},
- "red-900": {
- "prop": "--spectrum-red-900",
- "light": {
- "value": "rgb(215, 50, 32)"
+ "opacity-checkerboard-square-light": {
+ "prop": "--spectrum-opacity-checkerboard-square-light",
+ "ref": "var(--spectrum-white)",
+ "value": "rgb(255, 255, 255)"
+ },
+ "opacity-checkerboard-square-size": {
+ "prop": "--spectrum-opacity-checkerboard-square-size",
+ "ref": "var(--spectrum-opacity-checkerboard-square-size-medium)",
+ "desktop": {
+ "value": "8px"
},
- "dark": {
- "value": "rgb(252, 67, 46)"
+ "mobile": {
+ "value": "10px"
}
},
- "red-background-color-default": {
- "prop": "--spectrum-red-background-color-default",
- "ref": "var(--spectrum-red-800)",
- "light": {
- "value": "rgb(215, 50, 32)"
+ "opacity-checkerboard-square-size-medium": {
+ "prop": "--spectrum-opacity-checkerboard-square-size-medium",
+ "desktop": {
+ "value": "8px"
},
- "dark": {
- "value": "rgb(223, 52, 34)"
+ "mobile": {
+ "value": "10px"
}
},
- "red-subtle-background-color-default": {
- "prop": "--spectrum-red-subtle-background-color-default",
- "ref": "var(--spectrum-red-300)",
- "light": {
- "value": "rgb(255, 235, 232)"
+ "opacity-checkerboard-square-size-small": {
+ "prop": "--spectrum-opacity-checkerboard-square-size-small",
+ "desktop": {
+ "value": "4px"
},
- "dark": {
- "value": "rgb(87, 17, 7)"
+ "mobile": {
+ "value": "5px"
}
},
- "red-visual-color": {
- "prop": "--spectrum-red-visual-color",
- "ref": "var(--spectrum-red-700)",
+ "opacity-disabled": {
+ "prop": "--spectrum-opacity-disabled",
+ "value": "0.3"
+ },
+ "orange-100": {
+ "prop": "--spectrum-orange-100",
"light": {
- "value": "rgb(240, 56, 35)"
+ "value": "rgb(255, 246, 231)"
},
"dark": {
- "value": "rgb(205, 46, 29)"
+ "value": "rgb(49, 16, 0)"
}
},
- "regular-font-weight": {
- "prop": "--spectrum-regular-font-weight",
- "value": "400"
+ "orange-1000": {
+ "prop": "--spectrum-orange-1000",
+ "light": {
+ "value": "rgb(167, 62, 0)"
+ },
+ "dark": {
+ "value": "rgb(243, 117, 0)"
+ }
},
- "sans-serif-font-family": {
- "prop": "--spectrum-sans-serif-font-family",
- "value": "Adobe Clean"
+ "orange-1100": {
+ "prop": "--spectrum-orange-1100",
+ "light": {
+ "value": "rgb(144, 51, 0)"
+ },
+ "dark": {
+ "value": "rgb(255, 137, 0)"
+ }
},
- "seafoam-100": {
- "prop": "--spectrum-seafoam-100",
+ "orange-1200": {
+ "prop": "--spectrum-orange-1200",
"light": {
- "value": "rgb(235, 251, 246)"
+ "value": "rgb(118, 41, 0)"
},
"dark": {
- "value": "rgb(0, 30, 27)"
+ "value": "rgb(255, 173, 45)"
}
},
- "seafoam-1000": {
- "prop": "--spectrum-seafoam-1000",
+ "orange-1300": {
+ "prop": "--spectrum-orange-1300",
"light": {
- "value": "rgb(5, 108, 92)"
+ "value": "rgb(95, 32, 0)"
},
"dark": {
- "value": "rgb(12, 173, 142)"
+ "value": "rgb(255, 201, 116)"
}
},
- "seafoam-1100": {
- "prop": "--spectrum-seafoam-1100",
+ "orange-1400": {
+ "prop": "--spectrum-orange-1400",
"light": {
- "value": "rgb(3, 92, 80)"
+ "value": "rgb(73, 24, 0)"
},
"dark": {
- "value": "rgb(14, 190, 156)"
+ "value": "rgb(255, 225, 178)"
}
},
- "seafoam-1200": {
- "prop": "--spectrum-seafoam-1200",
+ "orange-1500": {
+ "prop": "--spectrum-orange-1500",
+ "dark": {
+ "value": "rgb(255, 243, 225)"
+ },
"light": {
- "value": "rgb(1, 75, 67)"
+ "value": "rgb(52, 18, 0)"
+ }
+ },
+ "orange-1600": {
+ "prop": "--spectrum-orange-1600",
+ "dark": {
+ "value": "rgb(255, 255, 255)"
+ },
+ "light": {
+ "value": "rgb(25, 8, 0)"
+ }
+ },
+ "orange-200": {
+ "prop": "--spectrum-orange-200",
+ "light": {
+ "value": "rgb(255, 236, 207)"
},
"dark": {
- "value": "rgb(29, 214, 176)"
+ "value": "rgb(61, 21, 0)"
}
},
- "seafoam-1300": {
- "prop": "--spectrum-seafoam-1300",
+ "orange-300": {
+ "prop": "--spectrum-orange-300",
"light": {
- "value": "rgb(0, 60, 54)"
+ "value": "rgb(255, 218, 158)"
},
"dark": {
- "value": "rgb(122, 229, 203)"
+ "value": "rgb(80, 27, 0)"
}
},
- "seafoam-1400": {
- "prop": "--spectrum-seafoam-1400",
+ "orange-400": {
+ "prop": "--spectrum-orange-400",
"light": {
- "value": "rgb(0, 46, 40)"
+ "value": "rgb(255, 193, 94)"
},
"dark": {
- "value": "rgb(186, 241, 222)"
+ "value": "rgb(106, 36, 0)"
}
},
- "seafoam-1500": {
- "prop": "--spectrum-seafoam-1500",
+ "orange-500": {
+ "prop": "--spectrum-orange-500",
+ "light": {
+ "value": "rgb(255, 162, 19)"
+ },
"dark": {
- "value": "rgb(229, 249, 243)"
+ "value": "rgb(135, 47, 0)"
+ }
+ },
+ "orange-600": {
+ "prop": "--spectrum-orange-600",
+ "light": {
+ "value": "rgb(252, 125, 0)"
},
+ "dark": {
+ "value": "rgb(162, 59, 0)"
+ }
+ },
+ "orange-700": {
+ "prop": "--spectrum-orange-700",
"light": {
- "value": "rgb(0, 33, 29)"
+ "value": "rgb(232, 106, 0)"
+ },
+ "dark": {
+ "value": "rgb(185, 73, 0)"
}
},
- "seafoam-1600": {
- "prop": "--spectrum-seafoam-1600",
+ "orange-800": {
+ "prop": "--spectrum-orange-800",
+ "light": {
+ "value": "rgb(212, 91, 0)"
+ },
"dark": {
- "value": "rgb(255, 255, 255)"
+ "value": "rgb(199, 82, 0)"
+ }
+ },
+ "orange-900": {
+ "prop": "--spectrum-orange-900",
+ "light": {
+ "value": "rgb(194, 78, 0)"
},
+ "dark": {
+ "value": "rgb(224, 100, 0)"
+ }
+ },
+ "orange-background-color-default": {
+ "prop": "--spectrum-orange-background-color-default",
+ "ref": "var(--spectrum-orange-900)",
"light": {
- "value": "rgb(0, 15, 14)"
+ "value": "rgb(252, 125, 0)"
+ },
+ "dark": {
+ "value": "rgb(224, 100, 0)"
}
},
- "seafoam-200": {
- "prop": "--spectrum-seafoam-200",
+ "orange-subtle-background-color-default": {
+ "prop": "--spectrum-orange-subtle-background-color-default",
+ "ref": "var(--spectrum-orange-300)",
"light": {
- "value": "rgb(211, 246, 234)"
+ "value": "rgb(255, 236, 207)"
},
"dark": {
- "value": "rgb(0, 39, 35)"
+ "value": "rgb(80, 27, 0)"
+ }
+ },
+ "orange-visual-color": {
+ "prop": "--spectrum-orange-visual-color",
+ "ref": "var(--spectrum-orange-900)",
+ "light": {
+ "value": "rgb(232, 106, 0)"
+ },
+ "dark": {
+ "value": "rgb(224, 100, 0)"
+ }
+ },
+ "overlay-color": {
+ "prop": "--spectrum-overlay-color",
+ "ref": "var(--spectrum-black)",
+ "value": "rgb(0, 0, 0)"
+ },
+ "overlay-opacity": {
+ "prop": "--spectrum-overlay-opacity",
+ "light": {
+ "value": "0.4"
+ },
+ "dark": {
+ "value": "0.6"
+ }
+ },
+ "picker-border-width": {
+ "prop": "--spectrum-picker-border-width",
+ "ref": "var(--spectrum-border-width-100)",
+ "value": "1px"
+ },
+ "picker-end-edge-to-disclosure-icon-quiet": {
+ "prop": "--spectrum-picker-end-edge-to-disclosure-icon-quiet",
+ "value": "0px"
+ },
+ "picker-end-edge-to-disclousure-icon-quiet": {
+ "prop": "--spectrum-picker-end-edge-to-disclousure-icon-quiet",
+ "ref": "var(--spectrum-picker-end-edge-to-disclosure-icon-quiet)",
+ "value": "0px"
+ },
+ "picker-minimum-width-multiplier": {
+ "prop": "--spectrum-picker-minimum-width-multiplier",
+ "value": 2
+ },
+ "picker-visual-to-disclosure-icon-extra-large": {
+ "prop": "--spectrum-picker-visual-to-disclosure-icon-extra-large",
+ "desktop": {
+ "value": "10px"
+ },
+ "mobile": {
+ "value": "13px"
+ }
+ },
+ "picker-visual-to-disclosure-icon-large": {
+ "prop": "--spectrum-picker-visual-to-disclosure-icon-large",
+ "desktop": {
+ "value": "9px"
+ },
+ "mobile": {
+ "value": "11px"
+ }
+ },
+ "picker-visual-to-disclosure-icon-medium": {
+ "prop": "--spectrum-picker-visual-to-disclosure-icon-medium",
+ "desktop": {
+ "value": "8px"
+ },
+ "mobile": {
+ "value": "10px"
+ }
+ },
+ "picker-visual-to-disclosure-icon-small": {
+ "prop": "--spectrum-picker-visual-to-disclosure-icon-small",
+ "desktop": {
+ "value": "7px"
+ },
+ "mobile": {
+ "value": "9px"
+ }
+ },
+ "pink-100": {
+ "prop": "--spectrum-pink-100",
+ "dark": {
+ "value": "rgb(58, 0, 37)"
+ },
+ "light": {
+ "value": "rgb(255, 246, 252)"
}
},
- "seafoam-300": {
- "prop": "--spectrum-seafoam-300",
- "light": {
- "value": "rgb(169, 237, 216)"
- },
- "dark": {
- "value": "rgb(0, 50, 44)"
- }
+ "pink-1000": {
+ "prop": "--spectrum-pink-1000",
+ "dark": {
+ "value": "rgb(251, 90, 196)"
+ },
+ "light": {
+ "value": "rgb(176, 31, 123)"
+ }
+ },
+ "pink-1100": {
+ "prop": "--spectrum-pink-1100",
+ "dark": {
+ "value": "rgb(255, 122, 210)"
+ },
+ "light": {
+ "value": "rgb(152, 22, 104)"
+ }
+ },
+ "pink-1200": {
+ "prop": "--spectrum-pink-1200",
+ "dark": {
+ "value": "rgb(255, 159, 223)"
+ },
+ "light": {
+ "value": "rgb(128, 12, 85)"
+ }
+ },
+ "pink-1300": {
+ "prop": "--spectrum-pink-1300",
+ "dark": {
+ "value": "rgb(255, 191, 234)"
+ },
+ "light": {
+ "value": "rgb(105, 3, 68)"
+ }
+ },
+ "pink-1400": {
+ "prop": "--spectrum-pink-1400",
+ "dark": {
+ "value": "rgb(255, 219, 243)"
+ },
+ "light": {
+ "value": "rgb(83, 0, 53)"
+ }
+ },
+ "pink-1500": {
+ "prop": "--spectrum-pink-1500",
+ "dark": {
+ "value": "rgb(255, 241, 250)"
+ },
+ "light": {
+ "value": "rgb(62, 0, 39)"
+ }
+ },
+ "pink-1600": {
+ "prop": "--spectrum-pink-1600",
+ "dark": {
+ "value": "rgb(255, 255, 255)"
+ },
+ "light": {
+ "value": "rgb(33, 0, 21)"
+ }
+ },
+ "pink-200": {
+ "prop": "--spectrum-pink-200",
+ "dark": {
+ "value": "rgb(71, 0, 44)"
+ },
+ "light": {
+ "value": "rgb(255, 232, 247)"
+ }
+ },
+ "pink-300": {
+ "prop": "--spectrum-pink-300",
+ "dark": {
+ "value": "rgb(90, 0, 57)"
+ },
+ "light": {
+ "value": "rgb(255, 211, 240)"
+ }
+ },
+ "pink-400": {
+ "prop": "--spectrum-pink-400",
+ "dark": {
+ "value": "rgb(115, 7, 75)"
+ },
+ "light": {
+ "value": "rgb(255, 181, 230)"
+ }
+ },
+ "pink-500": {
+ "prop": "--spectrum-pink-500",
+ "dark": {
+ "value": "rgb(143, 18, 97)"
+ },
+ "light": {
+ "value": "rgb(255, 148, 219)"
+ }
+ },
+ "pink-600": {
+ "prop": "--spectrum-pink-600",
+ "dark": {
+ "value": "rgb(171, 29, 119)"
+ },
+ "light": {
+ "value": "rgb(255, 103, 204)"
+ }
+ },
+ "pink-700": {
+ "prop": "--spectrum-pink-700",
+ "dark": {
+ "value": "rgb(196, 39, 138)"
+ },
+ "light": {
+ "value": "rgb(242, 76, 184)"
+ }
+ },
+ "pink-800": {
+ "prop": "--spectrum-pink-800",
+ "dark": {
+ "value": "rgb(213, 45, 151)"
+ },
+ "light": {
+ "value": "rgb(228, 52, 163)"
+ }
+ },
+ "pink-900": {
+ "prop": "--spectrum-pink-900",
+ "dark": {
+ "value": "rgb(236, 67, 175)"
+ },
+ "light": {
+ "value": "rgb(206, 42, 146)"
+ }
+ },
+ "pink-background-color-default": {
+ "prop": "--spectrum-pink-background-color-default",
+ "ref": "var(--spectrum-pink-800)",
+ "light": {
+ "value": "rgb(206, 42, 146)"
+ },
+ "dark": {
+ "value": "rgb(213, 45, 151)"
+ }
+ },
+ "pink-subtle-background-color-default": {
+ "prop": "--spectrum-pink-subtle-background-color-default",
+ "ref": "var(--spectrum-pink-300)",
+ "light": {
+ "value": "rgb(255, 232, 247)"
+ },
+ "dark": {
+ "value": "rgb(90, 0, 57)"
+ }
+ },
+ "pink-visual-color": {
+ "prop": "--spectrum-pink-visual-color",
+ "ref": "var(--spectrum-pink-900)",
+ "light": {
+ "value": "rgb(228, 52, 163)"
+ },
+ "dark": {
+ "value": "rgb(236, 67, 175)"
+ }
+ },
+ "popover-border-color": {
+ "prop": "--spectrum-popover-border-color",
+ "light": {
+ "ref": "var(--spectrum-transparent-white-25)",
+ "value": "rgba(255, 255, 255, 0)"
+ },
+ "ref": "var(--spectrum-gray-400)",
+ "dark": {
+ "value": "rgb(68, 68, 68)"
+ }
+ },
+ "popover-border-opacity": {
+ "prop": "--spectrum-popover-border-opacity",
+ "light": {
+ "value": "0"
+ },
+ "dark": {
+ "value": "1.0"
+ }
+ },
+ "popover-edge-to-content-area": {
+ "prop": "--spectrum-popover-edge-to-content-area",
+ "ref": "var(--spectrum-spacing-100)",
+ "value": "8px"
+ },
+ "popover-tip-height": {
+ "prop": "--spectrum-popover-tip-height",
+ "value": "8px"
+ },
+ "popover-tip-width": {
+ "prop": "--spectrum-popover-tip-width",
+ "value": "16px"
+ },
+ "popover-top-to-content-area": {
+ "prop": "--spectrum-popover-top-to-content-area",
+ "ref": "var(--spectrum-popover-edge-to-content-area)",
+ "value": "8px"
+ },
+ "positive-background-color-default": {
+ "prop": "--spectrum-positive-background-color-default",
+ "ref": "var(--spectrum-positive-color-800)",
+ "light": {
+ "value": "rgb(5, 131, 78)"
+ },
+ "dark": {
+ "value": "rgb(6, 136, 80)"
+ }
+ },
+ "positive-background-color-down": {
+ "prop": "--spectrum-positive-background-color-down",
+ "ref": "var(--spectrum-positive-color-700)",
+ "light": {
+ "value": "rgb(3, 110, 69)"
+ },
+ "dark": {
+ "value": "rgb(4, 124, 75)"
+ }
+ },
+ "positive-background-color-hover": {
+ "prop": "--spectrum-positive-background-color-hover",
+ "ref": "var(--spectrum-positive-color-700)",
+ "light": {
+ "value": "rgb(3, 110, 69)"
+ },
+ "dark": {
+ "value": "rgb(4, 124, 75)"
+ }
+ },
+ "positive-background-color-key-focus": {
+ "prop": "--spectrum-positive-background-color-key-focus",
+ "ref": "var(--spectrum-positive-color-700)",
+ "light": {
+ "value": "rgb(3, 110, 69)"
+ },
+ "dark": {
+ "value": "rgb(4, 124, 75)"
+ }
+ },
+ "positive-color-100": {
+ "prop": "--spectrum-positive-color-100",
+ "ref": "var(--spectrum-green-100)",
+ "light": {
+ "value": "rgb(237, 252, 241)"
+ },
+ "dark": {
+ "value": "rgb(0, 30, 23)"
+ }
+ },
+ "positive-color-1000": {
+ "prop": "--spectrum-positive-color-1000",
+ "ref": "var(--spectrum-green-1000)",
+ "light": {
+ "value": "rgb(3, 110, 69)"
+ },
+ "dark": {
+ "value": "rgb(14, 175, 98)"
+ }
+ },
+ "positive-color-1100": {
+ "prop": "--spectrum-positive-color-1100",
+ "ref": "var(--spectrum-green-1100)",
+ "light": {
+ "value": "rgb(2, 93, 60)"
+ },
+ "dark": {
+ "value": "rgb(24, 193, 110)"
+ }
+ },
+ "positive-color-1200": {
+ "prop": "--spectrum-positive-color-1200",
+ "ref": "var(--spectrum-green-1200)",
+ "light": {
+ "value": "rgb(1, 76, 52)"
+ },
+ "dark": {
+ "value": "rgb(57, 215, 134)"
+ }
+ },
+ "positive-color-1300": {
+ "prop": "--spectrum-positive-color-1300",
+ "ref": "var(--spectrum-green-1300)",
+ "light": {
+ "value": "rgb(0, 61, 44)"
+ },
+ "dark": {
+ "value": "rgb(126, 231, 172)"
+ }
+ },
+ "positive-color-1400": {
+ "prop": "--spectrum-positive-color-1400",
+ "ref": "var(--spectrum-green-1400)",
+ "light": {
+ "value": "rgb(0, 46, 34)"
+ },
+ "dark": {
+ "value": "rgb(189, 241, 208)"
+ }
+ },
+ "positive-color-1500": {
+ "prop": "--spectrum-positive-color-1500",
+ "ref": "var(--spectrum-green-1500)",
+ "dark": {
+ "value": "rgb(229, 250, 236)"
+ },
+ "light": {
+ "value": "rgb(0, 33, 25)"
+ }
+ },
+ "positive-color-1600": {
+ "prop": "--spectrum-positive-color-1600",
+ "ref": "var(--spectrum-green-1600)",
+ "dark": {
+ "value": "rgb(255, 255, 255)"
+ },
+ "light": {
+ "value": "rgb(0, 15, 12)"
+ }
+ },
+ "positive-color-200": {
+ "prop": "--spectrum-positive-color-200",
+ "ref": "var(--spectrum-green-200)",
+ "light": {
+ "value": "rgb(215, 247, 225)"
+ },
+ "dark": {
+ "value": "rgb(0, 38, 29)"
+ }
+ },
+ "positive-color-300": {
+ "prop": "--spectrum-positive-color-300",
+ "ref": "var(--spectrum-green-300)",
+ "light": {
+ "value": "rgb(173, 238, 197)"
+ },
+ "dark": {
+ "value": "rgb(0, 51, 38)"
+ }
+ },
+ "positive-color-400": {
+ "prop": "--spectrum-positive-color-400",
+ "ref": "var(--spectrum-green-400)",
+ "light": {
+ "value": "rgb(107, 227, 162)"
+ },
+ "dark": {
+ "value": "rgb(0, 68, 48)"
+ }
+ },
+ "positive-color-500": {
+ "prop": "--spectrum-positive-color-500",
+ "ref": "var(--spectrum-green-500)",
+ "light": {
+ "value": "rgb(43, 209, 125)"
+ },
+ "dark": {
+ "value": "rgb(2, 87, 58)"
+ }
+ },
+ "positive-color-600": {
+ "prop": "--spectrum-positive-color-600",
+ "ref": "var(--spectrum-green-600)",
+ "light": {
+ "value": "rgb(18, 184, 103)"
+ },
+ "dark": {
+ "value": "rgb(3, 106, 67)"
+ }
+ },
+ "positive-color-700": {
+ "prop": "--spectrum-positive-color-700",
+ "ref": "var(--spectrum-green-700)",
+ "light": {
+ "value": "rgb(11, 164, 93)"
+ },
+ "dark": {
+ "value": "rgb(4, 124, 75)"
+ }
+ },
+ "positive-color-800": {
+ "prop": "--spectrum-positive-color-800",
+ "ref": "var(--spectrum-green-800)",
+ "light": {
+ "value": "rgb(7, 147, 85)"
+ },
+ "dark": {
+ "value": "rgb(6, 136, 80)"
+ }
+ },
+ "positive-color-900": {
+ "prop": "--spectrum-positive-color-900",
+ "ref": "var(--spectrum-green-900)",
+ "light": {
+ "value": "rgb(5, 131, 78)"
+ },
+ "dark": {
+ "value": "rgb(9, 157, 89)"
+ }
+ },
+ "positive-subtle-background-color-default": {
+ "prop": "--spectrum-positive-subtle-background-color-default",
+ "ref": "var(--spectrum-positive-color-300)",
+ "light": {
+ "value": "rgb(215, 247, 225)"
+ },
+ "dark": {
+ "value": "rgb(0, 51, 38)"
+ }
+ },
+ "positive-visual-color": {
+ "prop": "--spectrum-positive-visual-color",
+ "ref": "var(--spectrum-positive-color-900)",
+ "light": {
+ "value": "rgb(7, 147, 85)"
+ },
+ "dark": {
+ "value": "rgb(9, 157, 89)"
+ }
+ },
+ "progress-bar-maximum-width": {
+ "prop": "--spectrum-progress-bar-maximum-width",
+ "value": "768px"
+ },
+ "progress-bar-minimum-width": {
+ "prop": "--spectrum-progress-bar-minimum-width",
+ "value": "48px"
+ },
+ "progress-bar-thickness-extra-large": {
+ "prop": "--spectrum-progress-bar-thickness-extra-large",
+ "desktop": {
+ "value": "10px"
+ },
+ "mobile": {
+ "value": "13px"
+ }
+ },
+ "progress-bar-thickness-large": {
+ "prop": "--spectrum-progress-bar-thickness-large",
+ "desktop": {
+ "value": "8px"
+ },
+ "mobile": {
+ "value": "10px"
+ }
+ },
+ "progress-bar-thickness-medium": {
+ "prop": "--spectrum-progress-bar-thickness-medium",
+ "desktop": {
+ "value": "6px"
+ },
+ "mobile": {
+ "value": "8px"
+ }
+ },
+ "progress-bar-thickness-small": {
+ "prop": "--spectrum-progress-bar-thickness-small",
+ "desktop": {
+ "value": "4px"
+ },
+ "mobile": {
+ "value": "5px"
+ }
+ },
+ "progress-circle-size-large": {
+ "prop": "--spectrum-progress-circle-size-large",
+ "desktop": {
+ "value": "64px"
+ },
+ "mobile": {
+ "value": "80px"
+ }
+ },
+ "progress-circle-size-medium": {
+ "prop": "--spectrum-progress-circle-size-medium",
+ "desktop": {
+ "value": "32px"
+ },
+ "mobile": {
+ "value": "40px"
+ }
+ },
+ "progress-circle-size-small": {
+ "prop": "--spectrum-progress-circle-size-small",
+ "desktop": {
+ "value": "16px"
+ },
+ "mobile": {
+ "value": "20px"
+ }
+ },
+ "progress-circle-thickness-large": {
+ "prop": "--spectrum-progress-circle-thickness-large",
+ "desktop": {
+ "value": "4px"
+ },
+ "mobile": {
+ "value": "5px"
+ }
+ },
+ "progress-circle-thickness-medium": {
+ "prop": "--spectrum-progress-circle-thickness-medium",
+ "desktop": {
+ "value": "3px"
+ },
+ "mobile": {
+ "value": "4px"
+ }
+ },
+ "progress-circle-thickness-small": {
+ "prop": "--spectrum-progress-circle-thickness-small",
+ "desktop": {
+ "value": "2px"
+ },
+ "mobile": {
+ "value": "3px"
+ }
+ },
+ "purple-100": {
+ "prop": "--spectrum-purple-100",
+ "light": {
+ "value": "rgb(251, 247, 254)"
+ },
+ "dark": {
+ "value": "rgb(41, 0, 79)"
+ }
+ },
+ "purple-1000": {
+ "prop": "--spectrum-purple-1000",
+ "light": {
+ "value": "rgb(134, 40, 217)"
+ },
+ "dark": {
+ "value": "rgb(186, 127, 237)"
+ }
+ },
+ "purple-1100": {
+ "prop": "--spectrum-purple-1100",
+ "light": {
+ "value": "rgb(115, 13, 204)"
+ },
+ "dark": {
+ "value": "rgb(197, 149, 240)"
+ }
+ },
+ "purple-1200": {
+ "prop": "--spectrum-purple-1200",
+ "light": {
+ "value": "rgb(93, 0, 177)"
+ },
+ "dark": {
+ "value": "rgb(212, 176, 244)"
+ }
+ },
+ "purple-1300": {
+ "prop": "--spectrum-purple-1300",
+ "light": {
+ "value": "rgb(75, 0, 144)"
+ },
+ "dark": {
+ "value": "rgb(225, 201, 247)"
+ }
+ },
+ "purple-1400": {
+ "prop": "--spectrum-purple-1400",
+ "light": {
+ "value": "rgb(59, 0, 111)"
+ },
+ "dark": {
+ "value": "rgb(238, 224, 250)"
+ }
+ },
+ "purple-1500": {
+ "prop": "--spectrum-purple-1500",
+ "dark": {
+ "value": "rgb(248, 243, 253)"
+ },
+ "light": {
+ "value": "rgb(44, 0, 84)"
+ }
+ },
+ "purple-1600": {
+ "prop": "--spectrum-purple-1600",
+ "dark": {
+ "value": "rgb(255, 255, 255)"
+ },
+ "light": {
+ "value": "rgb(23, 0, 45)"
+ }
+ },
+ "purple-200": {
+ "prop": "--spectrum-purple-200",
+ "light": {
+ "value": "rgb(244, 235, 252)"
+ },
+ "dark": {
+ "value": "rgb(50, 0, 96)"
+ }
+ },
+ "purple-300": {
+ "prop": "--spectrum-purple-300",
+ "light": {
+ "value": "rgb(235, 218, 249)"
+ },
+ "dark": {
+ "value": "rgb(64, 0, 122)"
+ }
+ },
+ "purple-400": {
+ "prop": "--spectrum-purple-400",
+ "light": {
+ "value": "rgb(221, 193, 246)"
+ },
+ "dark": {
+ "value": "rgb(83, 0, 159)"
+ }
+ },
+ "purple-500": {
+ "prop": "--spectrum-purple-500",
+ "light": {
+ "value": "rgb(208, 167, 243)"
+ },
+ "dark": {
+ "value": "rgb(107, 6, 195)"
+ }
+ },
+ "purple-600": {
+ "prop": "--spectrum-purple-600",
+ "light": {
+ "value": "rgb(191, 138, 238)"
+ },
+ "dark": {
+ "value": "rgb(130, 34, 215)"
+ }
+ },
+ "purple-700": {
+ "prop": "--spectrum-purple-700",
+ "light": {
+ "value": "rgb(178, 114, 235)"
+ },
+ "dark": {
+ "value": "rgb(148, 62, 224)"
+ }
+ },
+ "purple-800": {
+ "prop": "--spectrum-purple-800",
+ "light": {
+ "value": "rgb(166, 92, 231)"
+ },
+ "dark": {
+ "value": "rgb(157, 78, 228)"
+ }
+ },
+ "purple-900": {
+ "prop": "--spectrum-purple-900",
+ "light": {
+ "value": "rgb(154, 71, 226)"
+ },
+ "dark": {
+ "value": "rgb(173, 105, 233)"
+ }
+ },
+ "purple-background-color-default": {
+ "prop": "--spectrum-purple-background-color-default",
+ "ref": "var(--spectrum-purple-800)",
+ "light": {
+ "value": "rgb(154, 71, 226)"
+ },
+ "dark": {
+ "value": "rgb(157, 78, 228)"
+ }
+ },
+ "purple-subtle-background-color-default": {
+ "prop": "--spectrum-purple-subtle-background-color-default",
+ "ref": "var(--spectrum-purple-300)",
+ "light": {
+ "value": "rgb(244, 235, 252)"
+ },
+ "dark": {
+ "value": "rgb(64, 0, 122)"
+ }
+ },
+ "purple-visual-color": {
+ "prop": "--spectrum-purple-visual-color",
+ "ref": "var(--spectrum-purple-900)",
+ "light": {
+ "value": "rgb(166, 92, 231)"
+ },
+ "dark": {
+ "value": "rgb(173, 105, 233)"
+ }
+ },
+ "radio-button-control-size-extra-large": {
+ "prop": "--spectrum-radio-button-control-size-extra-large",
+ "desktop": {
+ "value": "18px"
+ },
+ "mobile": {
+ "value": "22px"
+ }
+ },
+ "radio-button-control-size-large": {
+ "prop": "--spectrum-radio-button-control-size-large",
+ "desktop": {
+ "value": "16px"
+ },
+ "mobile": {
+ "value": "20px"
+ }
+ },
+ "radio-button-control-size-medium": {
+ "prop": "--spectrum-radio-button-control-size-medium",
+ "desktop": {
+ "value": "14px"
+ },
+ "mobile": {
+ "value": "18px"
+ }
+ },
+ "radio-button-control-size-small": {
+ "prop": "--spectrum-radio-button-control-size-small",
+ "desktop": {
+ "value": "12px"
+ },
+ "mobile": {
+ "value": "16px"
+ }
+ },
+ "radio-button-selection-indicator": {
+ "prop": "--spectrum-radio-button-selection-indicator",
+ "value": "4px"
+ },
+ "radio-button-top-to-control-extra-large": {
+ "prop": "--spectrum-radio-button-top-to-control-extra-large",
+ "desktop": {
+ "value": "15px"
+ },
+ "mobile": {
+ "value": "19px"
+ }
+ },
+ "radio-button-top-to-control-large": {
+ "prop": "--spectrum-radio-button-top-to-control-large",
+ "desktop": {
+ "value": "12px"
+ },
+ "mobile": {
+ "value": "15px"
+ }
+ },
+ "radio-button-top-to-control-medium": {
+ "prop": "--spectrum-radio-button-top-to-control-medium",
+ "desktop": {
+ "value": "9px"
+ },
+ "mobile": {
+ "value": "11px"
+ }
+ },
+ "radio-button-top-to-control-small": {
+ "prop": "--spectrum-radio-button-top-to-control-small",
+ "desktop": {
+ "value": "6px"
+ },
+ "mobile": {
+ "value": "7px"
+ }
+ },
+ "rating-bottom-to-content-area-medium": {
+ "prop": "--spectrum-rating-bottom-to-content-area-medium",
+ "value": "6px"
+ },
+ "rating-bottom-to-content-area-small": {
+ "prop": "--spectrum-rating-bottom-to-content-area-small",
+ "ref": "var(--spectrum-spacing-75)",
+ "value": "4px"
+ },
+ "rating-edge-to-content-area-medium": {
+ "prop": "--spectrum-rating-edge-to-content-area-medium",
+ "value": "6px"
+ },
+ "rating-edge-to-content-area-small": {
+ "prop": "--spectrum-rating-edge-to-content-area-small",
+ "ref": "var(--spectrum-spacing-75)",
+ "value": "4px"
+ },
+ "rating-height-medium": {
+ "prop": "--spectrum-rating-height-medium",
+ "ref": "var(--spectrum-component-height-100)",
+ "desktop": {
+ "value": "32px"
+ },
+ "mobile": {
+ "value": "40px"
+ }
+ },
+ "rating-height-small": {
+ "prop": "--spectrum-rating-height-small",
+ "ref": "var(--spectrum-component-height-75)",
+ "desktop": {
+ "value": "24px"
+ },
+ "mobile": {
+ "value": "30px"
+ }
+ },
+ "rating-indicator-to-icon": {
+ "prop": "--spectrum-rating-indicator-to-icon",
+ "desktop": {
+ "value": "4px"
+ },
+ "mobile": {
+ "value": "5px"
+ }
+ },
+ "rating-indicator-width": {
+ "prop": "--spectrum-rating-indicator-width",
+ "desktop": {
+ "value": "18px"
+ },
+ "mobile": {
+ "value": "22px"
+ }
+ },
+ "rating-top-to-content-area-medium": {
+ "prop": "--spectrum-rating-top-to-content-area-medium",
+ "value": "6px"
+ },
+ "rating-top-to-content-area-small": {
+ "prop": "--spectrum-rating-top-to-content-area-small",
+ "ref": "var(--spectrum-spacing-75)",
+ "value": "4px"
+ },
+ "rating-width-medium": {
+ "prop": "--spectrum-rating-width-medium",
+ "value": "128px"
+ },
+ "rating-width-small": {
+ "prop": "--spectrum-rating-width-small",
+ "value": "104px"
+ },
+ "red-100": {
+ "prop": "--spectrum-red-100",
+ "light": {
+ "value": "rgb(255, 246, 245)"
+ },
+ "dark": {
+ "value": "rgb(54, 10, 3)"
+ }
+ },
+ "red-1000": {
+ "prop": "--spectrum-red-1000",
+ "light": {
+ "value": "rgb(183, 40, 24)"
+ },
+ "dark": {
+ "value": "rgb(255, 103, 86)"
+ }
+ },
+ "red-1100": {
+ "prop": "--spectrum-red-1100",
+ "light": {
+ "value": "rgb(156, 33, 19)"
+ },
+ "dark": {
+ "value": "rgb(255, 134, 120)"
+ }
+ },
+ "red-1200": {
+ "prop": "--spectrum-red-1200",
+ "light": {
+ "value": "rgb(129, 27, 14)"
+ },
+ "dark": {
+ "value": "rgb(255, 167, 157)"
+ }
+ },
+ "red-1300": {
+ "prop": "--spectrum-red-1300",
+ "light": {
+ "value": "rgb(104, 21, 10)"
+ },
+ "dark": {
+ "value": "rgb(255, 196, 189)"
+ }
+ },
+ "red-1400": {
+ "prop": "--spectrum-red-1400",
+ "light": {
+ "value": "rgb(80, 16, 6)"
+ },
+ "dark": {
+ "value": "rgb(255, 222, 219)"
+ }
+ },
+ "red-1500": {
+ "prop": "--spectrum-red-1500",
+ "dark": {
+ "value": "rgb(255, 242, 240)"
+ },
+ "light": {
+ "value": "rgb(59, 11, 4)"
+ }
+ },
+ "red-1600": {
+ "prop": "--spectrum-red-1600",
+ "dark": {
+ "value": "rgb(255, 255, 255)"
+ },
+ "light": {
+ "value": "rgb(29, 5, 2)"
+ }
+ },
+ "red-200": {
+ "prop": "--spectrum-red-200",
+ "light": {
+ "value": "rgb(255, 235, 232)"
+ },
+ "dark": {
+ "value": "rgb(68, 13, 5)"
+ }
+ },
+ "red-300": {
+ "prop": "--spectrum-red-300",
+ "light": {
+ "value": "rgb(255, 214, 209)"
+ },
+ "dark": {
+ "value": "rgb(87, 17, 7)"
+ }
+ },
+ "red-400": {
+ "prop": "--spectrum-red-400",
+ "light": {
+ "value": "rgb(255, 188, 180)"
+ },
+ "dark": {
+ "value": "rgb(115, 24, 11)"
+ }
+ },
+ "red-500": {
+ "prop": "--spectrum-red-500",
+ "light": {
+ "value": "rgb(255, 157, 145)"
+ },
+ "dark": {
+ "value": "rgb(147, 31, 17)"
+ }
+ },
+ "red-600": {
+ "prop": "--spectrum-red-600",
+ "light": {
+ "value": "rgb(255, 118, 101)"
+ },
+ "dark": {
+ "value": "rgb(177, 38, 23)"
+ }
+ },
+ "red-700": {
+ "prop": "--spectrum-red-700",
+ "light": {
+ "value": "rgb(255, 81, 61)"
+ },
+ "dark": {
+ "value": "rgb(205, 46, 29)"
+ }
+ },
+ "red-800": {
+ "prop": "--spectrum-red-800",
+ "light": {
+ "value": "rgb(240, 56, 35)"
+ },
+ "dark": {
+ "value": "rgb(223, 52, 34)"
+ }
+ },
+ "red-900": {
+ "prop": "--spectrum-red-900",
+ "light": {
+ "value": "rgb(215, 50, 32)"
+ },
+ "dark": {
+ "value": "rgb(252, 67, 46)"
+ }
+ },
+ "red-background-color-default": {
+ "prop": "--spectrum-red-background-color-default",
+ "ref": "var(--spectrum-red-800)",
+ "light": {
+ "value": "rgb(215, 50, 32)"
+ },
+ "dark": {
+ "value": "rgb(223, 52, 34)"
+ }
+ },
+ "red-subtle-background-color-default": {
+ "prop": "--spectrum-red-subtle-background-color-default",
+ "ref": "var(--spectrum-red-300)",
+ "light": {
+ "value": "rgb(255, 235, 232)"
+ },
+ "dark": {
+ "value": "rgb(87, 17, 7)"
+ }
+ },
+ "red-visual-color": {
+ "prop": "--spectrum-red-visual-color",
+ "ref": "var(--spectrum-red-700)",
+ "light": {
+ "value": "rgb(240, 56, 35)"
+ },
+ "dark": {
+ "value": "rgb(205, 46, 29)"
+ }
+ },
+ "regular-font-weight": {
+ "prop": "--spectrum-regular-font-weight",
+ "value": "400"
+ },
+ "sans-serif-font-family": {
+ "prop": "--spectrum-sans-serif-font-family",
+ "value": "Adobe Clean"
+ },
+ "seafoam-100": {
+ "prop": "--spectrum-seafoam-100",
+ "light": {
+ "value": "rgb(235, 251, 246)"
+ },
+ "dark": {
+ "value": "rgb(0, 30, 27)"
+ }
+ },
+ "seafoam-1000": {
+ "prop": "--spectrum-seafoam-1000",
+ "light": {
+ "value": "rgb(5, 108, 92)"
+ },
+ "dark": {
+ "value": "rgb(12, 173, 142)"
+ }
+ },
+ "seafoam-1100": {
+ "prop": "--spectrum-seafoam-1100",
+ "light": {
+ "value": "rgb(3, 92, 80)"
+ },
+ "dark": {
+ "value": "rgb(14, 190, 156)"
+ }
+ },
+ "seafoam-1200": {
+ "prop": "--spectrum-seafoam-1200",
+ "light": {
+ "value": "rgb(1, 75, 67)"
+ },
+ "dark": {
+ "value": "rgb(29, 214, 176)"
+ }
+ },
+ "seafoam-1300": {
+ "prop": "--spectrum-seafoam-1300",
+ "light": {
+ "value": "rgb(0, 60, 54)"
+ },
+ "dark": {
+ "value": "rgb(122, 229, 203)"
+ }
+ },
+ "seafoam-1400": {
+ "prop": "--spectrum-seafoam-1400",
+ "light": {
+ "value": "rgb(0, 46, 40)"
+ },
+ "dark": {
+ "value": "rgb(186, 241, 222)"
+ }
+ },
+ "seafoam-1500": {
+ "prop": "--spectrum-seafoam-1500",
+ "dark": {
+ "value": "rgb(229, 249, 243)"
+ },
+ "light": {
+ "value": "rgb(0, 33, 29)"
+ }
+ },
+ "seafoam-1600": {
+ "prop": "--spectrum-seafoam-1600",
+ "dark": {
+ "value": "rgb(255, 255, 255)"
+ },
+ "light": {
+ "value": "rgb(0, 15, 14)"
+ }
+ },
+ "seafoam-200": {
+ "prop": "--spectrum-seafoam-200",
+ "light": {
+ "value": "rgb(211, 246, 234)"
+ },
+ "dark": {
+ "value": "rgb(0, 39, 35)"
+ }
+ },
+ "seafoam-300": {
+ "prop": "--spectrum-seafoam-300",
+ "light": {
+ "value": "rgb(169, 237, 216)"
+ },
+ "dark": {
+ "value": "rgb(0, 50, 44)"
+ }
+ },
+ "seafoam-400": {
+ "prop": "--spectrum-seafoam-400",
+ "light": {
+ "value": "rgb(92, 225, 194)"
+ },
+ "dark": {
+ "value": "rgb(0, 67, 59)"
+ }
+ },
+ "seafoam-500": {
+ "prop": "--spectrum-seafoam-500",
+ "light": {
+ "value": "rgb(16, 207, 169)"
+ },
+ "dark": {
+ "value": "rgb(2, 86, 75)"
+ }
+ },
+ "seafoam-600": {
+ "prop": "--spectrum-seafoam-600",
+ "light": {
+ "value": "rgb(13, 181, 149)"
+ },
+ "dark": {
+ "value": "rgb(4, 105, 89)"
+ }
+ },
+ "seafoam-700": {
+ "prop": "--spectrum-seafoam-700",
+ "light": {
+ "value": "rgb(11, 162, 134)"
+ },
+ "dark": {
+ "value": "rgb(6, 122, 103)"
+ }
+ },
+ "seafoam-800": {
+ "prop": "--spectrum-seafoam-800",
+ "light": {
+ "value": "rgb(9, 144, 120)"
+ },
+ "dark": {
+ "value": "rgb(8, 134, 112)"
+ }
+ },
+ "seafoam-900": {
+ "prop": "--spectrum-seafoam-900",
+ "light": {
+ "value": "rgb(7, 129, 109)"
+ },
+ "dark": {
+ "value": "rgb(10, 154, 128)"
+ }
+ },
+ "seafoam-background-color-default": {
+ "prop": "--spectrum-seafoam-background-color-default",
+ "ref": "var(--spectrum-seafoam-800)",
+ "light": {
+ "value": "rgb(7, 129, 109)"
+ },
+ "dark": {
+ "value": "rgb(8, 134, 112)"
+ }
+ },
+ "seafoam-subtle-background-color-default": {
+ "prop": "--spectrum-seafoam-subtle-background-color-default",
+ "ref": "var(--spectrum-seafoam-300)",
+ "light": {
+ "value": "rgb(211, 246, 234)"
+ },
+ "dark": {
+ "value": "rgb(0, 50, 44)"
+ }
+ },
+ "seafoam-visual-color": {
+ "prop": "--spectrum-seafoam-visual-color",
+ "ref": "var(--spectrum-seafoam-800)",
+ "light": {
+ "value": "rgb(11, 162, 134)"
+ },
+ "dark": {
+ "value": "rgb(8, 134, 112)"
+ }
+ },
+ "search-field-minimum-width-multiplier": {
+ "prop": "--spectrum-search-field-minimum-width-multiplier",
+ "value": 4
+ },
+ "segmented-control-item-height": {
+ "prop": "--spectrum-segmented-control-item-height",
+ "ref": "var(--spectrum-component-height-100)",
+ "desktop": {
+ "value": "32px"
+ },
+ "mobile": {
+ "value": "40px"
+ }
+ },
+ "segmented-control-selection-border-width": {
+ "prop": "--spectrum-segmented-control-selection-border-width",
+ "ref": "var(--spectrum-border-width-200)",
+ "value": "2px"
+ },
+ "select-box-edge-to-checkbox": {
+ "prop": "--spectrum-select-box-edge-to-checkbox",
+ "desktop": {
+ "value": "12px"
+ },
+ "mobile": {
+ "value": "15px"
+ }
+ },
+ "select-box-horizontal-end-to-content": {
+ "prop": "--spectrum-select-box-horizontal-end-to-content",
+ "desktop": {
+ "value": "32px"
+ },
+ "mobile": {
+ "value": "40px"
+ }
+ },
+ "select-box-horizontal-illustration-to-label": {
+ "prop": "--spectrum-select-box-horizontal-illustration-to-label",
+ "desktop": {
+ "value": "10px"
+ },
+ "mobile": {
+ "value": "12px"
+ }
+ },
+ "select-box-horizontal-label-to-description": {
+ "prop": "--spectrum-select-box-horizontal-label-to-description",
+ "desktop": {
+ "value": "2px"
+ },
+ "mobile": {
+ "value": "3px"
+ }
+ },
+ "select-box-horizontal-minimum-height": {
+ "prop": "--spectrum-select-box-horizontal-minimum-height",
+ "desktop": {
+ "value": "80px"
+ },
+ "mobile": {
+ "value": "100px"
+ }
+ },
+ "select-box-horizontal-start-to-content": {
+ "prop": "--spectrum-select-box-horizontal-start-to-content",
+ "desktop": {
+ "value": "24px"
+ },
+ "mobile": {
+ "value": "30px"
+ }
+ },
+ "select-box-horizontal-top-to-content": {
+ "prop": "--spectrum-select-box-horizontal-top-to-content",
+ "desktop": {
+ "value": "16px"
+ },
+ "mobile": {
+ "value": "20px"
+ }
+ },
+ "select-box-horizontal-width": {
+ "prop": "--spectrum-select-box-horizontal-width",
+ "desktop": {
+ "value": "368px"
+ },
+ "mobile": {
+ "value": "460px"
+ }
+ },
+ "select-box-selected-border-color": {
+ "prop": "--spectrum-select-box-selected-border-color",
+ "ref": "var(--spectrum-gray-800)",
+ "light": {
+ "value": "rgb(41, 41, 41)"
+ },
+ "dark": {
+ "value": "rgb(219, 219, 219)"
+ }
+ },
+ "select-box-top-to-checkbox": {
+ "prop": "--spectrum-select-box-top-to-checkbox",
+ "desktop": {
+ "value": "4px"
+ },
+ "mobile": {
+ "value": "5px"
+ }
+ },
+ "select-box-vertical-edge-to-content": {
+ "prop": "--spectrum-select-box-vertical-edge-to-content",
+ "desktop": {
+ "value": "24px"
+ },
+ "mobile": {
+ "value": "30px"
+ }
+ },
+ "select-box-vertical-height": {
+ "prop": "--spectrum-select-box-vertical-height",
+ "desktop": {
+ "value": "170px"
+ },
+ "mobile": {
+ "value": "212px"
+ }
+ },
+ "select-box-vertical-illustration-to-label": {
+ "prop": "--spectrum-select-box-vertical-illustration-to-label",
+ "desktop": {
+ "value": "8px"
+ },
+ "mobile": {
+ "value": "10px"
+ }
+ },
+ "serif-font-family": {
+ "prop": "--spectrum-serif-font-family",
+ "value": "Adobe Clean Serif"
+ },
+ "side-focus-indicator": {
+ "prop": "--spectrum-side-focus-indicator",
+ "value": "4px"
+ },
+ "side-label-character-count-to-field": {
+ "prop": "--spectrum-side-label-character-count-to-field",
+ "desktop": {
+ "value": "12px"
+ },
+ "mobile": {
+ "value": "15px"
+ }
+ },
+ "side-label-character-count-top-margin-extra-large": {
+ "prop": "--spectrum-side-label-character-count-top-margin-extra-large",
+ "value": "0px"
+ },
+ "side-label-character-count-top-margin-large": {
+ "prop": "--spectrum-side-label-character-count-top-margin-large",
+ "value": "0px"
+ },
+ "side-label-character-count-top-margin-medium": {
+ "prop": "--spectrum-side-label-character-count-top-margin-medium",
+ "value": "0px"
+ },
+ "side-label-character-count-top-margin-small": {
+ "prop": "--spectrum-side-label-character-count-top-margin-small",
+ "value": "0px"
+ },
+ "side-navigation-bottom-to-text": {
+ "prop": "--spectrum-side-navigation-bottom-to-text",
+ "desktop": {
+ "value": "8px"
+ },
+ "mobile": {
+ "value": "10px"
+ }
+ },
+ "side-navigation-header-to-item": {
+ "prop": "--spectrum-side-navigation-header-to-item",
+ "desktop": {
+ "value": "8px"
+ },
+ "mobile": {
+ "value": "10px"
+ }
+ },
+ "side-navigation-item-to-header": {
+ "prop": "--spectrum-side-navigation-item-to-header",
+ "desktop": {
+ "value": "24px"
+ },
+ "mobile": {
+ "value": "30px"
+ }
+ },
+ "side-navigation-item-to-item": {
+ "prop": "--spectrum-side-navigation-item-to-item",
+ "desktop": {
+ "value": "4px"
+ },
+ "mobile": {
+ "value": "5px"
+ }
+ },
+ "side-navigation-maximum-width": {
+ "prop": "--spectrum-side-navigation-maximum-width",
+ "desktop": {
+ "value": "240px"
+ },
+ "mobile": {
+ "value": "300px"
+ }
+ },
+ "side-navigation-minimum-width": {
+ "prop": "--spectrum-side-navigation-minimum-width",
+ "desktop": {
+ "value": "160px"
+ },
+ "mobile": {
+ "value": "200px"
+ }
+ },
+ "side-navigation-second-level-edge-to-text": {
+ "prop": "--spectrum-side-navigation-second-level-edge-to-text",
+ "desktop": {
+ "value": "24px"
+ },
+ "mobile": {
+ "value": "30px"
+ }
+ },
+ "side-navigation-third-level-edge-to-text": {
+ "prop": "--spectrum-side-navigation-third-level-edge-to-text",
+ "desktop": {
+ "value": "36px"
+ },
+ "mobile": {
+ "value": "45px"
+ }
+ },
+ "side-navigation-width": {
+ "prop": "--spectrum-side-navigation-width",
+ "desktop": {
+ "value": "192px"
+ },
+ "mobile": {
+ "value": "240px"
+ }
+ },
+ "side-navigation-with-icon-second-level-edge-to-text": {
+ "prop": "--spectrum-side-navigation-with-icon-second-level-edge-to-text",
+ "desktop": {
+ "value": "50px"
+ },
+ "mobile": {
+ "value": "62px"
+ }
+ },
+ "side-navigation-with-icon-third-level-edge-to-text": {
+ "prop": "--spectrum-side-navigation-with-icon-third-level-edge-to-text",
+ "desktop": {
+ "value": "62px"
+ },
+ "mobile": {
+ "value": "77px"
+ }
+ },
+ "silver-100": {
+ "prop": "--spectrum-silver-100",
+ "dark": {
+ "value": "rgb(26, 26, 26)"
+ },
+ "light": {
+ "value": "rgb(247, 247, 247)"
+ }
+ },
+ "silver-1000": {
+ "prop": "--spectrum-silver-1000",
+ "dark": {
+ "value": "rgb(152, 152, 152)"
+ },
+ "light": {
+ "value": "rgb(96, 96, 96)"
+ }
+ },
+ "silver-1100": {
+ "prop": "--spectrum-silver-1100",
+ "dark": {
+ "value": "rgb(169, 169, 169)"
+ },
+ "light": {
+ "value": "rgb(81, 81, 81)"
+ }
+ },
+ "silver-1200": {
+ "prop": "--spectrum-silver-1200",
+ "dark": {
+ "value": "rgb(190, 190, 190)"
+ },
+ "light": {
+ "value": "rgb(66, 66, 66)"
+ }
+ },
+ "silver-1300": {
+ "prop": "--spectrum-silver-1300",
+ "dark": {
+ "value": "rgb(211, 211, 211)"
+ },
+ "light": {
+ "value": "rgb(52, 52, 52)"
+ }
+ },
+ "silver-1400": {
+ "prop": "--spectrum-silver-1400",
+ "dark": {
+ "value": "rgb(229, 229, 229)"
+ },
+ "light": {
+ "value": "rgb(39, 39, 39)"
+ }
+ },
+ "silver-1500": {
+ "prop": "--spectrum-silver-1500",
+ "dark": {
+ "value": "rgb(244, 244, 244)"
+ },
+ "light": {
+ "value": "rgb(28, 28, 28)"
+ }
+ },
+ "silver-1600": {
+ "prop": "--spectrum-silver-1600",
+ "dark": {
+ "value": "rgb(255, 255, 255)"
+ },
+ "light": {
+ "value": "rgb(12, 12, 12)"
+ }
+ },
+ "silver-200": {
+ "prop": "--spectrum-silver-200",
+ "dark": {
+ "value": "rgb(33, 33, 33)"
+ },
+ "light": {
+ "value": "rgb(239, 239, 239)"
+ }
+ },
+ "silver-300": {
+ "prop": "--spectrum-silver-300",
+ "dark": {
+ "value": "rgb(44, 44, 44)"
+ },
+ "light": {
+ "value": "rgb(223, 223, 223)"
+ }
+ },
+ "silver-400": {
+ "prop": "--spectrum-silver-400",
+ "dark": {
+ "value": "rgb(59, 59, 59)"
+ },
+ "light": {
+ "value": "rgb(204, 204, 204)"
+ }
+ },
+ "silver-500": {
+ "prop": "--spectrum-silver-500",
+ "dark": {
+ "value": "rgb(76, 76, 76)"
+ },
+ "light": {
+ "value": "rgb(183, 183, 183)"
+ }
+ },
+ "silver-600": {
+ "prop": "--spectrum-silver-600",
+ "dark": {
+ "value": "rgb(92, 92, 92)"
+ },
+ "light": {
+ "value": "rgb(160, 160, 160)"
+ }
+ },
+ "silver-700": {
+ "prop": "--spectrum-silver-700",
+ "dark": {
+ "value": "rgb(108, 108, 108)"
+ },
+ "light": {
+ "value": "rgb(143, 143, 143)"
+ }
+ },
+ "silver-800": {
+ "prop": "--spectrum-silver-800",
+ "dark": {
+ "value": "rgb(118, 118, 118)"
+ },
+ "light": {
+ "value": "rgb(128, 128, 128)"
+ }
+ },
+ "silver-900": {
+ "prop": "--spectrum-silver-900",
+ "dark": {
+ "value": "rgb(137, 137, 137)"
+ },
+ "light": {
+ "value": "rgb(114, 114, 114)"
+ }
+ },
+ "silver-background-color-default": {
+ "prop": "--spectrum-silver-background-color-default",
+ "ref": "var(--spectrum-silver-800)",
+ "light": {
+ "value": "rgb(114, 114, 114)"
+ },
+ "dark": {
+ "value": "rgb(118, 118, 118)"
+ }
+ },
+ "silver-subtle-background-color-default": {
+ "prop": "--spectrum-silver-subtle-background-color-default",
+ "ref": "var(--spectrum-silver-300)",
+ "light": {
+ "value": "rgb(239, 239, 239)"
+ },
+ "dark": {
+ "value": "rgb(44, 44, 44)"
+ }
+ },
+ "silver-visual-color": {
+ "prop": "--spectrum-silver-visual-color",
+ "ref": "var(--spectrum-silver-900)",
+ "light": {
+ "value": "rgb(128, 128, 128)"
+ },
+ "dark": {
+ "value": "rgb(137, 137, 137)"
+ }
+ },
+ "slider-bottom-to-handle-extra-large": {
+ "prop": "--spectrum-slider-bottom-to-handle-extra-large",
+ "desktop": {
+ "value": "14px"
+ },
+ "mobile": {
+ "value": "17px"
+ }
+ },
+ "slider-bottom-to-handle-large": {
+ "prop": "--spectrum-slider-bottom-to-handle-large",
+ "desktop": {
+ "value": "11px"
+ },
+ "mobile": {
+ "value": "14px"
+ }
+ },
+ "slider-bottom-to-handle-medium": {
+ "prop": "--spectrum-slider-bottom-to-handle-medium",
+ "desktop": {
+ "value": "8px"
+ },
+ "mobile": {
+ "value": "10px"
+ }
+ },
+ "slider-bottom-to-handle-small": {
+ "prop": "--spectrum-slider-bottom-to-handle-small",
+ "desktop": {
+ "value": "5px"
+ },
+ "mobile": {
+ "value": "6px"
+ }
+ },
+ "slider-control-height-extra-large": {
+ "prop": "--spectrum-slider-control-height-extra-large",
+ "desktop": {
+ "value": "20px"
+ },
+ "mobile": {
+ "value": "26px"
+ }
+ },
+ "slider-control-height-large": {
+ "prop": "--spectrum-slider-control-height-large",
+ "desktop": {
+ "value": "18px"
+ },
+ "mobile": {
+ "value": "22px"
+ }
+ },
+ "slider-control-height-medium": {
+ "prop": "--spectrum-slider-control-height-medium",
+ "desktop": {
+ "value": "16px"
+ },
+ "mobile": {
+ "value": "20px"
+ }
+ },
+ "slider-control-height-small": {
+ "prop": "--spectrum-slider-control-height-small",
+ "desktop": {
+ "value": "14px"
+ },
+ "mobile": {
+ "value": "18px"
+ }
+ },
+ "slider-control-to-field-label-editable-extra-large": {
+ "prop": "--spectrum-slider-control-to-field-label-editable-extra-large",
+ "desktop": {
+ "value": "-20px"
+ },
+ "mobile": {
+ "value": "-24px"
+ }
+ },
+ "slider-control-to-field-label-editable-large": {
+ "prop": "--spectrum-slider-control-to-field-label-editable-large",
+ "desktop": {
+ "value": "-16px"
+ },
+ "mobile": {
+ "value": "-20px"
+ }
+ },
+ "slider-control-to-field-label-editable-medium": {
+ "prop": "--spectrum-slider-control-to-field-label-editable-medium",
+ "desktop": {
+ "value": "-12px"
+ },
+ "mobile": {
+ "value": "-16px"
+ }
+ },
+ "slider-control-to-field-label-editable-small": {
+ "prop": "--spectrum-slider-control-to-field-label-editable-small",
+ "desktop": {
+ "value": "-4px"
+ },
+ "mobile": {
+ "value": "-8px"
+ }
+ },
+ "slider-control-to-field-label-extra-large": {
+ "prop": "--spectrum-slider-control-to-field-label-extra-large",
+ "desktop": {
+ "value": "-20px"
+ },
+ "mobile": {
+ "value": "-28px"
+ }
+ },
+ "slider-control-to-field-label-large": {
+ "prop": "--spectrum-slider-control-to-field-label-large",
+ "desktop": {
+ "value": "-16px"
+ },
+ "mobile": {
+ "value": "-20px"
+ }
+ },
+ "slider-control-to-field-label-medium": {
+ "prop": "--spectrum-slider-control-to-field-label-medium",
+ "desktop": {
+ "value": "-12px"
+ },
+ "mobile": {
+ "value": "-16px"
+ }
+ },
+ "slider-control-to-field-label-side-extra-large": {
+ "prop": "--spectrum-slider-control-to-field-label-side-extra-large",
+ "desktop": {
+ "value": "24px"
+ },
+ "mobile": {
+ "value": "28px"
+ }
+ },
+ "slider-control-to-field-label-side-large": {
+ "prop": "--spectrum-slider-control-to-field-label-side-large",
+ "desktop": {
+ "value": "20px"
+ },
+ "mobile": {
+ "value": "24px"
+ }
+ },
+ "slider-control-to-field-label-side-medium": {
+ "prop": "--spectrum-slider-control-to-field-label-side-medium",
+ "desktop": {
+ "value": "16px"
+ },
+ "mobile": {
+ "value": "20px"
+ }
+ },
+ "slider-control-to-field-label-side-small": {
+ "prop": "--spectrum-slider-control-to-field-label-side-small",
+ "desktop": {
+ "value": "16px"
+ },
+ "mobile": {
+ "value": "20px"
+ }
+ },
+ "slider-control-to-field-label-small": {
+ "prop": "--spectrum-slider-control-to-field-label-small",
+ "desktop": {
+ "value": "-4px"
+ },
+ "mobile": {
+ "value": "-8px"
+ }
+ },
+ "slider-control-to-text-field-extra-large": {
+ "prop": "--spectrum-slider-control-to-text-field-extra-large",
+ "desktop": {
+ "value": "24px"
+ },
+ "mobile": {
+ "value": "28px"
+ }
+ },
+ "slider-control-to-text-field-large": {
+ "prop": "--spectrum-slider-control-to-text-field-large",
+ "desktop": {
+ "value": "20px"
+ },
+ "mobile": {
+ "value": "24px"
+ }
+ },
+ "slider-control-to-text-field-medium": {
+ "prop": "--spectrum-slider-control-to-text-field-medium",
+ "desktop": {
+ "value": "16px"
+ },
+ "mobile": {
+ "value": "20px"
+ }
+ },
+ "slider-control-to-text-field-small": {
+ "prop": "--spectrum-slider-control-to-text-field-small",
+ "desktop": {
+ "value": "16px"
+ },
+ "mobile": {
+ "value": "20px"
+ }
+ },
+ "slider-handle-border-width-down-extra-large": {
+ "prop": "--spectrum-slider-handle-border-width-down-extra-large",
+ "desktop": {
+ "value": "8px"
+ },
+ "mobile": {
+ "value": "11px"
+ }
+ },
+ "slider-handle-border-width-down-large": {
+ "prop": "--spectrum-slider-handle-border-width-down-large",
+ "desktop": {
+ "value": "7px"
+ },
+ "mobile": {
+ "value": "9px"
+ }
+ },
+ "slider-handle-border-width-down-medium": {
+ "prop": "--spectrum-slider-handle-border-width-down-medium",
+ "desktop": {
+ "value": "6px"
+ },
+ "mobile": {
+ "value": "8px"
+ }
+ },
+ "slider-handle-border-width-down-small": {
+ "prop": "--spectrum-slider-handle-border-width-down-small",
+ "desktop": {
+ "value": "5px"
+ },
+ "mobile": {
+ "value": "7px"
+ }
+ },
+ "slider-handle-extra-large": {
+ "prop": "--spectrum-slider-handle-extra-large",
+ "desktop": {
+ "value": "24px"
+ },
+ "mobile": {
+ "value": "30px"
+ }
+ },
+ "slider-handle-gap": {
+ "prop": "--spectrum-slider-handle-gap",
+ "value": "4px"
+ },
+ "slider-handle-height-precision-extra-large": {
+ "prop": "--spectrum-slider-handle-height-precision-extra-large",
+ "desktop": {
+ "value": "26px"
+ },
+ "mobile": {
+ "value": "32px"
+ }
+ },
+ "slider-handle-height-precision-large": {
+ "prop": "--spectrum-slider-handle-height-precision-large",
+ "desktop": {
+ "value": "24px"
+ },
+ "mobile": {
+ "value": "30px"
+ }
+ },
+ "slider-handle-height-precision-medium": {
+ "prop": "--spectrum-slider-handle-height-precision-medium",
+ "desktop": {
+ "value": "22px"
+ },
+ "mobile": {
+ "value": "26px"
+ }
+ },
+ "slider-handle-height-precision-small": {
+ "prop": "--spectrum-slider-handle-height-precision-small",
+ "desktop": {
+ "value": "20px"
+ },
+ "mobile": {
+ "value": "24px"
+ }
+ },
+ "slider-handle-large": {
+ "prop": "--spectrum-slider-handle-large",
+ "desktop": {
+ "value": "22px"
+ },
+ "mobile": {
+ "value": "28px"
+ }
+ },
+ "slider-handle-medium": {
+ "prop": "--spectrum-slider-handle-medium",
+ "desktop": {
+ "value": "20px"
+ },
+ "mobile": {
+ "value": "24px"
+ }
+ },
+ "slider-handle-precision-width": {
+ "prop": "--spectrum-slider-handle-precision-width",
+ "value": "6px"
+ },
+ "slider-handle-size-extra-large": {
+ "prop": "--spectrum-slider-handle-size-extra-large",
+ "desktop": {
+ "value": "20px"
+ },
+ "mobile": {
+ "value": "26px"
+ }
+ },
+ "slider-handle-size-large": {
+ "prop": "--spectrum-slider-handle-size-large",
+ "desktop": {
+ "value": "18px"
+ },
+ "mobile": {
+ "value": "22px"
+ }
+ },
+ "slider-handle-size-medium": {
+ "prop": "--spectrum-slider-handle-size-medium",
+ "desktop": {
+ "value": "16px"
+ },
+ "mobile": {
+ "value": "20px"
+ }
+ },
+ "slider-handle-size-small": {
+ "prop": "--spectrum-slider-handle-size-small",
+ "desktop": {
+ "value": "14px"
+ },
+ "mobile": {
+ "value": "18px"
+ }
+ },
+ "slider-handle-small": {
+ "prop": "--spectrum-slider-handle-small",
+ "desktop": {
+ "value": "18px"
+ },
+ "mobile": {
+ "value": "22px"
+ }
+ },
+ "slider-track-height-large": {
+ "prop": "--spectrum-slider-track-height-large",
+ "value": "16px"
+ },
+ "slider-track-height-medium": {
+ "prop": "--spectrum-slider-track-height-medium",
+ "value": "4px"
+ },
+ "slider-track-thickness": {
+ "prop": "--spectrum-slider-track-thickness",
+ "value": "2px"
+ },
+ "spacing-100": {
+ "prop": "--spectrum-spacing-100",
+ "value": "8px"
+ },
+ "spacing-1000": {
+ "prop": "--spectrum-spacing-1000",
+ "value": "96px"
+ },
+ "spacing-200": {
+ "prop": "--spectrum-spacing-200",
+ "value": "12px"
+ },
+ "spacing-300": {
+ "prop": "--spectrum-spacing-300",
+ "value": "16px"
+ },
+ "spacing-400": {
+ "prop": "--spectrum-spacing-400",
+ "value": "24px"
+ },
+ "spacing-50": {
+ "prop": "--spectrum-spacing-50",
+ "value": "2px"
+ },
+ "spacing-500": {
+ "prop": "--spectrum-spacing-500",
+ "value": "32px"
+ },
+ "spacing-600": {
+ "prop": "--spectrum-spacing-600",
+ "value": "40px"
+ },
+ "spacing-700": {
+ "prop": "--spectrum-spacing-700",
+ "value": "48px"
+ },
+ "spacing-75": {
+ "prop": "--spectrum-spacing-75",
+ "value": "4px"
+ },
+ "spacing-800": {
+ "prop": "--spectrum-spacing-800",
+ "value": "64px"
+ },
+ "spacing-900": {
+ "prop": "--spectrum-spacing-900",
+ "value": "80px"
+ },
+ "standard-dialog-body-font-size": {
+ "prop": "--spectrum-standard-dialog-body-font-size",
+ "ref": "var(--spectrum-body-size-s)",
+ "desktop": {
+ "value": "16px"
+ },
+ "mobile": {
+ "value": "17px"
+ }
+ },
+ "standard-dialog-maximum-width-large": {
+ "prop": "--spectrum-standard-dialog-maximum-width-large",
+ "value": "640px"
+ },
+ "standard-dialog-maximum-width-medium": {
+ "prop": "--spectrum-standard-dialog-maximum-width-medium",
+ "value": "480px"
+ },
+ "standard-dialog-maximum-width-small": {
+ "prop": "--spectrum-standard-dialog-maximum-width-small",
+ "value": "400px"
+ },
+ "standard-dialog-minimum-width": {
+ "prop": "--spectrum-standard-dialog-minimum-width",
+ "value": "288px"
+ },
+ "standard-dialog-title-font-size": {
+ "prop": "--spectrum-standard-dialog-title-font-size",
+ "ref": "var(--spectrum-title-size-xl)",
+ "desktop": {
+ "value": "22px"
+ },
+ "mobile": {
+ "value": "24px"
+ }
+ },
+ "standard-panel-edge-to-close-button-compact": {
+ "prop": "--spectrum-standard-panel-edge-to-close-button-compact",
+ "value": "3px"
+ },
+ "standard-panel-edge-to-close-button-regular": {
+ "prop": "--spectrum-standard-panel-edge-to-close-button-regular",
+ "value": "7px"
+ },
+ "standard-panel-edge-to-close-button-spacious": {
+ "prop": "--spectrum-standard-panel-edge-to-close-button-spacious",
+ "value": "15px"
+ },
+ "standard-panel-gripper-color": {
+ "prop": "--spectrum-standard-panel-gripper-color",
+ "ref": "var(--spectrum-gray-200)",
+ "light": {
+ "value": "rgb(225, 225, 225)"
+ },
+ "dark": {
+ "value": "rgb(50, 50, 50)"
+ }
+ },
+ "standard-panel-gripper-color-drag": {
+ "prop": "--spectrum-standard-panel-gripper-color-drag",
+ "ref": "var(--spectrum-gray-800)",
+ "light": {
+ "value": "rgb(41, 41, 41)"
+ },
+ "dark": {
+ "value": "rgb(219, 219, 219)"
+ }
+ },
+ "standard-panel-maximum-width": {
+ "prop": "--spectrum-standard-panel-maximum-width",
+ "value": "400px"
+ },
+ "standard-panel-minimum-width": {
+ "prop": "--spectrum-standard-panel-minimum-width",
+ "value": "200px"
+ },
+ "standard-panel-title-font-size": {
+ "prop": "--spectrum-standard-panel-title-font-size",
+ "ref": "var(--spectrum-title-size-s)",
+ "desktop": {
+ "value": "14px"
+ },
+ "mobile": {
+ "value": "17px"
+ }
+ },
+ "standard-panel-top-to-close-button-compact": {
+ "prop": "--spectrum-standard-panel-top-to-close-button-compact",
+ "value": "5px"
+ },
+ "standard-panel-top-to-close-button-regular": {
+ "prop": "--spectrum-standard-panel-top-to-close-button-regular",
+ "value": "9px"
+ },
+ "standard-panel-top-to-close-button-spacious": {
+ "prop": "--spectrum-standard-panel-top-to-close-button-spacious",
+ "value": "17px"
+ },
+ "standard-panel-width": {
+ "prop": "--spectrum-standard-panel-width",
+ "value": "260px"
+ },
+ "static-black-focus-indicator-color": {
+ "prop": "--spectrum-static-black-focus-indicator-color",
+ "ref": "var(--spectrum-black)",
+ "value": "rgb(0, 0, 0)"
+ },
+ "static-black-text-color": {
+ "prop": "--spectrum-static-black-text-color",
+ "ref": "var(--spectrum-black)",
+ "value": "rgb(0, 0, 0)"
+ },
+ "static-black-track-color": {
+ "prop": "--spectrum-static-black-track-color",
+ "ref": "var(--spectrum-transparent-black-300)",
+ "value": "rgba(0, 0, 0, 0.15)"
+ },
+ "static-black-track-indicator-color": {
+ "prop": "--spectrum-static-black-track-indicator-color",
+ "ref": "var(--spectrum-transparent-black-900)",
+ "value": "rgba(0, 0, 0, 0.93)"
+ },
+ "static-blue-1000": {
+ "prop": "--spectrum-static-blue-1000",
+ "value": "rgb(39, 77, 234)"
+ },
+ "static-blue-900": {
+ "prop": "--spectrum-static-blue-900",
+ "value": "rgb(59, 99, 251)"
+ },
+ "static-fuchsia-1000": {
+ "prop": "--spectrum-static-fuchsia-1000",
+ "value": "rgb(156, 40, 175)"
+ },
+ "static-fuchsia-900": {
+ "prop": "--spectrum-static-fuchsia-900",
+ "value": "rgb(181, 57, 200)"
+ },
+ "static-indigo-1000": {
+ "prop": "--spectrum-static-indigo-1000",
+ "value": "rgb(99, 56, 238)"
+ },
+ "static-indigo-900": {
+ "prop": "--spectrum-static-indigo-900",
+ "value": "rgb(113, 85, 250)"
+ },
+ "static-magenta-1000": {
+ "prop": "--spectrum-static-magenta-1000",
+ "value": "rgb(186, 22, 80)"
+ },
+ "static-magenta-900": {
+ "prop": "--spectrum-static-magenta-900",
+ "value": "rgb(217, 35, 97)"
+ },
+ "static-red-1000": {
+ "prop": "--spectrum-static-red-1000",
+ "value": "rgb(183, 40, 24)"
+ },
+ "static-red-900": {
+ "prop": "--spectrum-static-red-900",
+ "value": "rgb(215, 50, 32)"
+ },
+ "static-white-focus-indicator-color": {
+ "prop": "--spectrum-static-white-focus-indicator-color",
+ "ref": "var(--spectrum-white)",
+ "value": "rgb(255, 255, 255)"
+ },
+ "static-white-text-color": {
+ "prop": "--spectrum-static-white-text-color",
+ "ref": "var(--spectrum-white)",
+ "value": "rgb(255, 255, 255)"
+ },
+ "static-white-track-color": {
+ "prop": "--spectrum-static-white-track-color",
+ "ref": "var(--spectrum-transparent-white-300)",
+ "value": "rgba(255, 255, 255, 0.17)"
},
- "seafoam-400": {
- "prop": "--spectrum-seafoam-400",
- "light": {
- "value": "rgb(92, 225, 194)"
- },
- "dark": {
- "value": "rgb(0, 67, 59)"
- }
+ "static-white-track-indicator-color": {
+ "prop": "--spectrum-static-white-track-indicator-color",
+ "ref": "var(--spectrum-transparent-white-900)",
+ "value": "rgba(255, 255, 255, 0.94)"
},
- "seafoam-500": {
- "prop": "--spectrum-seafoam-500",
- "light": {
- "value": "rgb(16, 207, 169)"
+ "status-light-dot-size-extra-large": {
+ "prop": "--spectrum-status-light-dot-size-extra-large",
+ "desktop": {
+ "value": "14px"
},
- "dark": {
- "value": "rgb(2, 86, 75)"
+ "mobile": {
+ "value": "16px"
}
},
- "seafoam-600": {
- "prop": "--spectrum-seafoam-600",
- "light": {
- "value": "rgb(13, 181, 149)"
+ "status-light-dot-size-large": {
+ "prop": "--spectrum-status-light-dot-size-large",
+ "desktop": {
+ "value": "12px"
},
- "dark": {
- "value": "rgb(4, 105, 89)"
+ "mobile": {
+ "value": "14px"
}
},
- "seafoam-700": {
- "prop": "--spectrum-seafoam-700",
- "light": {
- "value": "rgb(11, 162, 134)"
+ "status-light-dot-size-medium": {
+ "prop": "--spectrum-status-light-dot-size-medium",
+ "desktop": {
+ "value": "10px"
},
- "dark": {
- "value": "rgb(6, 122, 103)"
+ "mobile": {
+ "value": "12px"
}
},
- "seafoam-800": {
- "prop": "--spectrum-seafoam-800",
- "light": {
- "value": "rgb(9, 144, 120)"
+ "status-light-dot-size-small": {
+ "prop": "--spectrum-status-light-dot-size-small",
+ "desktop": {
+ "value": "8px"
},
- "dark": {
- "value": "rgb(8, 134, 112)"
+ "mobile": {
+ "value": "10px"
}
},
- "seafoam-900": {
- "prop": "--spectrum-seafoam-900",
- "light": {
- "value": "rgb(7, 129, 109)"
+ "status-light-text-to-visual-100": {
+ "prop": "--spectrum-status-light-text-to-visual-100",
+ "ref": "var(--spectrum-text-to-visual-100)",
+ "desktop": {
+ "value": "6px"
},
- "dark": {
- "value": "rgb(10, 154, 128)"
+ "mobile": {
+ "value": "8px"
}
},
- "seafoam-background-color-default": {
- "prop": "--spectrum-seafoam-background-color-default",
- "ref": "var(--spectrum-seafoam-800)",
- "light": {
- "value": "rgb(7, 129, 109)"
+ "status-light-text-to-visual-200": {
+ "prop": "--spectrum-status-light-text-to-visual-200",
+ "ref": "var(--spectrum-text-to-visual-200)",
+ "desktop": {
+ "value": "7px"
},
- "dark": {
- "value": "rgb(8, 134, 112)"
+ "mobile": {
+ "value": "9px"
}
},
- "seafoam-subtle-background-color-default": {
- "prop": "--spectrum-seafoam-subtle-background-color-default",
- "ref": "var(--spectrum-seafoam-300)",
- "light": {
- "value": "rgb(211, 246, 234)"
+ "status-light-text-to-visual-300": {
+ "prop": "--spectrum-status-light-text-to-visual-300",
+ "ref": "var(--spectrum-text-to-visual-300)",
+ "desktop": {
+ "value": "8px"
},
- "dark": {
- "value": "rgb(0, 50, 44)"
+ "mobile": {
+ "value": "10px"
}
},
- "seafoam-visual-color": {
- "prop": "--spectrum-seafoam-visual-color",
- "ref": "var(--spectrum-seafoam-800)",
- "light": {
- "value": "rgb(11, 162, 134)"
+ "status-light-text-to-visual-75": {
+ "prop": "--spectrum-status-light-text-to-visual-75",
+ "ref": "var(--spectrum-text-to-visual-75)",
+ "desktop": {
+ "value": "5px"
},
- "dark": {
- "value": "rgb(8, 134, 112)"
+ "mobile": {
+ "value": "7px"
}
},
- "search-field-minimum-width-multiplier": {
- "prop": "--spectrum-search-field-minimum-width-multiplier",
- "value": "3"
- },
- "serif-font-family": {
- "prop": "--spectrum-serif-font-family",
- "value": "Adobe Clean Serif"
- },
- "side-label-character-count-to-field": {
- "prop": "--spectrum-side-label-character-count-to-field",
+ "status-light-top-to-dot-extra-large": {
+ "prop": "--spectrum-status-light-top-to-dot-extra-large",
"desktop": {
- "value": "12px"
+ "value": "17px"
},
"mobile": {
- "value": "15px"
+ "value": "22px"
}
},
- "side-label-character-count-top-margin-extra-large": {
- "prop": "--spectrum-side-label-character-count-top-margin-extra-large",
+ "status-light-top-to-dot-large": {
+ "prop": "--spectrum-status-light-top-to-dot-large",
"desktop": {
"value": "14px"
},
@@ -9723,8 +13185,8 @@
"value": "18px"
}
},
- "side-label-character-count-top-margin-large": {
- "prop": "--spectrum-side-label-character-count-top-margin-large",
+ "status-light-top-to-dot-medium": {
+ "prop": "--spectrum-status-light-top-to-dot-medium",
"desktop": {
"value": "11px"
},
@@ -9732,8 +13194,8 @@
"value": "14px"
}
},
- "side-label-character-count-top-margin-medium": {
- "prop": "--spectrum-side-label-character-count-top-margin-medium",
+ "status-light-top-to-dot-small": {
+ "prop": "--spectrum-status-light-top-to-dot-small",
"desktop": {
"value": "8px"
},
@@ -9741,35 +13203,80 @@
"value": "10px"
}
},
- "side-label-character-count-top-margin-small": {
- "prop": "--spectrum-side-label-character-count-top-margin-small",
+ "swatch-border-color": {
+ "prop": "--spectrum-swatch-border-color",
+ "ref": "var(--spectrum-gray-1000)",
+ "dark": {
+ "value": "rgb(255, 255, 255)"
+ },
+ "light": {
+ "value": "rgb(0, 0, 0)"
+ }
+ },
+ "swatch-border-opacity": {
+ "prop": "--spectrum-swatch-border-opacity",
+ "value": "0.42"
+ },
+ "swatch-disabled-icon-border-color": {
+ "prop": "--spectrum-swatch-disabled-icon-border-color",
+ "ref": "var(--spectrum-black)",
+ "value": "rgb(0, 0, 0)"
+ },
+ "swatch-disabled-icon-border-opacity": {
+ "prop": "--spectrum-swatch-disabled-icon-border-opacity",
+ "value": "0.42"
+ },
+ "swatch-group-border-color": {
+ "prop": "--spectrum-swatch-group-border-color",
+ "ref": "var(--spectrum-gray-1000)",
+ "dark": {
+ "value": "rgb(255, 255, 255)"
+ },
+ "light": {
+ "value": "rgb(0, 0, 0)"
+ }
+ },
+ "swatch-group-border-opacity": {
+ "prop": "--spectrum-swatch-group-border-opacity",
+ "value": "0.2"
+ },
+ "swatch-group-spacing-spacious": {
+ "prop": "--spectrum-swatch-group-spacing-spacious",
+ "value": "6px"
+ },
+ "swatch-rectangle-width-multiplier": {
+ "prop": "--spectrum-swatch-rectangle-width-multiplier",
+ "value": 2
+ },
+ "swatch-size-extra-small": {
+ "prop": "--spectrum-swatch-size-extra-small",
"desktop": {
- "value": "4px"
+ "value": "16px"
},
"mobile": {
- "value": "5px"
+ "value": "20px"
}
},
- "side-navigation-bottom-to-text": {
- "prop": "--spectrum-side-navigation-bottom-to-text",
+ "swatch-size-large": {
+ "prop": "--spectrum-swatch-size-large",
"desktop": {
- "value": "8px"
+ "value": "40px"
},
"mobile": {
- "value": "10px"
+ "value": "50px"
}
},
- "side-navigation-header-to-item": {
- "prop": "--spectrum-side-navigation-header-to-item",
+ "swatch-size-medium": {
+ "prop": "--spectrum-swatch-size-medium",
"desktop": {
- "value": "8px"
+ "value": "32px"
},
"mobile": {
- "value": "10px"
+ "value": "40px"
}
},
- "side-navigation-item-to-header": {
- "prop": "--spectrum-side-navigation-item-to-header",
+ "swatch-size-small": {
+ "prop": "--spectrum-swatch-size-small",
"desktop": {
"value": "24px"
},
@@ -9777,560 +13284,513 @@
"value": "30px"
}
},
- "side-navigation-item-to-item": {
- "prop": "--spectrum-side-navigation-item-to-item",
+ "swatch-slash-thickness-extra-small": {
+ "prop": "--spectrum-swatch-slash-thickness-extra-small",
+ "value": "2px"
+ },
+ "swatch-slash-thickness-large": {
+ "prop": "--spectrum-swatch-slash-thickness-large",
+ "value": "5px"
+ },
+ "swatch-slash-thickness-medium": {
+ "prop": "--spectrum-swatch-slash-thickness-medium",
+ "value": "4px"
+ },
+ "swatch-slash-thickness-small": {
+ "prop": "--spectrum-swatch-slash-thickness-small",
+ "value": "3px"
+ },
+ "switch-control-height-extra-large": {
+ "prop": "--spectrum-switch-control-height-extra-large",
"desktop": {
- "value": "4px"
+ "value": "20px"
},
"mobile": {
- "value": "5px"
+ "value": "26px"
}
},
- "side-navigation-maximum-width": {
- "prop": "--spectrum-side-navigation-maximum-width",
+ "switch-control-height-large": {
+ "prop": "--spectrum-switch-control-height-large",
"desktop": {
- "value": "240px"
+ "value": "18px"
},
"mobile": {
- "value": "300px"
+ "value": "22px"
}
},
- "side-navigation-minimum-width": {
- "prop": "--spectrum-side-navigation-minimum-width",
+ "switch-control-height-medium": {
+ "prop": "--spectrum-switch-control-height-medium",
"desktop": {
- "value": "160px"
+ "value": "16px"
},
"mobile": {
- "value": "200px"
+ "value": "20px"
}
},
- "side-navigation-second-level-edge-to-text": {
- "prop": "--spectrum-side-navigation-second-level-edge-to-text",
+ "switch-control-height-small": {
+ "prop": "--spectrum-switch-control-height-small",
"desktop": {
- "value": "24px"
+ "value": "14px"
},
"mobile": {
- "value": "30px"
+ "value": "18px"
}
},
- "side-navigation-third-level-edge-to-text": {
- "prop": "--spectrum-side-navigation-third-level-edge-to-text",
+ "switch-control-width-extra-large": {
+ "prop": "--spectrum-switch-control-width-extra-large",
"desktop": {
- "value": "36px"
+ "value": "34px"
},
"mobile": {
- "value": "45px"
+ "value": "46px"
}
},
- "side-navigation-width": {
- "prop": "--spectrum-side-navigation-width",
+ "switch-control-width-large": {
+ "prop": "--spectrum-switch-control-width-large",
"desktop": {
- "value": "192px"
+ "value": "30px"
},
"mobile": {
- "value": "240px"
+ "value": "38px"
}
},
- "side-navigation-with-icon-second-level-edge-to-text": {
- "prop": "--spectrum-side-navigation-with-icon-second-level-edge-to-text",
+ "switch-control-width-medium": {
+ "prop": "--spectrum-switch-control-width-medium",
"desktop": {
- "value": "50px"
+ "value": "26px"
},
"mobile": {
- "value": "62px"
+ "value": "34px"
}
},
- "side-navigation-with-icon-third-level-edge-to-text": {
- "prop": "--spectrum-side-navigation-with-icon-third-level-edge-to-text",
+ "switch-control-width-small": {
+ "prop": "--spectrum-switch-control-width-small",
"desktop": {
- "value": "62px"
+ "value": "22px"
},
"mobile": {
- "value": "77px"
+ "value": "30px"
}
},
- "silver-100": {
- "prop": "--spectrum-silver-100",
- "dark": {
- "value": "rgb(26, 26, 26)"
+ "switch-handle-selected-size-extra-large": {
+ "prop": "--spectrum-switch-handle-selected-size-extra-large",
+ "desktop": {
+ "value": "14px"
},
- "light": {
- "value": "rgb(247, 247, 247)"
+ "mobile": {
+ "value": "20px"
}
},
- "silver-1000": {
- "prop": "--spectrum-silver-1000",
- "dark": {
- "value": "rgb(152, 152, 152)"
+ "switch-handle-selected-size-large": {
+ "prop": "--spectrum-switch-handle-selected-size-large",
+ "desktop": {
+ "value": "12px"
},
- "light": {
- "value": "rgb(96, 96, 96)"
+ "mobile": {
+ "value": "16px"
}
},
- "silver-1100": {
- "prop": "--spectrum-silver-1100",
- "dark": {
- "value": "rgb(169, 169, 169)"
+ "switch-handle-selected-size-medium": {
+ "prop": "--spectrum-switch-handle-selected-size-medium",
+ "desktop": {
+ "value": "10px"
},
- "light": {
- "value": "rgb(81, 81, 81)"
+ "mobile": {
+ "value": "14px"
}
},
- "silver-1200": {
- "prop": "--spectrum-silver-1200",
- "dark": {
- "value": "rgb(190, 190, 190)"
+ "switch-handle-selected-size-small": {
+ "prop": "--spectrum-switch-handle-selected-size-small",
+ "desktop": {
+ "value": "8px"
},
- "light": {
- "value": "rgb(66, 66, 66)"
+ "mobile": {
+ "value": "12px"
}
},
- "silver-1300": {
- "prop": "--spectrum-silver-1300",
- "dark": {
- "value": "rgb(211, 211, 211)"
+ "switch-handle-size-extra-large": {
+ "prop": "--spectrum-switch-handle-size-extra-large",
+ "desktop": {
+ "value": "12px"
},
- "light": {
- "value": "rgb(52, 52, 52)"
+ "mobile": {
+ "value": "18px"
}
},
- "silver-1400": {
- "prop": "--spectrum-silver-1400",
- "dark": {
- "value": "rgb(229, 229, 229)"
+ "switch-handle-size-large": {
+ "prop": "--spectrum-switch-handle-size-large",
+ "desktop": {
+ "value": "10px"
},
- "light": {
- "value": "rgb(39, 39, 39)"
+ "mobile": {
+ "value": "14px"
}
},
- "silver-1500": {
- "prop": "--spectrum-silver-1500",
- "dark": {
- "value": "rgb(244, 244, 244)"
+ "switch-handle-size-medium": {
+ "prop": "--spectrum-switch-handle-size-medium",
+ "desktop": {
+ "value": "8px"
},
- "light": {
- "value": "rgb(28, 28, 28)"
+ "mobile": {
+ "value": "12px"
}
},
- "silver-1600": {
- "prop": "--spectrum-silver-1600",
- "dark": {
- "value": "rgb(255, 255, 255)"
+ "switch-handle-size-small": {
+ "prop": "--spectrum-switch-handle-size-small",
+ "desktop": {
+ "value": "6px"
},
- "light": {
- "value": "rgb(12, 12, 12)"
+ "mobile": {
+ "value": "10px"
}
},
- "silver-200": {
- "prop": "--spectrum-silver-200",
- "dark": {
- "value": "rgb(33, 33, 33)"
+ "switch-top-to-control-extra-large": {
+ "prop": "--spectrum-switch-top-to-control-extra-large",
+ "desktop": {
+ "value": "15px"
},
- "light": {
- "value": "rgb(239, 239, 239)"
+ "mobile": {
+ "value": "19px"
}
},
- "silver-300": {
- "prop": "--spectrum-silver-300",
- "dark": {
- "value": "rgb(44, 44, 44)"
+ "switch-top-to-control-large": {
+ "prop": "--spectrum-switch-top-to-control-large",
+ "desktop": {
+ "value": "12px"
},
- "light": {
- "value": "rgb(223, 223, 223)"
+ "mobile": {
+ "value": "15px"
}
},
- "silver-400": {
- "prop": "--spectrum-silver-400",
- "dark": {
- "value": "rgb(59, 59, 59)"
+ "switch-top-to-control-medium": {
+ "prop": "--spectrum-switch-top-to-control-medium",
+ "desktop": {
+ "value": "9px"
},
- "light": {
- "value": "rgb(204, 204, 204)"
+ "mobile": {
+ "value": "11px"
}
},
- "silver-500": {
- "prop": "--spectrum-silver-500",
- "dark": {
- "value": "rgb(76, 76, 76)"
+ "switch-top-to-control-small": {
+ "prop": "--spectrum-switch-top-to-control-small",
+ "desktop": {
+ "value": "6px"
},
- "light": {
- "value": "rgb(183, 183, 183)"
+ "mobile": {
+ "value": "7px"
}
},
- "silver-600": {
- "prop": "--spectrum-silver-600",
- "dark": {
- "value": "rgb(92, 92, 92)"
+ "tab-item-bottom-to-text-compact-extra-large": {
+ "prop": "--spectrum-tab-item-bottom-to-text-compact-extra-large",
+ "desktop": {
+ "value": "13px"
},
- "light": {
- "value": "rgb(160, 160, 160)"
+ "mobile": {
+ "value": "17px"
}
},
- "silver-700": {
- "prop": "--spectrum-silver-700",
- "dark": {
- "value": "rgb(108, 108, 108)"
+ "tab-item-bottom-to-text-compact-large": {
+ "prop": "--spectrum-tab-item-bottom-to-text-compact-large",
+ "desktop": {
+ "value": "12px"
},
- "light": {
- "value": "rgb(143, 143, 143)"
+ "mobile": {
+ "value": "14px"
}
},
- "silver-800": {
- "prop": "--spectrum-silver-800",
- "dark": {
- "value": "rgb(118, 118, 118)"
+ "tab-item-bottom-to-text-compact-medium": {
+ "prop": "--spectrum-tab-item-bottom-to-text-compact-medium",
+ "desktop": {
+ "value": "8px"
},
- "light": {
- "value": "rgb(128, 128, 128)"
+ "mobile": {
+ "value": "10px"
}
},
- "silver-900": {
- "prop": "--spectrum-silver-900",
- "dark": {
- "value": "rgb(137, 137, 137)"
+ "tab-item-bottom-to-text-compact-small": {
+ "prop": "--spectrum-tab-item-bottom-to-text-compact-small",
+ "desktop": {
+ "value": "5px"
},
- "light": {
- "value": "rgb(114, 114, 114)"
+ "mobile": {
+ "value": "6px"
}
},
- "silver-background-color-default": {
- "prop": "--spectrum-silver-background-color-default",
- "ref": "var(--spectrum-silver-800)",
- "light": {
- "value": "rgb(114, 114, 114)"
+ "tab-item-bottom-to-text-extra-large": {
+ "prop": "--spectrum-tab-item-bottom-to-text-extra-large",
+ "desktop": {
+ "value": "20px"
},
- "dark": {
- "value": "rgb(118, 118, 118)"
+ "mobile": {
+ "value": "25px"
}
},
- "silver-subtle-background-color-default": {
- "prop": "--spectrum-silver-subtle-background-color-default",
- "ref": "var(--spectrum-silver-300)",
- "light": {
- "value": "rgb(239, 239, 239)"
+ "tab-item-bottom-to-text-large": {
+ "prop": "--spectrum-tab-item-bottom-to-text-large",
+ "desktop": {
+ "value": "18px"
},
- "dark": {
- "value": "rgb(44, 44, 44)"
+ "mobile": {
+ "value": "22px"
}
},
- "silver-visual-color": {
- "prop": "--spectrum-silver-visual-color",
- "ref": "var(--spectrum-silver-900)",
- "light": {
- "value": "rgb(128, 128, 128)"
+ "tab-item-bottom-to-text-medium": {
+ "prop": "--spectrum-tab-item-bottom-to-text-medium",
+ "desktop": {
+ "value": "14px"
},
- "dark": {
- "value": "rgb(137, 137, 137)"
+ "mobile": {
+ "value": "19px"
}
},
- "slider-bottom-to-handle-extra-large": {
- "prop": "--spectrum-slider-bottom-to-handle-extra-large",
+ "tab-item-bottom-to-text-small": {
+ "prop": "--spectrum-tab-item-bottom-to-text-small",
"desktop": {
- "value": "14px"
+ "value": "12px"
},
"mobile": {
- "value": "17px"
+ "value": "15px"
}
},
- "slider-bottom-to-handle-large": {
- "prop": "--spectrum-slider-bottom-to-handle-large",
+ "tab-item-compact-height-extra-large": {
+ "prop": "--spectrum-tab-item-compact-height-extra-large",
+ "ref": "var(--spectrum-component-height-300)",
"desktop": {
- "value": "11px"
+ "value": "48px"
},
"mobile": {
- "value": "14px"
+ "value": "60px"
}
},
- "slider-bottom-to-handle-medium": {
- "prop": "--spectrum-slider-bottom-to-handle-medium",
+ "tab-item-compact-height-large": {
+ "prop": "--spectrum-tab-item-compact-height-large",
+ "ref": "var(--spectrum-component-height-200)",
"desktop": {
- "value": "8px"
+ "value": "40px"
},
"mobile": {
- "value": "10px"
+ "value": "50px"
}
},
- "slider-bottom-to-handle-small": {
- "prop": "--spectrum-slider-bottom-to-handle-small",
+ "tab-item-compact-height-medium": {
+ "prop": "--spectrum-tab-item-compact-height-medium",
+ "ref": "var(--spectrum-component-height-100)",
"desktop": {
- "value": "5px"
+ "value": "32px"
},
"mobile": {
- "value": "6px"
+ "value": "40px"
}
},
- "slider-control-height-extra-large": {
- "prop": "--spectrum-slider-control-height-extra-large",
+ "tab-item-compact-height-small": {
+ "prop": "--spectrum-tab-item-compact-height-small",
+ "ref": "var(--spectrum-component-height-75)",
"desktop": {
- "value": "20px"
+ "value": "24px"
},
"mobile": {
- "value": "26px"
+ "value": "30px"
}
},
- "slider-control-height-large": {
- "prop": "--spectrum-slider-control-height-large",
+ "tab-item-focus-indicator-gap-extra-large": {
+ "prop": "--spectrum-tab-item-focus-indicator-gap-extra-large",
"desktop": {
- "value": "18px"
+ "value": "10px"
},
"mobile": {
- "value": "22px"
+ "value": "12px"
}
},
- "slider-control-height-medium": {
- "prop": "--spectrum-slider-control-height-medium",
+ "tab-item-focus-indicator-gap-large": {
+ "prop": "--spectrum-tab-item-focus-indicator-gap-large",
"desktop": {
- "value": "16px"
+ "value": "9px"
},
"mobile": {
- "value": "20px"
+ "value": "11px"
}
},
- "slider-control-height-small": {
- "prop": "--spectrum-slider-control-height-small",
+ "tab-item-focus-indicator-gap-medium": {
+ "prop": "--spectrum-tab-item-focus-indicator-gap-medium",
"desktop": {
- "value": "14px"
+ "value": "8px"
},
"mobile": {
- "value": "18px"
+ "value": "10px"
}
},
- "slider-control-to-field-label-extra-large": {
- "prop": "--spectrum-slider-control-to-field-label-extra-large",
+ "tab-item-focus-indicator-gap-small": {
+ "prop": "--spectrum-tab-item-focus-indicator-gap-small",
"desktop": {
- "value": "14px"
+ "value": "7px"
},
"mobile": {
- "value": "17px"
+ "value": "9px"
}
},
- "slider-control-to-field-label-large": {
- "prop": "--spectrum-slider-control-to-field-label-large",
+ "tab-item-height-extra-large": {
+ "prop": "--spectrum-tab-item-height-extra-large",
+ "ref": "var(--spectrum-component-height-500)",
"desktop": {
- "value": "11px"
+ "value": "64px"
},
"mobile": {
- "value": "14px"
+ "value": "80px"
}
},
- "slider-control-to-field-label-medium": {
- "prop": "--spectrum-slider-control-to-field-label-medium",
+ "tab-item-height-large": {
+ "prop": "--spectrum-tab-item-height-large",
+ "ref": "var(--spectrum-component-height-400)",
"desktop": {
- "value": "8px"
+ "value": "56px"
},
"mobile": {
- "value": "10px"
+ "value": "70px"
}
},
- "slider-control-to-field-label-small": {
- "prop": "--spectrum-slider-control-to-field-label-small",
+ "tab-item-height-medium": {
+ "prop": "--spectrum-tab-item-height-medium",
+ "ref": "var(--spectrum-component-height-300)",
"desktop": {
- "value": "5px"
+ "value": "48px"
},
"mobile": {
- "value": "6px"
+ "value": "60px"
}
},
- "slider-handle-border-width-down-extra-large": {
- "prop": "--spectrum-slider-handle-border-width-down-extra-large",
+ "tab-item-height-small": {
+ "prop": "--spectrum-tab-item-height-small",
+ "ref": "var(--spectrum-component-height-200)",
"desktop": {
- "value": "8px"
+ "value": "40px"
},
"mobile": {
- "value": "11px"
+ "value": "50px"
}
},
- "slider-handle-border-width-down-large": {
- "prop": "--spectrum-slider-handle-border-width-down-large",
+ "tab-item-start-to-edge-extra-large": {
+ "prop": "--spectrum-tab-item-start-to-edge-extra-large",
"desktop": {
- "value": "7px"
+ "value": "13px"
},
"mobile": {
- "value": "9px"
+ "value": "19px"
}
},
- "slider-handle-border-width-down-medium": {
- "prop": "--spectrum-slider-handle-border-width-down-medium",
+ "tab-item-start-to-edge-large": {
+ "prop": "--spectrum-tab-item-start-to-edge-large",
"desktop": {
- "value": "6px"
+ "value": "13px"
},
"mobile": {
- "value": "8px"
+ "value": "17px"
}
},
- "slider-handle-border-width-down-small": {
- "prop": "--spectrum-slider-handle-border-width-down-small",
+ "tab-item-start-to-edge-medium": {
+ "prop": "--spectrum-tab-item-start-to-edge-medium",
"desktop": {
- "value": "5px"
+ "value": "12px"
},
"mobile": {
- "value": "7px"
+ "value": "15px"
}
},
- "slider-handle-gap": {
- "prop": "--spectrum-slider-handle-gap",
- "value": "4px"
+ "tab-item-start-to-edge-quiet": {
+ "prop": "--spectrum-tab-item-start-to-edge-quiet",
+ "value": "0px"
},
- "slider-handle-size-extra-large": {
- "prop": "--spectrum-slider-handle-size-extra-large",
+ "tab-item-start-to-edge-small": {
+ "prop": "--spectrum-tab-item-start-to-edge-small",
"desktop": {
- "value": "20px"
+ "value": "12px"
},
"mobile": {
- "value": "26px"
+ "value": "13px"
}
},
- "slider-handle-size-large": {
- "prop": "--spectrum-slider-handle-size-large",
+ "tab-item-to-tab-item-horizontal-extra-large": {
+ "prop": "--spectrum-tab-item-to-tab-item-horizontal-extra-large",
"desktop": {
- "value": "18px"
+ "value": "30px"
},
"mobile": {
- "value": "22px"
+ "value": "36px"
}
},
- "slider-handle-size-medium": {
- "prop": "--spectrum-slider-handle-size-medium",
+ "tab-item-to-tab-item-horizontal-large": {
+ "prop": "--spectrum-tab-item-to-tab-item-horizontal-large",
"desktop": {
- "value": "16px"
+ "value": "27px"
},
"mobile": {
- "value": "20px"
+ "value": "33px"
}
},
- "slider-handle-size-small": {
- "prop": "--spectrum-slider-handle-size-small",
+ "tab-item-to-tab-item-horizontal-medium": {
+ "prop": "--spectrum-tab-item-to-tab-item-horizontal-medium",
"desktop": {
- "value": "14px"
+ "value": "24px"
},
"mobile": {
- "value": "18px"
+ "value": "30px"
}
},
- "slider-track-thickness": {
- "prop": "--spectrum-slider-track-thickness",
- "value": "2px"
- },
- "spacing-100": {
- "prop": "--spectrum-spacing-100",
- "value": "8px"
- },
- "spacing-1000": {
- "prop": "--spectrum-spacing-1000",
- "value": "96px"
- },
- "spacing-200": {
- "prop": "--spectrum-spacing-200",
- "value": "12px"
- },
- "spacing-300": {
- "prop": "--spectrum-spacing-300",
- "value": "16px"
- },
- "spacing-400": {
- "prop": "--spectrum-spacing-400",
- "value": "24px"
- },
- "spacing-50": {
- "prop": "--spectrum-spacing-50",
- "value": "2px"
- },
- "spacing-500": {
- "prop": "--spectrum-spacing-500",
- "value": "32px"
- },
- "spacing-600": {
- "prop": "--spectrum-spacing-600",
- "value": "40px"
- },
- "spacing-700": {
- "prop": "--spectrum-spacing-700",
- "value": "48px"
- },
- "spacing-75": {
- "prop": "--spectrum-spacing-75",
- "value": "4px"
- },
- "spacing-800": {
- "prop": "--spectrum-spacing-800",
- "value": "64px"
- },
- "spacing-900": {
- "prop": "--spectrum-spacing-900",
- "value": "80px"
- },
- "static-black-focus-indicator-color": {
- "prop": "--spectrum-static-black-focus-indicator-color",
- "ref": "var(--spectrum-black)",
- "value": "rgb(0, 0, 0)"
- },
- "static-black-text-color": {
- "prop": "--spectrum-static-black-text-color",
- "ref": "var(--spectrum-black)",
- "value": "rgb(0, 0, 0)"
- },
- "static-black-track-color": {
- "prop": "--spectrum-static-black-track-color",
- "ref": "var(--spectrum-transparent-black-300)",
- "light": {
- "value": "rgba(0, 0, 0, 0.15)"
+ "tab-item-to-tab-item-horizontal-small": {
+ "prop": "--spectrum-tab-item-to-tab-item-horizontal-small",
+ "desktop": {
+ "value": "21px"
},
- "dark": {
- "value": "rgba(0, 0, 0, 0.15)"
+ "mobile": {
+ "value": "27px"
}
},
- "static-black-track-indicator-color": {
- "prop": "--spectrum-static-black-track-indicator-color",
- "ref": "var(--spectrum-transparent-black-900)",
- "light": {
- "value": "rgba(0, 0, 0, 0.93)"
+ "tab-item-to-tab-item-vertical-extra-large": {
+ "prop": "--spectrum-tab-item-to-tab-item-vertical-extra-large",
+ "desktop": {
+ "value": "5px"
},
- "dark": {
- "value": "rgba(0, 0, 0, 0.93)"
+ "mobile": {
+ "value": "6px"
}
},
- "static-white-focus-indicator-color": {
- "prop": "--spectrum-static-white-focus-indicator-color",
- "ref": "var(--spectrum-white)",
- "light": {
- "value": "rgb(255, 255, 255)"
+ "tab-item-to-tab-item-vertical-large": {
+ "prop": "--spectrum-tab-item-to-tab-item-vertical-large",
+ "desktop": {
+ "value": "5px"
},
- "dark": {
- "value": "rgb(255, 255, 255)"
+ "mobile": {
+ "value": "6px"
}
},
- "static-white-text-color": {
- "prop": "--spectrum-static-white-text-color",
- "ref": "var(--spectrum-white)",
- "light": {
- "value": "rgb(255, 255, 255)"
+ "tab-item-to-tab-item-vertical-medium": {
+ "prop": "--spectrum-tab-item-to-tab-item-vertical-medium",
+ "desktop": {
+ "value": "4px"
},
- "dark": {
- "value": "rgb(255, 255, 255)"
+ "mobile": {
+ "value": "5px"
}
},
- "static-white-track-color": {
- "prop": "--spectrum-static-white-track-color",
- "ref": "var(--spectrum-transparent-white-300)",
- "light": {
- "value": "rgba(255, 255, 255, 0.17)"
+ "tab-item-to-tab-item-vertical-small": {
+ "prop": "--spectrum-tab-item-to-tab-item-vertical-small",
+ "desktop": {
+ "value": "4px"
},
- "dark": {
- "value": "rgba(255, 255, 255, 0.17)"
+ "mobile": {
+ "value": "5px"
}
},
- "static-white-track-indicator-color": {
- "prop": "--spectrum-static-white-track-indicator-color",
- "ref": "var(--spectrum-transparent-white-900)",
- "light": {
- "value": "rgba(255, 255, 255, 0.94)"
+ "tab-item-top-to-text-compact-extra-large": {
+ "prop": "--spectrum-tab-item-top-to-text-compact-extra-large",
+ "desktop": {
+ "value": "12px"
},
- "dark": {
- "value": "rgba(255, 255, 255, 0.94)"
+ "mobile": {
+ "value": "15px"
}
},
- "status-light-dot-size-extra-large": {
- "prop": "--spectrum-status-light-dot-size-extra-large",
+ "tab-item-top-to-text-compact-large": {
+ "prop": "--spectrum-tab-item-top-to-text-compact-large",
"desktop": {
"value": "10px"
},
@@ -10338,374 +13798,345 @@
"value": "12px"
}
},
- "status-light-dot-size-large": {
- "prop": "--spectrum-status-light-dot-size-large",
+ "tab-item-top-to-text-compact-medium": {
+ "prop": "--spectrum-tab-item-top-to-text-compact-medium",
"desktop": {
- "value": "10px"
+ "value": "6px"
},
"mobile": {
- "value": "12px"
+ "value": "9px"
}
},
- "status-light-dot-size-medium": {
- "prop": "--spectrum-status-light-dot-size-medium",
+ "tab-item-top-to-text-compact-small": {
+ "prop": "--spectrum-tab-item-top-to-text-compact-small",
"desktop": {
- "value": "8px"
+ "value": "4px"
},
"mobile": {
- "value": "10px"
+ "value": "5px"
}
},
- "status-light-dot-size-small": {
- "prop": "--spectrum-status-light-dot-size-small",
- "value": "8px"
- },
- "status-light-top-to-dot-extra-large": {
- "prop": "--spectrum-status-light-top-to-dot-extra-large",
+ "tab-item-top-to-text-extra-large": {
+ "prop": "--spectrum-tab-item-top-to-text-extra-large",
"desktop": {
"value": "19px"
},
"mobile": {
- "value": "24px"
+ "value": "25px"
}
},
- "status-light-top-to-dot-large": {
- "prop": "--spectrum-status-light-top-to-dot-large",
+ "tab-item-top-to-text-large": {
+ "prop": "--spectrum-tab-item-top-to-text-large",
"desktop": {
- "value": "15px"
+ "value": "16px"
},
"mobile": {
- "value": "19px"
+ "value": "22px"
}
},
- "status-light-top-to-dot-medium": {
- "prop": "--spectrum-status-light-top-to-dot-medium",
+ "tab-item-top-to-text-medium": {
+ "prop": "--spectrum-tab-item-top-to-text-medium",
"desktop": {
- "value": "12px"
+ "value": "14px"
},
"mobile": {
- "value": "15px"
+ "value": "18px"
}
},
- "status-light-top-to-dot-small": {
- "prop": "--spectrum-status-light-top-to-dot-small",
+ "tab-item-top-to-text-small": {
+ "prop": "--spectrum-tab-item-top-to-text-small",
"desktop": {
- "value": "8px"
+ "value": "11px"
},
"mobile": {
- "value": "11px"
+ "value": "14px"
}
},
- "swatch-border-color": {
- "prop": "--spectrum-swatch-border-color",
- "ref": "var(--spectrum-gray-900)",
- "light": {
- "value": "rgb(19, 19, 19)"
+ "tab-item-top-to-workflow-icon-compact-extra-large": {
+ "prop": "--spectrum-tab-item-top-to-workflow-icon-compact-extra-large",
+ "desktop": {
+ "value": "11px"
},
- "dark": {
- "value": "rgb(242, 242, 242)"
+ "mobile": {
+ "value": "16px"
}
},
- "swatch-border-opacity": {
- "prop": "--spectrum-swatch-border-opacity",
- "value": "0.51"
- },
- "swatch-disabled-icon-border-color": {
- "prop": "--spectrum-swatch-disabled-icon-border-color",
- "ref": "var(--spectrum-black)",
- "value": "rgb(0, 0, 0)"
- },
- "swatch-disabled-icon-border-opacity": {
- "prop": "--spectrum-swatch-disabled-icon-border-opacity",
- "value": "0.51"
- },
- "swatch-rectangle-width-multiplier": {
- "prop": "--spectrum-swatch-rectangle-width-multiplier",
- "value": "2"
- },
- "swatch-size-extra-small": {
- "prop": "--spectrum-swatch-size-extra-small",
+ "tab-item-top-to-workflow-icon-compact-large": {
+ "prop": "--spectrum-tab-item-top-to-workflow-icon-compact-large",
"desktop": {
- "value": "16px"
+ "value": "9px"
},
"mobile": {
- "value": "20px"
+ "value": "13px"
}
},
- "swatch-size-large": {
- "prop": "--spectrum-swatch-size-large",
+ "tab-item-top-to-workflow-icon-compact-medium": {
+ "prop": "--spectrum-tab-item-top-to-workflow-icon-compact-medium",
"desktop": {
- "value": "40px"
+ "value": "7px"
},
"mobile": {
- "value": "50px"
+ "value": "9px"
}
},
- "swatch-size-medium": {
- "prop": "--spectrum-swatch-size-medium",
+ "tab-item-top-to-workflow-icon-compact-small": {
+ "prop": "--spectrum-tab-item-top-to-workflow-icon-compact-small",
"desktop": {
- "value": "32px"
+ "value": "3px"
},
"mobile": {
- "value": "40px"
+ "value": "5px"
}
},
- "swatch-size-small": {
- "prop": "--spectrum-swatch-size-small",
+ "tab-item-top-to-workflow-icon-extra-large": {
+ "prop": "--spectrum-tab-item-top-to-workflow-icon-extra-large",
"desktop": {
- "value": "24px"
+ "value": "19px"
},
"mobile": {
- "value": "30px"
+ "value": "26px"
}
},
- "swatch-slash-thickness-extra-small": {
- "prop": "--spectrum-swatch-slash-thickness-extra-small",
- "value": "2px"
- },
- "swatch-slash-thickness-large": {
- "prop": "--spectrum-swatch-slash-thickness-large",
- "value": "5px"
- },
- "swatch-slash-thickness-medium": {
- "prop": "--spectrum-swatch-slash-thickness-medium",
- "value": "4px"
- },
- "swatch-slash-thickness-small": {
- "prop": "--spectrum-swatch-slash-thickness-small",
- "value": "3px"
- },
- "switch-control-height-extra-large": {
- "prop": "--spectrum-switch-control-height-extra-large",
+ "tab-item-top-to-workflow-icon-large": {
+ "prop": "--spectrum-tab-item-top-to-workflow-icon-large",
"desktop": {
- "value": "18px"
+ "value": "17px"
},
"mobile": {
- "value": "22px"
+ "value": "23px"
}
},
- "switch-control-height-large": {
- "prop": "--spectrum-switch-control-height-large",
+ "tab-item-top-to-workflow-icon-medium": {
+ "prop": "--spectrum-tab-item-top-to-workflow-icon-medium",
"desktop": {
- "value": "16px"
+ "value": "15px"
},
"mobile": {
- "value": "20px"
+ "value": "19px"
}
},
- "switch-control-height-medium": {
- "prop": "--spectrum-switch-control-height-medium",
+ "tab-item-top-to-workflow-icon-small": {
+ "prop": "--spectrum-tab-item-top-to-workflow-icon-small",
"desktop": {
- "value": "14px"
+ "value": "13px"
},
"mobile": {
- "value": "18px"
+ "value": "15px"
}
},
- "switch-control-height-small": {
- "prop": "--spectrum-switch-control-height-small",
+ "table-border-divider-width": {
+ "prop": "--spectrum-table-border-divider-width",
+ "value": "1px"
+ },
+ "table-checkbox-to-text": {
+ "prop": "--spectrum-table-checkbox-to-text",
"desktop": {
- "value": "12px"
+ "value": "24px"
},
"mobile": {
- "value": "16px"
+ "value": "30px"
}
},
- "switch-control-width-extra-large": {
- "prop": "--spectrum-switch-control-width-extra-large",
+ "table-column-header-row-bottom-to-text-extra-large": {
+ "prop": "--spectrum-table-column-header-row-bottom-to-text-extra-large",
"desktop": {
- "value": "33px"
+ "value": "13px"
},
"mobile": {
- "value": "46px"
+ "value": "17px"
}
},
- "switch-control-width-large": {
- "prop": "--spectrum-switch-control-width-large",
+ "table-column-header-row-bottom-to-text-large": {
+ "prop": "--spectrum-table-column-header-row-bottom-to-text-large",
"desktop": {
- "value": "29px"
+ "value": "10px"
},
"mobile": {
- "value": "41px"
+ "value": "13px"
}
},
- "switch-control-width-medium": {
- "prop": "--spectrum-switch-control-width-medium",
+ "table-column-header-row-bottom-to-text-medium": {
+ "prop": "--spectrum-table-column-header-row-bottom-to-text-medium",
"desktop": {
- "value": "26px"
+ "value": "8px"
},
"mobile": {
- "value": "36px"
+ "value": "10px"
}
},
- "switch-control-width-small": {
- "prop": "--spectrum-switch-control-width-small",
+ "table-column-header-row-bottom-to-text-small": {
+ "prop": "--spectrum-table-column-header-row-bottom-to-text-small",
"desktop": {
- "value": "23px"
+ "value": "9px"
},
"mobile": {
- "value": "32px"
+ "value": "11px"
}
},
- "switch-top-to-control-extra-large": {
- "prop": "--spectrum-switch-top-to-control-extra-large",
+ "table-column-header-row-top-to-text-extra-large": {
+ "prop": "--spectrum-table-column-header-row-top-to-text-extra-large",
"desktop": {
- "value": "15px"
+ "value": "13px"
},
"mobile": {
- "value": "19px"
+ "value": "16px"
}
},
- "switch-top-to-control-large": {
- "prop": "--spectrum-switch-top-to-control-large",
+ "table-column-header-row-top-to-text-large": {
+ "prop": "--spectrum-table-column-header-row-top-to-text-large",
"desktop": {
- "value": "12px"
+ "value": "10px"
},
"mobile": {
- "value": "15px"
+ "value": "13px"
}
},
- "switch-top-to-control-medium": {
- "prop": "--spectrum-switch-top-to-control-medium",
+ "table-column-header-row-top-to-text-medium": {
+ "prop": "--spectrum-table-column-header-row-top-to-text-medium",
"desktop": {
- "value": "9px"
+ "value": "6px"
},
"mobile": {
- "value": "11px"
+ "value": "9px"
}
},
- "switch-top-to-control-small": {
- "prop": "--spectrum-switch-top-to-control-small",
+ "table-column-header-row-top-to-text-small": {
+ "prop": "--spectrum-table-column-header-row-top-to-text-small",
"desktop": {
- "value": "6px"
+ "value": "8px"
},
"mobile": {
- "value": "7px"
+ "value": "10px"
}
},
- "tab-item-bottom-to-text-compact-extra-large": {
- "prop": "--spectrum-tab-item-bottom-to-text-compact-extra-large",
+ "table-edge-to-content": {
+ "prop": "--spectrum-table-edge-to-content",
+ "value": "16px"
+ },
+ "table-header-row-checkbox-to-top-extra-large": {
+ "prop": "--spectrum-table-header-row-checkbox-to-top-extra-large",
"desktop": {
- "value": "13px"
+ "value": "15px"
},
"mobile": {
- "value": "17px"
+ "value": "21px"
}
},
- "tab-item-bottom-to-text-compact-large": {
- "prop": "--spectrum-tab-item-bottom-to-text-compact-large",
+ "table-header-row-checkbox-to-top-large": {
+ "prop": "--spectrum-table-header-row-checkbox-to-top-large",
"desktop": {
"value": "12px"
},
"mobile": {
- "value": "14px"
+ "value": "17px"
}
},
- "tab-item-bottom-to-text-compact-medium": {
- "prop": "--spectrum-tab-item-bottom-to-text-compact-medium",
+ "table-header-row-checkbox-to-top-medium": {
+ "prop": "--spectrum-table-header-row-checkbox-to-top-medium",
"desktop": {
"value": "8px"
},
"mobile": {
- "value": "10px"
+ "value": "11px"
}
},
- "tab-item-bottom-to-text-compact-small": {
- "prop": "--spectrum-tab-item-bottom-to-text-compact-small",
+ "table-header-row-checkbox-to-top-small": {
+ "prop": "--spectrum-table-header-row-checkbox-to-top-small",
"desktop": {
- "value": "5px"
+ "value": "10px"
},
"mobile": {
- "value": "6px"
+ "value": "14px"
}
},
- "tab-item-bottom-to-text-extra-large": {
- "prop": "--spectrum-tab-item-bottom-to-text-extra-large",
+ "table-row-bottom-to-text-extra-large": {
+ "prop": "--spectrum-table-row-bottom-to-text-extra-large",
"desktop": {
- "value": "20px"
+ "value": "17px"
},
"mobile": {
- "value": "25px"
+ "value": "22px"
}
},
- "tab-item-bottom-to-text-large": {
- "prop": "--spectrum-tab-item-bottom-to-text-large",
+ "table-row-bottom-to-text-extra-large-compact": {
+ "prop": "--spectrum-table-row-bottom-to-text-extra-large-compact",
+ "ref": "var(--spectrum-component-bottom-to-text-300)",
"desktop": {
- "value": "18px"
+ "value": "14px"
},
"mobile": {
- "value": "22px"
+ "value": "18px"
}
},
- "tab-item-bottom-to-text-medium": {
- "prop": "--spectrum-tab-item-bottom-to-text-medium",
+ "table-row-bottom-to-text-extra-large-regular": {
+ "prop": "--spectrum-table-row-bottom-to-text-extra-large-regular",
+ "ref": "var(--spectrum-table-row-bottom-to-text-extra-large)",
"desktop": {
- "value": "14px"
+ "value": "17px"
},
"mobile": {
- "value": "19px"
+ "value": "22px"
}
},
- "tab-item-bottom-to-text-small": {
- "prop": "--spectrum-tab-item-bottom-to-text-small",
+ "table-row-bottom-to-text-extra-large-spacious": {
+ "prop": "--spectrum-table-row-bottom-to-text-extra-large-spacious",
"desktop": {
- "value": "12px"
+ "value": "21px"
},
"mobile": {
- "value": "15px"
+ "value": "27px"
}
},
- "tab-item-compact-height-extra-large": {
- "prop": "--spectrum-tab-item-compact-height-extra-large",
- "ref": "var(--spectrum-component-height-300)",
+ "table-row-bottom-to-text-large": {
+ "prop": "--spectrum-table-row-bottom-to-text-large",
"desktop": {
- "value": "48px"
+ "value": "14px"
},
"mobile": {
- "value": "60px"
+ "value": "18px"
}
},
- "tab-item-compact-height-large": {
- "prop": "--spectrum-tab-item-compact-height-large",
- "ref": "var(--spectrum-component-height-200)",
+ "table-row-bottom-to-text-large-compact": {
+ "prop": "--spectrum-table-row-bottom-to-text-large-compact",
+ "ref": "var(--spectrum-component-bottom-to-text-200)",
"desktop": {
- "value": "40px"
+ "value": "11px"
},
"mobile": {
- "value": "50px"
+ "value": "14px"
}
},
- "tab-item-compact-height-medium": {
- "prop": "--spectrum-tab-item-compact-height-medium",
- "ref": "var(--spectrum-component-height-100)",
+ "table-row-bottom-to-text-large-regular": {
+ "prop": "--spectrum-table-row-bottom-to-text-large-regular",
+ "ref": "var(--spectrum-table-row-bottom-to-text-large)",
"desktop": {
- "value": "32px"
+ "value": "14px"
},
"mobile": {
- "value": "40px"
+ "value": "18px"
}
},
- "tab-item-compact-height-small": {
- "prop": "--spectrum-tab-item-compact-height-small",
- "ref": "var(--spectrum-component-height-75)",
+ "table-row-bottom-to-text-large-spacious": {
+ "prop": "--spectrum-table-row-bottom-to-text-large-spacious",
"desktop": {
- "value": "24px"
+ "value": "18px"
},
"mobile": {
- "value": "30px"
+ "value": "23px"
}
},
- "tab-item-focus-indicator-gap-extra-large": {
- "prop": "--spectrum-tab-item-focus-indicator-gap-extra-large",
+ "table-row-bottom-to-text-medium": {
+ "prop": "--spectrum-table-row-bottom-to-text-medium",
"desktop": {
- "value": "10px"
+ "value": "13px"
},
"mobile": {
- "value": "12px"
+ "value": "15px"
}
},
- "tab-item-focus-indicator-gap-large": {
- "prop": "--spectrum-tab-item-focus-indicator-gap-large",
+ "table-row-bottom-to-text-medium-compact": {
+ "prop": "--spectrum-table-row-bottom-to-text-medium-compact",
+ "ref": "var(--spectrum-component-bottom-to-text-100)",
"desktop": {
"value": "9px"
},
@@ -10713,326 +14144,341 @@
"value": "11px"
}
},
- "tab-item-focus-indicator-gap-medium": {
- "prop": "--spectrum-tab-item-focus-indicator-gap-medium",
+ "table-row-bottom-to-text-medium-regular": {
+ "prop": "--spectrum-table-row-bottom-to-text-medium-regular",
+ "ref": "var(--spectrum-table-row-bottom-to-text-medium)",
"desktop": {
- "value": "8px"
+ "value": "13px"
},
"mobile": {
- "value": "10px"
+ "value": "15px"
}
},
- "tab-item-focus-indicator-gap-small": {
- "prop": "--spectrum-tab-item-focus-indicator-gap-small",
+ "table-row-bottom-to-text-medium-spacious": {
+ "prop": "--spectrum-table-row-bottom-to-text-medium-spacious",
"desktop": {
- "value": "7px"
+ "value": "16px"
},
"mobile": {
- "value": "9px"
+ "value": "18px"
}
},
- "tab-item-height-extra-large": {
- "prop": "--spectrum-tab-item-height-extra-large",
- "ref": "var(--spectrum-component-height-500)",
+ "table-row-bottom-to-text-small": {
+ "prop": "--spectrum-table-row-bottom-to-text-small",
"desktop": {
- "value": "64px"
+ "value": "9px"
},
"mobile": {
- "value": "80px"
+ "value": "11px"
}
},
- "tab-item-height-large": {
- "prop": "--spectrum-tab-item-height-large",
- "ref": "var(--spectrum-component-height-400)",
+ "table-row-bottom-to-text-small-compact": {
+ "prop": "--spectrum-table-row-bottom-to-text-small-compact",
+ "ref": "var(--spectrum-component-bottom-to-text-75)",
"desktop": {
- "value": "56px"
+ "value": "5px"
},
"mobile": {
- "value": "70px"
+ "value": "6px"
}
},
- "tab-item-height-medium": {
- "prop": "--spectrum-tab-item-height-medium",
- "ref": "var(--spectrum-component-height-300)",
+ "table-row-bottom-to-text-small-regular": {
+ "prop": "--spectrum-table-row-bottom-to-text-small-regular",
+ "ref": "var(--spectrum-table-row-bottom-to-text-small)",
"desktop": {
- "value": "48px"
+ "value": "9px"
},
"mobile": {
- "value": "60px"
+ "value": "11px"
}
},
- "tab-item-height-small": {
- "prop": "--spectrum-tab-item-height-small",
- "ref": "var(--spectrum-component-height-200)",
+ "table-row-bottom-to-text-small-spacious": {
+ "prop": "--spectrum-table-row-bottom-to-text-small-spacious",
"desktop": {
- "value": "40px"
+ "value": "13px"
},
"mobile": {
- "value": "50px"
+ "value": "16px"
}
},
- "tab-item-start-to-edge-extra-large": {
- "prop": "--spectrum-tab-item-start-to-edge-extra-large",
+ "table-row-checkbox-to-top-extra-large": {
+ "prop": "--spectrum-table-row-checkbox-to-top-extra-large",
"desktop": {
- "value": "13px"
+ "value": "19px"
},
"mobile": {
- "value": "19px"
+ "value": "26px"
}
},
- "tab-item-start-to-edge-large": {
- "prop": "--spectrum-tab-item-start-to-edge-large",
+ "table-row-checkbox-to-top-extra-large-compact": {
+ "prop": "--spectrum-table-row-checkbox-to-top-extra-large-compact",
"desktop": {
- "value": "13px"
+ "value": "15px"
},
"mobile": {
- "value": "17px"
+ "value": "21px"
}
},
- "tab-item-start-to-edge-medium": {
- "prop": "--spectrum-tab-item-start-to-edge-medium",
+ "table-row-checkbox-to-top-extra-large-regular": {
+ "prop": "--spectrum-table-row-checkbox-to-top-extra-large-regular",
+ "ref": "var(--spectrum-table-row-checkbox-to-top-extra-large)",
"desktop": {
- "value": "12px"
+ "value": "19px"
},
"mobile": {
- "value": "15px"
+ "value": "26px"
}
},
- "tab-item-start-to-edge-quiet": {
- "prop": "--spectrum-tab-item-start-to-edge-quiet",
- "value": "0px"
- },
- "tab-item-start-to-edge-small": {
- "prop": "--spectrum-tab-item-start-to-edge-small",
+ "table-row-checkbox-to-top-extra-large-spacious": {
+ "prop": "--spectrum-table-row-checkbox-to-top-extra-large-spacious",
"desktop": {
- "value": "12px"
+ "value": "23px"
},
"mobile": {
- "value": "13px"
+ "value": "31px"
}
},
- "tab-item-to-tab-item-horizontal-extra-large": {
- "prop": "--spectrum-tab-item-to-tab-item-horizontal-extra-large",
+ "table-row-checkbox-to-top-large": {
+ "prop": "--spectrum-table-row-checkbox-to-top-large",
"desktop": {
- "value": "30px"
+ "value": "16px"
},
"mobile": {
- "value": "36px"
+ "value": "22px"
}
},
- "tab-item-to-tab-item-horizontal-large": {
- "prop": "--spectrum-tab-item-to-tab-item-horizontal-large",
+ "table-row-checkbox-to-top-large-compact": {
+ "prop": "--spectrum-table-row-checkbox-to-top-large-compact",
"desktop": {
- "value": "27px"
+ "value": "12px"
},
"mobile": {
- "value": "33px"
+ "value": "17px"
}
},
- "tab-item-to-tab-item-horizontal-medium": {
- "prop": "--spectrum-tab-item-to-tab-item-horizontal-medium",
+ "table-row-checkbox-to-top-large-regular": {
+ "prop": "--spectrum-table-row-checkbox-to-top-large-regular",
+ "ref": "var(--spectrum-table-row-checkbox-to-top-large)",
"desktop": {
- "value": "24px"
+ "value": "16px"
},
"mobile": {
- "value": "30px"
+ "value": "22px"
}
},
- "tab-item-to-tab-item-horizontal-small": {
- "prop": "--spectrum-tab-item-to-tab-item-horizontal-small",
+ "table-row-checkbox-to-top-large-spacious": {
+ "prop": "--spectrum-table-row-checkbox-to-top-large-spacious",
"desktop": {
- "value": "21px"
+ "value": "20px"
},
"mobile": {
"value": "27px"
}
},
- "tab-item-to-tab-item-vertical-extra-large": {
- "prop": "--spectrum-tab-item-to-tab-item-vertical-extra-large",
+ "table-row-checkbox-to-top-medium": {
+ "prop": "--spectrum-table-row-checkbox-to-top-medium",
"desktop": {
- "value": "5px"
+ "value": "12px"
},
"mobile": {
- "value": "6px"
+ "value": "16px"
}
},
- "tab-item-to-tab-item-vertical-large": {
- "prop": "--spectrum-tab-item-to-tab-item-vertical-large",
+ "table-row-checkbox-to-top-medium-compact": {
+ "prop": "--spectrum-table-row-checkbox-to-top-medium-compact",
"desktop": {
- "value": "5px"
+ "value": "8px"
},
"mobile": {
- "value": "6px"
+ "value": "11px"
+ }
+ },
+ "table-row-checkbox-to-top-medium-regular": {
+ "prop": "--spectrum-table-row-checkbox-to-top-medium-regular",
+ "ref": "var(--spectrum-table-row-checkbox-to-top-medium)",
+ "desktop": {
+ "value": "12px"
+ },
+ "mobile": {
+ "value": "16px"
}
},
- "tab-item-to-tab-item-vertical-medium": {
- "prop": "--spectrum-tab-item-to-tab-item-vertical-medium",
+ "table-row-checkbox-to-top-medium-spacious": {
+ "prop": "--spectrum-table-row-checkbox-to-top-medium-spacious",
"desktop": {
- "value": "4px"
+ "value": "16px"
},
"mobile": {
- "value": "5px"
+ "value": "21px"
}
},
- "tab-item-to-tab-item-vertical-small": {
- "prop": "--spectrum-tab-item-to-tab-item-vertical-small",
+ "table-row-checkbox-to-top-small": {
+ "prop": "--spectrum-table-row-checkbox-to-top-small",
"desktop": {
- "value": "4px"
+ "value": "10px"
},
"mobile": {
- "value": "5px"
+ "value": "14px"
}
},
- "tab-item-top-to-text-compact-extra-large": {
- "prop": "--spectrum-tab-item-top-to-text-compact-extra-large",
+ "table-row-checkbox-to-top-small-compact": {
+ "prop": "--spectrum-table-row-checkbox-to-top-small-compact",
"desktop": {
- "value": "12px"
+ "value": "6px"
},
"mobile": {
- "value": "15px"
+ "value": "9px"
}
},
- "tab-item-top-to-text-compact-large": {
- "prop": "--spectrum-tab-item-top-to-text-compact-large",
+ "table-row-checkbox-to-top-small-regular": {
+ "prop": "--spectrum-table-row-checkbox-to-top-small-regular",
+ "ref": "var(--spectrum-table-row-checkbox-to-top-small)",
"desktop": {
"value": "10px"
},
"mobile": {
- "value": "12px"
+ "value": "14px"
}
},
- "tab-item-top-to-text-compact-medium": {
- "prop": "--spectrum-tab-item-top-to-text-compact-medium",
+ "table-row-checkbox-to-top-small-spacious": {
+ "prop": "--spectrum-table-row-checkbox-to-top-small-spacious",
"desktop": {
- "value": "6px"
+ "value": "14px"
},
"mobile": {
- "value": "9px"
+ "value": "19px"
}
},
- "tab-item-top-to-text-compact-small": {
- "prop": "--spectrum-tab-item-top-to-text-compact-small",
+ "table-row-down-opacity": {
+ "prop": "--spectrum-table-row-down-opacity",
+ "value": "0.1"
+ },
+ "table-row-height-extra-large": {
+ "prop": "--spectrum-table-row-height-extra-large",
"desktop": {
- "value": "4px"
+ "value": "56px"
},
"mobile": {
- "value": "5px"
+ "value": "70px"
}
},
- "tab-item-top-to-text-extra-large": {
- "prop": "--spectrum-tab-item-top-to-text-extra-large",
+ "table-row-height-extra-large-compact": {
+ "prop": "--spectrum-table-row-height-extra-large-compact",
+ "ref": "var(--spectrum-component-height-300)",
"desktop": {
- "value": "19px"
+ "value": "48px"
},
"mobile": {
- "value": "25px"
+ "value": "60px"
}
},
- "tab-item-top-to-text-large": {
- "prop": "--spectrum-tab-item-top-to-text-large",
+ "table-row-height-extra-large-regular": {
+ "prop": "--spectrum-table-row-height-extra-large-regular",
+ "ref": "var(--spectrum-table-row-height-extra-large)",
"desktop": {
- "value": "16px"
+ "value": "56px"
},
"mobile": {
- "value": "22px"
+ "value": "70px"
}
},
- "tab-item-top-to-text-medium": {
- "prop": "--spectrum-tab-item-top-to-text-medium",
+ "table-row-height-extra-large-spacious": {
+ "prop": "--spectrum-table-row-height-extra-large-spacious",
"desktop": {
- "value": "14px"
+ "value": "64px"
},
"mobile": {
- "value": "18px"
+ "value": "80px"
}
},
- "tab-item-top-to-text-small": {
- "prop": "--spectrum-tab-item-top-to-text-small",
+ "table-row-height-large": {
+ "prop": "--spectrum-table-row-height-large",
"desktop": {
- "value": "11px"
+ "value": "48px"
},
"mobile": {
- "value": "14px"
+ "value": "60px"
}
},
- "tab-item-top-to-workflow-icon-compact-extra-large": {
- "prop": "--spectrum-tab-item-top-to-workflow-icon-compact-extra-large",
+ "table-row-height-large-compact": {
+ "prop": "--spectrum-table-row-height-large-compact",
+ "ref": "var(--spectrum-component-height-200)",
"desktop": {
- "value": "11px"
+ "value": "40px"
},
"mobile": {
- "value": "16px"
+ "value": "50px"
}
},
- "tab-item-top-to-workflow-icon-compact-large": {
- "prop": "--spectrum-tab-item-top-to-workflow-icon-compact-large",
+ "table-row-height-large-regular": {
+ "prop": "--spectrum-table-row-height-large-regular",
+ "ref": "var(--spectrum-table-row-height-large)",
"desktop": {
- "value": "9px"
+ "value": "48px"
},
"mobile": {
- "value": "13px"
+ "value": "60px"
}
},
- "tab-item-top-to-workflow-icon-compact-medium": {
- "prop": "--spectrum-tab-item-top-to-workflow-icon-compact-medium",
+ "table-row-height-large-spacious": {
+ "prop": "--spectrum-table-row-height-large-spacious",
"desktop": {
- "value": "7px"
+ "value": "56px"
},
"mobile": {
- "value": "9px"
+ "value": "70px"
}
},
- "tab-item-top-to-workflow-icon-compact-small": {
- "prop": "--spectrum-tab-item-top-to-workflow-icon-compact-small",
+ "table-row-height-medium": {
+ "prop": "--spectrum-table-row-height-medium",
"desktop": {
- "value": "3px"
+ "value": "40px"
},
"mobile": {
- "value": "5px"
+ "value": "50px"
}
},
- "tab-item-top-to-workflow-icon-extra-large": {
- "prop": "--spectrum-tab-item-top-to-workflow-icon-extra-large",
+ "table-row-height-medium-compact": {
+ "prop": "--spectrum-table-row-height-medium-compact",
+ "ref": "var(--spectrum-component-height-100)",
"desktop": {
- "value": "19px"
+ "value": "32px"
},
"mobile": {
- "value": "26px"
+ "value": "40px"
}
},
- "tab-item-top-to-workflow-icon-large": {
- "prop": "--spectrum-tab-item-top-to-workflow-icon-large",
+ "table-row-height-medium-regular": {
+ "prop": "--spectrum-table-row-height-medium-regular",
+ "ref": "var(--spectrum-table-row-height-medium)",
"desktop": {
- "value": "17px"
+ "value": "40px"
},
"mobile": {
- "value": "23px"
+ "value": "50px"
}
},
- "tab-item-top-to-workflow-icon-medium": {
- "prop": "--spectrum-tab-item-top-to-workflow-icon-medium",
+ "table-row-height-medium-spacious": {
+ "prop": "--spectrum-table-row-height-medium-spacious",
"desktop": {
- "value": "15px"
+ "value": "48px"
},
"mobile": {
- "value": "19px"
+ "value": "60px"
}
},
- "tab-item-top-to-workflow-icon-small": {
- "prop": "--spectrum-tab-item-top-to-workflow-icon-small",
+ "table-row-height-small": {
+ "prop": "--spectrum-table-row-height-small",
"desktop": {
- "value": "13px"
+ "value": "32px"
},
"mobile": {
- "value": "15px"
+ "value": "40px"
}
},
- "table-border-divider-width": {
- "prop": "--spectrum-table-border-divider-width",
- "value": "1px"
- },
- "table-checkbox-to-text": {
- "prop": "--spectrum-table-checkbox-to-text",
+ "table-row-height-small-compact": {
+ "prop": "--spectrum-table-row-height-small-compact",
+ "ref": "var(--spectrum-component-height-75)",
"desktop": {
"value": "24px"
},
@@ -11040,111 +14486,137 @@
"value": "30px"
}
},
- "table-column-header-row-bottom-to-text-extra-large": {
- "prop": "--spectrum-table-column-header-row-bottom-to-text-extra-large",
+ "table-row-height-small-regular": {
+ "prop": "--spectrum-table-row-height-small-regular",
+ "ref": "var(--spectrum-table-row-height-small)",
"desktop": {
- "value": "13px"
+ "value": "32px"
},
"mobile": {
- "value": "17px"
+ "value": "40px"
}
},
- "table-column-header-row-bottom-to-text-large": {
- "prop": "--spectrum-table-column-header-row-bottom-to-text-large",
+ "table-row-height-small-spacious": {
+ "prop": "--spectrum-table-row-height-small-spacious",
"desktop": {
- "value": "10px"
+ "value": "40px"
},
"mobile": {
- "value": "13px"
+ "value": "50px"
}
},
- "table-column-header-row-bottom-to-text-medium": {
- "prop": "--spectrum-table-column-header-row-bottom-to-text-medium",
+ "table-row-hover-color": {
+ "prop": "--spectrum-table-row-hover-color",
+ "ref": "var(--spectrum-gray-900)",
+ "light": {
+ "value": "rgb(19, 19, 19)"
+ },
+ "dark": {
+ "value": "rgb(242, 242, 242)"
+ }
+ },
+ "table-row-hover-opacity": {
+ "prop": "--spectrum-table-row-hover-opacity",
+ "value": "0.07"
+ },
+ "table-row-top-to-text-extra-large": {
+ "prop": "--spectrum-table-row-top-to-text-extra-large",
"desktop": {
- "value": "8px"
+ "value": "17px"
},
"mobile": {
- "value": "10px"
+ "value": "21px"
}
},
- "table-column-header-row-bottom-to-text-small": {
- "prop": "--spectrum-table-column-header-row-bottom-to-text-small",
+ "table-row-top-to-text-extra-large-compact": {
+ "prop": "--spectrum-table-row-top-to-text-extra-large-compact",
+ "ref": "var(--spectrum-component-top-to-text-300)",
"desktop": {
- "value": "9px"
+ "value": "12px"
},
"mobile": {
- "value": "11px"
+ "value": "15px"
}
},
- "table-column-header-row-top-to-text-extra-large": {
- "prop": "--spectrum-table-column-header-row-top-to-text-extra-large",
+ "table-row-top-to-text-extra-large-regular": {
+ "prop": "--spectrum-table-row-top-to-text-extra-large-regular",
+ "ref": "var(--spectrum-table-row-top-to-text-extra-large)",
"desktop": {
- "value": "13px"
+ "value": "17px"
},
"mobile": {
- "value": "16px"
+ "value": "21px"
}
},
- "table-column-header-row-top-to-text-large": {
- "prop": "--spectrum-table-column-header-row-top-to-text-large",
+ "table-row-top-to-text-extra-large-spacious": {
+ "prop": "--spectrum-table-row-top-to-text-extra-large-spacious",
"desktop": {
- "value": "10px"
+ "value": "21px"
},
"mobile": {
- "value": "13px"
+ "value": "26px"
}
},
- "table-column-header-row-top-to-text-medium": {
- "prop": "--spectrum-table-column-header-row-top-to-text-medium",
+ "table-row-top-to-text-large": {
+ "prop": "--spectrum-table-row-top-to-text-large",
"desktop": {
- "value": "7px"
+ "value": "14px"
},
"mobile": {
- "value": "9px"
+ "value": "18px"
}
},
- "table-column-header-row-top-to-text-small": {
- "prop": "--spectrum-table-column-header-row-top-to-text-small",
+ "table-row-top-to-text-large-compact": {
+ "prop": "--spectrum-table-row-top-to-text-large-compact",
+ "ref": "var(--spectrum-component-top-to-text-200)",
"desktop": {
- "value": "8px"
+ "value": "9px"
},
"mobile": {
- "value": "10px"
+ "value": "12px"
}
},
- "table-edge-to-content": {
- "prop": "--spectrum-table-edge-to-content",
- "value": "16px"
+ "table-row-top-to-text-large-regular": {
+ "prop": "--spectrum-table-row-top-to-text-large-regular",
+ "ref": "var(--spectrum-table-row-top-to-text-large)",
+ "desktop": {
+ "value": "14px"
+ },
+ "mobile": {
+ "value": "18px"
+ }
},
- "table-header-row-checkbox-to-top-extra-large": {
- "prop": "--spectrum-table-header-row-checkbox-to-top-extra-large",
+ "table-row-top-to-text-large-spacious": {
+ "prop": "--spectrum-table-row-top-to-text-large-spacious",
"desktop": {
- "value": "15px"
+ "value": "18px"
},
"mobile": {
- "value": "21px"
+ "value": "23px"
}
},
- "table-header-row-checkbox-to-top-large": {
- "prop": "--spectrum-table-header-row-checkbox-to-top-large",
+ "table-row-top-to-text-medium": {
+ "prop": "--spectrum-table-row-top-to-text-medium",
"desktop": {
- "value": "12px"
+ "value": "10px"
},
"mobile": {
- "value": "17px"
+ "value": "14px"
}
},
- "table-header-row-checkbox-to-top-medium": {
- "prop": "--spectrum-table-header-row-checkbox-to-top-medium",
+ "table-row-top-to-text-medium-compact": {
+ "prop": "--spectrum-table-row-top-to-text-medium-compact",
+ "ref": "var(--spectrum-component-top-to-text-100)",
"desktop": {
- "value": "9px"
+ "value": "6px"
},
"mobile": {
- "value": "13px"
+ "value": "8px"
}
},
- "table-header-row-checkbox-to-top-small": {
- "prop": "--spectrum-table-header-row-checkbox-to-top-small",
+ "table-row-top-to-text-medium-regular": {
+ "prop": "--spectrum-table-row-top-to-text-medium-regular",
+ "ref": "var(--spectrum-table-row-top-to-text-medium)",
"desktop": {
"value": "10px"
},
@@ -11152,424 +14624,469 @@
"value": "14px"
}
},
- "table-row-bottom-to-text-extra-large-compact": {
- "prop": "--spectrum-table-row-bottom-to-text-extra-large-compact",
- "ref": "var(--spectrum-component-bottom-to-text-300)",
+ "table-row-top-to-text-medium-spacious": {
+ "prop": "--spectrum-table-row-top-to-text-medium-spacious",
"desktop": {
- "value": "14px"
+ "value": "15px"
},
"mobile": {
- "value": "18px"
+ "value": "16px"
}
},
- "table-row-bottom-to-text-extra-large-regular": {
- "prop": "--spectrum-table-row-bottom-to-text-extra-large-regular",
+ "table-row-top-to-text-small": {
+ "prop": "--spectrum-table-row-top-to-text-small",
"desktop": {
- "value": "17px"
+ "value": "8px"
},
"mobile": {
- "value": "22px"
+ "value": "10px"
}
},
- "table-row-bottom-to-text-extra-large-spacious": {
- "prop": "--spectrum-table-row-bottom-to-text-extra-large-spacious",
+ "table-row-top-to-text-small-compact": {
+ "prop": "--spectrum-table-row-top-to-text-small-compact",
+ "ref": "var(--spectrum-component-top-to-text-75)",
"desktop": {
- "value": "21px"
+ "value": "4px"
},
"mobile": {
- "value": "27px"
+ "value": "5px"
}
},
- "table-row-bottom-to-text-large-compact": {
- "prop": "--spectrum-table-row-bottom-to-text-large-compact",
- "ref": "var(--spectrum-component-bottom-to-text-200)",
+ "table-row-top-to-text-small-regular": {
+ "prop": "--spectrum-table-row-top-to-text-small-regular",
+ "ref": "var(--spectrum-table-row-top-to-text-small)",
"desktop": {
- "value": "11px"
+ "value": "8px"
},
"mobile": {
- "value": "14px"
+ "value": "10px"
}
},
- "table-row-bottom-to-text-large-regular": {
- "prop": "--spectrum-table-row-bottom-to-text-large-regular",
+ "table-row-top-to-text-small-spacious": {
+ "prop": "--spectrum-table-row-top-to-text-small-spacious",
"desktop": {
- "value": "14px"
+ "value": "12px"
},
"mobile": {
- "value": "18px"
+ "value": "15px"
}
},
- "table-row-bottom-to-text-large-spacious": {
- "prop": "--spectrum-table-row-bottom-to-text-large-spacious",
+ "table-section-header-row-height-extra-large": {
+ "prop": "--spectrum-table-section-header-row-height-extra-large",
"desktop": {
- "value": "18px"
+ "value": "48px"
},
"mobile": {
- "value": "23px"
+ "value": "60px"
}
},
- "table-row-bottom-to-text-medium-compact": {
- "prop": "--spectrum-table-row-bottom-to-text-medium-compact",
- "ref": "var(--spectrum-component-bottom-to-text-100)",
+ "table-section-header-row-height-large": {
+ "prop": "--spectrum-table-section-header-row-height-large",
"desktop": {
- "value": "9px"
+ "value": "40px"
},
"mobile": {
- "value": "11px"
+ "value": "50px"
}
},
- "table-row-bottom-to-text-medium-regular": {
- "prop": "--spectrum-table-row-bottom-to-text-medium-regular",
+ "table-section-header-row-height-medium": {
+ "prop": "--spectrum-table-section-header-row-height-medium",
"desktop": {
- "value": "12px"
+ "value": "32px"
},
"mobile": {
- "value": "15px"
+ "value": "40px"
}
},
- "table-row-bottom-to-text-medium-spacious": {
- "prop": "--spectrum-table-row-bottom-to-text-medium-spacious",
+ "table-section-header-row-height-small": {
+ "prop": "--spectrum-table-section-header-row-height-small",
"desktop": {
- "value": "16px"
+ "value": "24px"
},
"mobile": {
- "value": "18px"
+ "value": "30px"
}
},
- "table-row-bottom-to-text-small-compact": {
- "prop": "--spectrum-table-row-bottom-to-text-small-compact",
- "ref": "var(--spectrum-component-bottom-to-text-75)",
- "desktop": {
- "value": "5px"
+ "table-selected-row-background-color": {
+ "prop": "--spectrum-table-selected-row-background-color",
+ "ref": "var(--spectrum-informative-color-800)",
+ "light": {
+ "value": "rgb(59, 99, 251)"
},
- "mobile": {
- "value": "6px"
+ "dark": {
+ "value": "rgb(64, 105, 253)"
}
},
- "table-row-bottom-to-text-small-regular": {
- "prop": "--spectrum-table-row-bottom-to-text-small-regular",
- "desktop": {
- "value": "9px"
+ "table-selected-row-background-color-non-emphasized": {
+ "prop": "--spectrum-table-selected-row-background-color-non-emphasized",
+ "ref": "var(--spectrum-neutral-background-color-selected-default)",
+ "light": {
+ "value": "rgb(41, 41, 41)"
},
- "mobile": {
- "value": "11px"
+ "dark": {
+ "value": "rgb(219, 219, 219)"
}
},
- "table-row-bottom-to-text-small-spacious": {
- "prop": "--spectrum-table-row-bottom-to-text-small-spacious",
+ "table-selected-row-background-opacity": {
+ "prop": "--spectrum-table-selected-row-background-opacity",
+ "value": "0.1"
+ },
+ "table-selected-row-background-opacity-hover": {
+ "prop": "--spectrum-table-selected-row-background-opacity-hover",
+ "value": "0.15"
+ },
+ "table-selected-row-background-opacity-non-emphasized": {
+ "prop": "--spectrum-table-selected-row-background-opacity-non-emphasized",
+ "value": "0.1"
+ },
+ "table-selected-row-background-opacity-non-emphasized-hover": {
+ "prop": "--spectrum-table-selected-row-background-opacity-non-emphasized-hover",
+ "value": "0.15"
+ },
+ "table-thumbnail-to-top-minimum-extra-large": {
+ "prop": "--spectrum-table-thumbnail-to-top-minimum-extra-large",
"desktop": {
- "value": "13px"
+ "value": "8px"
},
"mobile": {
- "value": "16px"
+ "value": "10px"
}
},
- "table-row-checkbox-to-top-extra-large-compact": {
- "prop": "--spectrum-table-row-checkbox-to-top-extra-large-compact",
+ "table-thumbnail-to-top-minimum-extra-large-compact": {
+ "prop": "--spectrum-table-thumbnail-to-top-minimum-extra-large-compact",
"desktop": {
- "value": "15px"
+ "value": "8px"
},
"mobile": {
- "value": "21px"
+ "value": "10px"
}
},
- "table-row-checkbox-to-top-extra-large-regular": {
- "prop": "--spectrum-table-row-checkbox-to-top-extra-large-regular",
+ "table-thumbnail-to-top-minimum-extra-large-regular": {
+ "prop": "--spectrum-table-thumbnail-to-top-minimum-extra-large-regular",
+ "ref": "var(--spectrum-table-thumbnail-to-top-minimum-extra-large)",
"desktop": {
- "value": "19px"
+ "value": "8px"
},
"mobile": {
- "value": "26px"
+ "value": "10px"
}
},
- "table-row-checkbox-to-top-extra-large-spacious": {
- "prop": "--spectrum-table-row-checkbox-to-top-extra-large-spacious",
+ "table-thumbnail-to-top-minimum-extra-large-spacious": {
+ "prop": "--spectrum-table-thumbnail-to-top-minimum-extra-large-spacious",
"desktop": {
- "value": "23px"
+ "value": "10px"
},
"mobile": {
- "value": "31px"
+ "value": "12px"
}
},
- "table-row-checkbox-to-top-large-compact": {
- "prop": "--spectrum-table-row-checkbox-to-top-large-compact",
+ "table-thumbnail-to-top-minimum-large": {
+ "prop": "--spectrum-table-thumbnail-to-top-minimum-large",
"desktop": {
- "value": "12px"
+ "value": "8px"
},
"mobile": {
- "value": "17px"
+ "value": "10px"
}
},
- "table-row-checkbox-to-top-large-regular": {
- "prop": "--spectrum-table-row-checkbox-to-top-large-regular",
+ "table-thumbnail-to-top-minimum-large-compact": {
+ "prop": "--spectrum-table-thumbnail-to-top-minimum-large-compact",
"desktop": {
- "value": "16px"
+ "value": "7px"
},
"mobile": {
- "value": "22px"
+ "value": "9px"
}
},
- "table-row-checkbox-to-top-large-spacious": {
- "prop": "--spectrum-table-row-checkbox-to-top-large-spacious",
+ "table-thumbnail-to-top-minimum-large-regular": {
+ "prop": "--spectrum-table-thumbnail-to-top-minimum-large-regular",
+ "ref": "var(--spectrum-table-thumbnail-to-top-minimum-large)",
"desktop": {
- "value": "20px"
+ "value": "8px"
},
"mobile": {
- "value": "27px"
+ "value": "10px"
}
},
- "table-row-checkbox-to-top-medium-compact": {
- "prop": "--spectrum-table-row-checkbox-to-top-medium-compact",
+ "table-thumbnail-to-top-minimum-large-spacious": {
+ "prop": "--spectrum-table-thumbnail-to-top-minimum-large-spacious",
"desktop": {
- "value": "9px"
+ "value": "8px"
},
"mobile": {
- "value": "13px"
+ "value": "10px"
}
},
- "table-row-checkbox-to-top-medium-regular": {
- "prop": "--spectrum-table-row-checkbox-to-top-medium-regular",
+ "table-thumbnail-to-top-minimum-medium": {
+ "prop": "--spectrum-table-thumbnail-to-top-minimum-medium",
"desktop": {
- "value": "13px"
+ "value": "7px"
},
"mobile": {
- "value": "18px"
+ "value": "9px"
}
},
- "table-row-checkbox-to-top-medium-spacious": {
- "prop": "--spectrum-table-row-checkbox-to-top-medium-spacious",
+ "table-thumbnail-to-top-minimum-medium-compact": {
+ "prop": "--spectrum-table-thumbnail-to-top-minimum-medium-compact",
"desktop": {
- "value": "17px"
+ "value": "5px"
},
"mobile": {
- "value": "23px"
+ "value": "6px"
}
},
- "table-row-checkbox-to-top-small-compact": {
- "prop": "--spectrum-table-row-checkbox-to-top-small-compact",
+ "table-thumbnail-to-top-minimum-medium-regular": {
+ "prop": "--spectrum-table-thumbnail-to-top-minimum-medium-regular",
+ "ref": "var(--spectrum-table-thumbnail-to-top-minimum-medium)",
"desktop": {
- "value": "6px"
+ "value": "7px"
},
"mobile": {
"value": "9px"
}
},
- "table-row-checkbox-to-top-small-regular": {
- "prop": "--spectrum-table-row-checkbox-to-top-small-regular",
+ "table-thumbnail-to-top-minimum-medium-spacious": {
+ "prop": "--spectrum-table-thumbnail-to-top-minimum-medium-spacious",
"desktop": {
- "value": "10px"
+ "value": "8px"
},
"mobile": {
- "value": "14px"
+ "value": "10px"
}
},
- "table-row-checkbox-to-top-small-spacious": {
- "prop": "--spectrum-table-row-checkbox-to-top-small-spacious",
+ "table-thumbnail-to-top-minimum-small": {
+ "prop": "--spectrum-table-thumbnail-to-top-minimum-small",
"desktop": {
- "value": "14px"
+ "value": "5px"
},
"mobile": {
- "value": "19px"
+ "value": "6px"
}
},
- "table-row-down-opacity": {
- "prop": "--spectrum-table-row-down-opacity",
- "value": "0.1"
+ "table-thumbnail-to-top-minimum-small-compact": {
+ "prop": "--spectrum-table-thumbnail-to-top-minimum-small-compact",
+ "desktop": {
+ "value": "4px"
+ },
+ "mobile": {
+ "value": "5px"
+ }
},
- "table-row-height-extra-large-compact": {
- "prop": "--spectrum-table-row-height-extra-large-compact",
- "ref": "var(--spectrum-component-height-300)",
+ "table-thumbnail-to-top-minimum-small-regular": {
+ "prop": "--spectrum-table-thumbnail-to-top-minimum-small-regular",
+ "ref": "var(--spectrum-table-thumbnail-to-top-minimum-small)",
"desktop": {
- "value": "48px"
+ "value": "5px"
},
"mobile": {
- "value": "60px"
+ "value": "6px"
}
},
- "table-row-height-extra-large-regular": {
- "prop": "--spectrum-table-row-height-extra-large-regular",
+ "table-thumbnail-to-top-minimum-small-spacious": {
+ "prop": "--spectrum-table-thumbnail-to-top-minimum-small-spacious",
"desktop": {
- "value": "56px"
+ "value": "7px"
},
"mobile": {
- "value": "70px"
+ "value": "9px"
}
},
- "table-row-height-extra-large-spacious": {
- "prop": "--spectrum-table-row-height-extra-large-spacious",
+ "tag-edge-to-clear-icon-large": {
+ "prop": "--spectrum-tag-edge-to-clear-icon-large",
"desktop": {
- "value": "64px"
+ "value": "15px"
},
"mobile": {
- "value": "80px"
+ "value": "19px"
}
},
- "table-row-height-large-compact": {
- "prop": "--spectrum-table-row-height-large-compact",
- "ref": "var(--spectrum-component-height-200)",
+ "tag-edge-to-clear-icon-medium": {
+ "prop": "--spectrum-tag-edge-to-clear-icon-medium",
"desktop": {
- "value": "40px"
+ "value": "12px"
},
"mobile": {
- "value": "50px"
+ "value": "15px"
}
},
- "table-row-height-large-regular": {
- "prop": "--spectrum-table-row-height-large-regular",
+ "tag-edge-to-clear-icon-small": {
+ "prop": "--spectrum-tag-edge-to-clear-icon-small",
"desktop": {
- "value": "48px"
+ "value": "8px"
},
"mobile": {
- "value": "60px"
+ "value": "10px"
}
},
- "table-row-height-large-spacious": {
- "prop": "--spectrum-table-row-height-large-spacious",
+ "tag-label-to-clear-icon-large": {
+ "prop": "--spectrum-tag-label-to-clear-icon-large",
"desktop": {
- "value": "56px"
+ "value": "15px"
},
"mobile": {
- "value": "70px"
+ "value": "19px"
}
},
- "table-row-height-medium-compact": {
- "prop": "--spectrum-table-row-height-medium-compact",
- "ref": "var(--spectrum-component-height-100)",
+ "tag-label-to-clear-icon-medium": {
+ "prop": "--spectrum-tag-label-to-clear-icon-medium",
"desktop": {
- "value": "32px"
+ "value": "12px"
},
"mobile": {
- "value": "40px"
+ "value": "15px"
}
},
- "table-row-height-medium-regular": {
- "prop": "--spectrum-table-row-height-medium-regular",
+ "tag-label-to-clear-icon-small": {
+ "prop": "--spectrum-tag-label-to-clear-icon-small",
"desktop": {
- "value": "40px"
+ "value": "8px"
},
"mobile": {
- "value": "50px"
+ "value": "10px"
}
},
- "table-row-height-medium-spacious": {
- "prop": "--spectrum-table-row-height-medium-spacious",
+ "tag-maximum-width-multiplier": {
+ "prop": "--spectrum-tag-maximum-width-multiplier",
+ "value": 7
+ },
+ "tag-minimum-width-large": {
+ "prop": "--spectrum-tag-minimum-width-large",
"desktop": {
- "value": "48px"
+ "value": "33px"
},
"mobile": {
- "value": "60px"
+ "value": "42px"
}
},
- "table-row-height-small-compact": {
- "prop": "--spectrum-table-row-height-small-compact",
- "ref": "var(--spectrum-component-height-75)",
+ "tag-minimum-width-medium": {
+ "prop": "--spectrum-tag-minimum-width-medium",
"desktop": {
- "value": "24px"
+ "value": "27px"
},
"mobile": {
- "value": "30px"
+ "value": "34px"
}
},
- "table-row-height-small-regular": {
- "prop": "--spectrum-table-row-height-small-regular",
+ "tag-minimum-width-multiplier": {
+ "prop": "--spectrum-tag-minimum-width-multiplier",
+ "value": 1
+ },
+ "tag-minimum-width-small": {
+ "prop": "--spectrum-tag-minimum-width-small",
"desktop": {
- "value": "32px"
+ "value": "21px"
},
"mobile": {
- "value": "40px"
+ "value": "25px"
}
},
- "table-row-height-small-spacious": {
- "prop": "--spectrum-table-row-height-small-spacious",
+ "tag-top-to-avatar-large": {
+ "prop": "--spectrum-tag-top-to-avatar-large",
"desktop": {
- "value": "40px"
+ "value": "9px"
},
"mobile": {
- "value": "50px"
+ "value": "11px"
}
},
- "table-row-hover-color": {
- "prop": "--spectrum-table-row-hover-color",
- "ref": "var(--spectrum-gray-900)",
- "light": {
- "value": "rgb(19, 19, 19)"
+ "tag-top-to-avatar-medium": {
+ "prop": "--spectrum-tag-top-to-avatar-medium",
+ "desktop": {
+ "value": "6px"
},
- "dark": {
- "value": "rgb(242, 242, 242)"
+ "mobile": {
+ "value": "7px"
}
},
- "table-row-hover-opacity": {
- "prop": "--spectrum-table-row-hover-opacity",
- "value": "0.07"
- },
- "table-row-top-to-text-extra-large-compact": {
- "prop": "--spectrum-table-row-top-to-text-extra-large-compact",
- "ref": "var(--spectrum-component-top-to-text-300)",
+ "tag-top-to-avatar-small": {
+ "prop": "--spectrum-tag-top-to-avatar-small",
"desktop": {
- "value": "12px"
+ "value": "4px"
},
"mobile": {
- "value": "15px"
+ "value": "5px"
}
},
- "table-row-top-to-text-extra-large-regular": {
- "prop": "--spectrum-table-row-top-to-text-extra-large-regular",
+ "tag-top-to-cross-icon-large": {
+ "prop": "--spectrum-tag-top-to-cross-icon-large",
"desktop": {
- "value": "17px"
+ "value": "15px"
},
"mobile": {
- "value": "21px"
+ "value": "19px"
}
},
- "table-row-top-to-text-extra-large-spacious": {
- "prop": "--spectrum-table-row-top-to-text-extra-large-spacious",
+ "tag-top-to-cross-icon-medium": {
+ "prop": "--spectrum-tag-top-to-cross-icon-medium",
"desktop": {
- "value": "21px"
+ "value": "12px"
},
"mobile": {
- "value": "26px"
+ "value": "15px"
}
},
- "table-row-top-to-text-large-compact": {
- "prop": "--spectrum-table-row-top-to-text-large-compact",
- "ref": "var(--spectrum-component-top-to-text-200)",
+ "tag-top-to-cross-icon-small": {
+ "prop": "--spectrum-tag-top-to-cross-icon-small",
"desktop": {
- "value": "9px"
+ "value": "8px"
},
"mobile": {
- "value": "12px"
+ "value": "10px"
}
},
- "table-row-top-to-text-large-regular": {
- "prop": "--spectrum-table-row-top-to-text-large-regular",
+ "takeover-dialog-height": {
+ "prop": "--spectrum-takeover-dialog-height",
+ "value": "100%"
+ },
+ "takeover-dialog-width": {
+ "prop": "--spectrum-takeover-dialog-width",
+ "value": "100%"
+ },
+ "text-align-center": {
+ "prop": "--spectrum-text-align-center",
+ "value": "center"
+ },
+ "text-align-end": {
+ "prop": "--spectrum-text-align-end",
+ "value": "end"
+ },
+ "text-align-start": {
+ "prop": "--spectrum-text-align-start",
+ "value": "start"
+ },
+ "text-area-minimum-height": {
+ "prop": "--spectrum-text-area-minimum-height",
"desktop": {
- "value": "14px"
+ "value": "56px"
},
"mobile": {
- "value": "18px"
+ "value": "70px"
}
},
- "table-row-top-to-text-large-spacious": {
- "prop": "--spectrum-table-row-top-to-text-large-spacious",
+ "text-area-minimum-width": {
+ "prop": "--spectrum-text-area-minimum-width",
"desktop": {
- "value": "18px"
+ "value": "112px"
},
"mobile": {
- "value": "23px"
+ "value": "140px"
}
},
- "table-row-top-to-text-medium-compact": {
- "prop": "--spectrum-table-row-top-to-text-medium-compact",
- "ref": "var(--spectrum-component-top-to-text-100)",
+ "text-field-minimum-width-multiplier": {
+ "prop": "--spectrum-text-field-minimum-width-multiplier",
+ "value": 1.5
+ },
+ "text-to-control-100": {
+ "prop": "--spectrum-text-to-control-100",
"desktop": {
- "value": "6px"
+ "value": "10px"
},
"mobile": {
- "value": "8px"
+ "value": "13px"
}
},
- "table-row-top-to-text-medium-regular": {
- "prop": "--spectrum-table-row-top-to-text-medium-regular",
+ "text-to-control-200": {
+ "prop": "--spectrum-text-to-control-200",
"desktop": {
"value": "11px"
},
@@ -11577,18 +15094,17 @@
"value": "14px"
}
},
- "table-row-top-to-text-medium-spacious": {
- "prop": "--spectrum-table-row-top-to-text-medium-spacious",
+ "text-to-control-300": {
+ "prop": "--spectrum-text-to-control-300",
"desktop": {
- "value": "15px"
+ "value": "13px"
},
"mobile": {
- "value": "18px"
+ "value": "16px"
}
},
- "table-row-top-to-text-small-compact": {
- "prop": "--spectrum-table-row-top-to-text-small-compact",
- "ref": "var(--spectrum-component-top-to-text-75)",
+ "text-to-control-50": {
+ "prop": "--spectrum-text-to-control-50",
"desktop": {
"value": "4px"
},
@@ -11596,73 +15112,80 @@
"value": "5px"
}
},
- "table-row-top-to-text-small-regular": {
- "prop": "--spectrum-table-row-top-to-text-small-regular",
+ "text-to-control-75": {
+ "prop": "--spectrum-text-to-control-75",
"desktop": {
- "value": "8px"
+ "value": "9px"
},
"mobile": {
- "value": "10px"
+ "value": "11px"
}
},
- "table-row-top-to-text-small-spacious": {
- "prop": "--spectrum-table-row-top-to-text-small-spacious",
+ "text-to-visual-100": {
+ "prop": "--spectrum-text-to-visual-100",
"desktop": {
- "value": "12px"
+ "value": "6px"
},
"mobile": {
- "value": "15px"
+ "value": "8px"
}
},
- "table-section-header-row-height-extra-large": {
- "prop": "--spectrum-table-section-header-row-height-extra-large",
+ "text-to-visual-200": {
+ "prop": "--spectrum-text-to-visual-200",
"desktop": {
- "value": "48px"
+ "value": "7px"
},
"mobile": {
- "value": "60px"
+ "value": "9px"
}
},
- "table-section-header-row-height-large": {
- "prop": "--spectrum-table-section-header-row-height-large",
+ "text-to-visual-300": {
+ "prop": "--spectrum-text-to-visual-300",
"desktop": {
- "value": "40px"
+ "value": "8px"
},
"mobile": {
- "value": "50px"
+ "value": "10px"
}
},
- "table-section-header-row-height-medium": {
- "prop": "--spectrum-table-section-header-row-height-medium",
+ "text-to-visual-400": {
+ "prop": "--spectrum-text-to-visual-400",
"desktop": {
- "value": "32px"
+ "value": "9px"
},
"mobile": {
- "value": "40px"
+ "value": "11px"
}
},
- "table-section-header-row-height-small": {
- "prop": "--spectrum-table-section-header-row-height-small",
+ "text-to-visual-50": {
+ "prop": "--spectrum-text-to-visual-50",
"desktop": {
- "value": "24px"
+ "value": "5px"
},
"mobile": {
- "value": "30px"
+ "value": "7px"
}
},
- "table-selected-row-background-color": {
- "prop": "--spectrum-table-selected-row-background-color",
- "ref": "var(--spectrum-informative-color-800)",
- "light": {
- "value": "rgb(59, 99, 251)"
+ "text-to-visual-75": {
+ "prop": "--spectrum-text-to-visual-75",
+ "desktop": {
+ "value": "5px"
},
- "dark": {
- "value": "rgb(64, 105, 253)"
+ "mobile": {
+ "value": "7px"
}
},
- "table-selected-row-background-color-non-emphasized": {
- "prop": "--spectrum-table-selected-row-background-color-non-emphasized",
- "ref": "var(--spectrum-neutral-background-color-selected-default)",
+ "text-underline-gap": {
+ "prop": "--spectrum-text-underline-gap",
+ "value": "1px"
+ },
+ "text-underline-thickness": {
+ "prop": "--spectrum-text-underline-thickness",
+ "value": "1px"
+ },
+ "thumbnail-border-color": {
+ "prop": "--spectrum-thumbnail-border-color",
+ "ref": "var(--spectrum-gray-800)",
"light": {
"value": "rgb(41, 41, 41)"
},
@@ -11670,168 +15193,185 @@
"value": "rgb(219, 219, 219)"
}
},
- "table-selected-row-background-opacity": {
- "prop": "--spectrum-table-selected-row-background-opacity",
+ "thumbnail-border-opacity": {
+ "prop": "--spectrum-thumbnail-border-opacity",
"value": "0.1"
},
- "table-selected-row-background-opacity-hover": {
- "prop": "--spectrum-table-selected-row-background-opacity-hover",
- "value": "0.15"
- },
- "table-selected-row-background-opacity-non-emphasized": {
- "prop": "--spectrum-table-selected-row-background-opacity-non-emphasized",
- "value": "0.1"
+ "thumbnail-corner-radius": {
+ "prop": "--spectrum-thumbnail-corner-radius",
+ "ref": "var(--spectrum-corner-radius-75)",
+ "value": "3px"
},
- "table-selected-row-background-opacity-non-emphasized-hover": {
- "prop": "--spectrum-table-selected-row-background-opacity-non-emphasized-hover",
- "value": "0.15"
+ "thumbnail-opacity-checkerboard-square-size": {
+ "prop": "--spectrum-thumbnail-opacity-checkerboard-square-size",
+ "value": "4px"
},
- "table-thumbnail-to-top-minimum-extra-large-compact": {
- "prop": "--spectrum-table-thumbnail-to-top-minimum-extra-large-compact",
- "desktop": {
- "value": "8px"
- },
- "mobile": {
- "value": "10px"
- }
+ "thumbnail-opacity-disabled": {
+ "prop": "--spectrum-thumbnail-opacity-disabled",
+ "ref": "var(--spectrum-opacity-disabled)",
+ "value": "0.3"
},
- "table-thumbnail-to-top-minimum-extra-large-regular": {
- "prop": "--spectrum-table-thumbnail-to-top-minimum-extra-large-regular",
+ "thumbnail-size-100": {
+ "prop": "--spectrum-thumbnail-size-100",
"desktop": {
- "value": "8px"
+ "value": "24px"
},
"mobile": {
- "value": "10px"
+ "value": "28px"
}
},
- "table-thumbnail-to-top-minimum-extra-large-spacious": {
- "prop": "--spectrum-table-thumbnail-to-top-minimum-extra-large-spacious",
+ "thumbnail-size-1000": {
+ "prop": "--spectrum-thumbnail-size-1000",
"desktop": {
- "value": "10px"
+ "value": "64px"
},
"mobile": {
- "value": "12px"
+ "value": "72px"
}
},
- "table-thumbnail-to-top-minimum-large-compact": {
- "prop": "--spectrum-table-thumbnail-to-top-minimum-large-compact",
+ "thumbnail-size-200": {
+ "prop": "--spectrum-thumbnail-size-200",
"desktop": {
- "value": "7px"
+ "value": "28px"
},
"mobile": {
- "value": "9px"
+ "value": "32px"
}
},
- "table-thumbnail-to-top-minimum-large-regular": {
- "prop": "--spectrum-table-thumbnail-to-top-minimum-large-regular",
+ "thumbnail-size-300": {
+ "prop": "--spectrum-thumbnail-size-300",
"desktop": {
- "value": "8px"
+ "value": "32px"
},
"mobile": {
- "value": "10px"
+ "value": "36px"
}
},
- "table-thumbnail-to-top-minimum-large-spacious": {
- "prop": "--spectrum-table-thumbnail-to-top-minimum-large-spacious",
+ "thumbnail-size-400": {
+ "prop": "--spectrum-thumbnail-size-400",
"desktop": {
- "value": "8px"
+ "value": "36px"
},
"mobile": {
- "value": "10px"
+ "value": "40px"
}
},
- "table-thumbnail-to-top-minimum-medium-compact": {
- "prop": "--spectrum-table-thumbnail-to-top-minimum-medium-compact",
+ "thumbnail-size-50": {
+ "prop": "--spectrum-thumbnail-size-50",
"desktop": {
- "value": "5px"
+ "value": "16px"
},
"mobile": {
- "value": "6px"
+ "value": "20px"
}
},
- "table-thumbnail-to-top-minimum-medium-regular": {
- "prop": "--spectrum-table-thumbnail-to-top-minimum-medium-regular",
+ "thumbnail-size-500": {
+ "prop": "--spectrum-thumbnail-size-500",
"desktop": {
- "value": "7px"
+ "value": "40px"
},
"mobile": {
- "value": "9px"
+ "value": "44px"
}
},
- "table-thumbnail-to-top-minimum-medium-spacious": {
- "prop": "--spectrum-table-thumbnail-to-top-minimum-medium-spacious",
+ "thumbnail-size-600": {
+ "prop": "--spectrum-thumbnail-size-600",
"desktop": {
- "value": "8px"
+ "value": "44px"
},
"mobile": {
- "value": "10px"
+ "value": "48px"
}
},
- "table-thumbnail-to-top-minimum-small-compact": {
- "prop": "--spectrum-table-thumbnail-to-top-minimum-small-compact",
+ "thumbnail-size-700": {
+ "prop": "--spectrum-thumbnail-size-700",
"desktop": {
- "value": "4px"
+ "value": "48px"
},
"mobile": {
- "value": "5px"
+ "value": "52px"
}
},
- "table-thumbnail-to-top-minimum-small-regular": {
- "prop": "--spectrum-table-thumbnail-to-top-minimum-small-regular",
+ "thumbnail-size-75": {
+ "prop": "--spectrum-thumbnail-size-75",
"desktop": {
- "value": "5px"
+ "value": "20px"
},
"mobile": {
- "value": "6px"
+ "value": "24px"
}
},
- "table-thumbnail-to-top-minimum-small-spacious": {
- "prop": "--spectrum-table-thumbnail-to-top-minimum-small-spacious",
+ "thumbnail-size-800": {
+ "prop": "--spectrum-thumbnail-size-800",
"desktop": {
- "value": "7px"
+ "value": "52px"
},
"mobile": {
- "value": "9px"
+ "value": "56px"
}
},
- "tag-top-to-avatar-large": {
- "prop": "--spectrum-tag-top-to-avatar-large",
+ "thumbnail-size-900": {
+ "prop": "--spectrum-thumbnail-size-900",
"desktop": {
- "value": "9px"
+ "value": "56px"
},
"mobile": {
- "value": "11px"
+ "value": "64px"
}
},
- "tag-top-to-avatar-medium": {
- "prop": "--spectrum-tag-top-to-avatar-medium",
- "desktop": {
- "value": "6px"
- },
- "mobile": {
- "value": "7px"
- }
+ "title-cjk-emphasized-font-style": {
+ "prop": "--spectrum-title-cjk-emphasized-font-style",
+ "ref": "var(--spectrum-default-font-style)",
+ "value": "normal"
},
- "tag-top-to-avatar-small": {
- "prop": "--spectrum-tag-top-to-avatar-small",
+ "title-cjk-emphasized-font-weight": {
+ "prop": "--spectrum-title-cjk-emphasized-font-weight",
+ "ref": "var(--spectrum-extra-bold-font-weight)",
+ "value": "800"
+ },
+ "title-cjk-font-family": {
+ "prop": "--spectrum-title-cjk-font-family",
+ "ref": "var(--spectrum-cjk-font-family)",
+ "value": "Adobe Clean Han"
+ },
+ "title-cjk-font-style": {
+ "prop": "--spectrum-title-cjk-font-style",
+ "ref": "var(--spectrum-default-font-style)",
+ "value": "normal"
+ },
+ "title-cjk-font-weight": {
+ "prop": "--spectrum-title-cjk-font-weight",
+ "ref": "var(--spectrum-bold-font-weight)",
+ "value": "700"
+ },
+ "title-cjk-line-height": {
+ "prop": "--spectrum-title-cjk-line-height",
+ "ref": "var(--spectrum-cjk-line-height-100)",
+ "value": 1.5
+ },
+ "title-cjk-size-l": {
+ "prop": "--spectrum-title-cjk-size-l",
+ "ref": "var(--spectrum-font-size-200)",
"desktop": {
- "value": "4px"
+ "value": "16px"
},
"mobile": {
- "value": "5px"
+ "value": "19px"
}
},
- "tag-top-to-cross-icon-large": {
- "prop": "--spectrum-tag-top-to-cross-icon-large",
+ "title-cjk-size-m": {
+ "prop": "--spectrum-title-cjk-size-m",
+ "ref": "var(--spectrum-font-size-100)",
"desktop": {
- "value": "15px"
+ "value": "14px"
},
"mobile": {
- "value": "19px"
+ "value": "17px"
}
},
- "tag-top-to-cross-icon-medium": {
- "prop": "--spectrum-tag-top-to-cross-icon-medium",
+ "title-cjk-size-s": {
+ "prop": "--spectrum-title-cjk-size-s",
+ "ref": "var(--spectrum-font-size-75)",
"desktop": {
"value": "12px"
},
@@ -11839,328 +15379,495 @@
"value": "15px"
}
},
- "tag-top-to-cross-icon-small": {
- "prop": "--spectrum-tag-top-to-cross-icon-small",
+ "title-cjk-size-xl": {
+ "prop": "--spectrum-title-cjk-size-xl",
+ "ref": "var(--spectrum-font-size-300)",
"desktop": {
- "value": "8px"
+ "value": "18px"
},
"mobile": {
- "value": "10px"
+ "value": "22px"
}
},
- "text-area-minimum-height": {
- "prop": "--spectrum-text-area-minimum-height",
+ "title-cjk-size-xs": {
+ "prop": "--spectrum-title-cjk-size-xs",
+ "ref": "var(--spectrum-font-size-50)",
"desktop": {
- "value": "56px"
+ "value": "11px"
},
"mobile": {
- "value": "70px"
+ "value": "13px"
}
},
- "text-area-minimum-width": {
- "prop": "--spectrum-text-area-minimum-width",
+ "title-cjk-size-xxl": {
+ "prop": "--spectrum-title-cjk-size-xxl",
+ "ref": "var(--spectrum-font-size-400)",
"desktop": {
- "value": "112px"
+ "value": "20px"
},
"mobile": {
- "value": "140px"
+ "value": "24px"
}
},
- "text-field-minimum-width-multiplier": {
- "prop": "--spectrum-text-field-minimum-width-multiplier",
- "value": "1.5"
- },
- "text-to-control-100": {
- "prop": "--spectrum-text-to-control-100",
+ "title-cjk-size-xxxl": {
+ "prop": "--spectrum-title-cjk-size-xxxl",
+ "ref": "var(--spectrum-font-size-500)",
"desktop": {
- "value": "10px"
+ "value": "22px"
},
"mobile": {
- "value": "13px"
+ "value": "27px"
}
},
- "text-to-control-200": {
- "prop": "--spectrum-text-to-control-200",
- "desktop": {
- "value": "11px"
- },
- "mobile": {
- "value": "14px"
- }
+ "title-cjk-strong-emphasized-font-style": {
+ "prop": "--spectrum-title-cjk-strong-emphasized-font-style",
+ "ref": "var(--spectrum-default-font-style)",
+ "value": "normal"
},
- "text-to-control-300": {
- "prop": "--spectrum-text-to-control-300",
- "desktop": {
- "value": "13px"
- },
- "mobile": {
- "value": "16px"
- }
+ "title-cjk-strong-emphasized-font-weight": {
+ "prop": "--spectrum-title-cjk-strong-emphasized-font-weight",
+ "ref": "var(--spectrum-extra-bold-font-weight)",
+ "value": "800"
},
- "text-to-control-75": {
- "prop": "--spectrum-text-to-control-75",
- "desktop": {
- "value": "9px"
+ "title-cjk-strong-font-style": {
+ "prop": "--spectrum-title-cjk-strong-font-style",
+ "ref": "var(--spectrum-default-font-style)",
+ "value": "normal"
+ },
+ "title-cjk-strong-font-weight": {
+ "prop": "--spectrum-title-cjk-strong-font-weight",
+ "ref": "var(--spectrum-extra-bold-font-weight)",
+ "value": "800"
+ },
+ "title-color": {
+ "prop": "--spectrum-title-color",
+ "ref": "var(--spectrum-gray-900)",
+ "light": {
+ "value": "rgb(19, 19, 19)"
},
- "mobile": {
- "value": "11px"
+ "dark": {
+ "value": "rgb(242, 242, 242)"
}
},
- "text-to-visual-100": {
- "prop": "--spectrum-text-to-visual-100",
- "desktop": {
- "value": "6px"
- },
- "mobile": {
- "value": "8px"
- }
+ "title-line-height": {
+ "prop": "--spectrum-title-line-height",
+ "ref": "var(--spectrum-line-height-100)",
+ "value": 1.3
+ },
+ "title-margin-bottom-multiplier": {
+ "prop": "--spectrum-title-margin-bottom-multiplier",
+ "value": 0.25
+ },
+ "title-margin-top-multiplier": {
+ "prop": "--spectrum-title-margin-top-multiplier",
+ "value": 0.88888889
+ },
+ "title-sans-serif-emphasized-font-style": {
+ "prop": "--spectrum-title-sans-serif-emphasized-font-style",
+ "ref": "var(--spectrum-italic-font-style)",
+ "value": "italic"
+ },
+ "title-sans-serif-emphasized-font-weight": {
+ "prop": "--spectrum-title-sans-serif-emphasized-font-weight",
+ "ref": "var(--spectrum-bold-font-weight)",
+ "value": "700"
+ },
+ "title-sans-serif-font-family": {
+ "prop": "--spectrum-title-sans-serif-font-family",
+ "ref": "var(--spectrum-sans-serif-font-family)",
+ "value": "Adobe Clean"
+ },
+ "title-sans-serif-font-style": {
+ "prop": "--spectrum-title-sans-serif-font-style",
+ "ref": "var(--spectrum-default-font-style)",
+ "value": "normal"
+ },
+ "title-sans-serif-font-weight": {
+ "prop": "--spectrum-title-sans-serif-font-weight",
+ "ref": "var(--spectrum-bold-font-weight)",
+ "value": "700"
+ },
+ "title-sans-serif-strong-emphasized-font-style": {
+ "prop": "--spectrum-title-sans-serif-strong-emphasized-font-style",
+ "ref": "var(--spectrum-italic-font-style)",
+ "value": "italic"
+ },
+ "title-sans-serif-strong-emphasized-font-weight": {
+ "prop": "--spectrum-title-sans-serif-strong-emphasized-font-weight",
+ "ref": "var(--spectrum-extra-bold-font-weight)",
+ "value": "800"
+ },
+ "title-sans-serif-strong-font-style": {
+ "prop": "--spectrum-title-sans-serif-strong-font-style",
+ "ref": "var(--spectrum-default-font-style)",
+ "value": "normal"
+ },
+ "title-sans-serif-strong-font-weight": {
+ "prop": "--spectrum-title-sans-serif-strong-font-weight",
+ "ref": "var(--spectrum-extra-bold-font-weight)",
+ "value": "800"
+ },
+ "title-serif-emphasized-font-style": {
+ "prop": "--spectrum-title-serif-emphasized-font-style",
+ "ref": "var(--spectrum-italic-font-style)",
+ "value": "italic"
+ },
+ "title-serif-emphasized-font-weight": {
+ "prop": "--spectrum-title-serif-emphasized-font-weight",
+ "ref": "var(--spectrum-bold-font-weight)",
+ "value": "700"
+ },
+ "title-serif-font-family": {
+ "prop": "--spectrum-title-serif-font-family",
+ "ref": "var(--spectrum-serif-font-family)",
+ "value": "Adobe Clean Serif"
+ },
+ "title-serif-font-style": {
+ "prop": "--spectrum-title-serif-font-style",
+ "ref": "var(--spectrum-default-font-style)",
+ "value": "normal"
+ },
+ "title-serif-font-weight": {
+ "prop": "--spectrum-title-serif-font-weight",
+ "ref": "var(--spectrum-bold-font-weight)",
+ "value": "700"
+ },
+ "title-serif-strong-emphasized-font-style": {
+ "prop": "--spectrum-title-serif-strong-emphasized-font-style",
+ "ref": "var(--spectrum-italic-font-style)",
+ "value": "italic"
+ },
+ "title-serif-strong-emphasized-font-weight": {
+ "prop": "--spectrum-title-serif-strong-emphasized-font-weight",
+ "ref": "var(--spectrum-black-font-weight)",
+ "value": "900"
},
- "text-to-visual-200": {
- "prop": "--spectrum-text-to-visual-200",
- "desktop": {
- "value": "7px"
- },
- "mobile": {
- "value": "9px"
- }
+ "title-serif-strong-font-style": {
+ "prop": "--spectrum-title-serif-strong-font-style",
+ "ref": "var(--spectrum-default-font-style)",
+ "value": "normal"
},
- "text-to-visual-300": {
- "prop": "--spectrum-text-to-visual-300",
- "desktop": {
- "value": "8px"
- },
- "mobile": {
- "value": "10px"
- }
+ "title-serif-strong-font-weight": {
+ "prop": "--spectrum-title-serif-strong-font-weight",
+ "ref": "var(--spectrum-black-font-weight)",
+ "value": "900"
},
- "text-to-visual-400": {
- "prop": "--spectrum-text-to-visual-400",
+ "title-size-l": {
+ "prop": "--spectrum-title-size-l",
+ "ref": "var(--spectrum-font-size-300)",
"desktop": {
- "value": "9px"
+ "value": "18px"
},
"mobile": {
- "value": "11px"
+ "value": "22px"
}
},
- "text-to-visual-50": {
- "prop": "--spectrum-text-to-visual-50",
+ "title-size-m": {
+ "prop": "--spectrum-title-size-m",
+ "ref": "var(--spectrum-font-size-200)",
"desktop": {
- "value": "5px"
+ "value": "16px"
},
"mobile": {
- "value": "7px"
+ "value": "19px"
}
},
- "text-to-visual-75": {
- "prop": "--spectrum-text-to-visual-75",
+ "title-size-s": {
+ "prop": "--spectrum-title-size-s",
+ "ref": "var(--spectrum-font-size-100)",
"desktop": {
- "value": "5px"
+ "value": "14px"
},
"mobile": {
- "value": "7px"
- }
- },
- "text-underline-gap": {
- "prop": "--spectrum-text-underline-gap",
- "value": "1px"
- },
- "text-underline-thickness": {
- "prop": "--spectrum-text-underline-thickness",
- "value": "1px"
- },
- "thumbnail-border-color": {
- "prop": "--spectrum-thumbnail-border-color",
- "ref": "var(--spectrum-gray-800)",
- "light": {
- "value": "rgb(41, 41, 41)"
- },
- "dark": {
- "value": "rgb(219, 219, 219)"
+ "value": "17px"
}
},
- "thumbnail-border-opacity": {
- "prop": "--spectrum-thumbnail-border-opacity",
- "value": "0.1"
- },
- "thumbnail-opacity-disabled": {
- "prop": "--spectrum-thumbnail-opacity-disabled",
- "ref": "var(--spectrum-opacity-disabled)",
- "value": "0.3"
- },
- "thumbnail-size-100": {
- "prop": "--spectrum-thumbnail-size-100",
+ "title-size-xl": {
+ "prop": "--spectrum-title-size-xl",
+ "ref": "var(--spectrum-font-size-400)",
"desktop": {
"value": "20px"
},
"mobile": {
- "value": "26px"
+ "value": "24px"
}
},
- "thumbnail-size-1000": {
- "prop": "--spectrum-thumbnail-size-1000",
+ "title-size-xs": {
+ "prop": "--spectrum-title-size-xs",
+ "ref": "var(--spectrum-font-size-75)",
"desktop": {
- "value": "56px"
+ "value": "12px"
},
"mobile": {
- "value": "70px"
+ "value": "15px"
}
},
- "thumbnail-size-200": {
- "prop": "--spectrum-thumbnail-size-200",
+ "title-size-xxl": {
+ "prop": "--spectrum-title-size-xxl",
+ "ref": "var(--spectrum-font-size-500)",
"desktop": {
"value": "22px"
},
"mobile": {
- "value": "28px"
+ "value": "27px"
}
},
- "thumbnail-size-300": {
- "prop": "--spectrum-thumbnail-size-300",
+ "title-size-xxxl": {
+ "prop": "--spectrum-title-size-xxxl",
+ "ref": "var(--spectrum-font-size-600)",
"desktop": {
- "value": "26px"
+ "value": "25px"
},
"mobile": {
- "value": "32px"
+ "value": "31px"
}
},
- "thumbnail-size-400": {
- "prop": "--spectrum-thumbnail-size-400",
+ "toast-bottom-to-text": {
+ "prop": "--spectrum-toast-bottom-to-text",
"desktop": {
- "value": "28px"
+ "value": "20px"
},
"mobile": {
- "value": "36px"
+ "value": "22px"
}
},
- "thumbnail-size-50": {
- "prop": "--spectrum-thumbnail-size-50",
+ "toast-height": {
+ "prop": "--spectrum-toast-height",
"desktop": {
- "value": "16px"
+ "value": "52px"
},
"mobile": {
- "value": "20px"
+ "value": "60px"
}
},
- "thumbnail-size-500": {
- "prop": "--spectrum-thumbnail-size-500",
+ "toast-maximum-width": {
+ "prop": "--spectrum-toast-maximum-width",
"desktop": {
- "value": "32px"
+ "value": "336px"
},
"mobile": {
- "value": "40px"
+ "value": "420px"
}
},
- "thumbnail-size-600": {
- "prop": "--spectrum-thumbnail-size-600",
+ "toast-top-to-text": {
+ "prop": "--spectrum-toast-top-to-text",
"desktop": {
- "value": "36px"
+ "value": "18px"
},
"mobile": {
- "value": "46px"
+ "value": "20px"
}
},
- "thumbnail-size-700": {
- "prop": "--spectrum-thumbnail-size-700",
+ "toast-top-to-workflow-icon": {
+ "prop": "--spectrum-toast-top-to-workflow-icon",
"desktop": {
- "value": "40px"
+ "value": "18px"
},
"mobile": {
- "value": "50px"
+ "value": "20px"
}
},
- "thumbnail-size-75": {
- "prop": "--spectrum-thumbnail-size-75",
+ "tooltip-maximum-width": {
+ "prop": "--spectrum-tooltip-maximum-width",
"desktop": {
- "value": "18px"
+ "value": "160px"
},
"mobile": {
- "value": "22px"
+ "value": "200px"
}
},
- "thumbnail-size-800": {
- "prop": "--spectrum-thumbnail-size-800",
+ "tooltip-tip-corner-radius": {
+ "prop": "--spectrum-tooltip-tip-corner-radius",
+ "value": "1px"
+ },
+ "tooltip-tip-height": {
+ "prop": "--spectrum-tooltip-tip-height",
"desktop": {
- "value": "44px"
+ "value": "5px"
},
"mobile": {
- "value": "55px"
+ "value": "6px"
}
},
- "thumbnail-size-900": {
- "prop": "--spectrum-thumbnail-size-900",
+ "tooltip-tip-width": {
+ "prop": "--spectrum-tooltip-tip-width",
"desktop": {
- "value": "50px"
+ "value": "10px"
},
"mobile": {
- "value": "62px"
+ "value": "12px"
}
},
- "title-color": {
- "prop": "--spectrum-title-color",
- "ref": "var(--spectrum-gray-900)",
+ "track-color": {
+ "prop": "--spectrum-track-color",
+ "ref": "var(--spectrum-gray-300)",
"light": {
- "value": "rgb(19, 19, 19)"
+ "value": "rgb(218, 218, 218)"
},
"dark": {
- "value": "rgb(242, 242, 242)"
+ "value": "rgb(57, 57, 57)"
}
},
- "toast-bottom-to-text": {
- "prop": "--spectrum-toast-bottom-to-text",
+ "transparent-black-100": {
+ "prop": "--spectrum-transparent-black-100",
+ "value": "rgba(0, 0, 0, 0.09)"
+ },
+ "transparent-black-1000": {
+ "prop": "--spectrum-transparent-black-1000",
+ "value": "rgb(0, 0, 0)"
+ },
+ "transparent-black-200": {
+ "prop": "--spectrum-transparent-black-200",
+ "value": "rgba(0, 0, 0, 0.12)"
+ },
+ "transparent-black-25": {
+ "prop": "--spectrum-transparent-black-25",
+ "value": "rgba(0, 0, 0, 0)"
+ },
+ "transparent-black-300": {
+ "prop": "--spectrum-transparent-black-300",
+ "value": "rgba(0, 0, 0, 0.15)"
+ },
+ "transparent-black-400": {
+ "prop": "--spectrum-transparent-black-400",
+ "value": "rgba(0, 0, 0, 0.22)"
+ },
+ "transparent-black-50": {
+ "prop": "--spectrum-transparent-black-50",
+ "value": "rgba(0, 0, 0, 0.03)"
+ },
+ "transparent-black-500": {
+ "prop": "--spectrum-transparent-black-500",
+ "value": "rgba(0, 0, 0, 0.44)"
+ },
+ "transparent-black-600": {
+ "prop": "--spectrum-transparent-black-600",
+ "value": "rgba(0, 0, 0, 0.56)"
+ },
+ "transparent-black-700": {
+ "prop": "--spectrum-transparent-black-700",
+ "value": "rgba(0, 0, 0, 0.69)"
+ },
+ "transparent-black-75": {
+ "prop": "--spectrum-transparent-black-75",
+ "value": "rgba(0, 0, 0, 0.05)"
+ },
+ "transparent-black-800": {
+ "prop": "--spectrum-transparent-black-800",
+ "value": "rgba(0, 0, 0, 0.84)"
+ },
+ "transparent-black-900": {
+ "prop": "--spectrum-transparent-black-900",
+ "value": "rgba(0, 0, 0, 0.93)"
+ },
+ "transparent-white-100": {
+ "prop": "--spectrum-transparent-white-100",
+ "value": "rgba(255, 255, 255, 0.11)"
+ },
+ "transparent-white-1000": {
+ "prop": "--spectrum-transparent-white-1000",
+ "value": "rgb(255, 255, 255)"
+ },
+ "transparent-white-200": {
+ "prop": "--spectrum-transparent-white-200",
+ "value": "rgba(255, 255, 255, 0.14)"
+ },
+ "transparent-white-25": {
+ "prop": "--spectrum-transparent-white-25",
+ "value": "rgba(255, 255, 255, 0)"
+ },
+ "transparent-white-300": {
+ "prop": "--spectrum-transparent-white-300",
+ "value": "rgba(255, 255, 255, 0.17)"
+ },
+ "transparent-white-400": {
+ "prop": "--spectrum-transparent-white-400",
+ "value": "rgba(255, 255, 255, 0.21)"
+ },
+ "transparent-white-50": {
+ "prop": "--spectrum-transparent-white-50",
+ "value": "rgba(255, 255, 255, 0.04)"
+ },
+ "transparent-white-500": {
+ "prop": "--spectrum-transparent-white-500",
+ "value": "rgba(255, 255, 255, 0.39)"
+ },
+ "transparent-white-600": {
+ "prop": "--spectrum-transparent-white-600",
+ "value": "rgba(255, 255, 255, 0.51)"
+ },
+ "transparent-white-700": {
+ "prop": "--spectrum-transparent-white-700",
+ "value": "rgba(255, 255, 255, 0.66)"
+ },
+ "transparent-white-75": {
+ "prop": "--spectrum-transparent-white-75",
+ "value": "rgba(255, 255, 255, 0.07)"
+ },
+ "transparent-white-800": {
+ "prop": "--spectrum-transparent-white-800",
+ "value": "rgba(255, 255, 255, 0.85)"
+ },
+ "transparent-white-900": {
+ "prop": "--spectrum-transparent-white-900",
+ "value": "rgba(255, 255, 255, 0.94)"
+ },
+ "tray-top-to-content-area": {
+ "prop": "--spectrum-tray-top-to-content-area",
"desktop": {
- "value": "17px"
+ "value": "4px"
},
"mobile": {
- "value": "19px"
+ "value": "5px"
}
},
- "toast-height": {
- "prop": "--spectrum-toast-height",
+ "tree-view-bottom-to-label": {
+ "prop": "--spectrum-tree-view-bottom-to-label",
"desktop": {
- "value": "48px"
+ "value": "12px"
},
"mobile": {
- "value": "56px"
+ "value": "16px"
}
},
- "toast-maximum-width": {
- "prop": "--spectrum-toast-maximum-width",
+ "tree-view-disclosure-indicator-height": {
+ "prop": "--spectrum-tree-view-disclosure-indicator-height",
"desktop": {
- "value": "336px"
+ "value": "32px"
},
"mobile": {
- "value": "420px"
+ "value": "40px"
}
},
- "toast-top-to-text": {
- "prop": "--spectrum-toast-top-to-text",
+ "tree-view-disclosure-indicator-width": {
+ "prop": "--spectrum-tree-view-disclosure-indicator-width",
"desktop": {
- "value": "14px"
+ "value": "34px"
},
"mobile": {
- "value": "16px"
+ "value": "42px"
}
},
- "toast-top-to-workflow-icon": {
- "prop": "--spectrum-toast-top-to-workflow-icon",
+ "tree-view-drag-handle-to-checkbox": {
+ "prop": "--spectrum-tree-view-drag-handle-to-checkbox",
"desktop": {
- "value": "15px"
+ "value": "8px"
},
"mobile": {
- "value": "17px"
+ "value": "10px"
}
},
- "tooltip-maximum-width": {
- "prop": "--spectrum-tooltip-maximum-width",
+ "tree-view-edge-to-checkbox": {
+ "prop": "--spectrum-tree-view-edge-to-checkbox",
"desktop": {
- "value": "160px"
+ "value": "12px"
},
"mobile": {
- "value": "200px"
+ "value": "15px"
}
},
- "tooltip-tip-height": {
- "prop": "--spectrum-tooltip-tip-height",
+ "tree-view-edge-to-drag-handle": {
+ "prop": "--spectrum-tree-view-edge-to-drag-handle",
"desktop": {
"value": "4px"
},
@@ -12168,261 +15875,172 @@
"value": "5px"
}
},
- "tooltip-tip-width": {
- "prop": "--spectrum-tooltip-tip-width",
+ "tree-view-end-edge-to-action-area": {
+ "prop": "--spectrum-tree-view-end-edge-to-action-area",
"desktop": {
- "value": "8px"
+ "value": "6px"
},
"mobile": {
- "value": "10px"
- }
- },
- "track-color": {
- "prop": "--spectrum-track-color",
- "ref": "var(--spectrum-gray-300)",
- "light": {
- "value": "rgb(218, 218, 218)"
- },
- "dark": {
- "value": "rgb(57, 57, 57)"
- }
- },
- "transparent-black-100": {
- "prop": "--spectrum-transparent-black-100",
- "light": {
- "value": "rgba(0, 0, 0, 0.09)"
- },
- "dark": {
- "value": "rgba(0, 0, 0, 0.09)"
- }
- },
- "transparent-black-1000": {
- "prop": "--spectrum-transparent-black-1000",
- "value": "rgb(0, 0, 0)"
- },
- "transparent-black-200": {
- "prop": "--spectrum-transparent-black-200",
- "light": {
- "value": "rgba(0, 0, 0, 0.12)"
- },
- "dark": {
- "value": "rgba(0, 0, 0, 0.12)"
- }
- },
- "transparent-black-25": {
- "prop": "--spectrum-transparent-black-25",
- "light": {
- "value": "rgba(0, 0, 0, 0)"
- },
- "dark": {
- "value": "rgba(0, 0, 0, 0)"
- }
- },
- "transparent-black-300": {
- "prop": "--spectrum-transparent-black-300",
- "light": {
- "value": "rgba(0, 0, 0, 0.15)"
- },
- "dark": {
- "value": "rgba(0, 0, 0, 0.15)"
- }
- },
- "transparent-black-400": {
- "prop": "--spectrum-transparent-black-400",
- "light": {
- "value": "rgba(0, 0, 0, 0.22)"
- },
- "dark": {
- "value": "rgba(0, 0, 0, 0.22)"
- }
- },
- "transparent-black-50": {
- "prop": "--spectrum-transparent-black-50",
- "light": {
- "value": "rgba(0, 0, 0, 0.03)"
- },
- "dark": {
- "value": "rgba(0, 0, 0, 0.03)"
+ "value": "7px"
}
},
- "transparent-black-500": {
- "prop": "--spectrum-transparent-black-500",
- "light": {
- "value": "rgba(0, 0, 0, 0.44)"
- },
- "dark": {
- "value": "rgba(0, 0, 0, 0.44)"
- }
+ "tree-view-header-to-item": {
+ "prop": "--spectrum-tree-view-header-to-item",
+ "value": "-1px"
},
- "transparent-black-600": {
- "prop": "--spectrum-transparent-black-600",
- "light": {
- "value": "rgba(0, 0, 0, 0.56)"
+ "tree-view-item-to-header": {
+ "prop": "--spectrum-tree-view-item-to-header",
+ "desktop": {
+ "value": "24px"
},
- "dark": {
- "value": "rgba(0, 0, 0, 0.56)"
+ "mobile": {
+ "value": "30px"
}
},
- "transparent-black-700": {
- "prop": "--spectrum-transparent-black-700",
- "light": {
- "value": "rgba(0, 0, 0, 0.69)"
- },
- "dark": {
- "value": "rgba(0, 0, 0, 0.69)"
- }
+ "tree-view-item-to-item": {
+ "prop": "--spectrum-tree-view-item-to-item",
+ "value": "-1px"
},
- "transparent-black-75": {
- "prop": "--spectrum-transparent-black-75",
- "light": {
- "value": "rgba(0, 0, 0, 0.05)"
- },
- "dark": {
- "value": "rgba(0, 0, 0, 0.05)"
- }
+ "tree-view-item-to-item-detached": {
+ "prop": "--spectrum-tree-view-item-to-item-detached",
+ "value": "2px"
},
- "transparent-black-800": {
- "prop": "--spectrum-transparent-black-800",
- "light": {
- "value": "rgba(0, 0, 0, 0.84)"
+ "tree-view-label-to-action-area": {
+ "prop": "--spectrum-tree-view-label-to-action-area",
+ "desktop": {
+ "value": "6px"
},
- "dark": {
- "value": "rgba(0, 0, 0, 0.84)"
+ "mobile": {
+ "value": "8px"
}
},
- "transparent-black-900": {
- "prop": "--spectrum-transparent-black-900",
- "light": {
- "value": "rgba(0, 0, 0, 0.93)"
+ "tree-view-level-increment": {
+ "prop": "--spectrum-tree-view-level-increment",
+ "desktop": {
+ "value": "16px"
},
- "dark": {
- "value": "rgba(0, 0, 0, 0.93)"
+ "mobile": {
+ "value": "20px"
}
},
- "transparent-white-100": {
- "prop": "--spectrum-transparent-white-100",
- "light": {
- "value": "rgba(255, 255, 255, 0.11)"
+ "tree-view-minimum-height": {
+ "prop": "--spectrum-tree-view-minimum-height",
+ "desktop": {
+ "value": "40px"
},
- "dark": {
- "value": "rgba(255, 255, 255, 0.11)"
+ "mobile": {
+ "value": "50px"
}
},
- "transparent-white-1000": {
- "prop": "--spectrum-transparent-white-1000",
- "light": {
- "value": "rgb(255, 255, 255)"
+ "tree-view-minimum-top-to-context-area": {
+ "prop": "--spectrum-tree-view-minimum-top-to-context-area",
+ "desktop": {
+ "value": "8px"
},
- "dark": {
- "value": "rgb(255, 255, 255)"
+ "mobile": {
+ "value": "10px"
}
},
- "transparent-white-200": {
- "prop": "--spectrum-transparent-white-200",
- "light": {
- "value": "rgba(255, 255, 255, 0.14)"
+ "tree-view-minimum-width": {
+ "prop": "--spectrum-tree-view-minimum-width",
+ "desktop": {
+ "value": "160px"
},
- "dark": {
- "value": "rgba(255, 255, 255, 0.14)"
+ "mobile": {
+ "value": "200px"
}
},
- "transparent-white-25": {
- "prop": "--spectrum-transparent-white-25",
+ "tree-view-row-background-hover": {
+ "prop": "--spectrum-tree-view-row-background-hover",
+ "ref": "var(--spectrum-gray-100)",
"light": {
- "value": "rgba(255, 255, 255, 0)"
+ "value": "rgb(233, 233, 233)"
},
"dark": {
- "value": "rgba(255, 255, 255, 0)"
+ "value": "rgb(44, 44, 44)"
}
},
- "transparent-white-300": {
- "prop": "--spectrum-transparent-white-300",
+ "tree-view-selected-row-background-color-emphasized": {
+ "prop": "--spectrum-tree-view-selected-row-background-color-emphasized",
+ "ref": "var(--spectrum-informative-color-800)",
"light": {
- "value": "rgba(255, 255, 255, 0.17)"
+ "value": "rgb(59, 99, 251)"
},
"dark": {
- "value": "rgba(255, 255, 255, 0.17)"
+ "value": "rgb(64, 105, 253)"
}
},
- "transparent-white-400": {
- "prop": "--spectrum-transparent-white-400",
+ "tree-view-selected-row-background-default": {
+ "prop": "--spectrum-tree-view-selected-row-background-default",
+ "ref": "var(--spectrum-gray-100)",
"light": {
- "value": "rgba(255, 255, 255, 0.21)"
+ "value": "rgb(233, 233, 233)"
},
"dark": {
- "value": "rgba(255, 255, 255, 0.21)"
+ "value": "rgb(44, 44, 44)"
}
},
- "transparent-white-50": {
- "prop": "--spectrum-transparent-white-50",
+ "tree-view-selected-row-background-hover": {
+ "prop": "--spectrum-tree-view-selected-row-background-hover",
+ "ref": "var(--spectrum-gray-100)",
"light": {
- "value": "rgba(255, 255, 255, 0.04)"
+ "value": "rgb(233, 233, 233)"
},
"dark": {
- "value": "rgba(255, 255, 255, 0.04)"
+ "value": "rgb(44, 44, 44)"
}
},
- "transparent-white-500": {
- "prop": "--spectrum-transparent-white-500",
- "light": {
- "value": "rgba(255, 255, 255, 0.39)"
- },
- "dark": {
- "value": "rgba(255, 255, 255, 0.39)"
- }
+ "tree-view-selected-row-background-opacity-emphasized": {
+ "prop": "--spectrum-tree-view-selected-row-background-opacity-emphasized",
+ "value": "0.1"
},
- "transparent-white-600": {
- "prop": "--spectrum-transparent-white-600",
- "light": {
- "value": "rgba(255, 255, 255, 0.51)"
- },
- "dark": {
- "value": "rgba(255, 255, 255, 0.51)"
- }
+ "tree-view-selected-row-background-opacity-emphasized-hover": {
+ "prop": "--spectrum-tree-view-selected-row-background-opacity-emphasized-hover",
+ "value": "0.15"
},
- "transparent-white-700": {
- "prop": "--spectrum-transparent-white-700",
- "light": {
- "value": "rgba(255, 255, 255, 0.66)"
+ "tree-view-top-to-action-button": {
+ "prop": "--spectrum-tree-view-top-to-action-button",
+ "desktop": {
+ "value": "4px"
},
- "dark": {
- "value": "rgba(255, 255, 255, 0.66)"
+ "mobile": {
+ "value": "5px"
}
},
- "transparent-white-75": {
- "prop": "--spectrum-transparent-white-75",
- "light": {
- "value": "rgba(255, 255, 255, 0.07)"
+ "tree-view-top-to-checkbox": {
+ "prop": "--spectrum-tree-view-top-to-checkbox",
+ "desktop": {
+ "value": "4px"
},
- "dark": {
- "value": "rgba(255, 255, 255, 0.07)"
+ "mobile": {
+ "value": "5px"
}
},
- "transparent-white-800": {
- "prop": "--spectrum-transparent-white-800",
- "light": {
- "value": "rgba(255, 255, 255, 0.85)"
+ "tree-view-top-to-disclosure-indicator": {
+ "prop": "--spectrum-tree-view-top-to-disclosure-indicator",
+ "desktop": {
+ "value": "15px"
},
- "dark": {
- "value": "rgba(255, 255, 255, 0.85)"
+ "mobile": {
+ "value": "19px"
}
},
- "transparent-white-900": {
- "prop": "--spectrum-transparent-white-900",
- "light": {
- "value": "rgba(255, 255, 255, 0.94)"
+ "tree-view-top-to-drag-handle": {
+ "prop": "--spectrum-tree-view-top-to-drag-handle",
+ "desktop": {
+ "value": "15px"
},
- "dark": {
- "value": "rgba(255, 255, 255, 0.94)"
+ "mobile": {
+ "value": "19px"
}
},
- "tray-top-to-content-area": {
- "prop": "--spectrum-tray-top-to-content-area",
+ "tree-view-top-to-label": {
+ "prop": "--spectrum-tree-view-top-to-label",
"desktop": {
- "value": "4px"
+ "value": "10px"
},
"mobile": {
- "value": "5px"
+ "value": "13px"
}
},
"turquoise-100": {
@@ -12601,12 +16219,12 @@
},
"white": {
"prop": "--spectrum-white",
- "light": {
- "value": "rgb(255, 255, 255)"
- },
- "dark": {
- "value": "rgb(255, 255, 255)"
- }
+ "value": "rgb(255, 255, 255)"
+ },
+ "window-to-edge": {
+ "prop": "--spectrum-window-to-edge",
+ "ref": "var(--spectrum-spacing-600)",
+ "value": "40px"
},
"workflow-icon-size-100": {
"prop": "--spectrum-workflow-icon-size-100",
diff --git a/tokens/package.json b/tokens/package.json
index 7488f81265e..e18cd9033b8 100644
--- a/tokens/package.json
+++ b/tokens/package.json
@@ -27,7 +27,7 @@
"package.json"
],
"devDependencies": {
- "@adobe/spectrum-tokens": "0.0.0-s2-foundations-20241121221506",
+ "@adobe/spectrum-tokens": "13.0.0-beta.58",
"@adobe/token-diff-generator": "^1.3.0",
"@nxkit/style-dictionary": "^6.0.0",
"@spectrum-tools/postcss-rgb-mapping": "1.0.0",
diff --git a/tokens/postcss.config.js b/tokens/postcss.config.js
index e117b38812b..dff6ce1fea5 100644
--- a/tokens/postcss.config.js
+++ b/tokens/postcss.config.js
@@ -11,15 +11,9 @@
* governing permissions and limitations under the License.
*/
-module.exports = ({
- resolveImports = true,
- ...options
-}) => require("../postcss.config.js")({
- ...options,
- resolveImports,
- env: "production",
- map: false,
- additionalPlugins: {
+module.exports = () => ({
+ plugins: {
+ "postcss-import": {},
"@spectrum-tools/postcss-rgb-mapping": {
colorFunctionalNotation: false,
},
@@ -27,5 +21,20 @@ module.exports = ({
order: ["custom-properties", "declarations", "at-rules", "rules"],
"properties-order": "alphabetical",
},
+ cssnano: {
+ preset: [
+ "cssnano-preset-advanced",
+ {
+ colormin: false,
+ discardComments: { removeAll: true },
+ // @todo yarn add -DW css-declaration-sorter
+ cssDeclarationSorter: false, // @todo { order: "smacss" },
+ normalizeWhitespace: false,
+ },
+ ],
+ },
+ "postcss-licensing": {
+ filename: "../COPYRIGHT",
+ },
},
});
diff --git a/tokens/project.json b/tokens/project.json
index 0e9ead556bc..92061b809b0 100644
--- a/tokens/project.json
+++ b/tokens/project.json
@@ -3,8 +3,7 @@
"tag": ["tokens"],
"namedInputs": {
"core": [
- "{projectRoot}/custom-express/*.css",
- "{projectRoot}/custom-spectrum/*.css"
+ "{projectRoot}/custom/*.css"
],
"scripts": ["{projectRoot}/style-dictionary.config.js", "{projectRoot}/utilities/*.js"],
"tools": ["{projectRoot}/postcss.config.js", "{projectRoot}/tasks/token-rollup.js"]
@@ -71,15 +70,8 @@
"{projectRoot}/dist/css/global-vars.css",
"{projectRoot}/dist/css/light-vars.css",
"{projectRoot}/dist/css/dark-vars.css",
- "{projectRoot}/dist/css/darkest-vars.css",
"{projectRoot}/dist/css/medium-vars.css",
- "{projectRoot}/dist/css/large-vars.css",
- "{projectRoot}/dist/css/spectrum/global-vars.css",
- "{projectRoot}/dist/css/spectrum/medium-vars.css",
- "{projectRoot}/dist/css/spectrum/large-vars.css",
- "{projectRoot}/dist/css/express/global-vars.css",
- "{projectRoot}/dist/css/express/medium-vars.css",
- "{projectRoot}/dist/css/express/large-vars.css"
+ "{projectRoot}/dist/css/large-vars.css"
]
}
}
diff --git a/tokens/tasks/token-rollup.js b/tokens/tasks/token-rollup.js
index 39f907f7ee1..551f2001c88 100644
--- a/tokens/tasks/token-rollup.js
+++ b/tokens/tasks/token-rollup.js
@@ -115,52 +115,44 @@ async function main({
const compiledOutputPath = path.join(cwd, "dist");
- // Ensure the dist directory exists
- if (!fs.existsSync(compiledOutputPath)) {
- fs.mkdirSync(compiledOutputPath);
+ const reports = [];
+ const errors = [];
+
+ // Wait for all the custom files to be processed
+ await appendCustomOverrides({ cwd }).then((report) => { reports.push(report); }).catch((err) => { errors.push(err); });
+
+ // Then build the index.css file
+ await index(["dist/css/*-vars.css"], path.join(compiledOutputPath, "css", "index.css"), { cwd, clean }).then((report) => { reports.push(report); }).catch((err) => { errors.push(err); });
+
+ // Combine all the reports into a single log output
+ const logs = reports.flat(Infinity).filter(Boolean);
+ const errorLogs = errors.flat(Infinity).filter(Boolean);
+
+ console.log(`\n\n${key} 🔨`);
+ console.log(`${"".padStart(30, "-")}`);
+
+ if (!(errorLogs && errorLogs.length > 0)) {
+ if (logs && logs.length > 0) {
+ logs.forEach(log => {
+ // Strip the ../../tokens/ from the paths
+ console.log(log.replace(/(\.\.\/)+tokens\//g, ""));
+ });
+ }
+ else console.log("No assets created.".gray);
+ }
+ else {
+ errorLogs.forEach(log => {
+ console.error(log);
+ });
}
- // Read in the package version from the package.json file
- const packageJson = await fsp.readFile(path.join(cwd, "package.json"), "utf-8").then(JSON.parse);
+ console.log(`${"".padStart(30, "-")}`);
+ console.timeEnd(key);
+ console.log("");
- // Wait for all the custom files to be processed
- return appendCustomOverrides({ packageJson, cwd }).then(async (r) =>
- Promise.all([
- index(
- ["dist/css/*-vars.css"],
- path.join(compiledOutputPath, "css", "index.css"),
- { cwd, clean, packageJson }
- )
- ]).then((reports) => {
- const logs = [reports, r].flat(Infinity).filter(Boolean);
-
- console.log(`\n\n${key} 🔨`);
- console.log(`${"".padStart(30, "-")}`);
-
- if (logs && logs.length > 0) {
- logs.forEach(log => {
- // Strip the ../../tokens/ from the paths
- console.log(log.replace(/(\.\.\/)+tokens\//g, ""));
- });
- }
- else console.log("No assets created.".gray);
-
- console.log(`${"".padStart(30, "-")}`);
- console.timeEnd(key);
- console.log("");
- }).catch((err) => {
- console.log(`\n\n${key} 🔨`);
- console.log(`${"".padStart(30, "-")}`);
-
- console.trace(err);
-
- console.log(`${"".padStart(30, "-")}`);
- console.timeEnd(key);
- console.log("");
-
- process.exit(1);
- })
- );
+ if (errorLogs && errorLogs.length > 0) {
+ process.exit(1);
+ }
}
exports.default = main;
diff --git a/tools/bundle/CHANGELOG.md b/tools/bundle/CHANGELOG.md
index ff846493216..c906217d46c 100644
--- a/tools/bundle/CHANGELOG.md
+++ b/tools/bundle/CHANGELOG.md
@@ -4,7 +4,9 @@
### Patch Changes
-- [#3527](https://github.com/adobe/spectrum-css/pull/3527) [`5f1751c`](https://github.com/adobe/spectrum-css/commit/5f1751c82a5fe55ae0d999f5f50cfeca4c8a5c75) Thanks [@castastrophe](https://github.com/castastrophe)! - Minor dependency updates to align with the larger project.
+📝 [#3527](https://github.com/adobe/spectrum-css/pull/3527) [`5f1751c`](https://github.com/adobe/spectrum-css/commit/5f1751c82a5fe55ae0d999f5f50cfeca4c8a5c75) Thanks [@castastrophe](https://github.com/castastrophe)!
+
+- Minor dependency updates to align with the larger project.
## 1.0.0
diff --git a/tools/bundle/package.json b/tools/bundle/package.json
index c1e0e226cb9..cb72ca09ebd 100644
--- a/tools/bundle/package.json
+++ b/tools/bundle/package.json
@@ -30,88 +30,88 @@
},
"main": "dist/index.css",
"devDependencies": {
- "@spectrum-css/accordion": "7.1.0",
- "@spectrum-css/actionbar": "10.1.1",
- "@spectrum-css/actionbutton": "7.1.2",
- "@spectrum-css/actiongroup": "6.1.0",
- "@spectrum-css/actionmenu": "7.1.1",
- "@spectrum-css/alertbanner": "3.1.1",
- "@spectrum-css/alertdialog": "4.1.0",
+ "@spectrum-css/accordion": "8.0.0-next.0",
+ "@spectrum-css/actionbar": "11.0.0-next.0",
+ "@spectrum-css/actionbutton": "8.0.0-next.1",
+ "@spectrum-css/actiongroup": "7.0.0-next.0",
+ "@spectrum-css/actionmenu": "8.0.0-next.0",
+ "@spectrum-css/alertbanner": "4.0.0-next.1",
+ "@spectrum-css/alertdialog": "5.0.0-next.2",
"@spectrum-css/asset": "7.1.0",
- "@spectrum-css/assetcard": "5.1.0",
- "@spectrum-css/assetlist": "8.2.0",
+ "@spectrum-css/assetcard": "6.0.0-next.0",
+ "@spectrum-css/assetlist": "9.0.0-next.0",
"@spectrum-css/avatar": "9.1.0",
- "@spectrum-css/badge": "6.1.0",
- "@spectrum-css/breadcrumb": "11.1.0",
- "@spectrum-css/button": "14.1.3",
- "@spectrum-css/buttongroup": "9.1.0",
- "@spectrum-css/calendar": "7.1.0",
- "@spectrum-css/card": "11.1.0",
- "@spectrum-css/checkbox": "10.1.2",
- "@spectrum-css/clearbutton": "7.2.0",
- "@spectrum-css/closebutton": "6.1.0",
+ "@spectrum-css/badge": "7.0.0-next.0",
+ "@spectrum-css/breadcrumb": "12.0.0-next.0",
+ "@spectrum-css/button": "15.0.0-next.0",
+ "@spectrum-css/buttongroup": "10.0.0-next.0",
+ "@spectrum-css/calendar": "8.0.0-next.0",
+ "@spectrum-css/card": "12.0.0-next.0",
+ "@spectrum-css/checkbox": "11.0.0-next.0",
+ "@spectrum-css/clearbutton": "8.0.0-next.0",
+ "@spectrum-css/closebutton": "7.0.0-next.0",
"@spectrum-css/coachindicator": "4.1.0",
- "@spectrum-css/coachmark": "9.1.1",
+ "@spectrum-css/coachmark": "10.0.0-next.0",
"@spectrum-css/colorarea": "7.1.0",
"@spectrum-css/colorhandle": "10.1.0",
"@spectrum-css/colorloupe": "7.1.0",
"@spectrum-css/colorslider": "8.1.0",
- "@spectrum-css/colorwheel": "6.1.0",
- "@spectrum-css/combobox": "4.1.2",
+ "@spectrum-css/colorwheel": "7.0.0-next.0",
+ "@spectrum-css/combobox": "5.0.0-next.0",
"@spectrum-css/commons": "11.0.0",
- "@spectrum-css/contextualhelp": "5.1.2",
- "@spectrum-css/datepicker": "4.1.1",
+ "@spectrum-css/contextualhelp": "6.0.0-next.1",
+ "@spectrum-css/datepicker": "5.0.0-next.0",
"@spectrum-css/dial": "5.2.0",
- "@spectrum-css/dialog": "12.1.0",
- "@spectrum-css/divider": "5.1.0",
- "@spectrum-css/dropindicator": "7.1.0",
- "@spectrum-css/dropzone": "8.1.0",
- "@spectrum-css/fieldgroup": "7.1.0",
- "@spectrum-css/fieldlabel": "10.1.0",
+ "@spectrum-css/dialog": "13.0.0-next.2",
+ "@spectrum-css/divider": "6.0.0-next.0",
+ "@spectrum-css/dropindicator": "8.0.0-next.0",
+ "@spectrum-css/dropzone": "9.0.0-next.2",
+ "@spectrum-css/fieldgroup": "8.0.0-next.0",
+ "@spectrum-css/fieldlabel": "11.0.0-next.0",
"@spectrum-css/floatingactionbutton": "4.1.0",
"@spectrum-css/form": "1.1.0",
- "@spectrum-css/helptext": "7.1.0",
- "@spectrum-css/icon": "9.1.0",
+ "@spectrum-css/helptext": "8.0.0-next.0",
+ "@spectrum-css/icon": "10.0.0-next.0",
"@spectrum-css/illustratedmessage": "9.1.0",
- "@spectrum-css/infieldbutton": "6.1.1",
- "@spectrum-css/inlinealert": "10.1.0",
- "@spectrum-css/link": "7.1.0",
+ "@spectrum-css/infieldbutton": "7.0.0-next.0",
+ "@spectrum-css/inlinealert": "11.0.0-next.0",
+ "@spectrum-css/link": "8.0.0-next.0",
"@spectrum-css/logicbutton": "6.1.0",
- "@spectrum-css/menu": "9.2.0",
- "@spectrum-css/meter": "1.1.0",
- "@spectrum-css/miller": "8.1.0",
- "@spectrum-css/modal": "7.1.0",
+ "@spectrum-css/menu": "10.0.0-next.1",
+ "@spectrum-css/meter": "2.0.0-next.0",
+ "@spectrum-css/miller": "9.0.0-next.0",
+ "@spectrum-css/modal": "7.1.1-next.0",
"@spectrum-css/opacitycheckerboard": "4.1.0",
"@spectrum-css/page": "9.1.0",
- "@spectrum-css/pagination": "10.1.0",
- "@spectrum-css/picker": "9.1.4",
- "@spectrum-css/pickerbutton": "6.1.1",
- "@spectrum-css/popover": "8.2.0",
- "@spectrum-css/progressbar": "6.1.0",
+ "@spectrum-css/pagination": "11.0.0-next.0",
+ "@spectrum-css/picker": "10.0.0-next.0",
+ "@spectrum-css/pickerbutton": "7.0.0-next.0",
+ "@spectrum-css/popover": "9.0.0-next.1",
+ "@spectrum-css/progressbar": "7.0.0-next.0",
"@spectrum-css/progresscircle": "5.1.0",
- "@spectrum-css/radio": "10.1.0",
- "@spectrum-css/rating": "6.1.0",
- "@spectrum-css/search": "8.1.1",
- "@spectrum-css/sidenav": "7.1.0",
- "@spectrum-css/slider": "6.3.0",
+ "@spectrum-css/radio": "11.0.0-next.1",
+ "@spectrum-css/rating": "7.0.0-next.0",
+ "@spectrum-css/search": "9.0.0-next.0",
+ "@spectrum-css/sidenav": "8.0.0-next.0",
+ "@spectrum-css/slider": "7.0.0-next.0",
"@spectrum-css/splitview": "7.1.0",
- "@spectrum-css/statuslight": "9.1.0",
- "@spectrum-css/steplist": "7.1.0",
- "@spectrum-css/stepper": "7.1.3",
+ "@spectrum-css/statuslight": "9.1.1-next.0",
+ "@spectrum-css/steplist": "8.0.0-next.0",
+ "@spectrum-css/stepper": "8.0.0-next.0",
"@spectrum-css/swatch": "8.1.2",
"@spectrum-css/swatchgroup": "5.1.0",
"@spectrum-css/switch": "6.1.0",
- "@spectrum-css/table": "8.1.0",
- "@spectrum-css/tabs": "6.1.1",
- "@spectrum-css/tag": "10.1.0",
- "@spectrum-css/taggroup": "7.1.0",
- "@spectrum-css/textfield": "8.1.1",
+ "@spectrum-css/table": "9.0.0-next.0",
+ "@spectrum-css/tabs": "7.0.0-next.0",
+ "@spectrum-css/tag": "11.0.0-next.0",
+ "@spectrum-css/taggroup": "8.0.0-next.0",
+ "@spectrum-css/textfield": "9.0.0-next.0",
"@spectrum-css/thumbnail": "8.1.0",
- "@spectrum-css/toast": "11.1.0",
+ "@spectrum-css/toast": "12.0.0-next.0",
"@spectrum-css/tokens": "16.0.1",
- "@spectrum-css/tooltip": "7.1.0",
- "@spectrum-css/tray": "5.1.0",
- "@spectrum-css/treeview": "12.1.0",
+ "@spectrum-css/tooltip": "8.0.0-next.0",
+ "@spectrum-css/tray": "6.0.0-next.2",
+ "@spectrum-css/treeview": "13.0.0-next.0",
"@spectrum-css/typography": "8.1.0",
"@spectrum-css/underlay": "6.1.0",
"@spectrum-css/well": "7.1.0",
diff --git a/tools/bundle/src/index.css b/tools/bundle/src/index.css
index c10f2ec3b4b..87d282da0d7 100644
--- a/tools/bundle/src/index.css
+++ b/tools/bundle/src/index.css
@@ -61,6 +61,7 @@
@import "@spectrum-css/icon";
@import "@spectrum-css/illustratedmessage";
@import "@spectrum-css/infieldbutton";
+@import "@spectrum-css/infieldprogresscircle";
@import "@spectrum-css/inlinealert";
@import "@spectrum-css/link";
@import "@spectrum-css/logicbutton";
diff --git a/tools/generator/plopfile.js b/tools/generator/plopfile.js
index 0ad4f678252..5d9b2360a2b 100644
--- a/tools/generator/plopfile.js
+++ b/tools/generator/plopfile.js
@@ -67,8 +67,9 @@ export default async (plop) => {
return "Naming is hard; but it must have a name. You can always change it later.";
}
- const name = plop.renderString("{{ lowerCase (camelCase name) }}", { name: answer });
- if (name && existingComponents && existingComponents.includes(name)) {
+ const name = plop.renderString("{{ lowerCase (kebabCase name) }}", { name: answer });
+ const altName = plop.renderString("{{ lowerCase (camelCase name) }}", { name: answer });
+ if ((name || altName) && existingComponents && (existingComponents.includes(name) || existingComponents.includes(altName))) {
return "A component with that name already exists. You can always change it later.";
}
@@ -79,7 +80,7 @@ export default async (plop) => {
],
actions: (data) => {
data.description = `The ${data.name} component is...`;
- data.folderName = plop.renderString("{{ lowerCase (camelCase name) }}", data);
+ data.folderName = plop.renderString("{{ lowerCase (kebabCase name) }}", data);
data.pkg = pkg;
data.tokens = { name: tokens.name, version: tokens.version };
diff --git a/tools/generator/templates/index.css.hbs b/tools/generator/templates/index.css.hbs
index 2219223a2b1..8fa905253bd 100644
--- a/tools/generator/templates/index.css.hbs
+++ b/tools/generator/templates/index.css.hbs
@@ -15,8 +15,6 @@
// color: var(--highcontrast-{{ folderName }}-content-color-default, var(--mod-{{ folderName }}-content-color-default, var(--spectrum-{{ folderName }}-content-color-default)));
&.spectrum-{{ pascalCase name }}--sizeS {}
- &,
- &.spectrum-{{ pascalCase name }}--sizeM {}
&.spectrum-{{ pascalCase name }}--sizeL {}
&.spectrum-{{ pascalCase name }}--sizeXL {}
}
diff --git a/tools/generator/templates/package.json.hbs b/tools/generator/templates/package.json.hbs
index 4ae644481fd..6e9d3b2f7f3 100644
--- a/tools/generator/templates/package.json.hbs
+++ b/tools/generator/templates/package.json.hbs
@@ -1,36 +1,55 @@
{
- "name": "@spectrum-css/{{ folderName }}",
- "version": "0.0.0",
- "description": "The Spectrum CSS {{ folderName }} component",
- "license": "Apache-2.0",
- "author": "Adobe",
- "homepage": "https://opensource.adobe.com/spectrum-css/{{ folderName }}",
- "repository": {
- "type": "git",
- "url": "https://github.com/adobe/spectrum-css.git",
- "directory": "components/{{ folderName }}"
- },
- "bugs": {
- "url": "https://github.com/adobe/spectrum-css/issues"
- },
- "main": "dist/index.css",
- "files": [
- "dist/*",
- "CHANGELOG.md",
- "package.json",
- "stories/template.js",
- "metadata/mods.md"
- ],
+ "name": "@spectrum-css/{{ folderName }}",
+ "version": "0.0.0",
+ "description": "The Spectrum CSS {{ folderName }} component",
+ "license": "Apache-2.0",
+ "author": "Adobe",
+ "homepage": "https://opensource.adobe.com/spectrum-css/?path=/docs/components-{{ folderName }}--docs",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/adobe/spectrum-css.git",
+ "directory": "components/{{ folderName }}"
+ },
+ "bugs": {
+ "url": "https://github.com/adobe/spectrum-css/issues"
+ },
+ "exports": {
+ ".": "./dist/index.css",
+ "./*.md": "./*.md",
+ "./dist/*": "./dist/*",
+ "./index.css": "./dist/index.css",
+ "./metadata.json": "./dist/metadata.json",
+ "./package.json": "./package.json"
+ },
+ "main": "dist/index.css",
+ "peerDependencies": {
+ "{{ tokens.name }}": ">={{ parse tokens.version '.' 0 1 }}"
+ },
+ "peerDependenciesMeta": {
+ "{{ tokens.name }}": {
+ "optional": true
+ }
+ },
+ "devDependencies": {
+ "{{ tokens.name }}": "{{ tokens.version }}"
+ },
"keywords": [
+ "design-system",
"spectrum",
- "css",
- "design system",
- "adobe"
+ "spectrum-css",
+ "adobe",
+ "adobe-spectrum",
+ "component",
+ "css"
],
- "peerDependencies": {
- "{{ tokens.name }}": ">={{ parse tokens.version '.' 0 1 }}"
- },
- "publishConfig": {
- "access": "public"
- }
+ "publishConfig": {
+ "access": "public"
+ },
+ "spectrum": [
+ {
+ "guidelines": "https://spectrum.adobe.com/page/{{ folderName }}",
+ "rootClass": "spectrum-{{ pascalCase name }}",
+ "swc": "https://opensource.adobe.com/spectrum-web-components/components/{{ folderName }}/"
+ }
+ ]
}
diff --git a/tools/generator/templates/stories/template.js.hbs b/tools/generator/templates/stories/template.js.hbs
index af1047abb64..394ccd11658 100644
--- a/tools/generator/templates/stories/template.js.hbs
+++ b/tools/generator/templates/stories/template.js.hbs
@@ -7,8 +7,6 @@ import { styleMap } from "lit/directives/style-map.js";
import { when } from "lit/directives/when.js";
import "../index.css";
-import "../themes/express.css";
-import "../themes/spectrum.css";
export const Template = ({
rootClass = "spectrum-{{ pascalCase name }}",
diff --git a/ui-icons/CHANGELOG.md b/ui-icons/CHANGELOG.md
index d47e30f5640..f6b25a4d153 100644
--- a/ui-icons/CHANGELOG.md
+++ b/ui-icons/CHANGELOG.md
@@ -1,5 +1,65 @@
# Change log
+## 2.0.0-next.0
+
+### Major Changes
+
+- [#2352](https://github.com/adobe/spectrum-css/pull/2352) [`a25e0a9`](https://github.com/adobe/spectrum-css/commit/a25e0a99e5a4736ab4e607e00739343101a2633b) Thanks [@pfulton](https://github.com/pfulton)! - # Breaking change
+
+ Iconography in v1 inclued 2 sizes, `medium` and `large`, as well as a single SVG asset that included both versions to be toggled with classes via CSS (found in folder`combined`). Icons in v2 no longer have multiple sizes and all assets are sourced from a single folder`svg` which can be found in the `dist` directory of this workspace. **Raw SVG assets can no longer be sourced from the top-level of the workspace and must be loaded from `@spectrum-css/ui-icons/dist/svg/*.svg` instead.** Please find below an outline of the new, deprecated, and unchanged icons.
+
+ | Icon name | Migration notes |
+ | ----------------- | --------------- |
+ | Arrow75 | Deprecated |
+ | Arrow100 | - |
+ | Arrow200 | Deprecated |
+ | Arrow300 | Deprecated |
+ | Arrow400 | - |
+ | Arrow500 | Deprecated |
+ | Arrow600 | Deprecated |
+ | Asterisk75 | Deprecated |
+ | Asterisk100 | - |
+ | Asterisk200 | - |
+ | Asterisk300 | - |
+ | Checkmark50 | - |
+ | Checkmark75 | - |
+ | Checkmark100 | - |
+ | Checkmark200 | - |
+ | Checkmark300 | - |
+ | Checkmark400 | - |
+ | Checkmark500 | Deprecated |
+ | Checkmark600 | Deprecated |
+ | Chevron50 | - |
+ | Chevron75 | - |
+ | Chevron100 | - |
+ | Chevron200 | - |
+ | Chevron300 | - |
+ | Chevron400 | - |
+ | Chevron500 | Deprecated |
+ | Chevron600 | Deprecated |
+ | CornerTriangle75 | - |
+ | CornerTriangle100 | - |
+ | CornerTriangle200 | - |
+ | CornerTriangle300 | - |
+ | Cross75 | - |
+ | Cross100 | - |
+ | Cross200 | - |
+ | Cross300 | - |
+ | Cross400 | - |
+ | Cross500 | - |
+ | Cross600 | - |
+ | Dash50 | - |
+ | Dash75 | - |
+ | Dash100 | - |
+ | Dash200 | - |
+ | Dash300 | - |
+ | Dash400 | Deprecated |
+ | Dash500 | Deprecated |
+ | Dash600 | Deprecated |
+ | SingleGripper | Deprecated |
+ | DoubleGripper | Deprecated |
+ | TripleGripper | Deprecated |
+
## 1.1.2
🗓 2024-02-06
diff --git a/ui-icons/README.md b/ui-icons/README.md
index afdce5c3e84..61fa8d297a8 100644
--- a/ui-icons/README.md
+++ b/ui-icons/README.md
@@ -16,15 +16,78 @@ yarn add -DW @spectrum-css/ui-icons
### SVGs
-SVGs are available in the `dist` directory. They are organized by size. The `dist` directory contains the following:
+SVGs are available in the `dist` directory The `dist` directory contains the following:
-- `medium`: assets to be used in desktop display formats
-- `large`: assets to be used in mobile display formats
-- `combined`: assets to be used in products requiring both desktop and mobile display icons to swap quickly or be used in parallel
+- `svg`: a folder containing all raw icon SVGs
- `spectrum-css-icons.svg`: a single sprite sheet containing all icons
-- `spectrum-css-icons-medium.svg`: a single sprite sheet for medium icons
-- `spectrum-css-icons-large.svg`: a single sprite sheet for large icons
+- `icons.json`: a list of all SVG files available in the `svg` folder
### CSS
CSS for the icons is available from the `@spectrum-css/icon` package. See the [Icon documentation](../components/icon/README.md) for more information.
+
+## Updating icons
+
+Icons are available from an internal repository that is available only to Adobe employees. If you are an employee with access, follow the steps below:
+
+1. `yarn npm login --scope a4u` to authenticate with the internal repository
+2. `yarn workspace @spectrum-css/ui-icons add -D @a4u/a4u-s2-ui-icon-global-set@1.7.1` to install the latest version of the internal repository (replace `1.7.1` with the latest version available)
+3. **Do not commit** the updated `ui-icons/package.json` with the new version of `@a4u/a4u-s2-ui-icon-global-set` as this blocks non-Adobe employees from installing and using the repository.
+
+Once your environment is ready, you can run `rm -rf ui-icons/dist/svg && yarn builder ui-icons`. Expect to see the updated SVG assets populate in your `ui-icons/dist/svg` folder, an updated `icons.json` that should accurately reflect what files are in the `svg` folder, and an updated `spectrum-css-icons.svg` spritesheet containing the updated content from the new assets.
+
+## Migrating from v1.x icons to v2.x
+
+Iconography in v1 inclued 2 sizes, `medium` and `large`, as well as a single SVG asset that included both versions to be toggled with classes via CSS (found in folder`combined`). Icons in v2 no longer have multiple sizes and all assets are sourced from a single folder`svg` which can be found in the `dist` directory of this workspace. **Raw SVG assets can no longer be sourced from the top-level of the workspace and must be loaded from `@spectrum-css/ui-icons/dist/svg/*.svg` instead.** Please find below an outline of the new, deprecated, and unchanged icons.
+
+| Icon name | Migration notes |
+| ----------------- | --------------- |
+| Arrow75 | Deprecated |
+| Arrow100 | - |
+| Arrow200 | Deprecated |
+| Arrow300 | Deprecated |
+| Arrow400 | - |
+| Arrow500 | Deprecated |
+| Arrow600 | Deprecated |
+| Asterisk75 | Deprecated |
+| Asterisk100 | - |
+| Asterisk200 | - |
+| Asterisk300 | - |
+| Checkmark50 | - |
+| Checkmark75 | - |
+| Checkmark100 | - |
+| Checkmark200 | - |
+| Checkmark300 | - |
+| Checkmark400 | - |
+| Checkmark500 | Deprecated |
+| Checkmark600 | Deprecated |
+| Chevron50 | - |
+| Chevron75 | - |
+| Chevron100 | - |
+| Chevron200 | - |
+| Chevron300 | - |
+| Chevron400 | - |
+| Chevron500 | Deprecated |
+| Chevron600 | Deprecated |
+| CornerTriangle75 | - |
+| CornerTriangle100 | - |
+| CornerTriangle200 | - |
+| CornerTriangle300 | - |
+| Cross75 | - |
+| Cross100 | - |
+| Cross200 | - |
+| Cross300 | - |
+| Cross400 | - |
+| Cross500 | - |
+| Cross600 | - |
+| Dash50 | - |
+| Dash75 | - |
+| Dash100 | - |
+| Dash200 | - |
+| Dash300 | - |
+| Dash400 | Deprecated |
+| Dash500 | Deprecated |
+| Dash600 | Deprecated |
+| SingleGripper | Deprecated |
+| DoubleGripper | Deprecated |
+| TripleGripper | Deprecated |
diff --git a/ui-icons/dist/icons.json b/ui-icons/dist/icons.json
new file mode 100644
index 00000000000..0d41c66f2c5
--- /dev/null
+++ b/ui-icons/dist/icons.json
@@ -0,0 +1,35 @@
+[
+ "Arrow100.svg",
+ "Arrow400.svg",
+ "Asterisk100.svg",
+ "Asterisk200.svg",
+ "Asterisk300.svg",
+ "Checkmark50.svg",
+ "Checkmark75.svg",
+ "Checkmark100.svg",
+ "Checkmark200.svg",
+ "Checkmark300.svg",
+ "Checkmark400.svg",
+ "Chevron50.svg",
+ "Chevron75.svg",
+ "Chevron100.svg",
+ "Chevron200.svg",
+ "Chevron300.svg",
+ "Chevron400.svg",
+ "CornerTriangle75.svg",
+ "CornerTriangle100.svg",
+ "CornerTriangle200.svg",
+ "CornerTriangle300.svg",
+ "Cross75.svg",
+ "Cross100.svg",
+ "Cross200.svg",
+ "Cross300.svg",
+ "Cross400.svg",
+ "Cross500.svg",
+ "Cross600.svg",
+ "Dash50.svg",
+ "Dash75.svg",
+ "Dash100.svg",
+ "Dash200.svg",
+ "Dash300.svg"
+]
\ No newline at end of file
diff --git a/ui-icons/dist/spectrum-css-icons.svg b/ui-icons/dist/spectrum-css-icons.svg
new file mode 100644
index 00000000000..fe7a6df5107
--- /dev/null
+++ b/ui-icons/dist/spectrum-css-icons.svg
@@ -0,0 +1,101 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ui-icons/dist/svg/Arrow100.svg b/ui-icons/dist/svg/Arrow100.svg
new file mode 100644
index 00000000000..a6c433499cd
--- /dev/null
+++ b/ui-icons/dist/svg/Arrow100.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/Arrow400.svg b/ui-icons/dist/svg/Arrow400.svg
new file mode 100644
index 00000000000..af171ce0e68
--- /dev/null
+++ b/ui-icons/dist/svg/Arrow400.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/Asterisk100.svg b/ui-icons/dist/svg/Asterisk100.svg
new file mode 100644
index 00000000000..af668563976
--- /dev/null
+++ b/ui-icons/dist/svg/Asterisk100.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/Asterisk200.svg b/ui-icons/dist/svg/Asterisk200.svg
new file mode 100644
index 00000000000..91754591db9
--- /dev/null
+++ b/ui-icons/dist/svg/Asterisk200.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/Asterisk300.svg b/ui-icons/dist/svg/Asterisk300.svg
new file mode 100644
index 00000000000..3cbd7e379f5
--- /dev/null
+++ b/ui-icons/dist/svg/Asterisk300.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/Checkmark100.svg b/ui-icons/dist/svg/Checkmark100.svg
new file mode 100644
index 00000000000..6d082e8f7f3
--- /dev/null
+++ b/ui-icons/dist/svg/Checkmark100.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/Checkmark200.svg b/ui-icons/dist/svg/Checkmark200.svg
new file mode 100644
index 00000000000..8aae373b1c5
--- /dev/null
+++ b/ui-icons/dist/svg/Checkmark200.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/Checkmark300.svg b/ui-icons/dist/svg/Checkmark300.svg
new file mode 100644
index 00000000000..bdcc9296de7
--- /dev/null
+++ b/ui-icons/dist/svg/Checkmark300.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/Checkmark400.svg b/ui-icons/dist/svg/Checkmark400.svg
new file mode 100644
index 00000000000..9400f42a2a3
--- /dev/null
+++ b/ui-icons/dist/svg/Checkmark400.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/Checkmark50.svg b/ui-icons/dist/svg/Checkmark50.svg
new file mode 100644
index 00000000000..704b869ecce
--- /dev/null
+++ b/ui-icons/dist/svg/Checkmark50.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/Checkmark75.svg b/ui-icons/dist/svg/Checkmark75.svg
new file mode 100644
index 00000000000..9b0c902d8a2
--- /dev/null
+++ b/ui-icons/dist/svg/Checkmark75.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/Chevron100.svg b/ui-icons/dist/svg/Chevron100.svg
new file mode 100644
index 00000000000..5edaf03b675
--- /dev/null
+++ b/ui-icons/dist/svg/Chevron100.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/Chevron200.svg b/ui-icons/dist/svg/Chevron200.svg
new file mode 100644
index 00000000000..f6f23faf52c
--- /dev/null
+++ b/ui-icons/dist/svg/Chevron200.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/Chevron300.svg b/ui-icons/dist/svg/Chevron300.svg
new file mode 100644
index 00000000000..06ad2ade3f5
--- /dev/null
+++ b/ui-icons/dist/svg/Chevron300.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/Chevron400.svg b/ui-icons/dist/svg/Chevron400.svg
new file mode 100644
index 00000000000..f8a01dbcabb
--- /dev/null
+++ b/ui-icons/dist/svg/Chevron400.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/Chevron50.svg b/ui-icons/dist/svg/Chevron50.svg
new file mode 100644
index 00000000000..6c80a8c3080
--- /dev/null
+++ b/ui-icons/dist/svg/Chevron50.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/Chevron75.svg b/ui-icons/dist/svg/Chevron75.svg
new file mode 100644
index 00000000000..1913da9f1cd
--- /dev/null
+++ b/ui-icons/dist/svg/Chevron75.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/CornerTriangle100.svg b/ui-icons/dist/svg/CornerTriangle100.svg
new file mode 100644
index 00000000000..8b45d75972a
--- /dev/null
+++ b/ui-icons/dist/svg/CornerTriangle100.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/CornerTriangle200.svg b/ui-icons/dist/svg/CornerTriangle200.svg
new file mode 100644
index 00000000000..73f555eeb10
--- /dev/null
+++ b/ui-icons/dist/svg/CornerTriangle200.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/CornerTriangle300.svg b/ui-icons/dist/svg/CornerTriangle300.svg
new file mode 100644
index 00000000000..f3e396f8d19
--- /dev/null
+++ b/ui-icons/dist/svg/CornerTriangle300.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/CornerTriangle75.svg b/ui-icons/dist/svg/CornerTriangle75.svg
new file mode 100644
index 00000000000..adc2a60646c
--- /dev/null
+++ b/ui-icons/dist/svg/CornerTriangle75.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/Cross100.svg b/ui-icons/dist/svg/Cross100.svg
new file mode 100644
index 00000000000..c29d221fd64
--- /dev/null
+++ b/ui-icons/dist/svg/Cross100.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/Cross200.svg b/ui-icons/dist/svg/Cross200.svg
new file mode 100644
index 00000000000..303de9df8d4
--- /dev/null
+++ b/ui-icons/dist/svg/Cross200.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/Cross300.svg b/ui-icons/dist/svg/Cross300.svg
new file mode 100644
index 00000000000..cf60cae4390
--- /dev/null
+++ b/ui-icons/dist/svg/Cross300.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/Cross400.svg b/ui-icons/dist/svg/Cross400.svg
new file mode 100644
index 00000000000..17ae1b7cae5
--- /dev/null
+++ b/ui-icons/dist/svg/Cross400.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/Cross500.svg b/ui-icons/dist/svg/Cross500.svg
new file mode 100644
index 00000000000..e315377ec13
--- /dev/null
+++ b/ui-icons/dist/svg/Cross500.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/Cross600.svg b/ui-icons/dist/svg/Cross600.svg
new file mode 100644
index 00000000000..ac09b6343ca
--- /dev/null
+++ b/ui-icons/dist/svg/Cross600.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/Cross75.svg b/ui-icons/dist/svg/Cross75.svg
new file mode 100644
index 00000000000..e13a110f942
--- /dev/null
+++ b/ui-icons/dist/svg/Cross75.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/Dash100.svg b/ui-icons/dist/svg/Dash100.svg
new file mode 100644
index 00000000000..b999e39178a
--- /dev/null
+++ b/ui-icons/dist/svg/Dash100.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/Dash200.svg b/ui-icons/dist/svg/Dash200.svg
new file mode 100644
index 00000000000..ad1fb7fd198
--- /dev/null
+++ b/ui-icons/dist/svg/Dash200.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/Dash300.svg b/ui-icons/dist/svg/Dash300.svg
new file mode 100644
index 00000000000..088990ab145
--- /dev/null
+++ b/ui-icons/dist/svg/Dash300.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/Dash50.svg b/ui-icons/dist/svg/Dash50.svg
new file mode 100644
index 00000000000..3a364e588a1
--- /dev/null
+++ b/ui-icons/dist/svg/Dash50.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/dist/svg/Dash75.svg b/ui-icons/dist/svg/Dash75.svg
new file mode 100644
index 00000000000..c0df96d142b
--- /dev/null
+++ b/ui-icons/dist/svg/Dash75.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ui-icons/index.js b/ui-icons/index.js
index 884926f2215..b1eb8257727 100644
--- a/ui-icons/index.js
+++ b/ui-icons/index.js
@@ -1,118 +1,169 @@
-const fs = require('fs');
+const fs = require("fs");
const fsp = fs.promises;
-const path = require('path');
-
-const fg = require('fast-glob');
-const { optimize } = require('svgo');
-const combine = require('svgcombiner');
-const svgstore = require('svgstore');
-
-async function setupIconStores() {
- const stores = new Map();
- stores.set('all', svgstore());
-
- for (const variant of await fg(['*'], {
- cwd: __dirname,
- ignore: ['dist', 'node_modules'],
- onlyDirectories: true,
- })) {
- stores.set(variant, svgstore());
- }
-
- return stores;
-}
-
-async function main() {
- // Not using svgo's loadConfig because it doesn't support dynamic config files
- const getSvgoConfig = require('./svgo.config.js');
-
- // Hash to hold all icons arranged by processed name
- const icons = new Map();
- const stores = await setupIconStores();
- const variants = [...stores.keys()].filter((key) => key !== 'all');
-
- const files = await fg([`{${variants.join(',')}}/*.svg`], {
- cwd: __dirname,
- onlyFiles: true,
- });
-
- const promises = [];
- for (const file of files) {
- const assetName = path.basename(file, '.svg');
-
- // Capture metadata about the icon from the path and filename
- const variant = path.dirname(file);
-
- // Read in the SVG contents
- const contents = await fsp.readFile(file, 'utf-8');
- const result = optimize(contents, getSvgoConfig({ clean: true }));
+const path = require("path");
- icons.set(assetName, {
- ...(icons.has(assetName) ? icons.get(assetName) : {}),
- [variant]: result.data,
- });
+const fg = require("fast-glob");
+const { optimize } = require("svgo");
- stores.get(variant).add(assetName, result.data);
+const svgstore = require("svgstore");
- const dest = path.join(__dirname, 'dist', file);
- if (!fs.existsSync(path.dirname(dest))) {
- fs.mkdirSync(path.dirname(dest), { recursive: true });
- }
+// Not using svgo's loadConfig because it doesn't support dynamic config files
+const getSvgoConfig = require("./svgo.config.js");
- promises.push(fsp.writeFile(dest, result.data));
- }
+/**
+ * @description Clean the file name
+ */
+const cleanFileName = (file) => {
+ return file.replace(/^S2_/, "").replace(/Size/, "");
+};
- // Wait for all the SVG content to be read in and processed before continuing
- await Promise.all(promises);
+/**
+ * @description Process the SVG assets using svgo config settings
+ */
+async function processSVG(filePath, destPath) {
+ if (!fs.existsSync(filePath)) return;
- if (icons.size === 0) return;
+ // Read in the SVG contents
+ const contents = await fsp.readFile(filePath, "utf-8");
+ const result = optimize(contents, getSvgoConfig({
+ clean: true
+ }));
- // For each entry in the map, combine the SVG variants into a single SVG file with multiple symbols
- promises.length = 0;
- [...icons.entries()].map(([iconName, data]) => {
- // Combine the SVG variants into a single SVG file with multiple symbols
- const contents = combine(iconName, data);
+ if (!result?.data) return;
- // Add the combined SVG to the "all" store so we can generate a single SVG file with all icons
- stores.get('all').add(iconName, contents);
+ const assetName = cleanFileName(path.basename(filePath, ".svg"));
- // Write the combined SVG to the dist folder
- const destPath = path.join(__dirname, 'dist/combined');
- if (!fs.existsSync(destPath)) fs.mkdirSync(destPath, { recursive: true });
-
- promises.push(fsp.writeFile(path.join(destPath, `${iconName}.svg`), optimize(contents, getSvgoConfig())?.data));
- });
-
- // Finally, we write out the stores to disk
- for (const [identifier, store] of stores.entries()) {
- const isFullSet = identifier === 'all';
- const filename = isFullSet ? 'spectrum-css-icons' : `spectrum-css-icons-${identifier}`;
- const dest = path.join(__dirname, `dist/${filename}.svg`);
- const config = getSvgoConfig(
- isFullSet
- ? {
- idPrefix: 'spectrum-css-icon',
- removeViewBox: true,
- }
- : {},
- );
-
- const result = optimize(store.toString(), config);
+ return fsp.writeFile(path.join(destPath, `${assetName}.svg`), result.data);
+}
- if (!result?.data) continue;
+/**
+ * @description Attempts to fetch icon assets from their source
+ */
+async function copySVGs() {
+ let source;
+
+ // workflow icons: @a4u/a4u-s2-icon-global-set-open-source-processed
+ try {
+ source = require.resolve("@a4u/a4u-s2-ui-icon-global-set", {
+ paths: [process.cwd(), path.join(__dirname, ".."), "~/"]
+ });
+ }
+ catch (e) { /* empty */ }
+
+ if (!source) return Promise.resolve();
+
+ const sourcePath = path.join(path.dirname(source), "assets");
+ if (!fs.existsSync(sourcePath)) return Promise.resolve();
+
+ const files = await fg(["svg/*.svg"], {
+ cwd: sourcePath,
+ onlyFiles: true,
+ });
+
+ if (!files || files.length === 0) return Promise.resolve();
+
+ const outputPath = path.join(__dirname, "dist", "svg");
+
+ if (fs.existsSync(outputPath)) {
+ // Remove existing assets to replace them fully with the new ones
+ fs.rmdirSync(outputPath, {
+ force: true,
+ recursive: true
+ });
+ }
+
+ // Recreate the folder to store the new assets
+ await fsp.mkdir(outputPath, {
+ force: true,
+ recursive: true
+ });
+
+ return Promise.all(
+ files.map(file =>
+ processSVG(
+ path.join(sourcePath, file),
+ outputPath
+ )
+ )
+ );
+}
- promises.push(fsp.writeFile(dest, result?.data));
- }
+/**
+ * @description A custom alpha-numeric sort
+ * @param {string} a
+ * @param {string} b
+ * @returns number
+ */
+function alphaNumericSort (a, b) {
+ const aSet = a.match(/^([a-z]+)([0-9]+)\.svg$/i);
+ const bSet = b.match(/^([a-z]+)([0-9]+)\.svg$/i);
+ const aChar = aSet[1];
+ const bChar = bSet[1];
+
+ if (aChar !== bChar) return aChar > bChar ? 1 : -1;
+
+ const aInt = parseInt(aSet[2] ?? 0);
+ const bInt = parseInt(bSet[2] ?? 0);
+ return aInt - bInt;
+}
- return Promise.all(promises);
+async function main() {
+ // This can only be run by an Adobe employee on the VPN with appropriate access configured on their machine
+ await copySVGs();
+
+ // Hash to hold all icons arranged by processed name
+ const icons = [];
+ const store = svgstore();
+
+ const files = await fg(["*.svg"], {
+ cwd: path.join(__dirname, "dist", "svg"),
+ onlyFiles: true,
+ });
+
+ if (!files || files.length === 0) {
+ return Promise.resolve("No assets detected.");
+ }
+
+ /** Sorting here controls the order in which entries are added to the store
+ * such that they print in the same order every time; preventing unnecessary diffs */
+ for (const file of files.sort(alphaNumericSort)) {
+ const assetName = path.basename(file, ".svg");
+ if (icons.includes(`${assetName}.svg`)) {
+ // eslint-disable-next-line no-console
+ console.log(`⚠️ The icon set already includes an icon with the name ${assetName}.`);
+ }
+ else icons.push(`${assetName}.svg`);
+
+ const content = await fsp.readFile(path.join(__dirname, "dist", "svg", file), { encoding: "utf-8" });
+ store.add(assetName, content);
+ }
+
+ // Write the icon array to icons.json as a resource
+ await fsp.writeFile(path.join(__dirname, "dist", "icons.json"), JSON.stringify(icons.sort(alphaNumericSort), null, 2));
+
+ // Finally, we write out the store to disk
+ const dest = path.join(__dirname, "dist", "spectrum-css-icons.svg");
+ const config = getSvgoConfig({
+ idPrefix: "spectrum-css-icon",
+ removeViewBox: true,
+ });
+
+ const result = optimize(store.toString(), config);
+
+ if (!result?.data) {
+ return Promise.reject("Encountered an error optimizing SVG assets via svgo.");
+ }
+
+ return fsp.writeFile(dest, result?.data);
}
main()
- .then(() => {
- console.log('✔ Icons generated successfully.');
- process.exit(0);
- })
- .catch((e) => {
- console.error(e);
- process.exit(1);
- });
+ .then(() => {
+ // eslint-disable-next-line no-console
+ console.log("✔ Icons generated successfully.");
+ process.exit(0);
+ })
+ .catch((e) => {
+ console.error(e);
+ process.exit(1);
+ });
diff --git a/ui-icons/large/Arrow100.svg b/ui-icons/large/Arrow100.svg
deleted file mode 100644
index af57dc15a22..00000000000
--- a/ui-icons/large/Arrow100.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Arrow200.svg b/ui-icons/large/Arrow200.svg
deleted file mode 100644
index 2dfdaf37f34..00000000000
--- a/ui-icons/large/Arrow200.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Arrow300.svg b/ui-icons/large/Arrow300.svg
deleted file mode 100644
index 2aa666dc475..00000000000
--- a/ui-icons/large/Arrow300.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Arrow400.svg b/ui-icons/large/Arrow400.svg
deleted file mode 100644
index 1865888c0cd..00000000000
--- a/ui-icons/large/Arrow400.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Arrow500.svg b/ui-icons/large/Arrow500.svg
deleted file mode 100644
index 55eff2a8012..00000000000
--- a/ui-icons/large/Arrow500.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Arrow600.svg b/ui-icons/large/Arrow600.svg
deleted file mode 100644
index 75875f95cb4..00000000000
--- a/ui-icons/large/Arrow600.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Arrow75.svg b/ui-icons/large/Arrow75.svg
deleted file mode 100644
index cd57bb6f4aa..00000000000
--- a/ui-icons/large/Arrow75.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Asterisk100.svg b/ui-icons/large/Asterisk100.svg
deleted file mode 100644
index 59a1913d101..00000000000
--- a/ui-icons/large/Asterisk100.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Asterisk200.svg b/ui-icons/large/Asterisk200.svg
deleted file mode 100644
index 220bc897bd2..00000000000
--- a/ui-icons/large/Asterisk200.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Asterisk300.svg b/ui-icons/large/Asterisk300.svg
deleted file mode 100644
index abcfe5ffd0a..00000000000
--- a/ui-icons/large/Asterisk300.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Asterisk75.svg b/ui-icons/large/Asterisk75.svg
deleted file mode 100644
index 78b3c2e2dae..00000000000
--- a/ui-icons/large/Asterisk75.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Checkmark100.svg b/ui-icons/large/Checkmark100.svg
deleted file mode 100644
index 8362be47127..00000000000
--- a/ui-icons/large/Checkmark100.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Checkmark200.svg b/ui-icons/large/Checkmark200.svg
deleted file mode 100644
index 6590d710091..00000000000
--- a/ui-icons/large/Checkmark200.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Checkmark300.svg b/ui-icons/large/Checkmark300.svg
deleted file mode 100644
index 828ea417ef2..00000000000
--- a/ui-icons/large/Checkmark300.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Checkmark400.svg b/ui-icons/large/Checkmark400.svg
deleted file mode 100644
index fb3dc577815..00000000000
--- a/ui-icons/large/Checkmark400.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Checkmark50.svg b/ui-icons/large/Checkmark50.svg
deleted file mode 100644
index 55a3cc89ebe..00000000000
--- a/ui-icons/large/Checkmark50.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Checkmark500.svg b/ui-icons/large/Checkmark500.svg
deleted file mode 100644
index ca7159ad57b..00000000000
--- a/ui-icons/large/Checkmark500.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Checkmark600.svg b/ui-icons/large/Checkmark600.svg
deleted file mode 100644
index 8f28aa1b749..00000000000
--- a/ui-icons/large/Checkmark600.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Checkmark75.svg b/ui-icons/large/Checkmark75.svg
deleted file mode 100644
index b226a795871..00000000000
--- a/ui-icons/large/Checkmark75.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Chevron100.svg b/ui-icons/large/Chevron100.svg
deleted file mode 100644
index 94163168915..00000000000
--- a/ui-icons/large/Chevron100.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Chevron200.svg b/ui-icons/large/Chevron200.svg
deleted file mode 100644
index fa8e741d02c..00000000000
--- a/ui-icons/large/Chevron200.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Chevron300.svg b/ui-icons/large/Chevron300.svg
deleted file mode 100644
index c49fa8f4105..00000000000
--- a/ui-icons/large/Chevron300.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Chevron400.svg b/ui-icons/large/Chevron400.svg
deleted file mode 100644
index cf80b230087..00000000000
--- a/ui-icons/large/Chevron400.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Chevron50.svg b/ui-icons/large/Chevron50.svg
deleted file mode 100644
index b2a2f1fdc43..00000000000
--- a/ui-icons/large/Chevron50.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Chevron500.svg b/ui-icons/large/Chevron500.svg
deleted file mode 100644
index c24637ac389..00000000000
--- a/ui-icons/large/Chevron500.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Chevron600.svg b/ui-icons/large/Chevron600.svg
deleted file mode 100644
index da194a5abf0..00000000000
--- a/ui-icons/large/Chevron600.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Chevron75.svg b/ui-icons/large/Chevron75.svg
deleted file mode 100644
index 19492094489..00000000000
--- a/ui-icons/large/Chevron75.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/CornerTriangle100.svg b/ui-icons/large/CornerTriangle100.svg
deleted file mode 100644
index 9745b9304c3..00000000000
--- a/ui-icons/large/CornerTriangle100.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/CornerTriangle200.svg b/ui-icons/large/CornerTriangle200.svg
deleted file mode 100644
index 86459a673b1..00000000000
--- a/ui-icons/large/CornerTriangle200.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/CornerTriangle300.svg b/ui-icons/large/CornerTriangle300.svg
deleted file mode 100644
index e46b3d6e08f..00000000000
--- a/ui-icons/large/CornerTriangle300.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/CornerTriangle75.svg b/ui-icons/large/CornerTriangle75.svg
deleted file mode 100644
index 962b1ee438b..00000000000
--- a/ui-icons/large/CornerTriangle75.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Cross100.svg b/ui-icons/large/Cross100.svg
deleted file mode 100644
index b08715c9b54..00000000000
--- a/ui-icons/large/Cross100.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Cross200.svg b/ui-icons/large/Cross200.svg
deleted file mode 100644
index a309427b738..00000000000
--- a/ui-icons/large/Cross200.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Cross300.svg b/ui-icons/large/Cross300.svg
deleted file mode 100644
index fa3fe6f98f1..00000000000
--- a/ui-icons/large/Cross300.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Cross400.svg b/ui-icons/large/Cross400.svg
deleted file mode 100644
index b6c32b03c2b..00000000000
--- a/ui-icons/large/Cross400.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Cross500.svg b/ui-icons/large/Cross500.svg
deleted file mode 100644
index 1076c01970f..00000000000
--- a/ui-icons/large/Cross500.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Cross600.svg b/ui-icons/large/Cross600.svg
deleted file mode 100644
index a2e3795f99a..00000000000
--- a/ui-icons/large/Cross600.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Cross75.svg b/ui-icons/large/Cross75.svg
deleted file mode 100644
index 67a3001925b..00000000000
--- a/ui-icons/large/Cross75.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Dash100.svg b/ui-icons/large/Dash100.svg
deleted file mode 100644
index b40bda3dab9..00000000000
--- a/ui-icons/large/Dash100.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Dash200.svg b/ui-icons/large/Dash200.svg
deleted file mode 100644
index 69259fac867..00000000000
--- a/ui-icons/large/Dash200.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Dash300.svg b/ui-icons/large/Dash300.svg
deleted file mode 100644
index fa63bad3270..00000000000
--- a/ui-icons/large/Dash300.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Dash400.svg b/ui-icons/large/Dash400.svg
deleted file mode 100644
index 72be4059769..00000000000
--- a/ui-icons/large/Dash400.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Dash50.svg b/ui-icons/large/Dash50.svg
deleted file mode 100644
index 65e0175cc43..00000000000
--- a/ui-icons/large/Dash50.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Dash500.svg b/ui-icons/large/Dash500.svg
deleted file mode 100644
index 57dc24cda94..00000000000
--- a/ui-icons/large/Dash500.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Dash600.svg b/ui-icons/large/Dash600.svg
deleted file mode 100644
index fad36114e63..00000000000
--- a/ui-icons/large/Dash600.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/Dash75.svg b/ui-icons/large/Dash75.svg
deleted file mode 100644
index 912679537cd..00000000000
--- a/ui-icons/large/Dash75.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/DoubleGripper.svg b/ui-icons/large/DoubleGripper.svg
deleted file mode 100644
index 1e62891f452..00000000000
--- a/ui-icons/large/DoubleGripper.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/SingleGripper.svg b/ui-icons/large/SingleGripper.svg
deleted file mode 100644
index b0a33483d1d..00000000000
--- a/ui-icons/large/SingleGripper.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/large/TripleGripper.svg b/ui-icons/large/TripleGripper.svg
deleted file mode 100644
index 3e210b594a2..00000000000
--- a/ui-icons/large/TripleGripper.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Arrow100.svg b/ui-icons/medium/Arrow100.svg
deleted file mode 100644
index 2b30fae538c..00000000000
--- a/ui-icons/medium/Arrow100.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Arrow200.svg b/ui-icons/medium/Arrow200.svg
deleted file mode 100644
index bde962d721d..00000000000
--- a/ui-icons/medium/Arrow200.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Arrow300.svg b/ui-icons/medium/Arrow300.svg
deleted file mode 100644
index ee4594a47e1..00000000000
--- a/ui-icons/medium/Arrow300.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Arrow400.svg b/ui-icons/medium/Arrow400.svg
deleted file mode 100644
index bff53b02f10..00000000000
--- a/ui-icons/medium/Arrow400.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Arrow500.svg b/ui-icons/medium/Arrow500.svg
deleted file mode 100644
index 1796915a65f..00000000000
--- a/ui-icons/medium/Arrow500.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Arrow600.svg b/ui-icons/medium/Arrow600.svg
deleted file mode 100644
index d4622580582..00000000000
--- a/ui-icons/medium/Arrow600.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Arrow75.svg b/ui-icons/medium/Arrow75.svg
deleted file mode 100644
index 183c46c860a..00000000000
--- a/ui-icons/medium/Arrow75.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Asterisk100.svg b/ui-icons/medium/Asterisk100.svg
deleted file mode 100644
index 76d5c197325..00000000000
--- a/ui-icons/medium/Asterisk100.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Asterisk200.svg b/ui-icons/medium/Asterisk200.svg
deleted file mode 100644
index 35cf824a4b6..00000000000
--- a/ui-icons/medium/Asterisk200.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Asterisk300.svg b/ui-icons/medium/Asterisk300.svg
deleted file mode 100644
index dff55914808..00000000000
--- a/ui-icons/medium/Asterisk300.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Asterisk75.svg b/ui-icons/medium/Asterisk75.svg
deleted file mode 100644
index 930207c2a4c..00000000000
--- a/ui-icons/medium/Asterisk75.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Checkmark100.svg b/ui-icons/medium/Checkmark100.svg
deleted file mode 100644
index 60c485ee421..00000000000
--- a/ui-icons/medium/Checkmark100.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Checkmark200.svg b/ui-icons/medium/Checkmark200.svg
deleted file mode 100644
index 9db3c8c6d42..00000000000
--- a/ui-icons/medium/Checkmark200.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Checkmark300.svg b/ui-icons/medium/Checkmark300.svg
deleted file mode 100644
index 8593cb115ae..00000000000
--- a/ui-icons/medium/Checkmark300.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Checkmark400.svg b/ui-icons/medium/Checkmark400.svg
deleted file mode 100644
index d4a2aaa04a5..00000000000
--- a/ui-icons/medium/Checkmark400.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Checkmark50.svg b/ui-icons/medium/Checkmark50.svg
deleted file mode 100644
index 669561df599..00000000000
--- a/ui-icons/medium/Checkmark50.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Checkmark500.svg b/ui-icons/medium/Checkmark500.svg
deleted file mode 100644
index 942ed316690..00000000000
--- a/ui-icons/medium/Checkmark500.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Checkmark600.svg b/ui-icons/medium/Checkmark600.svg
deleted file mode 100644
index dd6ca433451..00000000000
--- a/ui-icons/medium/Checkmark600.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Checkmark75.svg b/ui-icons/medium/Checkmark75.svg
deleted file mode 100644
index 7cc23280b88..00000000000
--- a/ui-icons/medium/Checkmark75.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Chevron100.svg b/ui-icons/medium/Chevron100.svg
deleted file mode 100644
index 568ba88803e..00000000000
--- a/ui-icons/medium/Chevron100.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Chevron200.svg b/ui-icons/medium/Chevron200.svg
deleted file mode 100644
index 11a5079b2ed..00000000000
--- a/ui-icons/medium/Chevron200.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Chevron300.svg b/ui-icons/medium/Chevron300.svg
deleted file mode 100644
index 8103b8bd12e..00000000000
--- a/ui-icons/medium/Chevron300.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Chevron400.svg b/ui-icons/medium/Chevron400.svg
deleted file mode 100644
index 7a055392c3c..00000000000
--- a/ui-icons/medium/Chevron400.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Chevron50.svg b/ui-icons/medium/Chevron50.svg
deleted file mode 100644
index 1d5779da5f2..00000000000
--- a/ui-icons/medium/Chevron50.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Chevron500.svg b/ui-icons/medium/Chevron500.svg
deleted file mode 100644
index 3827ddbd24f..00000000000
--- a/ui-icons/medium/Chevron500.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Chevron600.svg b/ui-icons/medium/Chevron600.svg
deleted file mode 100644
index f5ebd21708b..00000000000
--- a/ui-icons/medium/Chevron600.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Chevron75.svg b/ui-icons/medium/Chevron75.svg
deleted file mode 100644
index b184588e717..00000000000
--- a/ui-icons/medium/Chevron75.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/CornerTriangle100.svg b/ui-icons/medium/CornerTriangle100.svg
deleted file mode 100644
index c4fb3062b88..00000000000
--- a/ui-icons/medium/CornerTriangle100.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/CornerTriangle200.svg b/ui-icons/medium/CornerTriangle200.svg
deleted file mode 100644
index 29d0238fe35..00000000000
--- a/ui-icons/medium/CornerTriangle200.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/CornerTriangle300.svg b/ui-icons/medium/CornerTriangle300.svg
deleted file mode 100644
index e059a8c2e6c..00000000000
--- a/ui-icons/medium/CornerTriangle300.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/CornerTriangle75.svg b/ui-icons/medium/CornerTriangle75.svg
deleted file mode 100644
index 47807fc2825..00000000000
--- a/ui-icons/medium/CornerTriangle75.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Cross100.svg b/ui-icons/medium/Cross100.svg
deleted file mode 100644
index 626c43fc23a..00000000000
--- a/ui-icons/medium/Cross100.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Cross200.svg b/ui-icons/medium/Cross200.svg
deleted file mode 100644
index ad3c3fcd95f..00000000000
--- a/ui-icons/medium/Cross200.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Cross300.svg b/ui-icons/medium/Cross300.svg
deleted file mode 100644
index 8783e10dd2b..00000000000
--- a/ui-icons/medium/Cross300.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Cross400.svg b/ui-icons/medium/Cross400.svg
deleted file mode 100644
index 9b3ada3811d..00000000000
--- a/ui-icons/medium/Cross400.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Cross500.svg b/ui-icons/medium/Cross500.svg
deleted file mode 100644
index 9e614cb933f..00000000000
--- a/ui-icons/medium/Cross500.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Cross600.svg b/ui-icons/medium/Cross600.svg
deleted file mode 100644
index 4a8f907b983..00000000000
--- a/ui-icons/medium/Cross600.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Cross75.svg b/ui-icons/medium/Cross75.svg
deleted file mode 100644
index 700cd425cd7..00000000000
--- a/ui-icons/medium/Cross75.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Dash100.svg b/ui-icons/medium/Dash100.svg
deleted file mode 100644
index 8f2cceb75d2..00000000000
--- a/ui-icons/medium/Dash100.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Dash200.svg b/ui-icons/medium/Dash200.svg
deleted file mode 100644
index 779d610269d..00000000000
--- a/ui-icons/medium/Dash200.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Dash300.svg b/ui-icons/medium/Dash300.svg
deleted file mode 100644
index bfeff0fe8be..00000000000
--- a/ui-icons/medium/Dash300.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Dash400.svg b/ui-icons/medium/Dash400.svg
deleted file mode 100644
index 902e625ef4d..00000000000
--- a/ui-icons/medium/Dash400.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Dash50.svg b/ui-icons/medium/Dash50.svg
deleted file mode 100644
index 5fd58663680..00000000000
--- a/ui-icons/medium/Dash50.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Dash500.svg b/ui-icons/medium/Dash500.svg
deleted file mode 100644
index 76892e88455..00000000000
--- a/ui-icons/medium/Dash500.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Dash600.svg b/ui-icons/medium/Dash600.svg
deleted file mode 100644
index 4b06d838c1e..00000000000
--- a/ui-icons/medium/Dash600.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/Dash75.svg b/ui-icons/medium/Dash75.svg
deleted file mode 100644
index db730b85769..00000000000
--- a/ui-icons/medium/Dash75.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/DoubleGripper.svg b/ui-icons/medium/DoubleGripper.svg
deleted file mode 100644
index 13d29945d5b..00000000000
--- a/ui-icons/medium/DoubleGripper.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/SingleGripper.svg b/ui-icons/medium/SingleGripper.svg
deleted file mode 100644
index c64ca4942f4..00000000000
--- a/ui-icons/medium/SingleGripper.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/medium/TripleGripper.svg b/ui-icons/medium/TripleGripper.svg
deleted file mode 100644
index 671757156c2..00000000000
--- a/ui-icons/medium/TripleGripper.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui-icons/package.json b/ui-icons/package.json
index ade3fbaaf30..c43b1c12d91 100644
--- a/ui-icons/package.json
+++ b/ui-icons/package.json
@@ -1,40 +1,36 @@
{
- "name": "@spectrum-css/ui-icons",
- "version": "1.1.2",
- "description": "The Spectrum CSS UI icons",
- "license": "Apache-2.0",
- "author": "Adobe",
- "homepage": "https://opensource.adobe.com/spectrum-css/",
- "repository": {
- "type": "git",
- "url": "https://github.com/adobe/spectrum-css.git",
- "directory": "ui-icons"
- },
- "bugs": {
- "url": "https://github.com/adobe/spectrum-css/issues"
- },
- "main": "dist/spectrum-css-icons.svg",
- "files": [
- "dist/combined",
- "dist/large",
- "dist/medium",
- "dist/spectrum-css-icons-large.svg",
- "dist/spectrum-css-icons-medium.svg"
- ],
- "devDependencies": {
- "fast-glob": "^3.3.3",
- "svgcombiner": "^1.0.1",
- "svgo": "^3.3.2",
- "svgstore": "^3.0.1"
- },
- "keywords": [
- "design-system",
- "spectrum",
- "spectrum-css",
- "adobe",
- "adobe-spectrum"
- ],
- "publishConfig": {
- "access": "public"
- }
+ "name": "@spectrum-css/ui-icons",
+ "version": "2.0.0-next.0",
+ "description": "The Spectrum CSS UI icons",
+ "license": "Apache-2.0",
+ "author": "Adobe",
+ "homepage": "https://opensource.adobe.com/spectrum-css/",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/adobe/spectrum-css.git",
+ "directory": "ui-icons"
+ },
+ "bugs": {
+ "url": "https://github.com/adobe/spectrum-css/issues"
+ },
+ "main": "dist/spectrum-css-icons.svg",
+ "files": [
+ "dist/icons.json",
+ "dist/svgs"
+ ],
+ "devDependencies": {
+ "fast-glob": "^3.3.3",
+ "svgo": "^3.3.2",
+ "svgstore": "^3.0.1"
+ },
+ "keywords": [
+ "design-system",
+ "spectrum",
+ "spectrum-css",
+ "adobe",
+ "adobe-spectrum"
+ ],
+ "publishConfig": {
+ "access": "public"
+ }
}
diff --git a/ui-icons/project.json b/ui-icons/project.json
index ed61d56db0e..6f55512e21a 100644
--- a/ui-icons/project.json
+++ b/ui-icons/project.json
@@ -2,23 +2,19 @@
"name": "ui-icons",
"tag": ["icons"],
"namedInputs": {
- "core": ["{projectRoot}/large/*.svg", "{projectRoot}/medium/*.svg"],
+ "core": ["{projectRoot}/svgs/*.svg"],
"scripts": ["{projectRoot}/index.js"],
"tools": ["{projectRoot}/svgo.config.js"]
},
"targets": {
"build": {
+ "dependsOn": ["^build"],
"inputs": [
"core",
"scripts",
"tools",
{
- "externalDependencies": [
- "fast-glob",
- "svgcombiner",
- "svgo",
- "svgstore"
- ]
+ "externalDependencies": ["fast-glob", "svgo", "svgstore"]
}
],
"options": {
@@ -26,12 +22,8 @@
"cwd": "{projectRoot}"
},
"outputs": [
- "{projectRoot}/dist/combined",
- "{projectRoot}/dist/large",
- "{projectRoot}/dist/medium",
- "{projectRoot}/dist/spectrum-css-icons.svg",
- "{projectRoot}/dist/spectrum-css-icons-large.svg",
- "{projectRoot}/dist/spectrum-css-icons-medium.svg"
+ "{projectRoot}/dist/svgs",
+ "{projectRoot}/dist/spectrum-css-icons.svg"
]
},
"clean": {
diff --git a/ui-icons/svgo.config.js b/ui-icons/svgo.config.js
index 0f03bc85b01..2e24e71723c 100644
--- a/ui-icons/svgo.config.js
+++ b/ui-icons/svgo.config.js
@@ -1,46 +1,50 @@
module.exports = ({
- clean = false,
- idPrefix = false,
- classPrefix = 'spectrum-UIIcon',
- removeViewBox = false,
+ clean = false,
+ idPrefix = false,
+ // classPrefix = "spectrum-UIIcon",
+ removeViewBox = false,
} = {}) => ({
- multipass: true,
- js2svg: {
- indent: 2,
- pretty: true,
- },
- plugins: [
- {
- name: 'preset-default',
- params: {
- overrides: {
- cleanupIds: clean,
- removeDesc: false,
- removeTitle: false,
- removeViewBox,
- removeHiddenElems: false,
- removeUnusedNS: false,
- },
- },
- },
- ...(clean ? [{
- name: 'removeAttrs',
- params: {
- attrs: ['class', 'data-name', 'id'],
- },
- }] : []),
- ...(idPrefix ? [{
- name: 'prefixIds',
- params: { delim: '-', prefix: idPrefix, prefixClassNames: false },
- }] : []),
- ...(classPrefix ? [{
- name: 'prefixIds',
- params: {
- delim: '--',
- prefix: classPrefix,
- prefixClassNames: true,
- prefixIds: false,
- },
- } ] : []),
- ],
+ multipass: true,
+ js2svg: {
+ indent: 2,
+ pretty: true,
+ },
+ plugins: [
+ {
+ name: "preset-default",
+ params: {
+ overrides: {
+ cleanupIds: clean,
+ removeDesc: false,
+ removeTitle: false,
+ removeViewBox,
+ removeHiddenElems: false,
+ removeUnusedNS: false,
+ },
+ },
+ },
+ ...(clean ? [{
+ name: "removeAttrs",
+ params: {
+ attrs: ["class", "data-name", "id"],
+ },
+ }] : []),
+ ...(idPrefix ? [{
+ name: "prefixIds",
+ params: { delim: "-", prefix: idPrefix, prefixClassNames: false },
+ }] : []),
+ {
+ name: "addClassesToSVGElement",
+ params: {
+ classNames: ["spectrum-UIIcon"]
+ }
+ },
+ {
+ name: "sortAttrs",
+ params: {
+ order: ["id", "width", "height", "x", "x1", "x2", "y", "y1", "y2", "cx", "cy", "r", "fill", "stroke", "marker", "d", "points"],
+ xmlnsOrder: "front"
+ }
+ },
+ ],
});
diff --git a/yarn.lock b/yarn.lock
index 4c09f8ad6b3..07d7dbabc73 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -6,8 +6,8 @@ __metadata:
cacheKey: 10c0
"@actions/artifact@npm:^2.2.1":
- version: 2.2.1
- resolution: "@actions/artifact@npm:2.2.1"
+ version: 2.2.2
+ resolution: "@actions/artifact@npm:2.2.2"
dependencies:
"@actions/core": "npm:^1.10.0"
"@actions/github": "npm:^5.1.1"
@@ -20,9 +20,8 @@ __metadata:
"@protobuf-ts/plugin": "npm:^2.2.3-alpha.1"
archiver: "npm:^7.0.1"
jwt-decode: "npm:^3.1.2"
- twirp-ts: "npm:^2.5.0"
unzip-stream: "npm:^0.3.1"
- checksum: 10c0/ed4689b9df2f362e7fead772953f1b13bf348104174482123d7ab247fc4a5bd39fc21d093155789203755a06415811e6705110b6dc0aa4209006ae9bb1aef3d9
+ checksum: 10c0/e58c3d07e1ec29ddb5b5952db369cc1afb7f6d2f063f697665a56806b50d853d42894092738ba061869a65a54d52e63dfec6639894f57377796a7dbb99aa17cc
languageName: node
linkType: hard
@@ -90,12 +89,12 @@ __metadata:
linkType: hard
"@actions/http-client@npm:^2.0.1, @actions/http-client@npm:^2.1.0, @actions/http-client@npm:^2.2.0":
- version: 2.2.1
- resolution: "@actions/http-client@npm:2.2.1"
+ version: 2.2.3
+ resolution: "@actions/http-client@npm:2.2.3"
dependencies:
tunnel: "npm:^0.0.6"
undici: "npm:^5.25.4"
- checksum: 10c0/371771e68fcfe1383e59657eb5bc421aba5e1826f5e497efd826236b64fc1ff11f0bc91f936d7f1086f6bb3fd209736425a4d357b98fdfb7a8d054cbb84680e8
+ checksum: 10c0/13141b66a42aa4afd8c50f7479e13a5cdb5084ccb3c73ec48894b8029743389a3d2bf8cdc18e23fb70cd33995740526dd308815613907571e897c3aa1e5eada6
languageName: node
linkType: hard
@@ -107,9 +106,9 @@ __metadata:
linkType: hard
"@adobe/css-tools@npm:^4.4.0":
- version: 4.4.0
- resolution: "@adobe/css-tools@npm:4.4.0"
- checksum: 10c0/d65ddc719389bf469097df80fb16a8af48a973dea4b57565789d70ac8e7ab4987e6dc0095da3ed5dc16c1b6f8960214a7590312eeda8abd543d91fd0f59e6c94
+ version: 4.4.2
+ resolution: "@adobe/css-tools@npm:4.4.2"
+ checksum: 10c0/19433666ad18536b0ed05d4b53fbb3dd6ede266996796462023ec77a90b484890ad28a3e528cdf3ab8a65cb2fcdff5d8feb04db6bc6eed6ca307c40974239c94
languageName: node
linkType: hard
@@ -124,8 +123,6 @@ __metadata:
"@commitlint/config-conventional": "npm:^19.6.0"
"@csstools/postcss-bundler": "npm:^2.0.6"
"@nx/devkit": "npm:^19.8.2"
- "@spectrum-tools/postcss-add-theming-layer": "npm:1.0.2"
- "@spectrum-tools/postcss-property-rollup": "npm:0.0.1"
"@spectrum-tools/postcss-rgb-mapping": "npm:1.0.0"
"@yarnpkg/types": "npm:^4.0.0"
at-rule-packer: "npm:^0.4.2"
@@ -182,17 +179,17 @@ __metadata:
languageName: unknown
linkType: soft
-"@adobe/spectrum-css-workflow-icons@npm:^1.5.4":
- version: 1.5.4
- resolution: "@adobe/spectrum-css-workflow-icons@npm:1.5.4"
- checksum: 10c0/6c76ec7f9eb8d64c93603d72b243a46e766f6b961811a37a7cc3b874452e48bb9d0efd13762448ab1f09f327813ce448292b2e7a9801c83b7666f58a79e9e1af
+"@adobe/spectrum-css-workflow-icons@npm:^4.0.0":
+ version: 4.0.0
+ resolution: "@adobe/spectrum-css-workflow-icons@npm:4.0.0"
+ checksum: 10c0/9fdfbd634a29a06fbfd1236fa15a17c283a1330d3cc7c61e52f6c85a0b4981894bd512d91f072339a8ed504b2da17755839792ce8dd767589d926ddde812e2ce
languageName: node
linkType: hard
-"@adobe/spectrum-tokens@npm:0.0.0-s2-foundations-20241121221506":
- version: 0.0.0-s2-foundations-20241121221506
- resolution: "@adobe/spectrum-tokens@npm:0.0.0-s2-foundations-20241121221506"
- checksum: 10c0/64664995ca98170c2a089ecb215103c77bb5a3ff49848371e2dfc301dc3ca30ef4dafae3d44cda82a1609d877e54608cc2e591edef37095ee646c6cf185143ee
+"@adobe/spectrum-tokens@npm:13.0.0-beta.58":
+ version: 13.0.0-beta.58
+ resolution: "@adobe/spectrum-tokens@npm:13.0.0-beta.58"
+ checksum: 10c0/2713a0dfd73b11172c5f9d2be4ae92c472387e74aad857575cee0a4391f029f9fa7b10f8b46e917d8972b1c7631758432130ca361ce9dfc76064af2378c12a02
languageName: node
linkType: hard
@@ -226,16 +223,7 @@ __metadata:
languageName: node
linkType: hard
-"@azure/abort-controller@npm:^1.0.0":
- version: 1.1.0
- resolution: "@azure/abort-controller@npm:1.1.0"
- dependencies:
- tslib: "npm:^2.2.0"
- checksum: 10c0/bb79f0faaa9e9c1ae3c4ec2523ea23ee0879cc491abb4b3ac2dd56c2cc2dfe4b7e8522ffa866d39c7145c0dd61387711368afe0d4eb6534daba7b67ed0a2a730
- languageName: node
- linkType: hard
-
-"@azure/abort-controller@npm:^2.0.0":
+"@azure/abort-controller@npm:^2.0.0, @azure/abort-controller@npm:^2.1.2":
version: 2.1.2
resolution: "@azure/abort-controller@npm:2.1.2"
dependencies:
@@ -244,14 +232,14 @@ __metadata:
languageName: node
linkType: hard
-"@azure/core-auth@npm:^1.4.0":
- version: 1.7.2
- resolution: "@azure/core-auth@npm:1.7.2"
+"@azure/core-auth@npm:^1.4.0, @azure/core-auth@npm:^1.8.0":
+ version: 1.9.0
+ resolution: "@azure/core-auth@npm:1.9.0"
dependencies:
"@azure/abort-controller": "npm:^2.0.0"
- "@azure/core-util": "npm:^1.1.0"
+ "@azure/core-util": "npm:^1.11.0"
tslib: "npm:^2.6.2"
- checksum: 10c0/2b4c489855308cea46363dc8f216eeb63cb85aea08f1ab7cff0a6e47604eed2b0fc46415d7f6d71da0aa7922b81c631920d05698eb14454b65be07825c5c599a
+ checksum: 10c0/b7d8f33b81a8c9a76531acacc7af63d888429f0d763bb1ab8e28e91ddbf1626fc19cf8ca74f79c39b0a3e5acb315bdc4c4276fb979816f315712ea1bd611273d
languageName: node
linkType: hard
@@ -271,13 +259,13 @@ __metadata:
linkType: hard
"@azure/core-http-compat@npm:^2.0.0":
- version: 2.1.2
- resolution: "@azure/core-http-compat@npm:2.1.2"
+ version: 2.2.0
+ resolution: "@azure/core-http-compat@npm:2.2.0"
dependencies:
"@azure/abort-controller": "npm:^2.0.0"
"@azure/core-client": "npm:^1.3.0"
- "@azure/core-rest-pipeline": "npm:^1.3.0"
- checksum: 10c0/e7b5374819d740c96c075956c756a753b7e9f6d7774bbadcc5000c3c4f808554e4d7146ccde7b94bcb21c39ed4a7e5b043b2a3b7d208b959310ea7e1440decca
+ "@azure/core-rest-pipeline": "npm:^1.19.0"
+ checksum: 10c0/0e74aeac740b289f87c11b44980959b41e9b088981587e936a0d6b0c672d59620d22461827e68930dec7f4f2daba86a727f2bc73775f59620d10c4f9f943fc99
languageName: node
linkType: hard
@@ -302,7 +290,7 @@ __metadata:
languageName: node
linkType: hard
-"@azure/core-rest-pipeline@npm:^1.10.1, @azure/core-rest-pipeline@npm:^1.3.0, @azure/core-rest-pipeline@npm:^1.9.1":
+"@azure/core-rest-pipeline@npm:^1.10.1, @azure/core-rest-pipeline@npm:^1.9.1":
version: 1.16.2
resolution: "@azure/core-rest-pipeline@npm:1.16.2"
dependencies:
@@ -318,16 +306,42 @@ __metadata:
languageName: node
linkType: hard
+"@azure/core-rest-pipeline@npm:^1.19.0":
+ version: 1.19.0
+ resolution: "@azure/core-rest-pipeline@npm:1.19.0"
+ dependencies:
+ "@azure/abort-controller": "npm:^2.0.0"
+ "@azure/core-auth": "npm:^1.8.0"
+ "@azure/core-tracing": "npm:^1.0.1"
+ "@azure/core-util": "npm:^1.11.0"
+ "@azure/logger": "npm:^1.0.0"
+ http-proxy-agent: "npm:^7.0.0"
+ https-proxy-agent: "npm:^7.0.0"
+ tslib: "npm:^2.6.2"
+ checksum: 10c0/7ca47993c049f27b342b012262a8acdeeb19433f6d15c0f82ad177ad78ddd1640ab6b1eed810525476784f17bb0f03abd1b4e2ba4c3aec858f9b7bf81c40db66
+ languageName: node
+ linkType: hard
+
"@azure/core-tracing@npm:^1.0.0, @azure/core-tracing@npm:^1.0.1, @azure/core-tracing@npm:^1.1.2":
- version: 1.1.2
- resolution: "@azure/core-tracing@npm:1.1.2"
+ version: 1.2.0
+ resolution: "@azure/core-tracing@npm:1.2.0"
dependencies:
tslib: "npm:^2.6.2"
- checksum: 10c0/0e844d581117ae81318a503ddfc143146b847ed9152d0c84f20fdc4cb0b2187a4e9da29aed13d5b7a201f39fe601a59c4db6455005ed8e0d3b5aab0ee77a56e1
+ checksum: 10c0/7cd114b3c11730a1b8b71d89b64f9d033dfe0710f2364ef65645683381e2701173c08ff8625a0b0bc65bb3c3e0de46c80fdb2735e37652425489b65a283f043d
languageName: node
linkType: hard
-"@azure/core-util@npm:^1.1.0, @azure/core-util@npm:^1.2.0, @azure/core-util@npm:^1.6.1, @azure/core-util@npm:^1.9.0":
+"@azure/core-util@npm:^1.11.0, @azure/core-util@npm:^1.2.0, @azure/core-util@npm:^1.6.1":
+ version: 1.11.0
+ resolution: "@azure/core-util@npm:1.11.0"
+ dependencies:
+ "@azure/abort-controller": "npm:^2.0.0"
+ tslib: "npm:^2.6.2"
+ checksum: 10c0/245c93ec7fb3f2cb3a0b2f3a3be8d02ee401acba3cdd71620aa9e4e3ca50d831849f692332327bdbe1238ab979a76218f16a5166488ee31d5b67004298d110a3
+ languageName: node
+ linkType: hard
+
+"@azure/core-util@npm:^1.9.0":
version: 1.9.1
resolution: "@azure/core-util@npm:1.9.1"
dependencies:
@@ -337,30 +351,30 @@ __metadata:
languageName: node
linkType: hard
-"@azure/core-xml@npm:^1.3.2":
- version: 1.4.2
- resolution: "@azure/core-xml@npm:1.4.2"
+"@azure/core-xml@npm:^1.4.3":
+ version: 1.4.4
+ resolution: "@azure/core-xml@npm:1.4.4"
dependencies:
- fast-xml-parser: "npm:^4.3.2"
+ fast-xml-parser: "npm:^4.4.1"
tslib: "npm:^2.6.2"
- checksum: 10c0/621fb9f44e022e9ca2d43149444bfa12e69c6c73d4fe488c4476b55c3f203fdbddb252a94be03e88e9d42386d1697d235d72b262f2957f6b5615ec0f3d85c38f
+ checksum: 10c0/92c643a9b80272b27a7bf9b756627f21beec5289995f3188099f056d255de702e1f8959bfc0f14d7445a1f6da4d037957ba47d757545ade5e77f610c4124c3fa
languageName: node
linkType: hard
"@azure/logger@npm:^1.0.0":
- version: 1.1.3
- resolution: "@azure/logger@npm:1.1.3"
+ version: 1.1.4
+ resolution: "@azure/logger@npm:1.1.4"
dependencies:
tslib: "npm:^2.6.2"
- checksum: 10c0/fc7c9e89c92e8f075738577f017f2adb3ff99d8d94ea2face4b70cac3418dcecfb76e812e79f1cbbc2c212e1e38c728370fab071291a3ea5496a0e96855f8f64
+ checksum: 10c0/5bc7792ef334e18f4893814e83cc61780a0effb927ba898095c75df1a01e1f3093dc7a63b6de549694cef76c25f43db850b82a48ec0fab5f9f1c1d2053af791d
languageName: node
linkType: hard
"@azure/storage-blob@npm:^12.15.0":
- version: 12.24.0
- resolution: "@azure/storage-blob@npm:12.24.0"
+ version: 12.26.0
+ resolution: "@azure/storage-blob@npm:12.26.0"
dependencies:
- "@azure/abort-controller": "npm:^1.0.0"
+ "@azure/abort-controller": "npm:^2.1.2"
"@azure/core-auth": "npm:^1.4.0"
"@azure/core-client": "npm:^1.6.2"
"@azure/core-http-compat": "npm:^2.0.0"
@@ -369,25 +383,15 @@ __metadata:
"@azure/core-rest-pipeline": "npm:^1.10.1"
"@azure/core-tracing": "npm:^1.1.2"
"@azure/core-util": "npm:^1.6.1"
- "@azure/core-xml": "npm:^1.3.2"
+ "@azure/core-xml": "npm:^1.4.3"
"@azure/logger": "npm:^1.0.0"
events: "npm:^3.0.0"
tslib: "npm:^2.2.0"
- checksum: 10c0/d42d476ff54b6a24172d487dc7c05543a9f6402ee85bc3e7a68356159d70821d2db8f0f4e2238c6004c91c11b6ee4d8b573ac9f198dcbd0ee76f87eac13f13ff
- languageName: node
- linkType: hard
-
-"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4":
- version: 7.24.7
- resolution: "@babel/code-frame@npm:7.24.7"
- dependencies:
- "@babel/highlight": "npm:^7.24.7"
- picocolors: "npm:^1.0.0"
- checksum: 10c0/ab0af539473a9f5aeaac7047e377cb4f4edd255a81d84a76058595f8540784cc3fbe8acf73f1e073981104562490aabfb23008cd66dc677a456a4ed5390fdde6
+ checksum: 10c0/069b7a85dddb33ee793efd74fbc1a3377c6d14dbb11094c2ebae87e324f16d23292806d5dcdf04280456dafc4d960e847968f6f01e384039b47363d61faf1017
languageName: node
linkType: hard
-"@babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.26.2":
+"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.26.2":
version: 7.26.2
resolution: "@babel/code-frame@npm:7.26.2"
dependencies:
@@ -398,44 +402,33 @@ __metadata:
languageName: node
linkType: hard
-"@babel/code-frame@npm:^7.25.9, @babel/code-frame@npm:^7.26.0":
- version: 7.26.0
- resolution: "@babel/code-frame@npm:7.26.0"
- dependencies:
- "@babel/helper-validator-identifier": "npm:^7.25.9"
- js-tokens: "npm:^4.0.0"
- picocolors: "npm:^1.0.0"
- checksum: 10c0/46f7e367714be736b52ea3c01b24f47e2102e210fb83021d1c8237d8fc511b9538909e16e2fcdbb5cb6173e0794e28624309a59014e52fcfb7bde908f5284388
- languageName: node
- linkType: hard
-
-"@babel/compat-data@npm:^7.25.9":
- version: 7.26.0
- resolution: "@babel/compat-data@npm:7.26.0"
- checksum: 10c0/6325c9151a3c9b0a3a807e854a26255ef66d989bff331475a935af9bb18f160e0fffe6aed550e4e96b63f91efcd874bfbaab2a1f4a2f8d25645d712a0de590fb
+"@babel/compat-data@npm:^7.26.5":
+ version: 7.26.8
+ resolution: "@babel/compat-data@npm:7.26.8"
+ checksum: 10c0/66408a0388c3457fff1c2f6c3a061278dd7b3d2f0455ea29bb7b187fa52c60ae8b4054b3c0a184e21e45f0eaac63cf390737bc7504d1f4a088a6e7f652c068ca
languageName: node
linkType: hard
"@babel/core@npm:^7.11.6, @babel/core@npm:^7.12.3, @babel/core@npm:^7.22.5, @babel/core@npm:^7.23.9, @babel/core@npm:^7.26.0, @babel/core@npm:^7.7.5":
- version: 7.26.0
- resolution: "@babel/core@npm:7.26.0"
+ version: 7.26.9
+ resolution: "@babel/core@npm:7.26.9"
dependencies:
"@ampproject/remapping": "npm:^2.2.0"
- "@babel/code-frame": "npm:^7.26.0"
- "@babel/generator": "npm:^7.26.0"
- "@babel/helper-compilation-targets": "npm:^7.25.9"
+ "@babel/code-frame": "npm:^7.26.2"
+ "@babel/generator": "npm:^7.26.9"
+ "@babel/helper-compilation-targets": "npm:^7.26.5"
"@babel/helper-module-transforms": "npm:^7.26.0"
- "@babel/helpers": "npm:^7.26.0"
- "@babel/parser": "npm:^7.26.0"
- "@babel/template": "npm:^7.25.9"
- "@babel/traverse": "npm:^7.25.9"
- "@babel/types": "npm:^7.26.0"
+ "@babel/helpers": "npm:^7.26.9"
+ "@babel/parser": "npm:^7.26.9"
+ "@babel/template": "npm:^7.26.9"
+ "@babel/traverse": "npm:^7.26.9"
+ "@babel/types": "npm:^7.26.9"
convert-source-map: "npm:^2.0.0"
debug: "npm:^4.1.0"
gensync: "npm:^1.0.0-beta.2"
json5: "npm:^2.2.3"
semver: "npm:^6.3.1"
- checksum: 10c0/91de73a7ff5c4049fbc747930aa039300e4d2670c2a91f5aa622f1b4868600fc89b01b6278385fbcd46f9574186fa3d9b376a9e7538e50f8d118ec13cfbcb63e
+ checksum: 10c0/ed7212ff42a9453765787019b7d191b167afcacd4bd8fec10b055344ef53fa0cc648c9a80159ae4ecf870016a6318731e087042dcb68d1a2a9d34eb290dc014b
languageName: node
linkType: hard
@@ -452,29 +445,29 @@ __metadata:
languageName: node
linkType: hard
-"@babel/generator@npm:^7.25.9, @babel/generator@npm:^7.26.0":
- version: 7.26.0
- resolution: "@babel/generator@npm:7.26.0"
+"@babel/generator@npm:^7.26.9":
+ version: 7.26.9
+ resolution: "@babel/generator@npm:7.26.9"
dependencies:
- "@babel/parser": "npm:^7.26.0"
- "@babel/types": "npm:^7.26.0"
+ "@babel/parser": "npm:^7.26.9"
+ "@babel/types": "npm:^7.26.9"
"@jridgewell/gen-mapping": "npm:^0.3.5"
"@jridgewell/trace-mapping": "npm:^0.3.25"
jsesc: "npm:^3.0.2"
- checksum: 10c0/b6bb9185f19a97eaf58e04a6d39a13237076678e7ed16b6321dea914535d4bf6a8d7727c9dcb65539845aa0096b326eb67be4bab764bd74bcfd848e2eda68609
+ checksum: 10c0/6b78872128205224a9a9761b9ea7543a9a7902a04b82fc2f6801ead4de8f59056bab3fd17b1f834ca7b049555fc4c79234b9a6230dd9531a06525306050becad
languageName: node
linkType: hard
-"@babel/helper-compilation-targets@npm:^7.25.9":
- version: 7.25.9
- resolution: "@babel/helper-compilation-targets@npm:7.25.9"
+"@babel/helper-compilation-targets@npm:^7.26.5":
+ version: 7.26.5
+ resolution: "@babel/helper-compilation-targets@npm:7.26.5"
dependencies:
- "@babel/compat-data": "npm:^7.25.9"
+ "@babel/compat-data": "npm:^7.26.5"
"@babel/helper-validator-option": "npm:^7.25.9"
browserslist: "npm:^4.24.0"
lru-cache: "npm:^5.1.1"
semver: "npm:^6.3.1"
- checksum: 10c0/a6b26a1e4222e69ef8e62ee19374308f060b007828bc11c65025ecc9e814aba21ff2175d6d3f8bf53c863edd728ee8f94ba7870f8f90a37d39552ad9933a8aaa
+ checksum: 10c0/9da5c77e5722f1a2fcb3e893049a01d414124522bbf51323bb1a0c9dcd326f15279836450fc36f83c9e8a846f3c40e88be032ed939c5a9840922bed6073edfb4
languageName: node
linkType: hard
@@ -543,25 +536,13 @@ __metadata:
languageName: node
linkType: hard
-"@babel/helpers@npm:^7.26.0":
- version: 7.26.10
- resolution: "@babel/helpers@npm:7.26.10"
+"@babel/helpers@npm:^7.26.9":
+ version: 7.26.9
+ resolution: "@babel/helpers@npm:7.26.9"
dependencies:
"@babel/template": "npm:^7.26.9"
- "@babel/types": "npm:^7.26.10"
- checksum: 10c0/f99e1836bcffce96db43158518bb4a24cf266820021f6461092a776cba2dc01d9fc8b1b90979d7643c5c2ab7facc438149064463a52dd528b21c6ab32509784f
- languageName: node
- linkType: hard
-
-"@babel/highlight@npm:^7.24.7":
- version: 7.24.7
- resolution: "@babel/highlight@npm:7.24.7"
- dependencies:
- "@babel/helper-validator-identifier": "npm:^7.24.7"
- chalk: "npm:^2.4.2"
- js-tokens: "npm:^4.0.0"
- picocolors: "npm:^1.0.0"
- checksum: 10c0/674334c571d2bb9d1c89bdd87566383f59231e16bcdcf5bb7835babdf03c9ae585ca0887a7b25bdf78f303984af028df52831c7989fecebb5101cc132da9393a
+ "@babel/types": "npm:^7.26.9"
+ checksum: 10c0/3d4dbc4a33fe4181ed810cac52318b578294745ceaec07e2f6ecccf6cda55d25e4bfcea8f085f333bf911c9e1fc13320248dd1d5315ab47ad82ce1077410df05
languageName: node
linkType: hard
@@ -585,25 +566,14 @@ __metadata:
languageName: node
linkType: hard
-"@babel/parser@npm:^7.25.9, @babel/parser@npm:^7.26.0":
- version: 7.26.1
- resolution: "@babel/parser@npm:7.26.1"
- dependencies:
- "@babel/types": "npm:^7.26.0"
- bin:
- parser: ./bin/babel-parser.js
- checksum: 10c0/dc7d4e6b7eb667fa0784e7e2c3f6f92ca12ad72242f6d4311995310dae55093f02acdb595b69b0dbbf04cb61ad87156ac03186ff32eacfa35149c655bc22c14b
- languageName: node
- linkType: hard
-
"@babel/parser@npm:^7.26.9":
- version: 7.26.10
- resolution: "@babel/parser@npm:7.26.10"
+ version: 7.26.9
+ resolution: "@babel/parser@npm:7.26.9"
dependencies:
- "@babel/types": "npm:^7.26.10"
+ "@babel/types": "npm:^7.26.9"
bin:
parser: ./bin/babel-parser.js
- checksum: 10c0/c47f5c0f63cd12a663e9dc94a635f9efbb5059d98086a92286d7764357c66bceba18ccbe79333e01e9be3bfb8caba34b3aaebfd8e62c3d5921c8cf907267be75
+ checksum: 10c0/4b9ef3c9a0d4c328e5e5544f50fe8932c36f8a2c851e7f14a85401487cd3da75cad72c2e1bcec1eac55599a6bbb2fdc091f274c4fcafa6bdd112d4915ff087fc
languageName: node
linkType: hard
@@ -794,7 +764,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.17.8, @babel/runtime@npm:^7.3.1, @babel/runtime@npm:^7.5.5":
+"@babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.17.8, @babel/runtime@npm:^7.3.1":
version: 7.26.10
resolution: "@babel/runtime@npm:7.26.10"
dependencies:
@@ -803,18 +773,16 @@ __metadata:
languageName: node
linkType: hard
-"@babel/template@npm:^7.22.5, @babel/template@npm:^7.25.9, @babel/template@npm:^7.3.3":
- version: 7.25.9
- resolution: "@babel/template@npm:7.25.9"
+"@babel/runtime@npm:^7.5.5":
+ version: 7.24.4
+ resolution: "@babel/runtime@npm:7.24.4"
dependencies:
- "@babel/code-frame": "npm:^7.25.9"
- "@babel/parser": "npm:^7.25.9"
- "@babel/types": "npm:^7.25.9"
- checksum: 10c0/ebe677273f96a36c92cc15b7aa7b11cc8bc8a3bb7a01d55b2125baca8f19cae94ff3ce15f1b1880fb8437f3a690d9f89d4e91f16fc1dc4d3eb66226d128983ab
+ regenerator-runtime: "npm:^0.14.0"
+ checksum: 10c0/785aff96a3aa8ff97f90958e1e8a7b1d47f793b204b47c6455eaadc3f694f48c97cd5c0a921fe3596d818e71f18106610a164fb0f1c71fd68c622a58269d537c
languageName: node
linkType: hard
-"@babel/template@npm:^7.26.9":
+"@babel/template@npm:^7.22.5, @babel/template@npm:^7.26.9, @babel/template@npm:^7.3.3":
version: 7.26.9
resolution: "@babel/template@npm:7.26.9"
dependencies:
@@ -825,18 +793,18 @@ __metadata:
languageName: node
linkType: hard
-"@babel/traverse@npm:^7.25.9":
- version: 7.25.9
- resolution: "@babel/traverse@npm:7.25.9"
+"@babel/traverse@npm:^7.25.9, @babel/traverse@npm:^7.26.9":
+ version: 7.26.9
+ resolution: "@babel/traverse@npm:7.26.9"
dependencies:
- "@babel/code-frame": "npm:^7.25.9"
- "@babel/generator": "npm:^7.25.9"
- "@babel/parser": "npm:^7.25.9"
- "@babel/template": "npm:^7.25.9"
- "@babel/types": "npm:^7.25.9"
+ "@babel/code-frame": "npm:^7.26.2"
+ "@babel/generator": "npm:^7.26.9"
+ "@babel/parser": "npm:^7.26.9"
+ "@babel/template": "npm:^7.26.9"
+ "@babel/types": "npm:^7.26.9"
debug: "npm:^4.3.1"
globals: "npm:^11.1.0"
- checksum: 10c0/e90be586a714da4adb80e6cb6a3c5cfcaa9b28148abdafb065e34cc109676fc3db22cf98cd2b2fff66ffb9b50c0ef882cab0f466b6844be0f6c637b82719bba1
+ checksum: 10c0/51dd57fa39ea34d04816806bfead04c74f37301269d24c192d1406dc6e244fea99713b3b9c5f3e926d9ef6aa9cd5c062ad4f2fc1caa9cf843d5e864484ac955e
languageName: node
linkType: hard
@@ -861,7 +829,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/types@npm:^7.25.9, @babel/types@npm:^7.26.0":
+"@babel/types@npm:^7.25.9":
version: 7.26.0
resolution: "@babel/types@npm:7.26.0"
dependencies:
@@ -871,13 +839,13 @@ __metadata:
languageName: node
linkType: hard
-"@babel/types@npm:^7.26.10, @babel/types@npm:^7.26.9":
- version: 7.26.10
- resolution: "@babel/types@npm:7.26.10"
+"@babel/types@npm:^7.26.9":
+ version: 7.26.9
+ resolution: "@babel/types@npm:7.26.9"
dependencies:
"@babel/helper-string-parser": "npm:^7.25.9"
"@babel/helper-validator-identifier": "npm:^7.25.9"
- checksum: 10c0/7a7f83f568bfc3dfabfaf9ae3a97ab5c061726c0afa7dcd94226d4f84a81559da368ed79671e3a8039d16f12476cf110381a377ebdea07587925f69628200dac
+ checksum: 10c0/999c56269ba00e5c57aa711fbe7ff071cd6990bafd1b978341ea7572cc78919986e2aa6ee51dacf4b6a7a6fa63ba4eb3f1a03cf55eee31b896a56d068b895964
languageName: node
linkType: hard
@@ -889,21 +857,21 @@ __metadata:
linkType: hard
"@bcoe/v8-coverage@npm:^1.0.1":
- version: 1.0.1
- resolution: "@bcoe/v8-coverage@npm:1.0.1"
- checksum: 10c0/8a5df36b79715f54f419052966dfd7900eef13dadc31cc9214bd69b8b3eabdc5a3013612453edf547fa35cbeb5fd57a12e7910a75a845aac410d81d08511944a
+ version: 1.0.2
+ resolution: "@bcoe/v8-coverage@npm:1.0.2"
+ checksum: 10c0/1eb1dc93cc17fb7abdcef21a6e7b867d6aa99a7ec88ec8207402b23d9083ab22a8011213f04b2cf26d535f1d22dc26139b7929e6c2134c254bd1e14ba5e678c3
languageName: node
linkType: hard
-"@changesets/apply-release-plan@npm:^7.0.7":
- version: 7.0.7
- resolution: "@changesets/apply-release-plan@npm:7.0.7"
+"@changesets/apply-release-plan@npm:^7.0.10":
+ version: 7.0.10
+ resolution: "@changesets/apply-release-plan@npm:7.0.10"
dependencies:
- "@changesets/config": "npm:^3.0.5"
+ "@changesets/config": "npm:^3.1.1"
"@changesets/get-version-range-type": "npm:^0.4.0"
"@changesets/git": "npm:^3.0.2"
- "@changesets/should-skip-package": "npm:^0.1.1"
- "@changesets/types": "npm:^6.0.0"
+ "@changesets/should-skip-package": "npm:^0.1.2"
+ "@changesets/types": "npm:^6.1.0"
"@manypkg/get-packages": "npm:^1.1.3"
detect-indent: "npm:^6.0.0"
fs-extra: "npm:^7.0.1"
@@ -912,62 +880,62 @@ __metadata:
prettier: "npm:^2.7.1"
resolve-from: "npm:^5.0.0"
semver: "npm:^7.5.3"
- checksum: 10c0/6ecbcccd46832b230b0c734ec2fc77648401f837dea91a7bf63be07207e4bb01cc6e1d6a05644bb85b6ee4b556bad031f43af7e8c742b873ee1313edb0a03929
+ checksum: 10c0/4ee5951448c26bbf73fac5c9a0785d5bb0cc3f2e6c1ffc9337766b446fe79a7b018834be2a4723938faec0d331aa30f1d6c7ea47db48d7a7babe37862645dd57
languageName: node
linkType: hard
-"@changesets/assemble-release-plan@npm:^6.0.5":
- version: 6.0.5
- resolution: "@changesets/assemble-release-plan@npm:6.0.5"
+"@changesets/assemble-release-plan@npm:^6.0.6":
+ version: 6.0.6
+ resolution: "@changesets/assemble-release-plan@npm:6.0.6"
dependencies:
"@changesets/errors": "npm:^0.2.0"
- "@changesets/get-dependents-graph": "npm:^2.1.2"
- "@changesets/should-skip-package": "npm:^0.1.1"
- "@changesets/types": "npm:^6.0.0"
+ "@changesets/get-dependents-graph": "npm:^2.1.3"
+ "@changesets/should-skip-package": "npm:^0.1.2"
+ "@changesets/types": "npm:^6.1.0"
"@manypkg/get-packages": "npm:^1.1.3"
semver: "npm:^7.5.3"
- checksum: 10c0/6e4b699d67c9f1e78133a33bba7bb46b3119d6497e1f1dba5033905fd60911c90239c67ad6c4823ccd44225dee40d0689083be40f8c86ea30c5535e12d8db041
+ checksum: 10c0/292c6570310818f5427b97f1ddfd518ae4493f47e2674ca40bb11251808a20d7f07bff548c4277b1ad5ddfe53602b69ae6628fc45864286e34edfb5f7c2e19a0
languageName: node
linkType: hard
-"@changesets/changelog-git@npm:^0.2.0":
- version: 0.2.0
- resolution: "@changesets/changelog-git@npm:0.2.0"
+"@changesets/changelog-git@npm:^0.2.1":
+ version: 0.2.1
+ resolution: "@changesets/changelog-git@npm:0.2.1"
dependencies:
- "@changesets/types": "npm:^6.0.0"
- checksum: 10c0/d94df555656ac4ac9698d87a173b1955227ac0f1763d59b9b4d4f149ab3f879ca67603e48407b1dfdadaef4e7882ae7bbc7b7be160a45a55f05442004bdc61bd
+ "@changesets/types": "npm:^6.1.0"
+ checksum: 10c0/6a6fb315ffb2266fcb8f32ae9a60ccdb5436e52350a2f53beacf9822d3355f9052aba5001a718e12af472b4a8fabd69b408d0b11c02ac909ba7a183d27a9f7fd
languageName: node
linkType: hard
"@changesets/changelog-github@npm:^0.5.0":
- version: 0.5.0
- resolution: "@changesets/changelog-github@npm:0.5.0"
+ version: 0.5.1
+ resolution: "@changesets/changelog-github@npm:0.5.1"
dependencies:
"@changesets/get-github-info": "npm:^0.6.0"
- "@changesets/types": "npm:^6.0.0"
+ "@changesets/types": "npm:^6.1.0"
dotenv: "npm:^8.1.0"
- checksum: 10c0/fc6a6947185af6f1c7543c572ca6e46d733188586ab873c75476f389fb11c675df1c230a56394d490aa9a7f13bdf88d23541265deeda77f167d06b0cc3206923
+ checksum: 10c0/0ce02d3d7d6bedf86ca2a2bf88ab304ee0f4d5e491edd912769d9420386702876c17850f739f59fe6f90da690e11803cb2047eeef3a6abf411604c7ccab375fb
languageName: node
linkType: hard
"@changesets/cli@npm:^2.27.11":
- version: 2.27.11
- resolution: "@changesets/cli@npm:2.27.11"
+ version: 2.28.1
+ resolution: "@changesets/cli@npm:2.28.1"
dependencies:
- "@changesets/apply-release-plan": "npm:^7.0.7"
- "@changesets/assemble-release-plan": "npm:^6.0.5"
- "@changesets/changelog-git": "npm:^0.2.0"
- "@changesets/config": "npm:^3.0.5"
+ "@changesets/apply-release-plan": "npm:^7.0.10"
+ "@changesets/assemble-release-plan": "npm:^6.0.6"
+ "@changesets/changelog-git": "npm:^0.2.1"
+ "@changesets/config": "npm:^3.1.1"
"@changesets/errors": "npm:^0.2.0"
- "@changesets/get-dependents-graph": "npm:^2.1.2"
- "@changesets/get-release-plan": "npm:^4.0.6"
+ "@changesets/get-dependents-graph": "npm:^2.1.3"
+ "@changesets/get-release-plan": "npm:^4.0.8"
"@changesets/git": "npm:^3.0.2"
"@changesets/logger": "npm:^0.1.1"
- "@changesets/pre": "npm:^2.0.1"
- "@changesets/read": "npm:^0.6.2"
- "@changesets/should-skip-package": "npm:^0.1.1"
- "@changesets/types": "npm:^6.0.0"
- "@changesets/write": "npm:^0.3.2"
+ "@changesets/pre": "npm:^2.0.2"
+ "@changesets/read": "npm:^0.6.3"
+ "@changesets/should-skip-package": "npm:^0.1.2"
+ "@changesets/types": "npm:^6.1.0"
+ "@changesets/write": "npm:^0.4.0"
"@manypkg/get-packages": "npm:^1.1.3"
ansi-colors: "npm:^4.1.3"
ci-info: "npm:^3.7.0"
@@ -984,22 +952,22 @@ __metadata:
term-size: "npm:^2.1.0"
bin:
changeset: bin.js
- checksum: 10c0/dcaad88c6cd671c5a37005358ed3ab51b5f6f74e2dc1747af060e7bac6918a1ad31e122ca51ef1d337cb291e10997ad4e9156878aa90bf977ed8d38456c603da
+ checksum: 10c0/f965b56fa533f91b5de0f5fd5b09fac46662f023dafbe474d3fc7ceb71629dce4783a37429a927d50292a7ea95c0694e5a8f0c143d9cbba95d28a4d11ab8106b
languageName: node
linkType: hard
-"@changesets/config@npm:^3.0.5":
- version: 3.0.5
- resolution: "@changesets/config@npm:3.0.5"
+"@changesets/config@npm:^3.1.1":
+ version: 3.1.1
+ resolution: "@changesets/config@npm:3.1.1"
dependencies:
"@changesets/errors": "npm:^0.2.0"
- "@changesets/get-dependents-graph": "npm:^2.1.2"
+ "@changesets/get-dependents-graph": "npm:^2.1.3"
"@changesets/logger": "npm:^0.1.1"
- "@changesets/types": "npm:^6.0.0"
+ "@changesets/types": "npm:^6.1.0"
"@manypkg/get-packages": "npm:^1.1.3"
fs-extra: "npm:^7.0.1"
micromatch: "npm:^4.0.8"
- checksum: 10c0/fead5b29b322c247c00bb6e5fbe5d580c290c1f68c4a507b83a06ea7267100c1242d7fc7aeb29f1389377ec6d8ebf39f0387ee0bdbcc338b2a5ab2487e0c8342
+ checksum: 10c0/e6e529ca9525d1550cc2155a01a477c5b923e084985cb5cb15b6efc06da543c2faf623dd67d305688ffa8a8fc9d48f1ba74ad6653ce230183e40f10ffaa0c2dc
languageName: node
linkType: hard
@@ -1012,15 +980,15 @@ __metadata:
languageName: node
linkType: hard
-"@changesets/get-dependents-graph@npm:^2.1.2":
- version: 2.1.2
- resolution: "@changesets/get-dependents-graph@npm:2.1.2"
+"@changesets/get-dependents-graph@npm:^2.1.3":
+ version: 2.1.3
+ resolution: "@changesets/get-dependents-graph@npm:2.1.3"
dependencies:
- "@changesets/types": "npm:^6.0.0"
+ "@changesets/types": "npm:^6.1.0"
"@manypkg/get-packages": "npm:^1.1.3"
picocolors: "npm:^1.1.0"
semver: "npm:^7.5.3"
- checksum: 10c0/f2674ccb71f989b2abf2088953548b6de503e17d0b1f5b0147c4ef1672a5a2dd5201b828b419ccb67841e7812d1fbe1607d12668ea8972b3d0de5a1d2b38b61b
+ checksum: 10c0/b9d9992440b7e09dcaf22f57d28f1d8e0e31996e1bc44dbbfa1801e44f93fa49ebba6f9356c60f6ff0bd85cd0f0d0b8602f7e0f2addc5be647b686e6f8985f70
languageName: node
linkType: hard
@@ -1034,17 +1002,17 @@ __metadata:
languageName: node
linkType: hard
-"@changesets/get-release-plan@npm:^4.0.6":
- version: 4.0.6
- resolution: "@changesets/get-release-plan@npm:4.0.6"
+"@changesets/get-release-plan@npm:^4.0.8":
+ version: 4.0.8
+ resolution: "@changesets/get-release-plan@npm:4.0.8"
dependencies:
- "@changesets/assemble-release-plan": "npm:^6.0.5"
- "@changesets/config": "npm:^3.0.5"
- "@changesets/pre": "npm:^2.0.1"
- "@changesets/read": "npm:^0.6.2"
- "@changesets/types": "npm:^6.0.0"
+ "@changesets/assemble-release-plan": "npm:^6.0.6"
+ "@changesets/config": "npm:^3.1.1"
+ "@changesets/pre": "npm:^2.0.2"
+ "@changesets/read": "npm:^0.6.3"
+ "@changesets/types": "npm:^6.1.0"
"@manypkg/get-packages": "npm:^1.1.3"
- checksum: 10c0/7c35f1dc5bf6be17b0e2aabc7c2fceec68b4a9c73087d946a7a1691ce5221f16d172be3ae502d4daffdae1e567cdaf7022004d2fb745807ddc74e403c756c246
+ checksum: 10c0/b638f83683264818ea6cb729a3fd10f9edf29c61c7acee15ce321287cacbe03700706a20c0b531fdb3bbb23bda8967f4c6cbef08db207189fb7289313f473a1a
languageName: node
linkType: hard
@@ -1077,50 +1045,50 @@ __metadata:
languageName: node
linkType: hard
-"@changesets/parse@npm:^0.4.0":
- version: 0.4.0
- resolution: "@changesets/parse@npm:0.4.0"
+"@changesets/parse@npm:^0.4.1":
+ version: 0.4.1
+ resolution: "@changesets/parse@npm:0.4.1"
dependencies:
- "@changesets/types": "npm:^6.0.0"
+ "@changesets/types": "npm:^6.1.0"
js-yaml: "npm:^3.13.1"
- checksum: 10c0/8e76f8540aceb2263eb76c97f027c1990fc069bf275321ad0aabf843cb51bc6711b13118eda35c701a30a36d26f48e75f7afc14e9a5c863f8a98091021fd5d61
+ checksum: 10c0/8caf73b48addb1add246f0287f0dcbd47ca0444b33f251b6208dad36de9c21d2654f0ae0527e5bf14b075be23144b59f48a36e2d87850fb7c004050f07461fdc
languageName: node
linkType: hard
-"@changesets/pre@npm:^2.0.1":
- version: 2.0.1
- resolution: "@changesets/pre@npm:2.0.1"
+"@changesets/pre@npm:^2.0.2":
+ version: 2.0.2
+ resolution: "@changesets/pre@npm:2.0.2"
dependencies:
"@changesets/errors": "npm:^0.2.0"
- "@changesets/types": "npm:^6.0.0"
+ "@changesets/types": "npm:^6.1.0"
"@manypkg/get-packages": "npm:^1.1.3"
fs-extra: "npm:^7.0.1"
- checksum: 10c0/aacd4a71cab8a511702903bee50434188f300503a1207a08b89d09dc575981c28af77b7357a610504ce48d101e67308fc6ed4427ac2a61d162de4d01a2a0f695
+ checksum: 10c0/0af9396d84c47a88d79b757e9db4e3579b6620260f92c243b8349e7fcefca3c2652583f6d215c13115bed5d5cdc30c975f307fd6acbb89d205b1ba2ae403b918
languageName: node
linkType: hard
-"@changesets/read@npm:^0.6.2":
- version: 0.6.2
- resolution: "@changesets/read@npm:0.6.2"
+"@changesets/read@npm:^0.6.3":
+ version: 0.6.3
+ resolution: "@changesets/read@npm:0.6.3"
dependencies:
"@changesets/git": "npm:^3.0.2"
"@changesets/logger": "npm:^0.1.1"
- "@changesets/parse": "npm:^0.4.0"
- "@changesets/types": "npm:^6.0.0"
+ "@changesets/parse": "npm:^0.4.1"
+ "@changesets/types": "npm:^6.1.0"
fs-extra: "npm:^7.0.1"
p-filter: "npm:^2.1.0"
picocolors: "npm:^1.1.0"
- checksum: 10c0/a63efb4605c56ac216734fa5749f4f4ed9f8ab0ec2cbef96530b99c244ab84b2a47514d34f8f656e517237b65a456dd274e599b9c745f351719baeb503d0d6c3
+ checksum: 10c0/4c2eac60aab0a6b14ad5a2ed2f57427019fe567dd6d2c6e122bd3cbf7f69903dcec6c864a67c39544ed011369223c838e498212303404a7f884428f4366f10da
languageName: node
linkType: hard
-"@changesets/should-skip-package@npm:^0.1.1":
- version: 0.1.1
- resolution: "@changesets/should-skip-package@npm:0.1.1"
+"@changesets/should-skip-package@npm:^0.1.2":
+ version: 0.1.2
+ resolution: "@changesets/should-skip-package@npm:0.1.2"
dependencies:
- "@changesets/types": "npm:^6.0.0"
+ "@changesets/types": "npm:^6.1.0"
"@manypkg/get-packages": "npm:^1.1.3"
- checksum: 10c0/4fb0a17538492db15733a9514560ff1d4dfbd94882a349495a6585eb675f9414aa74020aa886f1f72542ca70d5d96a842db2f52b08fcb571705b1d9ed3632e57
+ checksum: 10c0/484e339e7d6e6950e12bff4eda6e8eccb077c0fbb1f09dd95d2ae948b715226a838c71eaf50cd2d7e0e631ce3bfb1ca93ac752436e6feae5b87aece2e917b440
languageName: node
linkType: hard
@@ -1131,28 +1099,28 @@ __metadata:
languageName: node
linkType: hard
-"@changesets/types@npm:^6.0.0":
- version: 6.0.0
- resolution: "@changesets/types@npm:6.0.0"
- checksum: 10c0/e755f208792547e3b9ece15ce4da22466267da810c6fd87d927a1b8cec4d7fb7f0eea0d1a7585747676238e3e4ba1ffdabe016ccb05cfa537b4e4b03ec399f41
+"@changesets/types@npm:^6.1.0":
+ version: 6.1.0
+ resolution: "@changesets/types@npm:6.1.0"
+ checksum: 10c0/b4cea3a4465d1eaf0bbd7be1e404aca5a055a61d4cc72aadcb73bbbda1670b4022736b8d3052616cbf1f451afa0637545d077697f4b923236539af9cd5abce6c
languageName: node
linkType: hard
-"@changesets/write@npm:^0.3.2":
- version: 0.3.2
- resolution: "@changesets/write@npm:0.3.2"
+"@changesets/write@npm:^0.4.0":
+ version: 0.4.0
+ resolution: "@changesets/write@npm:0.4.0"
dependencies:
- "@changesets/types": "npm:^6.0.0"
+ "@changesets/types": "npm:^6.1.0"
fs-extra: "npm:^7.0.1"
- human-id: "npm:^1.0.2"
+ human-id: "npm:^4.1.1"
prettier: "npm:^2.7.1"
- checksum: 10c0/1e00af0a82a780f74e03359d672690b35b6c788891e515a37488fca756109471f0d2da4904185b758a38d26e5cc2f426de4a2201ca3b6e26cf03ab747773690f
+ checksum: 10c0/311f4d0e536d1b5f2d3f9053537d62b2d4cdbd51e1d2767807ac9d1e0f380367f915d2ad370e5c73902d5a54bffd282d53fff5418c8ad31df51751d652bea826
languageName: node
linkType: hard
"@chromatic-com/storybook@npm:^3.2.3":
- version: 3.2.3
- resolution: "@chromatic-com/storybook@npm:3.2.3"
+ version: 3.2.4
+ resolution: "@chromatic-com/storybook@npm:3.2.4"
dependencies:
chromatic: "npm:^11.15.0"
filesize: "npm:^10.0.12"
@@ -1161,16 +1129,16 @@ __metadata:
strip-ansi: "npm:^7.1.0"
peerDependencies:
storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0
- checksum: 10c0/23c59b7d225347d4af8cb6a7596da3417dc3abc2d5036c4ef5cee2852b994a16b5996a1bd1a584bb56e97266d85ce9ae7daeeac296b3060d6b80b14cad10d9d1
+ checksum: 10c0/57d466644d859ca58a853cc8316d3b0a64c617216ccf30d743c5fbf24c90859271a5708f05253a3b48c9ce64bc12749dd5a5b00fd1310f5d8a2ee64da9ceebe3
languageName: node
linkType: hard
"@commitlint/cli@npm:^19.6.1":
- version: 19.6.1
- resolution: "@commitlint/cli@npm:19.6.1"
+ version: 19.7.1
+ resolution: "@commitlint/cli@npm:19.7.1"
dependencies:
"@commitlint/format": "npm:^19.5.0"
- "@commitlint/lint": "npm:^19.6.0"
+ "@commitlint/lint": "npm:^19.7.1"
"@commitlint/load": "npm:^19.6.1"
"@commitlint/read": "npm:^19.5.0"
"@commitlint/types": "npm:^19.5.0"
@@ -1178,17 +1146,17 @@ __metadata:
yargs: "npm:^17.0.0"
bin:
commitlint: cli.js
- checksum: 10c0/fa7a344292f1d25533b195b061bcae0a80434490fae843ad28593c09668f48e9a74906b69f95d26df4152c56c71ab31a0bc169d333e22c6ca53dc54646a2ff19
+ checksum: 10c0/bb5e4f004f6b16078cdc7e7d6ff1a53762cefc1265af017ccef4ab789d2c562b75fe316ccc1751da6bc1172393f2427926c863298edda2e4d00c8323f2878f5b
languageName: node
linkType: hard
"@commitlint/config-conventional@npm:^19.6.0":
- version: 19.6.0
- resolution: "@commitlint/config-conventional@npm:19.6.0"
+ version: 19.7.1
+ resolution: "@commitlint/config-conventional@npm:19.7.1"
dependencies:
"@commitlint/types": "npm:^19.5.0"
conventional-changelog-conventionalcommits: "npm:^7.0.2"
- checksum: 10c0/984870138f5d4b947bc2ea8d12fcb8103ef9e6141d0fb50a6e387665495b80b35890d9dc025443a243a53d2a69d7c0bab1d77c5658a6e5a15a3dd7773557fad2
+ checksum: 10c0/9de7e5f1e4ac1d995293da12a646936d477c4fc50562de015df26e0b307ebf3fd2632dc8c874ba9d9a81c9540c3189e275fb6fe0b707ae6c9159c013b7dfdb56
languageName: node
linkType: hard
@@ -1233,25 +1201,25 @@ __metadata:
languageName: node
linkType: hard
-"@commitlint/is-ignored@npm:^19.6.0":
- version: 19.6.0
- resolution: "@commitlint/is-ignored@npm:19.6.0"
+"@commitlint/is-ignored@npm:^19.7.1":
+ version: 19.7.1
+ resolution: "@commitlint/is-ignored@npm:19.7.1"
dependencies:
"@commitlint/types": "npm:^19.5.0"
semver: "npm:^7.6.0"
- checksum: 10c0/64e3522598f131aefab72e78f2b0d5d78228041fbe14fd9785611bd5a4ff7dfae38288ff87b171ab2ff722342983387b6e568ab4d758f3c97866eb924252e6c5
+ checksum: 10c0/8c238002c6c7bb0a50cca2dfc001af2cec2926056e090b840e73c25f8d246ac5d8ff862d51a63900a195479869edca7889fc4c7923ffa2bb85a1475f8c469c43
languageName: node
linkType: hard
-"@commitlint/lint@npm:^19.6.0":
- version: 19.6.0
- resolution: "@commitlint/lint@npm:19.6.0"
+"@commitlint/lint@npm:^19.7.1":
+ version: 19.7.1
+ resolution: "@commitlint/lint@npm:19.7.1"
dependencies:
- "@commitlint/is-ignored": "npm:^19.6.0"
+ "@commitlint/is-ignored": "npm:^19.7.1"
"@commitlint/parse": "npm:^19.5.0"
"@commitlint/rules": "npm:^19.6.0"
"@commitlint/types": "npm:^19.5.0"
- checksum: 10c0/d7e3c6a43d89b2196362dce5abef6665869844455176103f311cab7a92f6b7be60edec4f03d27b946a65ee2ceb8ff16f5955cba1da6ecdeb9efe9f215b16f47f
+ checksum: 10c0/578e2a955c5d16e34dade2538966b5a0fed6ba4e81fcfb477ad3a62472467f80d84d0d79ec017aa5e6815ed6c71b246d660d9febb64cabb175e39eee426b2f98
languageName: node
linkType: hard
@@ -1888,21 +1856,21 @@ __metadata:
linkType: hard
"@emnapi/core@npm:^1.1.0":
- version: 1.2.0
- resolution: "@emnapi/core@npm:1.2.0"
+ version: 1.3.1
+ resolution: "@emnapi/core@npm:1.3.1"
dependencies:
"@emnapi/wasi-threads": "npm:1.0.1"
tslib: "npm:^2.4.0"
- checksum: 10c0/a9cf024c1982cd965f6888d1b4514926ad3675fa9d0bd792c9a0770fb592c4c4d20aa1e97a225a7682f9c7900231751434820d5558fd5a00929c2ee976ce5265
+ checksum: 10c0/d3be1044ad704e2c486641bc18908523490f28c7d38bd12d9c1d4ce37d39dae6c4aecd2f2eaf44c6e3bd90eaf04e0591acc440b1b038cdf43cce078a355a0ea0
languageName: node
linkType: hard
"@emnapi/runtime@npm:^1.1.0":
- version: 1.2.0
- resolution: "@emnapi/runtime@npm:1.2.0"
+ version: 1.3.1
+ resolution: "@emnapi/runtime@npm:1.3.1"
dependencies:
tslib: "npm:^2.4.0"
- checksum: 10c0/7005ff8b67724c9e61b6cd79a3decbdb2ce25d24abd4d3d187472f200ee6e573329c30264335125fb136bd813aa9cf9f4f7c9391d04b07dd1e63ce0a3427be57
+ checksum: 10c0/060ffede50f1b619c15083312b80a9e62a5b0c87aa8c1b54854c49766c9d69f8d1d3d87bd963a647071263a320db41b25eaa50b74d6a80dcc763c23dbeaafd6c
languageName: node
linkType: hard
@@ -1922,9 +1890,9 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/aix-ppc64@npm:0.24.0":
- version: 0.24.0
- resolution: "@esbuild/aix-ppc64@npm:0.24.0"
+"@esbuild/aix-ppc64@npm:0.25.0":
+ version: 0.25.0
+ resolution: "@esbuild/aix-ppc64@npm:0.25.0"
conditions: os=aix & cpu=ppc64
languageName: node
linkType: hard
@@ -1936,9 +1904,9 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/android-arm64@npm:0.24.0":
- version: 0.24.0
- resolution: "@esbuild/android-arm64@npm:0.24.0"
+"@esbuild/android-arm64@npm:0.25.0":
+ version: 0.25.0
+ resolution: "@esbuild/android-arm64@npm:0.25.0"
conditions: os=android & cpu=arm64
languageName: node
linkType: hard
@@ -1950,9 +1918,9 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/android-arm@npm:0.24.0":
- version: 0.24.0
- resolution: "@esbuild/android-arm@npm:0.24.0"
+"@esbuild/android-arm@npm:0.25.0":
+ version: 0.25.0
+ resolution: "@esbuild/android-arm@npm:0.25.0"
conditions: os=android & cpu=arm
languageName: node
linkType: hard
@@ -1964,9 +1932,9 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/android-x64@npm:0.24.0":
- version: 0.24.0
- resolution: "@esbuild/android-x64@npm:0.24.0"
+"@esbuild/android-x64@npm:0.25.0":
+ version: 0.25.0
+ resolution: "@esbuild/android-x64@npm:0.25.0"
conditions: os=android & cpu=x64
languageName: node
linkType: hard
@@ -1978,9 +1946,9 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/darwin-arm64@npm:0.24.0":
- version: 0.24.0
- resolution: "@esbuild/darwin-arm64@npm:0.24.0"
+"@esbuild/darwin-arm64@npm:0.25.0":
+ version: 0.25.0
+ resolution: "@esbuild/darwin-arm64@npm:0.25.0"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard
@@ -1992,9 +1960,9 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/darwin-x64@npm:0.24.0":
- version: 0.24.0
- resolution: "@esbuild/darwin-x64@npm:0.24.0"
+"@esbuild/darwin-x64@npm:0.25.0":
+ version: 0.25.0
+ resolution: "@esbuild/darwin-x64@npm:0.25.0"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard
@@ -2006,9 +1974,9 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/freebsd-arm64@npm:0.24.0":
- version: 0.24.0
- resolution: "@esbuild/freebsd-arm64@npm:0.24.0"
+"@esbuild/freebsd-arm64@npm:0.25.0":
+ version: 0.25.0
+ resolution: "@esbuild/freebsd-arm64@npm:0.25.0"
conditions: os=freebsd & cpu=arm64
languageName: node
linkType: hard
@@ -2020,9 +1988,9 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/freebsd-x64@npm:0.24.0":
- version: 0.24.0
- resolution: "@esbuild/freebsd-x64@npm:0.24.0"
+"@esbuild/freebsd-x64@npm:0.25.0":
+ version: 0.25.0
+ resolution: "@esbuild/freebsd-x64@npm:0.25.0"
conditions: os=freebsd & cpu=x64
languageName: node
linkType: hard
@@ -2034,9 +2002,9 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/linux-arm64@npm:0.24.0":
- version: 0.24.0
- resolution: "@esbuild/linux-arm64@npm:0.24.0"
+"@esbuild/linux-arm64@npm:0.25.0":
+ version: 0.25.0
+ resolution: "@esbuild/linux-arm64@npm:0.25.0"
conditions: os=linux & cpu=arm64
languageName: node
linkType: hard
@@ -2048,9 +2016,9 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/linux-arm@npm:0.24.0":
- version: 0.24.0
- resolution: "@esbuild/linux-arm@npm:0.24.0"
+"@esbuild/linux-arm@npm:0.25.0":
+ version: 0.25.0
+ resolution: "@esbuild/linux-arm@npm:0.25.0"
conditions: os=linux & cpu=arm
languageName: node
linkType: hard
@@ -2062,9 +2030,9 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/linux-ia32@npm:0.24.0":
- version: 0.24.0
- resolution: "@esbuild/linux-ia32@npm:0.24.0"
+"@esbuild/linux-ia32@npm:0.25.0":
+ version: 0.25.0
+ resolution: "@esbuild/linux-ia32@npm:0.25.0"
conditions: os=linux & cpu=ia32
languageName: node
linkType: hard
@@ -2076,9 +2044,9 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/linux-loong64@npm:0.24.0":
- version: 0.24.0
- resolution: "@esbuild/linux-loong64@npm:0.24.0"
+"@esbuild/linux-loong64@npm:0.25.0":
+ version: 0.25.0
+ resolution: "@esbuild/linux-loong64@npm:0.25.0"
conditions: os=linux & cpu=loong64
languageName: node
linkType: hard
@@ -2090,9 +2058,9 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/linux-mips64el@npm:0.24.0":
- version: 0.24.0
- resolution: "@esbuild/linux-mips64el@npm:0.24.0"
+"@esbuild/linux-mips64el@npm:0.25.0":
+ version: 0.25.0
+ resolution: "@esbuild/linux-mips64el@npm:0.25.0"
conditions: os=linux & cpu=mips64el
languageName: node
linkType: hard
@@ -2104,9 +2072,9 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/linux-ppc64@npm:0.24.0":
- version: 0.24.0
- resolution: "@esbuild/linux-ppc64@npm:0.24.0"
+"@esbuild/linux-ppc64@npm:0.25.0":
+ version: 0.25.0
+ resolution: "@esbuild/linux-ppc64@npm:0.25.0"
conditions: os=linux & cpu=ppc64
languageName: node
linkType: hard
@@ -2118,9 +2086,9 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/linux-riscv64@npm:0.24.0":
- version: 0.24.0
- resolution: "@esbuild/linux-riscv64@npm:0.24.0"
+"@esbuild/linux-riscv64@npm:0.25.0":
+ version: 0.25.0
+ resolution: "@esbuild/linux-riscv64@npm:0.25.0"
conditions: os=linux & cpu=riscv64
languageName: node
linkType: hard
@@ -2132,9 +2100,9 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/linux-s390x@npm:0.24.0":
- version: 0.24.0
- resolution: "@esbuild/linux-s390x@npm:0.24.0"
+"@esbuild/linux-s390x@npm:0.25.0":
+ version: 0.25.0
+ resolution: "@esbuild/linux-s390x@npm:0.25.0"
conditions: os=linux & cpu=s390x
languageName: node
linkType: hard
@@ -2146,13 +2114,20 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/linux-x64@npm:0.24.0":
- version: 0.24.0
- resolution: "@esbuild/linux-x64@npm:0.24.0"
+"@esbuild/linux-x64@npm:0.25.0":
+ version: 0.25.0
+ resolution: "@esbuild/linux-x64@npm:0.25.0"
conditions: os=linux & cpu=x64
languageName: node
linkType: hard
+"@esbuild/netbsd-arm64@npm:0.25.0":
+ version: 0.25.0
+ resolution: "@esbuild/netbsd-arm64@npm:0.25.0"
+ conditions: os=netbsd & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@esbuild/netbsd-x64@npm:0.21.5":
version: 0.21.5
resolution: "@esbuild/netbsd-x64@npm:0.21.5"
@@ -2160,16 +2135,16 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/netbsd-x64@npm:0.24.0":
- version: 0.24.0
- resolution: "@esbuild/netbsd-x64@npm:0.24.0"
+"@esbuild/netbsd-x64@npm:0.25.0":
+ version: 0.25.0
+ resolution: "@esbuild/netbsd-x64@npm:0.25.0"
conditions: os=netbsd & cpu=x64
languageName: node
linkType: hard
-"@esbuild/openbsd-arm64@npm:0.24.0":
- version: 0.24.0
- resolution: "@esbuild/openbsd-arm64@npm:0.24.0"
+"@esbuild/openbsd-arm64@npm:0.25.0":
+ version: 0.25.0
+ resolution: "@esbuild/openbsd-arm64@npm:0.25.0"
conditions: os=openbsd & cpu=arm64
languageName: node
linkType: hard
@@ -2181,9 +2156,9 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/openbsd-x64@npm:0.24.0":
- version: 0.24.0
- resolution: "@esbuild/openbsd-x64@npm:0.24.0"
+"@esbuild/openbsd-x64@npm:0.25.0":
+ version: 0.25.0
+ resolution: "@esbuild/openbsd-x64@npm:0.25.0"
conditions: os=openbsd & cpu=x64
languageName: node
linkType: hard
@@ -2195,9 +2170,9 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/sunos-x64@npm:0.24.0":
- version: 0.24.0
- resolution: "@esbuild/sunos-x64@npm:0.24.0"
+"@esbuild/sunos-x64@npm:0.25.0":
+ version: 0.25.0
+ resolution: "@esbuild/sunos-x64@npm:0.25.0"
conditions: os=sunos & cpu=x64
languageName: node
linkType: hard
@@ -2209,9 +2184,9 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/win32-arm64@npm:0.24.0":
- version: 0.24.0
- resolution: "@esbuild/win32-arm64@npm:0.24.0"
+"@esbuild/win32-arm64@npm:0.25.0":
+ version: 0.25.0
+ resolution: "@esbuild/win32-arm64@npm:0.25.0"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard
@@ -2223,9 +2198,9 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/win32-ia32@npm:0.24.0":
- version: 0.24.0
- resolution: "@esbuild/win32-ia32@npm:0.24.0"
+"@esbuild/win32-ia32@npm:0.25.0":
+ version: 0.25.0
+ resolution: "@esbuild/win32-ia32@npm:0.25.0"
conditions: os=win32 & cpu=ia32
languageName: node
linkType: hard
@@ -2237,28 +2212,28 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/win32-x64@npm:0.24.0":
- version: 0.24.0
- resolution: "@esbuild/win32-x64@npm:0.24.0"
+"@esbuild/win32-x64@npm:0.25.0":
+ version: 0.25.0
+ resolution: "@esbuild/win32-x64@npm:0.25.0"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
"@eslint-community/eslint-utils@npm:^4.2.0":
- version: 4.4.0
- resolution: "@eslint-community/eslint-utils@npm:4.4.0"
+ version: 4.4.1
+ resolution: "@eslint-community/eslint-utils@npm:4.4.1"
dependencies:
- eslint-visitor-keys: "npm:^3.3.0"
+ eslint-visitor-keys: "npm:^3.4.3"
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || >=8.0.0
- checksum: 10c0/7e559c4ce59cd3a06b1b5a517b593912e680a7f981ae7affab0d01d709e99cd5647019be8fafa38c350305bc32f1f7d42c7073edde2ab536c745e365f37b607e
+ checksum: 10c0/2aa0ac2fc50ff3f234408b10900ed4f1a0b19352f21346ad4cc3d83a1271481bdda11097baa45d484dd564c895e0762a27a8240be7a256b3ad47129e96528252
languageName: node
linkType: hard
"@eslint-community/regexpp@npm:^4.6.1":
- version: 4.11.0
- resolution: "@eslint-community/regexpp@npm:4.11.0"
- checksum: 10c0/0f6328869b2741e2794da4ad80beac55cba7de2d3b44f796a60955b0586212ec75e6b0253291fd4aad2100ad471d1480d8895f2b54f1605439ba4c875e05e523
+ version: 4.12.1
+ resolution: "@eslint-community/regexpp@npm:4.12.1"
+ checksum: 10c0/a03d98c246bcb9109aec2c08e4d10c8d010256538dcb3f56610191607214523d4fb1b00aa81df830b6dffb74c5fa0be03642513a289c567949d3e550ca11cdf6
languageName: node
linkType: hard
@@ -2279,10 +2254,10 @@ __metadata:
languageName: node
linkType: hard
-"@eslint/js@npm:8.57.0":
- version: 8.57.0
- resolution: "@eslint/js@npm:8.57.0"
- checksum: 10c0/9a518bb8625ba3350613903a6d8c622352ab0c6557a59fe6ff6178bf882bf57123f9d92aa826ee8ac3ee74b9c6203fe630e9ee00efb03d753962dcf65ee4bd94
+"@eslint/js@npm:8.57.1":
+ version: 8.57.1
+ resolution: "@eslint/js@npm:8.57.1"
+ checksum: 10c0/b489c474a3b5b54381c62e82b3f7f65f4b8a5eaaed126546520bf2fede5532a8ed53212919fed1e9048dcf7f37167c8561d58d0ba4492a4244004e7793805223
languageName: node
linkType: hard
@@ -2339,14 +2314,14 @@ __metadata:
languageName: node
linkType: hard
-"@humanwhocodes/config-array@npm:^0.11.14":
- version: 0.11.14
- resolution: "@humanwhocodes/config-array@npm:0.11.14"
+"@humanwhocodes/config-array@npm:^0.13.0":
+ version: 0.13.0
+ resolution: "@humanwhocodes/config-array@npm:0.13.0"
dependencies:
- "@humanwhocodes/object-schema": "npm:^2.0.2"
+ "@humanwhocodes/object-schema": "npm:^2.0.3"
debug: "npm:^4.3.1"
minimatch: "npm:^3.0.5"
- checksum: 10c0/66f725b4ee5fdd8322c737cb5013e19fac72d4d69c8bf4b7feb192fcb83442b035b92186f8e9497c220e58b2d51a080f28a73f7899bc1ab288c3be172c467541
+ checksum: 10c0/205c99e756b759f92e1f44a3dc6292b37db199beacba8f26c2165d4051fe73a4ae52fdcfd08ffa93e7e5cb63da7c88648f0e84e197d154bbbbe137b2e0dd332e
languageName: node
linkType: hard
@@ -2357,80 +2332,103 @@ __metadata:
languageName: node
linkType: hard
-"@humanwhocodes/object-schema@npm:^2.0.2":
+"@humanwhocodes/object-schema@npm:^2.0.3":
version: 2.0.3
resolution: "@humanwhocodes/object-schema@npm:2.0.3"
checksum: 10c0/80520eabbfc2d32fe195a93557cef50dfe8c8905de447f022675aaf66abc33ae54098f5ea78548d925aa671cd4ab7c7daa5ad704fe42358c9b5e7db60f80696c
languageName: node
linkType: hard
-"@inquirer/checkbox@npm:^4.0.6":
- version: 4.0.6
- resolution: "@inquirer/checkbox@npm:4.0.6"
+"@inquirer/checkbox@npm:^4.1.2":
+ version: 4.1.2
+ resolution: "@inquirer/checkbox@npm:4.1.2"
dependencies:
- "@inquirer/core": "npm:^10.1.4"
- "@inquirer/figures": "npm:^1.0.9"
- "@inquirer/type": "npm:^3.0.2"
+ "@inquirer/core": "npm:^10.1.7"
+ "@inquirer/figures": "npm:^1.0.10"
+ "@inquirer/type": "npm:^3.0.4"
ansi-escapes: "npm:^4.3.2"
yoctocolors-cjs: "npm:^2.1.2"
peerDependencies:
"@types/node": ">=18"
- checksum: 10c0/919e3c5d652f1ccd9d5e8e9678e63981a968ba4a0dffe9d9409d94a1951b398218f7dfb05e57aefcb3c3c1d61ac2333160e370b0ff4632ada7a92ebe07a2ca72
+ peerDependenciesMeta:
+ "@types/node":
+ optional: true
+ checksum: 10c0/5edd83063cf6f828ca2400561c857f1869382d431d584b009d3cd04a5f12fb1a4887fe4c9bd4c93f7f68e07a75e00aabdf85c58f2964eff356ac55dd52d01cee
languageName: node
linkType: hard
-"@inquirer/confirm@npm:^5.1.3":
- version: 5.1.3
- resolution: "@inquirer/confirm@npm:5.1.3"
+"@inquirer/confirm@npm:^5.1.6":
+ version: 5.1.6
+ resolution: "@inquirer/confirm@npm:5.1.6"
dependencies:
- "@inquirer/core": "npm:^10.1.4"
- "@inquirer/type": "npm:^3.0.2"
+ "@inquirer/core": "npm:^10.1.7"
+ "@inquirer/type": "npm:^3.0.4"
peerDependencies:
"@types/node": ">=18"
- checksum: 10c0/ddbca429ebb3a8bf1d10928f4ab0c8eedbf3f74f85ed64c6b26a830f0fbbab5fa964b9ef2eb2c57a10b9afc9ca3921a12e4659f5a83069078cd1a7ce3d0d126d
+ peerDependenciesMeta:
+ "@types/node":
+ optional: true
+ checksum: 10c0/57b667f8096ec261504b613656e7b7718a238a73e059870a2b8e97c3127bc50085251100ed371250733b7cc5cd68122d8694d6a04a46de95d08bb590a8437b11
languageName: node
linkType: hard
-"@inquirer/core@npm:^10.1.4":
- version: 10.1.4
- resolution: "@inquirer/core@npm:10.1.4"
+"@inquirer/core@npm:^10.1.7":
+ version: 10.1.7
+ resolution: "@inquirer/core@npm:10.1.7"
dependencies:
- "@inquirer/figures": "npm:^1.0.9"
- "@inquirer/type": "npm:^3.0.2"
+ "@inquirer/figures": "npm:^1.0.10"
+ "@inquirer/type": "npm:^3.0.4"
ansi-escapes: "npm:^4.3.2"
cli-width: "npm:^4.1.0"
mute-stream: "npm:^2.0.0"
signal-exit: "npm:^4.1.0"
- strip-ansi: "npm:^6.0.1"
wrap-ansi: "npm:^6.2.0"
yoctocolors-cjs: "npm:^2.1.2"
- checksum: 10c0/4e6c51713c79a0b22381a08a2d11c37f2d696597d01bdecd7b3482889e53e4ac279c55d663a365798ad52becc37052b571bc3ec85ee8a10054c681d9248b88d3
+ peerDependencies:
+ "@types/node": ">=18"
+ peerDependenciesMeta:
+ "@types/node":
+ optional: true
+ checksum: 10c0/13c25ced3e66b0ef9018fc9cc1bb841d20d56917e2609514f80df91f2395f18d9851c91987064e15afa36a6161b6bd2daee6ebef4a1791ffb12b816d4273ca55
languageName: node
linkType: hard
-"@inquirer/editor@npm:^4.2.3":
- version: 4.2.3
- resolution: "@inquirer/editor@npm:4.2.3"
+"@inquirer/editor@npm:^4.2.7":
+ version: 4.2.7
+ resolution: "@inquirer/editor@npm:4.2.7"
dependencies:
- "@inquirer/core": "npm:^10.1.4"
- "@inquirer/type": "npm:^3.0.2"
+ "@inquirer/core": "npm:^10.1.7"
+ "@inquirer/type": "npm:^3.0.4"
external-editor: "npm:^3.1.0"
peerDependencies:
"@types/node": ">=18"
- checksum: 10c0/0194a660b33e38781c35a6ab531f76beca998e5e30ebc90bb94e2140fd943e0dfcff4f9c650f4f79f74df7dac04c82db254ff8c2d9ef0b55c491523f859a8c2b
+ peerDependenciesMeta:
+ "@types/node":
+ optional: true
+ checksum: 10c0/8570bd5992dab031b7eea498941a728fbbada04072ce64192c46987a6d6e91669f9dd846049b5c49e87de01efd292fb2137606aafd7eee33e047864b2989d87f
languageName: node
linkType: hard
-"@inquirer/expand@npm:^4.0.6":
- version: 4.0.6
- resolution: "@inquirer/expand@npm:4.0.6"
+"@inquirer/expand@npm:^4.0.9":
+ version: 4.0.9
+ resolution: "@inquirer/expand@npm:4.0.9"
dependencies:
- "@inquirer/core": "npm:^10.1.4"
- "@inquirer/type": "npm:^3.0.2"
+ "@inquirer/core": "npm:^10.1.7"
+ "@inquirer/type": "npm:^3.0.4"
yoctocolors-cjs: "npm:^2.1.2"
peerDependencies:
"@types/node": ">=18"
- checksum: 10c0/2a4990744edf17528c5cf894b9a7a04f202740fb9e2123fb8ced1e623f5bf9716976b037e1b23e88cfce826a85b6052d49784ac2294644e353767b51a0a2f877
+ peerDependenciesMeta:
+ "@types/node":
+ optional: true
+ checksum: 10c0/4267c404f0c053abc613bcf359e80d701043062e79c4f34857e612955826a133eaa83014084f8f3e371e5f2e0706674069c399301902691e54da86e442cf8ea9
+ languageName: node
+ linkType: hard
+
+"@inquirer/figures@npm:^1.0.10":
+ version: 1.0.10
+ resolution: "@inquirer/figures@npm:1.0.10"
+ checksum: 10c0/013b0eef03706d5ff8847c1ab1a12643edfb3d1902a5353bfe626999bc3b46653f8317d011a9dd4e831d3f2bfef3da84104a1fda4db0de0f4938122f5c70362e
languageName: node
linkType: hard
@@ -2441,118 +2439,135 @@ __metadata:
languageName: node
linkType: hard
-"@inquirer/figures@npm:^1.0.9":
- version: 1.0.9
- resolution: "@inquirer/figures@npm:1.0.9"
- checksum: 10c0/21e1a7c902b2b77f126617b501e0fe0d703fae680a9df472afdae18a3e079756aee85690cef595a14e91d18630118f4a3893aab6832b9232fefc6ab31c804a68
- languageName: node
- linkType: hard
-
-"@inquirer/input@npm:^4.1.3":
- version: 4.1.3
- resolution: "@inquirer/input@npm:4.1.3"
+"@inquirer/input@npm:^4.1.6":
+ version: 4.1.6
+ resolution: "@inquirer/input@npm:4.1.6"
dependencies:
- "@inquirer/core": "npm:^10.1.4"
- "@inquirer/type": "npm:^3.0.2"
+ "@inquirer/core": "npm:^10.1.7"
+ "@inquirer/type": "npm:^3.0.4"
peerDependencies:
"@types/node": ">=18"
- checksum: 10c0/251468b9596fcbff286d0817da7408f2a78230c1f84de23361e6362a8a91e5bf4c42c04f4971a8fe751eb0afc4ab1cef0d3766742fd4e693b4b0cbcc72aa8d97
+ peerDependenciesMeta:
+ "@types/node":
+ optional: true
+ checksum: 10c0/b1df056e4855e2617f0c4000a09978902b8c65ec757ecfb59b1ac02c303dedc6c5e2fd677ceeabe02d18b97be2011bcbcd20ac9ed55d7c3371ef3e2a00814740
languageName: node
linkType: hard
-"@inquirer/number@npm:^3.0.6":
- version: 3.0.6
- resolution: "@inquirer/number@npm:3.0.6"
+"@inquirer/number@npm:^3.0.9":
+ version: 3.0.9
+ resolution: "@inquirer/number@npm:3.0.9"
dependencies:
- "@inquirer/core": "npm:^10.1.4"
- "@inquirer/type": "npm:^3.0.2"
+ "@inquirer/core": "npm:^10.1.7"
+ "@inquirer/type": "npm:^3.0.4"
peerDependencies:
"@types/node": ">=18"
- checksum: 10c0/26c030735bdc94053dfca50db1e75c7e325b8dcc009f3f9e6f572d89b67d7b23cfb3920ed2fa6fa34c312b5ebb6b86ba5b4e77c277ce463720eba45052c0d253
+ peerDependenciesMeta:
+ "@types/node":
+ optional: true
+ checksum: 10c0/5569d570fa539263324d3651f8fc3fe451e4a5d8d7799b8576abb3246eefbabc15a48ff4f2ef3353238aa42c01815cd761b5a148a236943b73e03e969a4a7ac7
languageName: node
linkType: hard
-"@inquirer/password@npm:^4.0.6":
- version: 4.0.6
- resolution: "@inquirer/password@npm:4.0.6"
+"@inquirer/password@npm:^4.0.9":
+ version: 4.0.9
+ resolution: "@inquirer/password@npm:4.0.9"
dependencies:
- "@inquirer/core": "npm:^10.1.4"
- "@inquirer/type": "npm:^3.0.2"
+ "@inquirer/core": "npm:^10.1.7"
+ "@inquirer/type": "npm:^3.0.4"
ansi-escapes: "npm:^4.3.2"
peerDependencies:
"@types/node": ">=18"
- checksum: 10c0/c36f675d350c38156efe255d9b3a052271faff2bfcebf626f5f02092e9110ef8f87a6985e96dd0c2351fa79723d0847bacaa86ae10c1d24526434de96af5503e
+ peerDependenciesMeta:
+ "@types/node":
+ optional: true
+ checksum: 10c0/7e2a7bc48715d933f8826112a41237905ce3ce7839b286a7d68079cda351db17c6e868727902061588f5baa75dd203e66ba1f265646bfe440da572d17d5c21eb
languageName: node
linkType: hard
-"@inquirer/prompts@npm:^7.2.3":
- version: 7.2.3
- resolution: "@inquirer/prompts@npm:7.2.3"
- dependencies:
- "@inquirer/checkbox": "npm:^4.0.6"
- "@inquirer/confirm": "npm:^5.1.3"
- "@inquirer/editor": "npm:^4.2.3"
- "@inquirer/expand": "npm:^4.0.6"
- "@inquirer/input": "npm:^4.1.3"
- "@inquirer/number": "npm:^3.0.6"
- "@inquirer/password": "npm:^4.0.6"
- "@inquirer/rawlist": "npm:^4.0.6"
- "@inquirer/search": "npm:^3.0.6"
- "@inquirer/select": "npm:^4.0.6"
+"@inquirer/prompts@npm:^7.3.2":
+ version: 7.3.2
+ resolution: "@inquirer/prompts@npm:7.3.2"
+ dependencies:
+ "@inquirer/checkbox": "npm:^4.1.2"
+ "@inquirer/confirm": "npm:^5.1.6"
+ "@inquirer/editor": "npm:^4.2.7"
+ "@inquirer/expand": "npm:^4.0.9"
+ "@inquirer/input": "npm:^4.1.6"
+ "@inquirer/number": "npm:^3.0.9"
+ "@inquirer/password": "npm:^4.0.9"
+ "@inquirer/rawlist": "npm:^4.0.9"
+ "@inquirer/search": "npm:^3.0.9"
+ "@inquirer/select": "npm:^4.0.9"
peerDependencies:
"@types/node": ">=18"
- checksum: 10c0/52c2e1fd8a4e98bc5fd6a79acf9c7d7e1ecc534013d7c018412a6ed34d15be69a2d10791b539740fed8e538485e359e1cacbec98ca3d04e24c5e9fa9480d7bc6
+ peerDependenciesMeta:
+ "@types/node":
+ optional: true
+ checksum: 10c0/a318d7c2a963f753f4868151f2ce5673e214f3a6597430e712bc59ef9605c831b71a6b52a9c5ea2f312b23063d2ee9fd633e127cdc9e4999e95ef15a5e90c7e1
languageName: node
linkType: hard
-"@inquirer/rawlist@npm:^4.0.6":
- version: 4.0.6
- resolution: "@inquirer/rawlist@npm:4.0.6"
+"@inquirer/rawlist@npm:^4.0.9":
+ version: 4.0.9
+ resolution: "@inquirer/rawlist@npm:4.0.9"
dependencies:
- "@inquirer/core": "npm:^10.1.4"
- "@inquirer/type": "npm:^3.0.2"
+ "@inquirer/core": "npm:^10.1.7"
+ "@inquirer/type": "npm:^3.0.4"
yoctocolors-cjs: "npm:^2.1.2"
peerDependencies:
"@types/node": ">=18"
- checksum: 10c0/c79f0ddd5cf7eae8db27a7080e277c32809d7bd58619f470d8b1598d1aff36f6aac276535ef35801a1dae97bb3763fd248e1067800e6eccd49276206d6cdb945
+ peerDependenciesMeta:
+ "@types/node":
+ optional: true
+ checksum: 10c0/6639a662a88f2ceb44b43d7303c24b49570becfa296db11902d69a76e11e3ba865f546502a9808c1e04a1a9ab387401ec6c801a34f2b6d95091e7ad1eb185c1a
languageName: node
linkType: hard
-"@inquirer/search@npm:^3.0.6":
- version: 3.0.6
- resolution: "@inquirer/search@npm:3.0.6"
+"@inquirer/search@npm:^3.0.9":
+ version: 3.0.9
+ resolution: "@inquirer/search@npm:3.0.9"
dependencies:
- "@inquirer/core": "npm:^10.1.4"
- "@inquirer/figures": "npm:^1.0.9"
- "@inquirer/type": "npm:^3.0.2"
+ "@inquirer/core": "npm:^10.1.7"
+ "@inquirer/figures": "npm:^1.0.10"
+ "@inquirer/type": "npm:^3.0.4"
yoctocolors-cjs: "npm:^2.1.2"
peerDependencies:
"@types/node": ">=18"
- checksum: 10c0/27afe9105b9fd26b5985847f75c82f59156158b6366e35896764cd08ee7bb76e3d9c7110c6ed50ab4d7e13466ea3f0e60492a644e0eb6a0d8c30701b07221ad9
+ peerDependenciesMeta:
+ "@types/node":
+ optional: true
+ checksum: 10c0/5d1c1865705a79054b35b5767df21dd5e3215eccfc5a2e4c5b9a962875ae71c32541da124426f380c4264f87265f9b32f2df6562a47b77ba32b88658076178a1
languageName: node
linkType: hard
-"@inquirer/select@npm:^4.0.6":
- version: 4.0.6
- resolution: "@inquirer/select@npm:4.0.6"
+"@inquirer/select@npm:^4.0.9":
+ version: 4.0.9
+ resolution: "@inquirer/select@npm:4.0.9"
dependencies:
- "@inquirer/core": "npm:^10.1.4"
- "@inquirer/figures": "npm:^1.0.9"
- "@inquirer/type": "npm:^3.0.2"
+ "@inquirer/core": "npm:^10.1.7"
+ "@inquirer/figures": "npm:^1.0.10"
+ "@inquirer/type": "npm:^3.0.4"
ansi-escapes: "npm:^4.3.2"
yoctocolors-cjs: "npm:^2.1.2"
peerDependencies:
"@types/node": ">=18"
- checksum: 10c0/5346007a5f62ff88f36c219b625d6031ba12fea6849b38aab1d3ed1219387004bf1c3a44aeec47a3988c9aeb1934a8a06509fe9e00f39135fa22113a01e1cc37
+ peerDependenciesMeta:
+ "@types/node":
+ optional: true
+ checksum: 10c0/e03e00a7e0ab1e9fd95a3cbed0eeadacc3ff89af53afd81209a17c5f991b69d9c10d031dc7b5773c4c4d88b527dfd2f560e0d7f3eb44444ebeb6293edf422adb
languageName: node
linkType: hard
-"@inquirer/type@npm:^3.0.2":
- version: 3.0.2
- resolution: "@inquirer/type@npm:3.0.2"
+"@inquirer/type@npm:^3.0.4":
+ version: 3.0.4
+ resolution: "@inquirer/type@npm:3.0.4"
peerDependencies:
"@types/node": ">=18"
- checksum: 10c0/fe348db2977fff92cad0ade05b36ec40714326fccd4a174be31663f8923729b4276f1736d892a449627d7fb03235ff44e8aac5aa72b09036d993593b813ef313
+ peerDependenciesMeta:
+ "@types/node":
+ optional: true
+ checksum: 10c0/d1db1833e879646ce1f31daff372e90ee099457cf7a2c09a62e8bbce47aced5f22599ef51aa8b82b5ffaeb624340c263cdd9d7a9eae8d3dfc9740efad080915e
languageName: node
linkType: hard
@@ -2839,13 +2854,13 @@ __metadata:
linkType: hard
"@jridgewell/gen-mapping@npm:^0.3.5":
- version: 0.3.5
- resolution: "@jridgewell/gen-mapping@npm:0.3.5"
+ version: 0.3.8
+ resolution: "@jridgewell/gen-mapping@npm:0.3.8"
dependencies:
"@jridgewell/set-array": "npm:^1.2.1"
"@jridgewell/sourcemap-codec": "npm:^1.4.10"
"@jridgewell/trace-mapping": "npm:^0.3.24"
- checksum: 10c0/1be4fd4a6b0f41337c4f5fdf4afc3bd19e39c3691924817108b82ffcb9c9e609c273f936932b9fba4b3a298ce2eb06d9bff4eb1cc3bd81c4f4ee1b4917e25feb
+ checksum: 10c0/c668feaf86c501d7c804904a61c23c67447b2137b813b9ce03eca82cb9d65ac7006d766c218685d76e3d72828279b6ee26c347aa1119dab23fbaf36aed51585a
languageName: node
linkType: hard
@@ -2863,7 +2878,7 @@ __metadata:
languageName: node
linkType: hard
-"@jridgewell/sourcemap-codec@npm:^1.4.10, @jridgewell/sourcemap-codec@npm:^1.4.14, @jridgewell/sourcemap-codec@npm:^1.4.15":
+"@jridgewell/sourcemap-codec@npm:^1.4.10, @jridgewell/sourcemap-codec@npm:^1.4.14, @jridgewell/sourcemap-codec@npm:^1.5.0":
version: 1.5.0
resolution: "@jridgewell/sourcemap-codec@npm:1.5.0"
checksum: 10c0/2eb864f276eb1096c3c11da3e9bb518f6d9fc0023c78344cdc037abadc725172c70314bdb360f2d4b7bffec7f5d657ce006816bc5d4ecb35e61b66132db00c18
@@ -2907,9 +2922,9 @@ __metadata:
linkType: hard
"@lit-labs/ssr-dom-shim@npm:^1.0.0, @lit-labs/ssr-dom-shim@npm:^1.1.0, @lit-labs/ssr-dom-shim@npm:^1.2.0":
- version: 1.2.0
- resolution: "@lit-labs/ssr-dom-shim@npm:1.2.0"
- checksum: 10c0/016168cf6901ab343462c13fb168dda6d549f8b42680aa394e6b7cd0af7cce51271e00dbfa5bbbe388912bf89cbb8f941a21cc3ec9bf95d6a84b6241aa9e5a72
+ version: 1.3.0
+ resolution: "@lit-labs/ssr-dom-shim@npm:1.3.0"
+ checksum: 10c0/743a9b295ef2f186712f08883da553c9990be291409615309c99aa4946cfe440a184e4213c790c24505c80beb86b9cfecf10b5fb30ce17c83698f8424f48678d
languageName: node
linkType: hard
@@ -2967,8 +2982,8 @@ __metadata:
linkType: hard
"@mapbox/node-pre-gyp@npm:^2.0.0-rc.0":
- version: 2.0.0-rc.0
- resolution: "@mapbox/node-pre-gyp@npm:2.0.0-rc.0"
+ version: 2.0.0
+ resolution: "@mapbox/node-pre-gyp@npm:2.0.0"
dependencies:
consola: "npm:^3.2.3"
detect-libc: "npm:^2.0.0"
@@ -2979,19 +2994,19 @@ __metadata:
tar: "npm:^7.4.0"
bin:
node-pre-gyp: bin/node-pre-gyp
- checksum: 10c0/1e2d780758adc5ca75137416880e49c91194ee7d7d242a531c81aec9e27b85968e54ebea60b0bfe563987b936368113fe470d5deabc39225be64740b0dde5546
+ checksum: 10c0/7d874c7f6f5560a87be7207f28d9a4e53b750085a82167608fd573aab8073645e95b3608f69e244df0e1d24e90a66525aeae708aba82ca73ff668ed0ab6abda6
languageName: node
linkType: hard
"@mdx-js/react@npm:^3.0.0":
- version: 3.0.1
- resolution: "@mdx-js/react@npm:3.0.1"
+ version: 3.1.0
+ resolution: "@mdx-js/react@npm:3.1.0"
dependencies:
"@types/mdx": "npm:^2.0.0"
peerDependencies:
"@types/react": ">=16"
react: ">=16"
- checksum: 10c0/d210d926ef488d39ad65f04d821936b668eadcdde3b6421e94ec4200ca7ad17f17d24c5cbc543882586af9f08b10e2eea715c728ce6277487945e05c5199f532
+ checksum: 10c0/381ed1211ba2b8491bf0ad9ef0d8d1badcdd114e1931d55d44019d4b827cc2752586708f9c7d2f9c3244150ed81f1f671a6ca95fae0edd5797fb47a22e06ceca
languageName: node
linkType: hard
@@ -3078,9 +3093,9 @@ __metadata:
linkType: hard
"@npmcli/redact@npm:^3.0.0":
- version: 3.0.0
- resolution: "@npmcli/redact@npm:3.0.0"
- checksum: 10c0/34823f0d6a3301b310921b9f849f3c9814339bb9cde9555ddd1d51167c51e8b08ca40160eeb86b54041779805502e51251e0fbe0702fb7ab10173901e5d1d28c
+ version: 3.1.1
+ resolution: "@npmcli/redact@npm:3.1.1"
+ checksum: 10c0/0653d1acbad34c78a372ac581429c3a257849bc761322cad088a202dc6639f5a61912cae0a678e2f53fdf5a4b6e9353cc2d528155d3cad2c7d5e89486aed081c
languageName: node
linkType: hard
@@ -3284,13 +3299,13 @@ __metadata:
languageName: node
linkType: hard
-"@octokit/endpoint@npm:^9.0.1":
- version: 9.0.5
- resolution: "@octokit/endpoint@npm:9.0.5"
+"@octokit/endpoint@npm:^9.0.6":
+ version: 9.0.6
+ resolution: "@octokit/endpoint@npm:9.0.6"
dependencies:
"@octokit/types": "npm:^13.1.0"
universal-user-agent: "npm:^6.0.0"
- checksum: 10c0/e9bbb2111abe691c146075abb1b6f724a9b77fa8bfefdaaa82b8ebad6c8790e949f2367bb0b79800fef93ad72807513333e83e8ffba389bc85215535f63534d9
+ checksum: 10c0/8e06197b21869aeb498e0315093ca6fbee12bd1bdcfc1667fcd7d79d827d84f2c5a30702ffd28bba7879780e367d14c30df5b20d47fcaed5de5fdc05f5d4e013
languageName: node
linkType: hard
@@ -3306,13 +3321,13 @@ __metadata:
linkType: hard
"@octokit/graphql@npm:^7.1.0":
- version: 7.1.0
- resolution: "@octokit/graphql@npm:7.1.0"
+ version: 7.1.1
+ resolution: "@octokit/graphql@npm:7.1.1"
dependencies:
- "@octokit/request": "npm:^8.3.0"
+ "@octokit/request": "npm:^8.4.1"
"@octokit/types": "npm:^13.0.0"
universal-user-agent: "npm:^6.0.0"
- checksum: 10c0/6d50a013d151f416fc837644e394e8b8872da7b17b181da119842ca569b0971e4dfacda55af6c329b51614e436945415dd5bd75eb3652055fdb754bbcd20d9d1
+ checksum: 10c0/c27216200f3f4ce7ce2a694fb7ea43f8ea4a807fbee3a423c41ed137dd7948dfc0bbf6ea1656f029a7625c84b583acdef740a7032266d0eff55305c91c3a1ed6
languageName: node
linkType: hard
@@ -3330,10 +3345,10 @@ __metadata:
languageName: node
linkType: hard
-"@octokit/openapi-types@npm:^22.2.0":
- version: 22.2.0
- resolution: "@octokit/openapi-types@npm:22.2.0"
- checksum: 10c0/a45bfc735611e836df0729f5922bbd5811d401052b972d1e3bc1278a2d2403e00f4552ce9d1f2793f77f167d212da559c5cb9f1b02c935114ad6d898779546ee
+"@octokit/openapi-types@npm:^23.0.1":
+ version: 23.0.1
+ resolution: "@octokit/openapi-types@npm:23.0.1"
+ checksum: 10c0/ab734ceb26343d9f051a59503b8cb5bdc7fec9ca044b60511b227179bec73141dd9144a6b2d68bcd737741881b136c1b7d5392da89ae2e35e39acc489e5eb4c1
languageName: node
linkType: hard
@@ -3349,13 +3364,13 @@ __metadata:
linkType: hard
"@octokit/plugin-paginate-rest@npm:^9.0.0":
- version: 9.2.1
- resolution: "@octokit/plugin-paginate-rest@npm:9.2.1"
+ version: 9.2.2
+ resolution: "@octokit/plugin-paginate-rest@npm:9.2.2"
dependencies:
"@octokit/types": "npm:^12.6.0"
peerDependencies:
"@octokit/core": 5
- checksum: 10c0/1dc55032a9e0c3e6440080a319975c9e4f189913fbc8870a48048d0c712473ea3d902ba247a37a46d45d502859b2728731a0d285107e4b0fa628d380f87163b4
+ checksum: 10c0/e9c85b17064fe6b62f9af88dba008f3daef456b1195340ea0831990e9c4dbabe89be950b6e5dc924ebcca18ad1aaa0cf6df7d824dc8be26ce9a55f20336ff815
languageName: node
linkType: hard
@@ -3412,14 +3427,14 @@ __metadata:
languageName: node
linkType: hard
-"@octokit/request-error@npm:^5.0.0, @octokit/request-error@npm:^5.1.0":
- version: 5.1.0
- resolution: "@octokit/request-error@npm:5.1.0"
+"@octokit/request-error@npm:^5.0.0, @octokit/request-error@npm:^5.1.0, @octokit/request-error@npm:^5.1.1":
+ version: 5.1.1
+ resolution: "@octokit/request-error@npm:5.1.1"
dependencies:
"@octokit/types": "npm:^13.1.0"
deprecation: "npm:^2.0.0"
once: "npm:^1.4.0"
- checksum: 10c0/61e688abce17dd020ea1e343470b9758f294bfe5432c5cb24bdb5b9b10f90ecec1ecaaa13b48df9288409e0da14252f6579a20f609af155bd61dc778718b7738
+ checksum: 10c0/dc9fc76ea5e4199273e4665ce9ddf345fe8f25578d9999c9a16f276298e61ee6fe0e6f5a6147b91ba3b34fdf5b9e6b7af6ae13d6333175e95b30c574088f7a2d
languageName: node
linkType: hard
@@ -3437,15 +3452,15 @@ __metadata:
languageName: node
linkType: hard
-"@octokit/request@npm:^8.3.0, @octokit/request@npm:^8.3.1":
- version: 8.4.0
- resolution: "@octokit/request@npm:8.4.0"
+"@octokit/request@npm:^8.3.1, @octokit/request@npm:^8.4.1":
+ version: 8.4.1
+ resolution: "@octokit/request@npm:8.4.1"
dependencies:
- "@octokit/endpoint": "npm:^9.0.1"
- "@octokit/request-error": "npm:^5.1.0"
+ "@octokit/endpoint": "npm:^9.0.6"
+ "@octokit/request-error": "npm:^5.1.1"
"@octokit/types": "npm:^13.1.0"
universal-user-agent: "npm:^6.0.0"
- checksum: 10c0/b857782ac2ff5387e9cc502759de73ea642c498c97d06ad2ecd8a395e4b9532d9f3bc3fc460e0d3d0e8f0d43c917a90c493e43766d37782b3979d3afffbf1b4b
+ checksum: 10c0/1a69dcb7336de708a296db9e9a58040e5b284a87495a63112f80eb0007da3fc96a9fadecb9e875fc63cf179c23a0f81031fbef2a6f610a219e45805ead03fcf3
languageName: node
linkType: hard
@@ -3459,11 +3474,11 @@ __metadata:
linkType: hard
"@octokit/types@npm:^13.0.0, @octokit/types@npm:^13.1.0":
- version: 13.5.0
- resolution: "@octokit/types@npm:13.5.0"
+ version: 13.8.0
+ resolution: "@octokit/types@npm:13.8.0"
dependencies:
- "@octokit/openapi-types": "npm:^22.2.0"
- checksum: 10c0/355ebc6776ce23feace1b1be0927cdda758790fda83068109c4f27b354dcd43d0447d4dc24e5eafdb596465469ea1baed23f3fd63adfec508cc375ccd1dcb0a3
+ "@octokit/openapi-types": "npm:^23.0.1"
+ checksum: 10c0/e08c2fcf10e374f18e4c9fa12a6ada33a40f112d1209012a39f0ce40ae7aa9dcf0598b6007b467f63cc4a97e7b1388d6eed34ddef61494655e08b5a95afaad97
languageName: node
linkType: hard
@@ -3501,7 +3516,7 @@ __metadata:
languageName: node
linkType: hard
-"@protobuf-ts/plugin-framework@npm:^2.0.7, @protobuf-ts/plugin-framework@npm:^2.9.4":
+"@protobuf-ts/plugin-framework@npm:^2.9.4":
version: 2.9.4
resolution: "@protobuf-ts/plugin-framework@npm:2.9.4"
dependencies:
@@ -3552,23 +3567,7 @@ __metadata:
languageName: node
linkType: hard
-"@rollup/pluginutils@npm:^5.0.2":
- version: 5.1.0
- resolution: "@rollup/pluginutils@npm:5.1.0"
- dependencies:
- "@types/estree": "npm:^1.0.0"
- estree-walker: "npm:^2.0.2"
- picomatch: "npm:^2.3.1"
- peerDependencies:
- rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0
- peerDependenciesMeta:
- rollup:
- optional: true
- checksum: 10c0/c7bed15711f942d6fdd3470fef4105b73991f99a478605e13d41888963330a6f9e32be37e6ddb13f012bc7673ff5e54f06f59fd47109436c1c513986a8a7612d
- languageName: node
- linkType: hard
-
-"@rollup/pluginutils@npm:^5.1.3":
+"@rollup/pluginutils@npm:^5.0.2, @rollup/pluginutils@npm:^5.1.3":
version: 5.1.4
resolution: "@rollup/pluginutils@npm:5.1.4"
dependencies:
@@ -3584,114 +3583,135 @@ __metadata:
languageName: node
linkType: hard
-"@rollup/rollup-android-arm-eabi@npm:4.22.4":
- version: 4.22.4
- resolution: "@rollup/rollup-android-arm-eabi@npm:4.22.4"
+"@rollup/rollup-android-arm-eabi@npm:4.34.8":
+ version: 4.34.8
+ resolution: "@rollup/rollup-android-arm-eabi@npm:4.34.8"
conditions: os=android & cpu=arm
languageName: node
linkType: hard
-"@rollup/rollup-android-arm64@npm:4.22.4":
- version: 4.22.4
- resolution: "@rollup/rollup-android-arm64@npm:4.22.4"
+"@rollup/rollup-android-arm64@npm:4.34.8":
+ version: 4.34.8
+ resolution: "@rollup/rollup-android-arm64@npm:4.34.8"
conditions: os=android & cpu=arm64
languageName: node
linkType: hard
-"@rollup/rollup-darwin-arm64@npm:4.22.4":
- version: 4.22.4
- resolution: "@rollup/rollup-darwin-arm64@npm:4.22.4"
+"@rollup/rollup-darwin-arm64@npm:4.34.8":
+ version: 4.34.8
+ resolution: "@rollup/rollup-darwin-arm64@npm:4.34.8"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard
-"@rollup/rollup-darwin-x64@npm:4.22.4":
- version: 4.22.4
- resolution: "@rollup/rollup-darwin-x64@npm:4.22.4"
+"@rollup/rollup-darwin-x64@npm:4.34.8":
+ version: 4.34.8
+ resolution: "@rollup/rollup-darwin-x64@npm:4.34.8"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard
-"@rollup/rollup-linux-arm-gnueabihf@npm:4.22.4":
- version: 4.22.4
- resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.22.4"
+"@rollup/rollup-freebsd-arm64@npm:4.34.8":
+ version: 4.34.8
+ resolution: "@rollup/rollup-freebsd-arm64@npm:4.34.8"
+ conditions: os=freebsd & cpu=arm64
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-freebsd-x64@npm:4.34.8":
+ version: 4.34.8
+ resolution: "@rollup/rollup-freebsd-x64@npm:4.34.8"
+ conditions: os=freebsd & cpu=x64
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-linux-arm-gnueabihf@npm:4.34.8":
+ version: 4.34.8
+ resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.34.8"
conditions: os=linux & cpu=arm & libc=glibc
languageName: node
linkType: hard
-"@rollup/rollup-linux-arm-musleabihf@npm:4.22.4":
- version: 4.22.4
- resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.22.4"
+"@rollup/rollup-linux-arm-musleabihf@npm:4.34.8":
+ version: 4.34.8
+ resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.34.8"
conditions: os=linux & cpu=arm & libc=musl
languageName: node
linkType: hard
-"@rollup/rollup-linux-arm64-gnu@npm:4.22.4":
- version: 4.22.4
- resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.22.4"
+"@rollup/rollup-linux-arm64-gnu@npm:4.34.8":
+ version: 4.34.8
+ resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.34.8"
conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node
linkType: hard
-"@rollup/rollup-linux-arm64-musl@npm:4.22.4":
- version: 4.22.4
- resolution: "@rollup/rollup-linux-arm64-musl@npm:4.22.4"
+"@rollup/rollup-linux-arm64-musl@npm:4.34.8":
+ version: 4.34.8
+ resolution: "@rollup/rollup-linux-arm64-musl@npm:4.34.8"
conditions: os=linux & cpu=arm64 & libc=musl
languageName: node
linkType: hard
-"@rollup/rollup-linux-powerpc64le-gnu@npm:4.22.4":
- version: 4.22.4
- resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.22.4"
+"@rollup/rollup-linux-loongarch64-gnu@npm:4.34.8":
+ version: 4.34.8
+ resolution: "@rollup/rollup-linux-loongarch64-gnu@npm:4.34.8"
+ conditions: os=linux & cpu=loong64 & libc=glibc
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-linux-powerpc64le-gnu@npm:4.34.8":
+ version: 4.34.8
+ resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.34.8"
conditions: os=linux & cpu=ppc64 & libc=glibc
languageName: node
linkType: hard
-"@rollup/rollup-linux-riscv64-gnu@npm:4.22.4":
- version: 4.22.4
- resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.22.4"
+"@rollup/rollup-linux-riscv64-gnu@npm:4.34.8":
+ version: 4.34.8
+ resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.34.8"
conditions: os=linux & cpu=riscv64 & libc=glibc
languageName: node
linkType: hard
-"@rollup/rollup-linux-s390x-gnu@npm:4.22.4":
- version: 4.22.4
- resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.22.4"
+"@rollup/rollup-linux-s390x-gnu@npm:4.34.8":
+ version: 4.34.8
+ resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.34.8"
conditions: os=linux & cpu=s390x & libc=glibc
languageName: node
linkType: hard
-"@rollup/rollup-linux-x64-gnu@npm:4.22.4":
- version: 4.22.4
- resolution: "@rollup/rollup-linux-x64-gnu@npm:4.22.4"
+"@rollup/rollup-linux-x64-gnu@npm:4.34.8":
+ version: 4.34.8
+ resolution: "@rollup/rollup-linux-x64-gnu@npm:4.34.8"
conditions: os=linux & cpu=x64 & libc=glibc
languageName: node
linkType: hard
-"@rollup/rollup-linux-x64-musl@npm:4.22.4":
- version: 4.22.4
- resolution: "@rollup/rollup-linux-x64-musl@npm:4.22.4"
+"@rollup/rollup-linux-x64-musl@npm:4.34.8":
+ version: 4.34.8
+ resolution: "@rollup/rollup-linux-x64-musl@npm:4.34.8"
conditions: os=linux & cpu=x64 & libc=musl
languageName: node
linkType: hard
-"@rollup/rollup-win32-arm64-msvc@npm:4.22.4":
- version: 4.22.4
- resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.22.4"
+"@rollup/rollup-win32-arm64-msvc@npm:4.34.8":
+ version: 4.34.8
+ resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.34.8"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard
-"@rollup/rollup-win32-ia32-msvc@npm:4.22.4":
- version: 4.22.4
- resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.22.4"
+"@rollup/rollup-win32-ia32-msvc@npm:4.34.8":
+ version: 4.34.8
+ resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.34.8"
conditions: os=win32 & cpu=ia32
languageName: node
linkType: hard
-"@rollup/rollup-win32-x64-msvc@npm:4.22.4":
- version: 4.22.4
- resolution: "@rollup/rollup-win32-x64-msvc@npm:4.22.4"
+"@rollup/rollup-win32-x64-msvc@npm:4.34.8":
+ version: 4.34.8
+ resolution: "@rollup/rollup-win32-x64-msvc@npm:4.34.8"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
@@ -3758,14 +3778,14 @@ __metadata:
languageName: node
linkType: hard
-"@spectrum-css/accordion@npm:7.1.0, @spectrum-css/accordion@workspace:components/accordion":
+"@spectrum-css/accordion@npm:8.0.0-next.0, @spectrum-css/accordion@workspace:components/accordion":
version: 0.0.0-use.local
resolution: "@spectrum-css/accordion@workspace:components/accordion"
dependencies:
- "@spectrum-css/icon": "npm:9.1.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/icon":
@@ -3775,20 +3795,20 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/actionbar@npm:10.1.1, @spectrum-css/actionbar@workspace:components/actionbar":
+"@spectrum-css/actionbar@npm:11.0.0-next.0, @spectrum-css/actionbar@workspace:components/actionbar":
version: 0.0.0-use.local
resolution: "@spectrum-css/actionbar@workspace:components/actionbar"
dependencies:
- "@spectrum-css/actiongroup": "npm:6.1.0"
- "@spectrum-css/closebutton": "npm:6.1.0"
- "@spectrum-css/fieldlabel": "npm:10.1.0"
- "@spectrum-css/popover": "npm:8.2.0"
+ "@spectrum-css/actiongroup": "npm:7.0.0-next.0"
+ "@spectrum-css/closebutton": "npm:7.0.0-next.0"
+ "@spectrum-css/fieldlabel": "npm:11.0.0-next.0"
+ "@spectrum-css/popover": "npm:9.0.0-next.1"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/actiongroup": ">=6.0.0 <7.0.0"
- "@spectrum-css/closebutton": ">=6.0.0 <7.0.0"
- "@spectrum-css/fieldlabel": ">=10.0.0 <11.0.0"
- "@spectrum-css/popover": ">=8.0.0 <9.0.0"
+ "@spectrum-css/actiongroup": ">=7.0.0-next.0"
+ "@spectrum-css/closebutton": ">=7.0.0-next.0"
+ "@spectrum-css/fieldlabel": ">=11.0.0-next.0"
+ "@spectrum-css/popover": ">=9.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/actiongroup":
@@ -3804,15 +3824,15 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/actionbutton@npm:7.1.2, @spectrum-css/actionbutton@workspace:components/actionbutton":
+"@spectrum-css/actionbutton@npm:8.0.0-next.1, @spectrum-css/actionbutton@workspace:components/actionbutton":
version: 0.0.0-use.local
resolution: "@spectrum-css/actionbutton@workspace:components/actionbutton"
dependencies:
"@spectrum-css/commons": "npm:11.0.0"
- "@spectrum-css/icon": "npm:9.1.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/icon":
@@ -3822,14 +3842,14 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/actiongroup@npm:6.1.0, @spectrum-css/actiongroup@workspace:components/actiongroup":
+"@spectrum-css/actiongroup@npm:7.0.0-next.0, @spectrum-css/actiongroup@workspace:components/actiongroup":
version: 0.0.0-use.local
resolution: "@spectrum-css/actiongroup@workspace:components/actiongroup"
dependencies:
- "@spectrum-css/actionbutton": "npm:7.1.2"
+ "@spectrum-css/actionbutton": "npm:8.0.0-next.1"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/actionbutton": ">=7.0.0 <8.0.0"
+ "@spectrum-css/actionbutton": ">=8.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/actionbutton":
@@ -3839,20 +3859,20 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/actionmenu@npm:7.1.1, @spectrum-css/actionmenu@workspace:components/actionmenu":
+"@spectrum-css/actionmenu@npm:8.0.0-next.0, @spectrum-css/actionmenu@workspace:components/actionmenu":
version: 0.0.0-use.local
resolution: "@spectrum-css/actionmenu@workspace:components/actionmenu"
dependencies:
- "@spectrum-css/actionbutton": "npm:7.1.2"
- "@spectrum-css/icon": "npm:9.1.0"
- "@spectrum-css/menu": "npm:9.2.0"
- "@spectrum-css/popover": "npm:8.2.0"
+ "@spectrum-css/actionbutton": "npm:8.0.0-next.1"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
+ "@spectrum-css/menu": "npm:10.0.0-next.1"
+ "@spectrum-css/popover": "npm:9.0.0-next.1"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/actionbutton": ">=7.0.0 <8.0.0"
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
- "@spectrum-css/menu": ">=9.0.0 <10.0.0"
- "@spectrum-css/popover": ">=8.0.0 <9.0.0"
+ "@spectrum-css/actionbutton": ">=8.0.0-next.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
+ "@spectrum-css/menu": ">=10.0.0-next.0"
+ "@spectrum-css/popover": ">=9.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/actionbutton":
@@ -3868,20 +3888,20 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/alertbanner@npm:3.1.1, @spectrum-css/alertbanner@workspace:components/alertbanner":
+"@spectrum-css/alertbanner@npm:4.0.0-next.1, @spectrum-css/alertbanner@workspace:components/alertbanner":
version: 0.0.0-use.local
resolution: "@spectrum-css/alertbanner@workspace:components/alertbanner"
dependencies:
- "@spectrum-css/button": "npm:14.1.3"
- "@spectrum-css/closebutton": "npm:6.1.0"
- "@spectrum-css/divider": "npm:5.1.0"
- "@spectrum-css/icon": "npm:9.1.0"
+ "@spectrum-css/button": "npm:15.0.0-next.0"
+ "@spectrum-css/closebutton": "npm:7.0.0-next.0"
+ "@spectrum-css/divider": "npm:6.0.0-next.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/button": ">=14.0.0 <15.0.0"
- "@spectrum-css/closebutton": ">=6.0.0 <7.0.0"
- "@spectrum-css/divider": ">=5.0.0 <6.0.0"
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
+ "@spectrum-css/button": ">=15.0.0-next.0"
+ "@spectrum-css/closebutton": ">=7.0.0-next.0"
+ "@spectrum-css/divider": ">=6.0.0-next.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/button":
@@ -3897,21 +3917,21 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/alertdialog@npm:4.1.0, @spectrum-css/alertdialog@workspace:components/alertdialog":
+"@spectrum-css/alertdialog@npm:5.0.0-next.2, @spectrum-css/alertdialog@workspace:components/alertdialog":
version: 0.0.0-use.local
resolution: "@spectrum-css/alertdialog@workspace:components/alertdialog"
dependencies:
- "@spectrum-css/buttongroup": "npm:9.1.0"
- "@spectrum-css/divider": "npm:5.1.0"
- "@spectrum-css/icon": "npm:9.1.0"
- "@spectrum-css/modal": "npm:7.1.0"
+ "@spectrum-css/buttongroup": "npm:10.0.0-next.0"
+ "@spectrum-css/divider": "npm:6.0.0-next.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
+ "@spectrum-css/modal": "npm:7.1.1-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
"@spectrum-css/underlay": "npm:6.1.0"
peerDependencies:
- "@spectrum-css/buttongroup": ">=9.0.0 <10.0.0"
- "@spectrum-css/divider": ">=5.0.0 <6.0.0"
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
- "@spectrum-css/modal": ">=7.0.0 <8.0.0"
+ "@spectrum-css/buttongroup": ">=10.0.0-next.0"
+ "@spectrum-css/divider": ">=6.0.0-next.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
+ "@spectrum-css/modal": ">=7.1.1-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
"@spectrum-css/underlay": ">=6.0.0 <7.0.0"
peerDependenciesMeta:
@@ -3936,21 +3956,21 @@ __metadata:
dependencies:
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/tokens":
optional: true
languageName: unknown
linkType: soft
-"@spectrum-css/assetcard@npm:5.1.0, @spectrum-css/assetcard@workspace:components/assetcard":
+"@spectrum-css/assetcard@npm:6.0.0-next.0, @spectrum-css/assetcard@workspace:components/assetcard":
version: 0.0.0-use.local
resolution: "@spectrum-css/assetcard@workspace:components/assetcard"
dependencies:
- "@spectrum-css/checkbox": "npm:10.1.2"
+ "@spectrum-css/checkbox": "npm:11.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/checkbox": ">=10.0.0 <11.0.0"
+ "@spectrum-css/checkbox": ">=11.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/checkbox":
@@ -3960,16 +3980,16 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/assetlist@npm:8.2.0, @spectrum-css/assetlist@workspace:components/assetlist":
+"@spectrum-css/assetlist@npm:9.0.0-next.0, @spectrum-css/assetlist@workspace:components/assetlist":
version: 0.0.0-use.local
resolution: "@spectrum-css/assetlist@workspace:components/assetlist"
dependencies:
- "@spectrum-css/checkbox": "npm:10.1.2"
- "@spectrum-css/icon": "npm:9.1.0"
+ "@spectrum-css/checkbox": "npm:11.0.0-next.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/checkbox": ">=10.0.0 <11.0.0"
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
+ "@spectrum-css/checkbox": ">=11.0.0-next.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/checkbox":
@@ -3987,21 +4007,21 @@ __metadata:
dependencies:
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/tokens":
optional: true
languageName: unknown
linkType: soft
-"@spectrum-css/badge@npm:6.1.0, @spectrum-css/badge@workspace:components/badge":
+"@spectrum-css/badge@npm:7.0.0-next.0, @spectrum-css/badge@workspace:components/badge":
version: 0.0.0-use.local
resolution: "@spectrum-css/badge@workspace:components/badge"
dependencies:
- "@spectrum-css/icon": "npm:9.1.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/icon":
@@ -4011,16 +4031,16 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/breadcrumb@npm:11.1.0, @spectrum-css/breadcrumb@workspace:components/breadcrumb":
+"@spectrum-css/breadcrumb@npm:12.0.0-next.0, @spectrum-css/breadcrumb@workspace:components/breadcrumb":
version: 0.0.0-use.local
resolution: "@spectrum-css/breadcrumb@workspace:components/breadcrumb"
dependencies:
- "@spectrum-css/actionbutton": "npm:7.1.2"
- "@spectrum-css/icon": "npm:9.1.0"
+ "@spectrum-css/actionbutton": "npm:8.0.0-next.1"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/actionbutton": ">=7.0.0 <8.0.0"
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
+ "@spectrum-css/actionbutton": ">=8.0.0-next.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/actionbutton":
@@ -4036,88 +4056,88 @@ __metadata:
version: 0.0.0-use.local
resolution: "@spectrum-css/bundle@workspace:tools/bundle"
dependencies:
- "@spectrum-css/accordion": "npm:7.1.0"
- "@spectrum-css/actionbar": "npm:10.1.1"
- "@spectrum-css/actionbutton": "npm:7.1.2"
- "@spectrum-css/actiongroup": "npm:6.1.0"
- "@spectrum-css/actionmenu": "npm:7.1.1"
- "@spectrum-css/alertbanner": "npm:3.1.1"
- "@spectrum-css/alertdialog": "npm:4.1.0"
+ "@spectrum-css/accordion": "npm:8.0.0-next.0"
+ "@spectrum-css/actionbar": "npm:11.0.0-next.0"
+ "@spectrum-css/actionbutton": "npm:8.0.0-next.1"
+ "@spectrum-css/actiongroup": "npm:7.0.0-next.0"
+ "@spectrum-css/actionmenu": "npm:8.0.0-next.0"
+ "@spectrum-css/alertbanner": "npm:4.0.0-next.1"
+ "@spectrum-css/alertdialog": "npm:5.0.0-next.2"
"@spectrum-css/asset": "npm:7.1.0"
- "@spectrum-css/assetcard": "npm:5.1.0"
- "@spectrum-css/assetlist": "npm:8.2.0"
+ "@spectrum-css/assetcard": "npm:6.0.0-next.0"
+ "@spectrum-css/assetlist": "npm:9.0.0-next.0"
"@spectrum-css/avatar": "npm:9.1.0"
- "@spectrum-css/badge": "npm:6.1.0"
- "@spectrum-css/breadcrumb": "npm:11.1.0"
- "@spectrum-css/button": "npm:14.1.3"
- "@spectrum-css/buttongroup": "npm:9.1.0"
- "@spectrum-css/calendar": "npm:7.1.0"
- "@spectrum-css/card": "npm:11.1.0"
- "@spectrum-css/checkbox": "npm:10.1.2"
- "@spectrum-css/clearbutton": "npm:7.2.0"
- "@spectrum-css/closebutton": "npm:6.1.0"
+ "@spectrum-css/badge": "npm:7.0.0-next.0"
+ "@spectrum-css/breadcrumb": "npm:12.0.0-next.0"
+ "@spectrum-css/button": "npm:15.0.0-next.0"
+ "@spectrum-css/buttongroup": "npm:10.0.0-next.0"
+ "@spectrum-css/calendar": "npm:8.0.0-next.0"
+ "@spectrum-css/card": "npm:12.0.0-next.0"
+ "@spectrum-css/checkbox": "npm:11.0.0-next.0"
+ "@spectrum-css/clearbutton": "npm:8.0.0-next.0"
+ "@spectrum-css/closebutton": "npm:7.0.0-next.0"
"@spectrum-css/coachindicator": "npm:4.1.0"
- "@spectrum-css/coachmark": "npm:9.1.1"
+ "@spectrum-css/coachmark": "npm:10.0.0-next.0"
"@spectrum-css/colorarea": "npm:7.1.0"
"@spectrum-css/colorhandle": "npm:10.1.0"
"@spectrum-css/colorloupe": "npm:7.1.0"
"@spectrum-css/colorslider": "npm:8.1.0"
- "@spectrum-css/colorwheel": "npm:6.1.0"
- "@spectrum-css/combobox": "npm:4.1.2"
+ "@spectrum-css/colorwheel": "npm:7.0.0-next.0"
+ "@spectrum-css/combobox": "npm:5.0.0-next.0"
"@spectrum-css/commons": "npm:11.0.0"
- "@spectrum-css/contextualhelp": "npm:5.1.2"
- "@spectrum-css/datepicker": "npm:4.1.1"
+ "@spectrum-css/contextualhelp": "npm:6.0.0-next.1"
+ "@spectrum-css/datepicker": "npm:5.0.0-next.0"
"@spectrum-css/dial": "npm:5.2.0"
- "@spectrum-css/dialog": "npm:12.1.0"
- "@spectrum-css/divider": "npm:5.1.0"
- "@spectrum-css/dropindicator": "npm:7.1.0"
- "@spectrum-css/dropzone": "npm:8.1.0"
- "@spectrum-css/fieldgroup": "npm:7.1.0"
- "@spectrum-css/fieldlabel": "npm:10.1.0"
+ "@spectrum-css/dialog": "npm:13.0.0-next.2"
+ "@spectrum-css/divider": "npm:6.0.0-next.0"
+ "@spectrum-css/dropindicator": "npm:8.0.0-next.0"
+ "@spectrum-css/dropzone": "npm:9.0.0-next.2"
+ "@spectrum-css/fieldgroup": "npm:8.0.0-next.0"
+ "@spectrum-css/fieldlabel": "npm:11.0.0-next.0"
"@spectrum-css/floatingactionbutton": "npm:4.1.0"
"@spectrum-css/form": "npm:1.1.0"
- "@spectrum-css/helptext": "npm:7.1.0"
- "@spectrum-css/icon": "npm:9.1.0"
+ "@spectrum-css/helptext": "npm:8.0.0-next.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
"@spectrum-css/illustratedmessage": "npm:9.1.0"
- "@spectrum-css/infieldbutton": "npm:6.1.1"
- "@spectrum-css/inlinealert": "npm:10.1.0"
- "@spectrum-css/link": "npm:7.1.0"
+ "@spectrum-css/infieldbutton": "npm:7.0.0-next.0"
+ "@spectrum-css/inlinealert": "npm:11.0.0-next.0"
+ "@spectrum-css/link": "npm:8.0.0-next.0"
"@spectrum-css/logicbutton": "npm:6.1.0"
- "@spectrum-css/menu": "npm:9.2.0"
- "@spectrum-css/meter": "npm:1.1.0"
- "@spectrum-css/miller": "npm:8.1.0"
- "@spectrum-css/modal": "npm:7.1.0"
+ "@spectrum-css/menu": "npm:10.0.0-next.1"
+ "@spectrum-css/meter": "npm:2.0.0-next.0"
+ "@spectrum-css/miller": "npm:9.0.0-next.0"
+ "@spectrum-css/modal": "npm:7.1.1-next.0"
"@spectrum-css/opacitycheckerboard": "npm:4.1.0"
"@spectrum-css/page": "npm:9.1.0"
- "@spectrum-css/pagination": "npm:10.1.0"
- "@spectrum-css/picker": "npm:9.1.4"
- "@spectrum-css/pickerbutton": "npm:6.1.1"
- "@spectrum-css/popover": "npm:8.2.0"
- "@spectrum-css/progressbar": "npm:6.1.0"
+ "@spectrum-css/pagination": "npm:11.0.0-next.0"
+ "@spectrum-css/picker": "npm:10.0.0-next.0"
+ "@spectrum-css/pickerbutton": "npm:7.0.0-next.0"
+ "@spectrum-css/popover": "npm:9.0.0-next.1"
+ "@spectrum-css/progressbar": "npm:7.0.0-next.0"
"@spectrum-css/progresscircle": "npm:5.1.0"
- "@spectrum-css/radio": "npm:10.1.0"
- "@spectrum-css/rating": "npm:6.1.0"
- "@spectrum-css/search": "npm:8.1.1"
- "@spectrum-css/sidenav": "npm:7.1.0"
- "@spectrum-css/slider": "npm:6.3.0"
+ "@spectrum-css/radio": "npm:11.0.0-next.1"
+ "@spectrum-css/rating": "npm:7.0.0-next.0"
+ "@spectrum-css/search": "npm:9.0.0-next.0"
+ "@spectrum-css/sidenav": "npm:8.0.0-next.0"
+ "@spectrum-css/slider": "npm:7.0.0-next.0"
"@spectrum-css/splitview": "npm:7.1.0"
- "@spectrum-css/statuslight": "npm:9.1.0"
- "@spectrum-css/steplist": "npm:7.1.0"
- "@spectrum-css/stepper": "npm:7.1.3"
+ "@spectrum-css/statuslight": "npm:9.1.1-next.0"
+ "@spectrum-css/steplist": "npm:8.0.0-next.0"
+ "@spectrum-css/stepper": "npm:8.0.0-next.0"
"@spectrum-css/swatch": "npm:8.1.2"
"@spectrum-css/swatchgroup": "npm:5.1.0"
"@spectrum-css/switch": "npm:6.1.0"
- "@spectrum-css/table": "npm:8.1.0"
- "@spectrum-css/tabs": "npm:6.1.1"
- "@spectrum-css/tag": "npm:10.1.0"
- "@spectrum-css/taggroup": "npm:7.1.0"
- "@spectrum-css/textfield": "npm:8.1.1"
+ "@spectrum-css/table": "npm:9.0.0-next.0"
+ "@spectrum-css/tabs": "npm:7.0.0-next.0"
+ "@spectrum-css/tag": "npm:11.0.0-next.0"
+ "@spectrum-css/taggroup": "npm:8.0.0-next.0"
+ "@spectrum-css/textfield": "npm:9.0.0-next.0"
"@spectrum-css/thumbnail": "npm:8.1.0"
- "@spectrum-css/toast": "npm:11.1.0"
+ "@spectrum-css/toast": "npm:12.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
- "@spectrum-css/tooltip": "npm:7.1.0"
- "@spectrum-css/tray": "npm:5.1.0"
- "@spectrum-css/treeview": "npm:12.1.0"
+ "@spectrum-css/tooltip": "npm:8.0.0-next.0"
+ "@spectrum-css/tray": "npm:6.0.0-next.2"
+ "@spectrum-css/treeview": "npm:13.0.0-next.0"
"@spectrum-css/typography": "npm:8.1.0"
"@spectrum-css/underlay": "npm:6.1.0"
"@spectrum-css/well": "npm:7.1.0"
@@ -4127,16 +4147,16 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/button@npm:14.1.3, @spectrum-css/button@workspace:components/button":
+"@spectrum-css/button@npm:15.0.0-next.0, @spectrum-css/button@workspace:components/button":
version: 0.0.0-use.local
resolution: "@spectrum-css/button@workspace:components/button"
dependencies:
"@spectrum-css/commons": "npm:11.0.0"
- "@spectrum-css/icon": "npm:9.1.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
"@spectrum-css/progresscircle": "npm:5.1.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
"@spectrum-css/progresscircle": ">=5.0.0 <6.0.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
@@ -4149,14 +4169,14 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/buttongroup@npm:9.1.0, @spectrum-css/buttongroup@workspace:components/buttongroup":
+"@spectrum-css/buttongroup@npm:10.0.0-next.0, @spectrum-css/buttongroup@workspace:components/buttongroup":
version: 0.0.0-use.local
resolution: "@spectrum-css/buttongroup@workspace:components/buttongroup"
dependencies:
- "@spectrum-css/button": "npm:14.1.3"
+ "@spectrum-css/button": "npm:15.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/button": ">=14.0.0 <15.0.0"
+ "@spectrum-css/button": ">=15.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/button":
@@ -4166,14 +4186,14 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/calendar@npm:7.1.0, @spectrum-css/calendar@workspace:components/calendar":
+"@spectrum-css/calendar@npm:8.0.0-next.0, @spectrum-css/calendar@workspace:components/calendar":
version: 0.0.0-use.local
resolution: "@spectrum-css/calendar@workspace:components/calendar"
dependencies:
- "@spectrum-css/actionbutton": "npm:7.1.2"
+ "@spectrum-css/actionbutton": "npm:8.0.0-next.1"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/actionbutton": ">=7.0.0 <8.0.0"
+ "@spectrum-css/actionbutton": ">=8.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/actionbutton":
@@ -4183,21 +4203,21 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/card@npm:11.1.0, @spectrum-css/card@workspace:components/card":
+"@spectrum-css/card@npm:12.0.0-next.0, @spectrum-css/card@workspace:components/card":
version: 0.0.0-use.local
resolution: "@spectrum-css/card@workspace:components/card"
dependencies:
- "@spectrum-css/actionbutton": "npm:7.1.2"
+ "@spectrum-css/actionbutton": "npm:8.0.0-next.1"
"@spectrum-css/asset": "npm:7.1.0"
- "@spectrum-css/checkbox": "npm:10.1.2"
- "@spectrum-css/icon": "npm:9.1.0"
+ "@spectrum-css/checkbox": "npm:11.0.0-next.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
"@spectrum-css/typography": "npm:8.1.0"
peerDependencies:
- "@spectrum-css/actionbutton": ">=7.0.0 <8.0.0"
+ "@spectrum-css/actionbutton": ">=8.0.0-next.0"
"@spectrum-css/asset": ">=7.0.0 <8.0.0"
- "@spectrum-css/checkbox": ">=10.0.0 <11.0.0"
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
+ "@spectrum-css/checkbox": ">=11.0.0-next.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
"@spectrum-css/quickaction": ">=3"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
"@spectrum-css/typography": ">=8.0.0 <9.0.0"
@@ -4219,14 +4239,14 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/checkbox@npm:10.1.2, @spectrum-css/checkbox@workspace:components/checkbox":
+"@spectrum-css/checkbox@npm:11.0.0-next.0, @spectrum-css/checkbox@workspace:components/checkbox":
version: 0.0.0-use.local
resolution: "@spectrum-css/checkbox@workspace:components/checkbox"
dependencies:
- "@spectrum-css/icon": "npm:9.1.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/icon":
@@ -4236,14 +4256,14 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/clearbutton@npm:7.2.0, @spectrum-css/clearbutton@workspace:components/clearbutton":
+"@spectrum-css/clearbutton@npm:8.0.0-next.0, @spectrum-css/clearbutton@workspace:components/clearbutton":
version: 0.0.0-use.local
resolution: "@spectrum-css/clearbutton@workspace:components/clearbutton"
dependencies:
- "@spectrum-css/icon": "npm:9.1.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/icon":
@@ -4253,15 +4273,15 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/closebutton@npm:6.1.0, @spectrum-css/closebutton@workspace:components/closebutton":
+"@spectrum-css/closebutton@npm:7.0.0-next.0, @spectrum-css/closebutton@workspace:components/closebutton":
version: 0.0.0-use.local
resolution: "@spectrum-css/closebutton@workspace:components/closebutton"
dependencies:
"@spectrum-css/commons": "npm:11.0.0"
- "@spectrum-css/icon": "npm:9.1.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/icon":
@@ -4277,31 +4297,31 @@ __metadata:
dependencies:
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/tokens":
optional: true
languageName: unknown
linkType: soft
-"@spectrum-css/coachmark@npm:9.1.1, @spectrum-css/coachmark@workspace:components/coachmark":
+"@spectrum-css/coachmark@npm:10.0.0-next.0, @spectrum-css/coachmark@workspace:components/coachmark":
version: 0.0.0-use.local
resolution: "@spectrum-css/coachmark@workspace:components/coachmark"
dependencies:
- "@spectrum-css/actionbutton": "npm:7.1.2"
- "@spectrum-css/actionmenu": "npm:7.1.1"
- "@spectrum-css/button": "npm:14.1.3"
- "@spectrum-css/buttongroup": "npm:9.1.0"
- "@spectrum-css/menu": "npm:9.2.0"
- "@spectrum-css/popover": "npm:8.2.0"
+ "@spectrum-css/actionbutton": "npm:8.0.0-next.1"
+ "@spectrum-css/actionmenu": "npm:8.0.0-next.0"
+ "@spectrum-css/button": "npm:15.0.0-next.0"
+ "@spectrum-css/buttongroup": "npm:10.0.0-next.0"
+ "@spectrum-css/menu": "npm:10.0.0-next.1"
+ "@spectrum-css/popover": "npm:9.0.0-next.1"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/actionbutton": ">=7.0.0 <8.0.0"
- "@spectrum-css/actionmenu": ">=7.0.0 <8.0.0"
- "@spectrum-css/button": ">=14.0.0 <15.0.0"
- "@spectrum-css/buttongroup": ">=9.0.0 <10.0.0"
- "@spectrum-css/menu": ">=9.0.0 <10.0.0"
- "@spectrum-css/popover": ">=8.0.0 <9.0.0"
+ "@spectrum-css/actionbutton": ">=8.0.0-next.0"
+ "@spectrum-css/actionmenu": ">=8.0.0-next.0"
+ "@spectrum-css/button": ">=15.0.0-next.0"
+ "@spectrum-css/buttongroup": ">=10.0.0-next.0"
+ "@spectrum-css/menu": ">=10.0.0-next.0"
+ "@spectrum-css/popover": ">=9.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/actionbutton":
@@ -4365,7 +4385,7 @@ __metadata:
dependencies:
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/tokens":
optional: true
@@ -4393,7 +4413,7 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/colorwheel@npm:6.1.0, @spectrum-css/colorwheel@workspace:components/colorwheel":
+"@spectrum-css/colorwheel@npm:7.0.0-next.0, @spectrum-css/colorwheel@workspace:components/colorwheel":
version: 0.0.0-use.local
resolution: "@spectrum-css/colorwheel@workspace:components/colorwheel"
dependencies:
@@ -4418,22 +4438,22 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/combobox@npm:4.1.2, @spectrum-css/combobox@workspace:components/combobox":
+"@spectrum-css/combobox@npm:5.0.0-next.0, @spectrum-css/combobox@workspace:components/combobox":
version: 0.0.0-use.local
resolution: "@spectrum-css/combobox@workspace:components/combobox"
dependencies:
- "@spectrum-css/menu": "npm:9.2.0"
- "@spectrum-css/pickerbutton": "npm:6.1.1"
- "@spectrum-css/popover": "npm:8.2.0"
+ "@spectrum-css/menu": "npm:10.0.0-next.1"
+ "@spectrum-css/pickerbutton": "npm:7.0.0-next.0"
+ "@spectrum-css/popover": "npm:9.0.0-next.1"
"@spectrum-css/progresscircle": "npm:5.1.0"
- "@spectrum-css/textfield": "npm:8.1.1"
+ "@spectrum-css/textfield": "npm:9.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/menu": ">=9.0.0 <10.0.0"
- "@spectrum-css/pickerbutton": ">=6.0.0 <7.0.0"
- "@spectrum-css/popover": ">=8.0.0 <9.0.0"
+ "@spectrum-css/menu": ">=10.0.0-next.0"
+ "@spectrum-css/pickerbutton": ">=7.0.0-next.0"
+ "@spectrum-css/popover": ">=9.0.0-next.0"
"@spectrum-css/progresscircle": ">=5.0.0 <6.0.0"
- "@spectrum-css/textfield": ">=8.0.0 <9.0.0"
+ "@spectrum-css/textfield": ">=9.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/menu":
@@ -4461,18 +4481,18 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/contextualhelp@npm:5.1.2, @spectrum-css/contextualhelp@workspace:components/contextualhelp":
+"@spectrum-css/contextualhelp@npm:6.0.0-next.1, @spectrum-css/contextualhelp@workspace:components/contextualhelp":
version: 0.0.0-use.local
resolution: "@spectrum-css/contextualhelp@workspace:components/contextualhelp"
dependencies:
- "@spectrum-css/actionbutton": "npm:7.1.2"
- "@spectrum-css/link": "npm:7.1.0"
- "@spectrum-css/popover": "npm:8.2.0"
+ "@spectrum-css/actionbutton": "npm:8.0.0-next.1"
+ "@spectrum-css/link": "npm:8.0.0-next.0"
+ "@spectrum-css/popover": "npm:9.0.0-next.1"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/actionbutton": ">=7.0.0 <8.0.0"
- "@spectrum-css/link": ">=7.0.0 <8.0.0"
- "@spectrum-css/popover": ">=8.0.0 <9.0.0"
+ "@spectrum-css/actionbutton": ">=8.0.0-next.0"
+ "@spectrum-css/link": ">=8.0.0-next.0"
+ "@spectrum-css/popover": ">=9.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/actionbutton":
@@ -4486,20 +4506,20 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/datepicker@npm:4.1.1, @spectrum-css/datepicker@workspace:components/datepicker":
+"@spectrum-css/datepicker@npm:5.0.0-next.0, @spectrum-css/datepicker@workspace:components/datepicker":
version: 0.0.0-use.local
resolution: "@spectrum-css/datepicker@workspace:components/datepicker"
dependencies:
- "@spectrum-css/calendar": "npm:7.1.0"
- "@spectrum-css/pickerbutton": "npm:6.1.1"
- "@spectrum-css/popover": "npm:8.2.0"
- "@spectrum-css/textfield": "npm:8.1.1"
+ "@spectrum-css/calendar": "npm:8.0.0-next.0"
+ "@spectrum-css/pickerbutton": "npm:7.0.0-next.0"
+ "@spectrum-css/popover": "npm:9.0.0-next.1"
+ "@spectrum-css/textfield": "npm:9.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/calendar": ">=7.0.0 <8.0.0"
- "@spectrum-css/pickerbutton": ">=6.0.0 <7.0.0"
- "@spectrum-css/popover": ">=8.0.0 <9.0.0"
- "@spectrum-css/textfield": ">=8.0.0 <9.0.0"
+ "@spectrum-css/calendar": ">=8.0.0-next.0"
+ "@spectrum-css/pickerbutton": ">=7.0.0-next.0"
+ "@spectrum-css/popover": ">=9.0.0-next.0"
+ "@spectrum-css/textfield": ">=9.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/calendar":
@@ -4528,23 +4548,31 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/dialog@npm:12.1.0, @spectrum-css/dialog@workspace:components/dialog":
+"@spectrum-css/dialog@npm:13.0.0-next.2, @spectrum-css/dialog@workspace:components/dialog":
version: 0.0.0-use.local
resolution: "@spectrum-css/dialog@workspace:components/dialog"
dependencies:
- "@spectrum-css/buttongroup": "npm:9.1.0"
- "@spectrum-css/closebutton": "npm:6.1.0"
- "@spectrum-css/divider": "npm:5.1.0"
- "@spectrum-css/modal": "npm:7.1.0"
+ "@spectrum-css/button": "npm:15.0.0-next.0"
+ "@spectrum-css/buttongroup": "npm:10.0.0-next.0"
+ "@spectrum-css/closebutton": "npm:7.0.0-next.0"
+ "@spectrum-css/divider": "npm:6.0.0-next.0"
+ "@spectrum-css/modal": "npm:7.1.1-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
+ "@spectrum-css/typography": "npm:8.1.0"
"@spectrum-css/underlay": "npm:6.1.0"
peerDependencies:
- "@spectrum-css/closebutton": ">=6.0.0 <7.0.0"
- "@spectrum-css/divider": ">=5.0.0 <6.0.0"
- "@spectrum-css/modal": ">=7.0.0 <8.0.0"
+ "@spectrum-css/button": ">=15.0.0-next.0"
+ "@spectrum-css/buttongroup": ">=10.0.0-next.0"
+ "@spectrum-css/closebutton": ">=7.0.0-next.0"
+ "@spectrum-css/divider": ">=6.0.0-next.0"
+ "@spectrum-css/modal": ">=7.1.1-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
"@spectrum-css/underlay": ">=6.0.0 <7.0.0"
peerDependenciesMeta:
+ "@spectrum-css/button":
+ optional: true
+ "@spectrum-css/buttongroup":
+ optional: true
"@spectrum-css/closebutton":
optional: true
"@spectrum-css/divider":
@@ -4558,27 +4586,27 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/divider@npm:5.1.0, @spectrum-css/divider@workspace:components/divider":
+"@spectrum-css/divider@npm:6.0.0-next.0, @spectrum-css/divider@workspace:components/divider":
version: 0.0.0-use.local
resolution: "@spectrum-css/divider@workspace:components/divider"
dependencies:
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/tokens":
optional: true
languageName: unknown
linkType: soft
-"@spectrum-css/dropindicator@npm:7.1.0, @spectrum-css/dropindicator@workspace:components/dropindicator":
+"@spectrum-css/dropindicator@npm:8.0.0-next.0, @spectrum-css/dropindicator@workspace:components/dropindicator":
version: 0.0.0-use.local
resolution: "@spectrum-css/dropindicator@workspace:components/dropindicator"
dependencies:
- "@spectrum-css/icon": "npm:9.1.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/icon":
@@ -4588,18 +4616,18 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/dropzone@npm:8.1.0, @spectrum-css/dropzone@workspace:components/dropzone":
+"@spectrum-css/dropzone@npm:9.0.0-next.2, @spectrum-css/dropzone@workspace:components/dropzone":
version: 0.0.0-use.local
resolution: "@spectrum-css/dropzone@workspace:components/dropzone"
dependencies:
- "@spectrum-css/actionbutton": "npm:7.1.2"
+ "@spectrum-css/actionbutton": "npm:8.0.0-next.1"
"@spectrum-css/illustratedmessage": "npm:9.1.0"
- "@spectrum-css/link": "npm:7.1.0"
+ "@spectrum-css/link": "npm:8.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/actionbutton": ">=7.0.0 <8.0.0"
+ "@spectrum-css/actionbutton": ">=8.0.0-next.0"
"@spectrum-css/illustratedmessage": ">=9.0.0 <10.0.0"
- "@spectrum-css/link": ">=7.0.0 <8.0.0"
+ "@spectrum-css/link": ">=8.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/actionbutton":
@@ -4613,18 +4641,18 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/fieldgroup@npm:7.1.0, @spectrum-css/fieldgroup@workspace:components/fieldgroup":
+"@spectrum-css/fieldgroup@npm:8.0.0-next.0, @spectrum-css/fieldgroup@workspace:components/fieldgroup":
version: 0.0.0-use.local
resolution: "@spectrum-css/fieldgroup@workspace:components/fieldgroup"
dependencies:
- "@spectrum-css/checkbox": "npm:10.1.2"
- "@spectrum-css/helptext": "npm:7.1.0"
- "@spectrum-css/radio": "npm:10.1.0"
+ "@spectrum-css/checkbox": "npm:11.0.0-next.0"
+ "@spectrum-css/helptext": "npm:8.0.0-next.0"
+ "@spectrum-css/radio": "npm:11.0.0-next.1"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/checkbox": ">=10.0.0 <11.0.0"
- "@spectrum-css/helptext": ">=7.0.0 <8.0.0"
- "@spectrum-css/radio": ">=10.0.0 <11.0.0"
+ "@spectrum-css/checkbox": ">=11.0.0-next.0"
+ "@spectrum-css/helptext": ">=8.0.0-next.0"
+ "@spectrum-css/radio": ">=11.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/checkbox":
@@ -4638,14 +4666,14 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/fieldlabel@npm:10.1.0, @spectrum-css/fieldlabel@workspace:components/fieldlabel":
+"@spectrum-css/fieldlabel@npm:11.0.0-next.0, @spectrum-css/fieldlabel@workspace:components/fieldlabel":
version: 0.0.0-use.local
resolution: "@spectrum-css/fieldlabel@workspace:components/fieldlabel"
dependencies:
- "@spectrum-css/icon": "npm:9.1.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/icon":
@@ -4661,7 +4689,7 @@ __metadata:
dependencies:
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/tokens":
optional: true
@@ -4674,7 +4702,7 @@ __metadata:
dependencies:
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/tokens":
optional: true
@@ -4692,14 +4720,14 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/helptext@npm:7.1.0, @spectrum-css/helptext@workspace:components/helptext":
+"@spectrum-css/helptext@npm:8.0.0-next.0, @spectrum-css/helptext@workspace:components/helptext":
version: 0.0.0-use.local
resolution: "@spectrum-css/helptext@workspace:components/helptext"
dependencies:
- "@spectrum-css/icon": "npm:9.1.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/icon":
@@ -4709,7 +4737,7 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/icon@npm:9.1.0, @spectrum-css/icon@workspace:components/icon":
+"@spectrum-css/icon@npm:10.0.0-next.0, @spectrum-css/icon@workspace:components/icon":
version: 0.0.0-use.local
resolution: "@spectrum-css/icon@workspace:components/icon"
dependencies:
@@ -4739,14 +4767,14 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/infieldbutton@npm:6.1.1, @spectrum-css/infieldbutton@workspace:components/infieldbutton":
+"@spectrum-css/infieldbutton@npm:7.0.0-next.0, @spectrum-css/infieldbutton@workspace:components/infieldbutton":
version: 0.0.0-use.local
resolution: "@spectrum-css/infieldbutton@workspace:components/infieldbutton"
dependencies:
- "@spectrum-css/icon": "npm:9.1.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/icon":
@@ -4756,16 +4784,29 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/inlinealert@npm:10.1.0, @spectrum-css/inlinealert@workspace:components/inlinealert":
+"@spectrum-css/infieldprogresscircle@workspace:components/infieldprogresscircle":
+ version: 0.0.0-use.local
+ resolution: "@spectrum-css/infieldprogresscircle@workspace:components/infieldprogresscircle"
+ dependencies:
+ "@spectrum-css/tokens": "npm:16.0.1"
+ peerDependencies:
+ "@spectrum-css/tokens": ">=16"
+ peerDependenciesMeta:
+ "@spectrum-css/tokens":
+ optional: true
+ languageName: unknown
+ linkType: soft
+
+"@spectrum-css/inlinealert@npm:11.0.0-next.0, @spectrum-css/inlinealert@workspace:components/inlinealert":
version: 0.0.0-use.local
resolution: "@spectrum-css/inlinealert@workspace:components/inlinealert"
dependencies:
- "@spectrum-css/button": "npm:14.1.3"
- "@spectrum-css/icon": "npm:9.1.0"
+ "@spectrum-css/button": "npm:15.0.0-next.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/button": ">=14.0.0 <15.0.0"
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
+ "@spectrum-css/button": ">=15.0.0-next.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/button":
@@ -4777,13 +4818,13 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/link@npm:7.1.0, @spectrum-css/link@workspace:components/link":
+"@spectrum-css/link@npm:8.0.0-next.0, @spectrum-css/link@workspace:components/link":
version: 0.0.0-use.local
resolution: "@spectrum-css/link@workspace:components/link"
dependencies:
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/tokens":
optional: true
@@ -4797,30 +4838,30 @@ __metadata:
"@spectrum-css/commons": "npm:11.0.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/tokens":
optional: true
languageName: unknown
linkType: soft
-"@spectrum-css/menu@npm:9.2.0, @spectrum-css/menu@workspace:components/menu":
+"@spectrum-css/menu@npm:10.0.0-next.1, @spectrum-css/menu@workspace:components/menu":
version: 0.0.0-use.local
resolution: "@spectrum-css/menu@workspace:components/menu"
dependencies:
- "@spectrum-css/checkbox": "npm:10.1.2"
- "@spectrum-css/divider": "npm:5.1.0"
- "@spectrum-css/icon": "npm:9.1.0"
+ "@spectrum-css/checkbox": "npm:11.0.0-next.0"
+ "@spectrum-css/divider": "npm:6.0.0-next.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
"@spectrum-css/switch": "npm:6.1.0"
"@spectrum-css/tokens": "npm:16.0.1"
- "@spectrum-css/tray": "npm:5.1.0"
+ "@spectrum-css/tray": "npm:6.0.0-next.2"
peerDependencies:
- "@spectrum-css/checkbox": ">=10.0.0 <11.0.0"
- "@spectrum-css/divider": ">=5.0.0 <6.0.0"
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
+ "@spectrum-css/checkbox": ">=11.0.0-next.0"
+ "@spectrum-css/divider": ">=6.0.0-next.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
"@spectrum-css/switch": ">=6.0.0 <7.0.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
- "@spectrum-css/tray": ">=5.0.0 <6.0.0"
+ "@spectrum-css/tray": ">=6.0.0-next.0"
peerDependenciesMeta:
"@spectrum-css/checkbox":
optional: true
@@ -4837,14 +4878,14 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/meter@npm:1.1.0, @spectrum-css/meter@workspace:components/meter":
+"@spectrum-css/meter@npm:2.0.0-next.0, @spectrum-css/meter@workspace:components/meter":
version: 0.0.0-use.local
resolution: "@spectrum-css/meter@workspace:components/meter"
dependencies:
- "@spectrum-css/progressbar": "npm:6.1.0"
+ "@spectrum-css/progressbar": "npm:7.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/progressbar": ">=6.0.0 <7.0.0"
+ "@spectrum-css/progressbar": ">=7.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/progressbar":
@@ -4854,18 +4895,18 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/miller@npm:8.1.0, @spectrum-css/miller@workspace:components/miller":
+"@spectrum-css/miller@npm:9.0.0-next.0, @spectrum-css/miller@workspace:components/miller":
version: 0.0.0-use.local
resolution: "@spectrum-css/miller@workspace:components/miller"
dependencies:
- "@spectrum-css/assetlist": "npm:8.2.0"
- "@spectrum-css/checkbox": "npm:10.1.2"
- "@spectrum-css/icon": "npm:9.1.0"
+ "@spectrum-css/assetlist": "npm:9.0.0-next.0"
+ "@spectrum-css/checkbox": "npm:11.0.0-next.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/assetlist": ">=8.0.0 <9.0.0"
- "@spectrum-css/checkbox": ">=10.0.0 <11.0.0"
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
+ "@spectrum-css/assetlist": ">=9.0.0-next.0"
+ "@spectrum-css/checkbox": ">=11.0.0-next.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/assetlist":
@@ -4879,14 +4920,13 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/modal@npm:7.1.0, @spectrum-css/modal@workspace:components/modal":
+"@spectrum-css/modal@npm:7.1.1-next.0, @spectrum-css/modal@workspace:components/modal":
version: 0.0.0-use.local
resolution: "@spectrum-css/modal@workspace:components/modal"
dependencies:
- "@spectrum-css/commons": "npm:11.0.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/tokens":
optional: true
@@ -4899,7 +4939,7 @@ __metadata:
dependencies:
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/tokens":
optional: true
@@ -4912,27 +4952,27 @@ __metadata:
dependencies:
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/tokens":
optional: true
languageName: unknown
linkType: soft
-"@spectrum-css/pagination@npm:10.1.0, @spectrum-css/pagination@workspace:components/pagination":
+"@spectrum-css/pagination@npm:11.0.0-next.0, @spectrum-css/pagination@workspace:components/pagination":
version: 0.0.0-use.local
resolution: "@spectrum-css/pagination@workspace:components/pagination"
dependencies:
- "@spectrum-css/actionbutton": "npm:7.1.2"
- "@spectrum-css/button": "npm:14.1.3"
- "@spectrum-css/icon": "npm:9.1.0"
- "@spectrum-css/textfield": "npm:8.1.1"
+ "@spectrum-css/actionbutton": "npm:8.0.0-next.1"
+ "@spectrum-css/button": "npm:15.0.0-next.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
+ "@spectrum-css/textfield": "npm:9.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/actionbutton": ">=7.0.0 <8.0.0"
- "@spectrum-css/button": ">=14.0.0 <15.0.0"
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
- "@spectrum-css/textfield": ">=8.0.0 <9.0.0"
+ "@spectrum-css/actionbutton": ">=8.0.0-next.0"
+ "@spectrum-css/button": ">=15.0.0-next.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
+ "@spectrum-css/textfield": ">=9.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/actionbutton":
@@ -4948,22 +4988,22 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/picker@npm:9.1.4, @spectrum-css/picker@workspace:components/picker":
+"@spectrum-css/picker@npm:10.0.0-next.0, @spectrum-css/picker@workspace:components/picker":
version: 0.0.0-use.local
resolution: "@spectrum-css/picker@workspace:components/picker"
dependencies:
"@spectrum-css/commons": "npm:11.0.0"
- "@spectrum-css/helptext": "npm:7.1.0"
- "@spectrum-css/icon": "npm:9.1.0"
- "@spectrum-css/menu": "npm:9.2.0"
- "@spectrum-css/popover": "npm:8.2.0"
+ "@spectrum-css/helptext": "npm:8.0.0-next.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
+ "@spectrum-css/menu": "npm:10.0.0-next.1"
+ "@spectrum-css/popover": "npm:9.0.0-next.1"
"@spectrum-css/progresscircle": "npm:5.1.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/helptext": ">=7.0.0 <8.0.0"
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
- "@spectrum-css/menu": ">=9.0.0 <10.0.0"
- "@spectrum-css/popover": ">=8.0.0 <9.0.0"
+ "@spectrum-css/helptext": ">=8.0.0-next.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
+ "@spectrum-css/menu": ">=10.0.0-next.0"
+ "@spectrum-css/popover": ">=9.0.0-next.0"
"@spectrum-css/progresscircle": ">=5.0.0 <6.0.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
@@ -4982,18 +5022,18 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/pickerbutton@npm:6.1.1, @spectrum-css/pickerbutton@workspace:components/pickerbutton":
+"@spectrum-css/pickerbutton@npm:7.0.0-next.0, @spectrum-css/pickerbutton@workspace:components/pickerbutton":
version: 0.0.0-use.local
resolution: "@spectrum-css/pickerbutton@workspace:components/pickerbutton"
dependencies:
- "@spectrum-css/icon": "npm:9.1.0"
- "@spectrum-css/menu": "npm:9.2.0"
- "@spectrum-css/popover": "npm:8.2.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
+ "@spectrum-css/menu": "npm:10.0.0-next.1"
+ "@spectrum-css/popover": "npm:9.0.0-next.1"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
- "@spectrum-css/menu": ">=9.0.0 <10.0.0"
- "@spectrum-css/popover": ">=8.0.0 <9.0.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
+ "@spectrum-css/menu": ">=10.0.0-next.0"
+ "@spectrum-css/popover": ">=9.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/icon":
@@ -5007,21 +5047,21 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/popover@npm:8.2.0, @spectrum-css/popover@workspace:components/popover":
+"@spectrum-css/popover@npm:9.0.0-next.1, @spectrum-css/popover@workspace:components/popover":
version: 0.0.0-use.local
resolution: "@spectrum-css/popover@workspace:components/popover"
dependencies:
- "@spectrum-css/alertdialog": "npm:4.1.0"
+ "@spectrum-css/alertdialog": "npm:5.0.0-next.2"
"@spectrum-css/commons": "npm:11.0.0"
- "@spectrum-css/dialog": "npm:12.1.0"
- "@spectrum-css/divider": "npm:5.1.0"
- "@spectrum-css/menu": "npm:9.2.0"
+ "@spectrum-css/dialog": "npm:13.0.0-next.2"
+ "@spectrum-css/divider": "npm:6.0.0-next.0"
+ "@spectrum-css/menu": "npm:10.0.0-next.1"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/alertdialog": ">=4.0.0 <5.0.0"
- "@spectrum-css/dialog": ">=12.0.0 <13.0.0"
- "@spectrum-css/divider": ">=5.0.0 <6.0.0"
- "@spectrum-css/menu": ">=9.0.0 <10.0.0"
+ "@spectrum-css/alertdialog": ">=5.0.0-next.0"
+ "@spectrum-css/dialog": ">=13.0.0-next.0"
+ "@spectrum-css/divider": ">=6.0.0-next.0"
+ "@spectrum-css/menu": ">=10.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/alertdialog":
@@ -5041,14 +5081,13 @@ __metadata:
version: 0.0.0-use.local
resolution: "@spectrum-css/preview@workspace:.storybook"
dependencies:
- "@adobe/spectrum-css-workflow-icons": "npm:^1.5.4"
+ "@adobe/spectrum-css-workflow-icons": "npm:^4.0.0"
"@babel/core": "npm:^7.26.0"
"@chromatic-com/storybook": "npm:^3.2.3"
"@etchteam/storybook-addon-status": "npm:^5.0.0"
"@spectrum-css/bundle": "npm:1.0.1"
"@spectrum-css/tokens": "npm:16.0.1"
- "@spectrum-css/tokens-legacy": "npm:@spectrum-css/tokens@^15.0.0"
- "@spectrum-css/ui-icons": "npm:1.1.2"
+ "@spectrum-css/ui-icons": "npm:2.0.0-next.0"
"@storybook/addon-a11y": "npm:^8.4.7"
"@storybook/addon-actions": "npm:^8.4.7"
"@storybook/addon-designs": "npm:^8.0.4"
@@ -5081,14 +5120,14 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/progressbar@npm:6.1.0, @spectrum-css/progressbar@workspace:components/progressbar":
+"@spectrum-css/progressbar@npm:7.0.0-next.0, @spectrum-css/progressbar@workspace:components/progressbar":
version: 0.0.0-use.local
resolution: "@spectrum-css/progressbar@workspace:components/progressbar"
dependencies:
- "@spectrum-css/fieldlabel": "npm:10.1.0"
+ "@spectrum-css/fieldlabel": "npm:11.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/fieldlabel": ">=10.0.0 <11.0.0"
+ "@spectrum-css/fieldlabel": ">=11.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/fieldlabel":
@@ -5104,21 +5143,21 @@ __metadata:
dependencies:
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/tokens":
optional: true
languageName: unknown
linkType: soft
-"@spectrum-css/radio@npm:10.1.0, @spectrum-css/radio@workspace:components/radio":
+"@spectrum-css/radio@npm:11.0.0-next.1, @spectrum-css/radio@workspace:components/radio":
version: 0.0.0-use.local
resolution: "@spectrum-css/radio@workspace:components/radio"
dependencies:
- "@spectrum-css/icon": "npm:9.1.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/icon":
@@ -5128,14 +5167,14 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/rating@npm:6.1.0, @spectrum-css/rating@workspace:components/rating":
+"@spectrum-css/rating@npm:7.0.0-next.0, @spectrum-css/rating@workspace:components/rating":
version: 0.0.0-use.local
resolution: "@spectrum-css/rating@workspace:components/rating"
dependencies:
- "@spectrum-css/icon": "npm:9.1.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/icon":
@@ -5145,18 +5184,18 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/search@npm:8.1.1, @spectrum-css/search@workspace:components/search":
+"@spectrum-css/search@npm:9.0.0-next.0, @spectrum-css/search@workspace:components/search":
version: 0.0.0-use.local
resolution: "@spectrum-css/search@workspace:components/search"
dependencies:
- "@spectrum-css/clearbutton": "npm:7.2.0"
- "@spectrum-css/icon": "npm:9.1.0"
- "@spectrum-css/textfield": "npm:8.1.1"
+ "@spectrum-css/clearbutton": "npm:8.0.0-next.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
+ "@spectrum-css/textfield": "npm:9.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/clearbutton": ">=7.0.0 <8.0.0"
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
- "@spectrum-css/textfield": ">=8.0.0 <9.0.0"
+ "@spectrum-css/clearbutton": ">=8.0.0-next.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
+ "@spectrum-css/textfield": ">=9.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/clearbutton":
@@ -5170,14 +5209,14 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/sidenav@npm:7.1.0, @spectrum-css/sidenav@workspace:components/sidenav":
+"@spectrum-css/sidenav@npm:8.0.0-next.0, @spectrum-css/sidenav@workspace:components/sidenav":
version: 0.0.0-use.local
resolution: "@spectrum-css/sidenav@workspace:components/sidenav"
dependencies:
- "@spectrum-css/icon": "npm:9.1.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/icon":
@@ -5187,14 +5226,14 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/slider@npm:6.3.0, @spectrum-css/slider@workspace:components/slider":
+"@spectrum-css/slider@npm:7.0.0-next.0, @spectrum-css/slider@workspace:components/slider":
version: 0.0.0-use.local
resolution: "@spectrum-css/slider@workspace:components/slider"
dependencies:
- "@spectrum-css/stepper": "npm:7.1.3"
+ "@spectrum-css/stepper": "npm:8.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/stepper": ">=7.0.0 <8.0.0"
+ "@spectrum-css/stepper": ">=8.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/stepper":
@@ -5210,37 +5249,37 @@ __metadata:
dependencies:
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/tokens":
optional: true
languageName: unknown
linkType: soft
-"@spectrum-css/statuslight@npm:9.1.0, @spectrum-css/statuslight@workspace:components/statuslight":
+"@spectrum-css/statuslight@npm:9.1.1-next.0, @spectrum-css/statuslight@workspace:components/statuslight":
version: 0.0.0-use.local
resolution: "@spectrum-css/statuslight@workspace:components/statuslight"
dependencies:
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/tokens":
optional: true
languageName: unknown
linkType: soft
-"@spectrum-css/steplist@npm:7.1.0, @spectrum-css/steplist@workspace:components/steplist":
+"@spectrum-css/steplist@npm:8.0.0-next.0, @spectrum-css/steplist@workspace:components/steplist":
version: 0.0.0-use.local
resolution: "@spectrum-css/steplist@workspace:components/steplist"
dependencies:
- "@spectrum-css/icon": "npm:9.1.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
- "@spectrum-css/tooltip": "npm:7.1.0"
+ "@spectrum-css/tooltip": "npm:8.0.0-next.0"
peerDependencies:
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
- "@spectrum-css/tooltip": ">=7.0.0 <8.0.0"
+ "@spectrum-css/tooltip": ">=8.0.0-next.0"
peerDependenciesMeta:
"@spectrum-css/icon":
optional: true
@@ -5251,20 +5290,20 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/stepper@npm:7.1.3, @spectrum-css/stepper@workspace:components/stepper":
+"@spectrum-css/stepper@npm:8.0.0-next.0, @spectrum-css/stepper@workspace:components/stepper":
version: 0.0.0-use.local
resolution: "@spectrum-css/stepper@workspace:components/stepper"
dependencies:
- "@spectrum-css/actionbutton": "npm:7.1.2"
- "@spectrum-css/icon": "npm:9.1.0"
- "@spectrum-css/infieldbutton": "npm:6.1.1"
- "@spectrum-css/textfield": "npm:8.1.1"
+ "@spectrum-css/actionbutton": "npm:8.0.0-next.1"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
+ "@spectrum-css/infieldbutton": "npm:7.0.0-next.0"
+ "@spectrum-css/textfield": "npm:9.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/actionbutton": ">=7.0.0 <8.0.0"
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
- "@spectrum-css/infieldbutton": ">=6.0.0 <7.0.0"
- "@spectrum-css/textfield": ">=8.0.0 <9.0.0"
+ "@spectrum-css/actionbutton": ">=8.0.0-next.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
+ "@spectrum-css/infieldbutton": ">=7.0.0-next.0"
+ "@spectrum-css/textfield": ">=9.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/actionbutton":
@@ -5320,26 +5359,26 @@ __metadata:
dependencies:
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/tokens":
optional: true
languageName: unknown
linkType: soft
-"@spectrum-css/table@npm:8.1.0, @spectrum-css/table@workspace:components/table":
+"@spectrum-css/table@npm:9.0.0-next.0, @spectrum-css/table@workspace:components/table":
version: 0.0.0-use.local
resolution: "@spectrum-css/table@workspace:components/table"
dependencies:
- "@spectrum-css/button": "npm:14.1.3"
- "@spectrum-css/checkbox": "npm:10.1.2"
- "@spectrum-css/icon": "npm:9.1.0"
+ "@spectrum-css/button": "npm:15.0.0-next.0"
+ "@spectrum-css/checkbox": "npm:11.0.0-next.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
"@spectrum-css/thumbnail": "npm:8.1.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/button": ">=14.0.0 <15.0.0"
- "@spectrum-css/checkbox": ">=10.0.0 <11.0.0"
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
+ "@spectrum-css/button": ">=15.0.0-next.0"
+ "@spectrum-css/checkbox": ">=11.0.0-next.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
"@spectrum-css/thumbnail": ">=8.0.0 <9.0.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
@@ -5356,18 +5395,18 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/tabs@npm:6.1.1, @spectrum-css/tabs@workspace:components/tabs":
+"@spectrum-css/tabs@npm:7.0.0-next.0, @spectrum-css/tabs@workspace:components/tabs":
version: 0.0.0-use.local
resolution: "@spectrum-css/tabs@workspace:components/tabs"
dependencies:
- "@spectrum-css/icon": "npm:9.1.0"
- "@spectrum-css/menu": "npm:9.2.0"
- "@spectrum-css/picker": "npm:9.1.4"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
+ "@spectrum-css/menu": "npm:10.0.0-next.1"
+ "@spectrum-css/picker": "npm:10.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
- "@spectrum-css/menu": ">=9.0.0 <10.0.0"
- "@spectrum-css/picker": ">=9.0.0 <10.0.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
+ "@spectrum-css/menu": ">=10.0.0-next.0"
+ "@spectrum-css/picker": ">=10.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/icon":
@@ -5381,18 +5420,18 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/tag@npm:10.1.0, @spectrum-css/tag@workspace:components/tag":
+"@spectrum-css/tag@npm:11.0.0-next.0, @spectrum-css/tag@workspace:components/tag":
version: 0.0.0-use.local
resolution: "@spectrum-css/tag@workspace:components/tag"
dependencies:
"@spectrum-css/avatar": "npm:9.1.0"
- "@spectrum-css/clearbutton": "npm:7.2.0"
- "@spectrum-css/icon": "npm:9.1.0"
+ "@spectrum-css/clearbutton": "npm:8.0.0-next.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
"@spectrum-css/avatar": ">=9.0.0 <10.0.0"
- "@spectrum-css/clearbutton": ">=7.0.0 <8.0.0"
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
+ "@spectrum-css/clearbutton": ">=8.0.0-next.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/avatar":
@@ -5406,14 +5445,14 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/taggroup@npm:7.1.0, @spectrum-css/taggroup@workspace:components/taggroup":
+"@spectrum-css/taggroup@npm:8.0.0-next.0, @spectrum-css/taggroup@workspace:components/taggroup":
version: 0.0.0-use.local
resolution: "@spectrum-css/taggroup@workspace:components/taggroup"
dependencies:
- "@spectrum-css/tag": "npm:10.1.0"
+ "@spectrum-css/tag": "npm:11.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/tag": ">=10.0.0 <11.0.0"
+ "@spectrum-css/tag": ">=11.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/tag":
@@ -5423,14 +5462,14 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/textfield@npm:8.1.1, @spectrum-css/textfield@workspace:components/textfield":
+"@spectrum-css/textfield@npm:9.0.0-next.0, @spectrum-css/textfield@workspace:components/textfield":
version: 0.0.0-use.local
resolution: "@spectrum-css/textfield@workspace:components/textfield"
dependencies:
- "@spectrum-css/helptext": "npm:7.1.0"
+ "@spectrum-css/helptext": "npm:8.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/helptext": ">=7.0.0 <8.0.0"
+ "@spectrum-css/helptext": ">=8.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/helptext":
@@ -5457,18 +5496,18 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/toast@npm:11.1.0, @spectrum-css/toast@workspace:components/toast":
+"@spectrum-css/toast@npm:12.0.0-next.0, @spectrum-css/toast@workspace:components/toast":
version: 0.0.0-use.local
resolution: "@spectrum-css/toast@workspace:components/toast"
dependencies:
- "@spectrum-css/button": "npm:14.1.3"
- "@spectrum-css/closebutton": "npm:6.1.0"
- "@spectrum-css/icon": "npm:9.1.0"
+ "@spectrum-css/button": "npm:15.0.0-next.0"
+ "@spectrum-css/closebutton": "npm:7.0.0-next.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/button": ">=14.0.0 <15.0.0"
- "@spectrum-css/closebutton": ">=6.0.0 <7.0.0"
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
+ "@spectrum-css/button": ">=15.0.0-next.0"
+ "@spectrum-css/closebutton": ">=7.0.0-next.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/button":
@@ -5482,18 +5521,11 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/tokens-legacy@npm:@spectrum-css/tokens@^15.0.0":
- version: 15.2.0
- resolution: "@spectrum-css/tokens@npm:15.2.0"
- checksum: 10c0/dd8d1dd39fc72d57bc12e183b3fda7654a7ebf90902267e8c4145d54b09eecfc150f09c92ec837b6c501c0c9da573e2d9b0bc3745c7c8981c3a39ee03367fc24
- languageName: node
- linkType: hard
-
"@spectrum-css/tokens@npm:16.0.1, @spectrum-css/tokens@workspace:tokens":
version: 0.0.0-use.local
resolution: "@spectrum-css/tokens@workspace:tokens"
dependencies:
- "@adobe/spectrum-tokens": "npm:0.0.0-s2-foundations-20241121221506"
+ "@adobe/spectrum-tokens": "npm:13.0.0-beta.58"
"@adobe/token-diff-generator": "npm:^1.3.0"
"@nxkit/style-dictionary": "npm:^6.0.0"
"@spectrum-tools/postcss-rgb-mapping": "npm:1.0.0"
@@ -5504,15 +5536,15 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/tooltip@npm:7.1.0, @spectrum-css/tooltip@workspace:components/tooltip":
+"@spectrum-css/tooltip@npm:8.0.0-next.0, @spectrum-css/tooltip@workspace:components/tooltip":
version: 0.0.0-use.local
resolution: "@spectrum-css/tooltip@workspace:components/tooltip"
dependencies:
"@spectrum-css/commons": "npm:11.0.0"
- "@spectrum-css/icon": "npm:9.1.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/icon":
@@ -5522,22 +5554,22 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/tray@npm:5.1.0, @spectrum-css/tray@workspace:components/tray":
+"@spectrum-css/tray@npm:6.0.0-next.2, @spectrum-css/tray@workspace:components/tray":
version: 0.0.0-use.local
resolution: "@spectrum-css/tray@workspace:components/tray"
dependencies:
- "@spectrum-css/button": "npm:14.1.3"
- "@spectrum-css/dialog": "npm:12.1.0"
- "@spectrum-css/divider": "npm:5.1.0"
- "@spectrum-css/icon": "npm:9.1.0"
- "@spectrum-css/modal": "npm:7.1.0"
+ "@spectrum-css/button": "npm:15.0.0-next.0"
+ "@spectrum-css/dialog": "npm:13.0.0-next.2"
+ "@spectrum-css/divider": "npm:6.0.0-next.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
+ "@spectrum-css/modal": "npm:7.1.1-next.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/button": ">=14.0.0 <15.0.0"
- "@spectrum-css/dialog": ">=12.0.0 <13.0.0"
- "@spectrum-css/divider": ">=5.0.0 <6.0.0"
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
- "@spectrum-css/modal": ">=7.0.0 <8.0.0"
+ "@spectrum-css/button": ">=15.0.0-next.0"
+ "@spectrum-css/dialog": ">=13.0.0-next.0"
+ "@spectrum-css/divider": ">=6.0.0-next.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
+ "@spectrum-css/modal": ">=7.1.1-next.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/button":
@@ -5555,15 +5587,15 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-css/treeview@npm:12.1.0, @spectrum-css/treeview@workspace:components/treeview":
+"@spectrum-css/treeview@npm:13.0.0-next.0, @spectrum-css/treeview@workspace:components/treeview":
version: 0.0.0-use.local
resolution: "@spectrum-css/treeview@workspace:components/treeview"
dependencies:
- "@spectrum-css/icon": "npm:9.1.0"
+ "@spectrum-css/icon": "npm:10.0.0-next.0"
"@spectrum-css/thumbnail": "npm:8.1.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/icon": ">=9.0.0 <10.0.0"
+ "@spectrum-css/icon": ">=10.0.0-next.0"
"@spectrum-css/thumbnail": ">=8.0.0 <9.0.0"
"@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
@@ -5582,19 +5614,18 @@ __metadata:
dependencies:
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/tokens":
optional: true
languageName: unknown
linkType: soft
-"@spectrum-css/ui-icons@npm:1.1.2, @spectrum-css/ui-icons@workspace:ui-icons":
+"@spectrum-css/ui-icons@npm:2.0.0-next.0, @spectrum-css/ui-icons@workspace:ui-icons":
version: 0.0.0-use.local
resolution: "@spectrum-css/ui-icons@workspace:ui-icons"
dependencies:
fast-glob: "npm:^3.3.3"
- svgcombiner: "npm:^1.0.1"
svgo: "npm:^3.3.2"
svgstore: "npm:^3.0.1"
languageName: unknown
@@ -5607,7 +5638,7 @@ __metadata:
"@spectrum-css/commons": "npm:11.0.0"
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/tokens":
optional: true
@@ -5620,7 +5651,7 @@ __metadata:
dependencies:
"@spectrum-css/tokens": "npm:16.0.1"
peerDependencies:
- "@spectrum-css/tokens": ">=16.0.1"
+ "@spectrum-css/tokens": ">=16.0.0 <17.0.0"
peerDependenciesMeta:
"@spectrum-css/tokens":
optional: true
@@ -5640,32 +5671,6 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-tools/postcss-add-theming-layer@npm:1.0.2, @spectrum-tools/postcss-add-theming-layer@workspace:plugins/postcss-add-theming-layer":
- version: 0.0.0-use.local
- resolution: "@spectrum-tools/postcss-add-theming-layer@workspace:plugins/postcss-add-theming-layer"
- dependencies:
- ava: "npm:^6.2.0"
- c8: "npm:^10.1.3"
- postcss: "npm:^8.5.3"
- postcss-selector-parser: "npm:^6.1.2"
- postcss-values-parser: "npm:^6.0.2"
- peerDependencies:
- postcss: ">=8"
- languageName: unknown
- linkType: soft
-
-"@spectrum-tools/postcss-property-rollup@npm:0.0.1, @spectrum-tools/postcss-property-rollup@workspace:plugins/postcss-property-rollup":
- version: 0.0.0-use.local
- resolution: "@spectrum-tools/postcss-property-rollup@workspace:plugins/postcss-property-rollup"
- dependencies:
- ava: "npm:^6.2.0"
- c8: "npm:^10.1.3"
- postcss: "npm:^8.5.3"
- peerDependencies:
- postcss: ">=8"
- languageName: unknown
- linkType: soft
-
"@spectrum-tools/postcss-rgb-mapping@npm:1.0.0, @spectrum-tools/postcss-rgb-mapping@workspace:plugins/postcss-rgb-mapping":
version: 0.0.0-use.local
resolution: "@spectrum-tools/postcss-rgb-mapping@workspace:plugins/postcss-rgb-mapping"
@@ -5692,29 +5697,14 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-tools/stylelint-no-unknown-custom-properties@workspace:plugins/stylelint-no-unknown-custom-properties":
- version: 0.0.0-use.local
- resolution: "@spectrum-tools/stylelint-no-unknown-custom-properties@workspace:plugins/stylelint-no-unknown-custom-properties"
- dependencies:
- ava: "npm:^6.2.0"
- c8: "npm:^10.1.3"
- colors: "npm:^1.4.0"
- fast-glob: "npm:^3.3.3"
- postcss: "npm:^8.5.3"
- postcss-values-parser: "npm:^6.0.2"
- stylelint: "npm:^16.15.0"
- peerDependencies:
- stylelint: ">=16"
- languageName: unknown
- linkType: soft
-
-"@spectrum-tools/stylelint-no-unused-custom-properties@workspace:plugins/stylelint-no-unused-custom-properties":
+"@spectrum-tools/stylelint-no-unknown-custom-properties@workspace:plugins/stylelint-no-unknown-custom-properties":
version: 0.0.0-use.local
- resolution: "@spectrum-tools/stylelint-no-unused-custom-properties@workspace:plugins/stylelint-no-unused-custom-properties"
+ resolution: "@spectrum-tools/stylelint-no-unknown-custom-properties@workspace:plugins/stylelint-no-unknown-custom-properties"
dependencies:
ava: "npm:^6.2.0"
c8: "npm:^10.1.3"
colors: "npm:^1.4.0"
+ fast-glob: "npm:^3.3.3"
postcss: "npm:^8.5.3"
postcss-values-parser: "npm:^6.0.2"
stylelint: "npm:^16.15.0"
@@ -5723,10 +5713,12 @@ __metadata:
languageName: unknown
linkType: soft
-"@spectrum-tools/stylelint-theme-alignment@workspace:plugins/stylelint-theme-alignment":
+"@spectrum-tools/stylelint-no-unused-custom-properties@workspace:plugins/stylelint-no-unused-custom-properties":
version: 0.0.0-use.local
- resolution: "@spectrum-tools/stylelint-theme-alignment@workspace:plugins/stylelint-theme-alignment"
+ resolution: "@spectrum-tools/stylelint-no-unused-custom-properties@workspace:plugins/stylelint-no-unused-custom-properties"
dependencies:
+ ava: "npm:^6.2.0"
+ c8: "npm:^10.1.3"
colors: "npm:^1.4.0"
postcss: "npm:^8.5.3"
postcss-values-parser: "npm:^6.0.2"
@@ -5737,20 +5729,21 @@ __metadata:
linkType: soft
"@storybook/addon-a11y@npm:^8.4.7":
- version: 8.4.7
- resolution: "@storybook/addon-a11y@npm:8.4.7"
+ version: 8.5.8
+ resolution: "@storybook/addon-a11y@npm:8.5.8"
dependencies:
- "@storybook/addon-highlight": "npm:8.4.7"
+ "@storybook/addon-highlight": "npm:8.5.8"
+ "@storybook/test": "npm:8.5.8"
axe-core: "npm:^4.2.0"
peerDependencies:
- storybook: ^8.4.7
- checksum: 10c0/d00c65b8e256dfc283774562e0ff3cabbd8b9f3fbe619eb23d2c9951d7b075cf29fe8bdb57d3f05756f649bee8b04dfbed6389e852632b40f748cb6c8bba8896
+ storybook: ^8.5.8
+ checksum: 10c0/909b1e00cc0f39429c6ca9395312c4fe2fc6680231640f9e8569b8dc776b8d9424ef18fd09baf2804f8be22006219d7fbd8bcd01d19ce908dba97ce67c73ccac
languageName: node
linkType: hard
-"@storybook/addon-actions@npm:8.4.7, @storybook/addon-actions@npm:^8.4.7":
- version: 8.4.7
- resolution: "@storybook/addon-actions@npm:8.4.7"
+"@storybook/addon-actions@npm:8.5.8, @storybook/addon-actions@npm:^8.4.7":
+ version: 8.5.8
+ resolution: "@storybook/addon-actions@npm:8.5.8"
dependencies:
"@storybook/global": "npm:^5.0.0"
"@types/uuid": "npm:^9.0.1"
@@ -5758,40 +5751,40 @@ __metadata:
polished: "npm:^4.2.2"
uuid: "npm:^9.0.0"
peerDependencies:
- storybook: ^8.4.7
- checksum: 10c0/411be60f358101291cbd4ff8e5ddbac58fa0583c95338b82b410dc030a73632b654eaf7004b421c7e309cf0bfa709c4f93728b943e1b59dcfff5a249686501c1
+ storybook: ^8.5.8
+ checksum: 10c0/6d83052e7746b79efb72593c29b61d18def896216d0d4559038c7d18cd46403a88bcdd41dfa14405671203a626d37221fd91f8a45316fa6c2073e5e1de9ca9d5
languageName: node
linkType: hard
-"@storybook/addon-backgrounds@npm:8.4.7":
- version: 8.4.7
- resolution: "@storybook/addon-backgrounds@npm:8.4.7"
+"@storybook/addon-backgrounds@npm:8.5.8":
+ version: 8.5.8
+ resolution: "@storybook/addon-backgrounds@npm:8.5.8"
dependencies:
"@storybook/global": "npm:^5.0.0"
memoizerific: "npm:^1.11.3"
ts-dedent: "npm:^2.0.0"
peerDependencies:
- storybook: ^8.4.7
- checksum: 10c0/d22c4acd1d99f616865dde11c70b444a0aac7fe7623904479a29a0142b504f284ddc2407eacfd1203c3b0856e5497e7902eb86e287516364c7735b90e224bbcb
+ storybook: ^8.5.8
+ checksum: 10c0/7f852c73a4116755097a0fefd848a74d9907c4ce88bbcf18c1db8aed0254943c028626c440c75353f3102931f6f34795615a2eda3f5fd1a2bb620a7cff9fb035
languageName: node
linkType: hard
-"@storybook/addon-controls@npm:8.4.7":
- version: 8.4.7
- resolution: "@storybook/addon-controls@npm:8.4.7"
+"@storybook/addon-controls@npm:8.5.8":
+ version: 8.5.8
+ resolution: "@storybook/addon-controls@npm:8.5.8"
dependencies:
"@storybook/global": "npm:^5.0.0"
dequal: "npm:^2.0.2"
ts-dedent: "npm:^2.0.0"
peerDependencies:
- storybook: ^8.4.7
- checksum: 10c0/900c71d172e9f75a1c39a87de1d411890fcea012586be02e3293c705c500a3a62a2bdecb10c11ba9c9f6117706dfbc34aaa40d2ca8e8a9d7b8a6a739d6a73e0c
+ storybook: ^8.5.8
+ checksum: 10c0/0d6a61148067d5015029322cb2beedc635cf9e1342357e1eda6b1b44abb9af44709772e29d144e280f7f91d3251c53abe43af711f552a08e52d2a47c9f8f2aea
languageName: node
linkType: hard
"@storybook/addon-designs@npm:^8.0.4":
- version: 8.0.4
- resolution: "@storybook/addon-designs@npm:8.0.4"
+ version: 8.2.0
+ resolution: "@storybook/addon-designs@npm:8.2.0"
dependencies:
"@figspec/react": "npm:^1.0.0"
peerDependencies:
@@ -5811,177 +5804,177 @@ __metadata:
optional: true
react-dom:
optional: true
- checksum: 10c0/fcc2aaa901f159ac689f652f0f891170a011bcf1b9ea0a0b5106999c1d78faa093331f5a20cd4575bf87aca5faae98048e1d1c8300050270919848d7357df4af
+ checksum: 10c0/6a6ff46696daaea42a870cf18cb028f94d57048b88f8089addcfef7aca503146970ffdaaad1647e02b8cb6e4f9c030f06a4c373c634fac66291c9eaa25a5b507
languageName: node
linkType: hard
-"@storybook/addon-docs@npm:8.4.7, @storybook/addon-docs@npm:^8.4.7":
- version: 8.4.7
- resolution: "@storybook/addon-docs@npm:8.4.7"
+"@storybook/addon-docs@npm:8.5.8, @storybook/addon-docs@npm:^8.4.7":
+ version: 8.5.8
+ resolution: "@storybook/addon-docs@npm:8.5.8"
dependencies:
"@mdx-js/react": "npm:^3.0.0"
- "@storybook/blocks": "npm:8.4.7"
- "@storybook/csf-plugin": "npm:8.4.7"
- "@storybook/react-dom-shim": "npm:8.4.7"
- react: "npm:^16.8.0 || ^17.0.0 || ^18.0.0"
- react-dom: "npm:^16.8.0 || ^17.0.0 || ^18.0.0"
+ "@storybook/blocks": "npm:8.5.8"
+ "@storybook/csf-plugin": "npm:8.5.8"
+ "@storybook/react-dom-shim": "npm:8.5.8"
+ react: "npm:^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+ react-dom: "npm:^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
ts-dedent: "npm:^2.0.0"
peerDependencies:
- storybook: ^8.4.7
- checksum: 10c0/0eb1854ddb6dbef1b32f89746944ee7a16db986403fe0a3712f43d39faa6335e0bce4ac21a8c20d09955ae73cccd1962f3b45037ab1144f61c1317d686e8695f
+ storybook: ^8.5.8
+ checksum: 10c0/f480e265a450f2de6e379c480e1f470bcdd17869721d57b3e96843b365f40b9ef2e38d7c6103ce976e575bb34a5400d39758b4a2ed5846a779f2a53bdd9184ea
languageName: node
linkType: hard
"@storybook/addon-essentials@npm:^8.4.7":
- version: 8.4.7
- resolution: "@storybook/addon-essentials@npm:8.4.7"
- dependencies:
- "@storybook/addon-actions": "npm:8.4.7"
- "@storybook/addon-backgrounds": "npm:8.4.7"
- "@storybook/addon-controls": "npm:8.4.7"
- "@storybook/addon-docs": "npm:8.4.7"
- "@storybook/addon-highlight": "npm:8.4.7"
- "@storybook/addon-measure": "npm:8.4.7"
- "@storybook/addon-outline": "npm:8.4.7"
- "@storybook/addon-toolbars": "npm:8.4.7"
- "@storybook/addon-viewport": "npm:8.4.7"
+ version: 8.5.8
+ resolution: "@storybook/addon-essentials@npm:8.5.8"
+ dependencies:
+ "@storybook/addon-actions": "npm:8.5.8"
+ "@storybook/addon-backgrounds": "npm:8.5.8"
+ "@storybook/addon-controls": "npm:8.5.8"
+ "@storybook/addon-docs": "npm:8.5.8"
+ "@storybook/addon-highlight": "npm:8.5.8"
+ "@storybook/addon-measure": "npm:8.5.8"
+ "@storybook/addon-outline": "npm:8.5.8"
+ "@storybook/addon-toolbars": "npm:8.5.8"
+ "@storybook/addon-viewport": "npm:8.5.8"
ts-dedent: "npm:^2.0.0"
peerDependencies:
- storybook: ^8.4.7
- checksum: 10c0/82ddd8424dfd5bf0ef44cee6a320f8395c63678bc0d4566307b2c68bd83c39f6bd447fb421681e3ab581c35c9d991207b01bebf20269c083931f581bb4651d6d
+ storybook: ^8.5.8
+ checksum: 10c0/9dd3a3d79cce807a615a238e45f62f1519308a777730f199468b859337763502a442c555234d6c54535d8aea4aee8f4561840338bd310384f3340d8499592a5d
languageName: node
linkType: hard
-"@storybook/addon-highlight@npm:8.4.7":
- version: 8.4.7
- resolution: "@storybook/addon-highlight@npm:8.4.7"
+"@storybook/addon-highlight@npm:8.5.8":
+ version: 8.5.8
+ resolution: "@storybook/addon-highlight@npm:8.5.8"
dependencies:
"@storybook/global": "npm:^5.0.0"
peerDependencies:
- storybook: ^8.4.7
- checksum: 10c0/2256b880d1f83c86c64287988bd4f4b76a8e1990f2a2a080a322994a9a8e553013fc21b7503c218ec394a880c1b72b131975e6eeadec6accb7eb35d3cb85a6ce
+ storybook: ^8.5.8
+ checksum: 10c0/80c4fd899cf0c11e75994617713cc69e156db64d46ea61b855356b7a2766925d2a8db470e27544664932ce96875c85e84f52d7b9e5f3d6a3e8e4c8cdb6ba393b
languageName: node
linkType: hard
"@storybook/addon-interactions@npm:^8.4.7":
- version: 8.4.7
- resolution: "@storybook/addon-interactions@npm:8.4.7"
+ version: 8.5.8
+ resolution: "@storybook/addon-interactions@npm:8.5.8"
dependencies:
"@storybook/global": "npm:^5.0.0"
- "@storybook/instrumenter": "npm:8.4.7"
- "@storybook/test": "npm:8.4.7"
+ "@storybook/instrumenter": "npm:8.5.8"
+ "@storybook/test": "npm:8.5.8"
polished: "npm:^4.2.2"
ts-dedent: "npm:^2.2.0"
peerDependencies:
- storybook: ^8.4.7
- checksum: 10c0/5c35d2f33122f053568a746c36eb99eb1764ee990146ea374b0fc01defd3f0b33674d2758c027c760fe2966f8683193e8c414089c07e1136ffc562e3346ce479
+ storybook: ^8.5.8
+ checksum: 10c0/1d48582c91cac1c676961c6dd510d570112082c52680b353ac6ff5905d7356046dc614338ed317991d15292fede2254f6e3a4f940be2d25ec48ea60fb56befee
languageName: node
linkType: hard
-"@storybook/addon-measure@npm:8.4.7":
- version: 8.4.7
- resolution: "@storybook/addon-measure@npm:8.4.7"
+"@storybook/addon-measure@npm:8.5.8":
+ version: 8.5.8
+ resolution: "@storybook/addon-measure@npm:8.5.8"
dependencies:
"@storybook/global": "npm:^5.0.0"
tiny-invariant: "npm:^1.3.1"
peerDependencies:
- storybook: ^8.4.7
- checksum: 10c0/a9e87c91cbcade2d0059cdc471e8ba479ad6d9dee0c2558c3b706e37d58b4cb3d986924ea0ff623aa791300ee2a8d2429e8fb3ef32eeec9d49861f8677815ac2
+ storybook: ^8.5.8
+ checksum: 10c0/1de801b44b09402249dea38f463bc6a3ee49aeaaa1329ea2581da175b9a961316f3e01ce70311d277c99975ffe2aa19fbd39ab1565564e6569ac156542aab08f
languageName: node
linkType: hard
-"@storybook/addon-outline@npm:8.4.7":
- version: 8.4.7
- resolution: "@storybook/addon-outline@npm:8.4.7"
+"@storybook/addon-outline@npm:8.5.8":
+ version: 8.5.8
+ resolution: "@storybook/addon-outline@npm:8.5.8"
dependencies:
"@storybook/global": "npm:^5.0.0"
ts-dedent: "npm:^2.0.0"
peerDependencies:
- storybook: ^8.4.7
- checksum: 10c0/13e8579ad1e9c8e338a66935331764351d9681e177469c7be72bc8383d6ab0441a783b2089ac3a730979d9a97c347800a47769b1f1ab5b4dfd7fc31f29e1709f
+ storybook: ^8.5.8
+ checksum: 10c0/15b0251ad2ca46437a52d7ace4bdcaae068c40d3f3f56046637bb106336a64635eb59883c7561f71465f7ece5b8061f0a5ae22904324e55a6f0e65596220c659
languageName: node
linkType: hard
-"@storybook/addon-toolbars@npm:8.4.7":
- version: 8.4.7
- resolution: "@storybook/addon-toolbars@npm:8.4.7"
+"@storybook/addon-toolbars@npm:8.5.8":
+ version: 8.5.8
+ resolution: "@storybook/addon-toolbars@npm:8.5.8"
peerDependencies:
- storybook: ^8.4.7
- checksum: 10c0/1c315d5ad07291f35ad780ef69fbd6570a582c008ab911cf14bff84061546b9ea1373d1127213844652d73a47c3011d28c1ad08d465fc120969c133dabfe7638
+ storybook: ^8.5.8
+ checksum: 10c0/961a2bf7c415b91dc0aa1703369d6350481ecc249a972a20282d275466ed92af29615516e198dd8ef001833febe36991640659cc6d852f25cf4e31fb955aac1d
languageName: node
linkType: hard
-"@storybook/addon-viewport@npm:8.4.7":
- version: 8.4.7
- resolution: "@storybook/addon-viewport@npm:8.4.7"
+"@storybook/addon-viewport@npm:8.5.8":
+ version: 8.5.8
+ resolution: "@storybook/addon-viewport@npm:8.5.8"
dependencies:
memoizerific: "npm:^1.11.3"
peerDependencies:
- storybook: ^8.4.7
- checksum: 10c0/4dec3b59be1f3b99d3c9eaab695a7e346d975b772f6691f8286005d78a13a204c5680c6c8733ae83060c7639b56efed9f3580cee7413834ac6595b56345183ef
+ storybook: ^8.5.8
+ checksum: 10c0/9c9fa6332e81a6e83e75468d5365b8cd5fcd9e40abeca138f8c0e3abefc1a56addc92f97bd79e317b366db0d87d80c29c775a05fc810f7fa7b387044784b4737
languageName: node
linkType: hard
-"@storybook/blocks@npm:8.4.7, @storybook/blocks@npm:^8.4.7":
- version: 8.4.7
- resolution: "@storybook/blocks@npm:8.4.7"
+"@storybook/blocks@npm:8.5.8, @storybook/blocks@npm:^8.4.7":
+ version: 8.5.8
+ resolution: "@storybook/blocks@npm:8.5.8"
dependencies:
- "@storybook/csf": "npm:^0.1.11"
+ "@storybook/csf": "npm:0.1.12"
"@storybook/icons": "npm:^1.2.12"
ts-dedent: "npm:^2.0.0"
peerDependencies:
- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta
- react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta
- storybook: ^8.4.7
+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
+ react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
+ storybook: ^8.5.8
peerDependenciesMeta:
react:
optional: true
react-dom:
optional: true
- checksum: 10c0/1cb87811f9c7bad087dca752fb0d6483c237cb5776abea59cb555d8fce9ca14f4d5487725f5d8679a49f7e3f38bbe84189703498a31f2a9aa306f9fb3c8e65c8
+ checksum: 10c0/842c8d239c34dfee2d9e6fd7eb68a9b1fb7e5656617271e1fef17064973416b13d870636bc11a0516dae490dd91774ca15043bd66740d5fb9886b9efb01b8043
languageName: node
linkType: hard
-"@storybook/builder-vite@npm:8.4.7, @storybook/builder-vite@npm:^8.4.7":
- version: 8.4.7
- resolution: "@storybook/builder-vite@npm:8.4.7"
+"@storybook/builder-vite@npm:8.5.8, @storybook/builder-vite@npm:^8.4.7":
+ version: 8.5.8
+ resolution: "@storybook/builder-vite@npm:8.5.8"
dependencies:
- "@storybook/csf-plugin": "npm:8.4.7"
+ "@storybook/csf-plugin": "npm:8.5.8"
browser-assert: "npm:^1.2.1"
ts-dedent: "npm:^2.0.0"
peerDependencies:
- storybook: ^8.4.7
+ storybook: ^8.5.8
vite: ^4.0.0 || ^5.0.0 || ^6.0.0
- checksum: 10c0/138651b9042356972580a121eb3116c745f9fbc8b188ae0a5e543070dc54fcb6c1f14d35bc0cd1294ee763993a5f0e3a30cbe92508e74d183fed04a4d4125591
+ checksum: 10c0/93aba75aa79afbf285d073bfa76c8fc91b59928c4f0f69c99f81c0d675895470e3ac2fa2053acc1e871fd865f069c34e7abb680d709385714c4403044a87b7e0
languageName: node
linkType: hard
-"@storybook/components@npm:8.4.7, @storybook/components@npm:^8.4.7":
- version: 8.4.7
- resolution: "@storybook/components@npm:8.4.7"
+"@storybook/components@npm:8.5.8, @storybook/components@npm:^8.4.7":
+ version: 8.5.8
+ resolution: "@storybook/components@npm:8.5.8"
peerDependencies:
storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0
- checksum: 10c0/7c1eb12fe2310a306f3c2f77a499c3a0caeb4694d4af8dde418f3b2d2ac8a3549b3f56cdc4629b9c15d79177c72e8668dd781a71bf257948f799b0e9cba201fa
+ checksum: 10c0/dde5ac41f60a4561095a15fb8de99344b26f8887a93fd4947ea7f378c2be71cc0421a9a46be57c9521e5e2fc6c42d222e8138ca2b3390a4eb7c1b7fa299fd0d6
languageName: node
linkType: hard
"@storybook/core-events@npm:^8.4.7":
- version: 8.4.7
- resolution: "@storybook/core-events@npm:8.4.7"
+ version: 8.5.8
+ resolution: "@storybook/core-events@npm:8.5.8"
peerDependencies:
storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0
- checksum: 10c0/3e8267a5bb6aa8cd3fcbf81a5fead96e6e0416568518a966e90b2409b998e7c49d87cd97e928be43cc9e978784f5474d19cc71c707937adf712db390784f4f05
+ checksum: 10c0/c5e6a871ce75596780b5c73cadf5fa9fd95fe2edf7feefd7f9b656c39c41bb9038043246ee7d76988b53f236b5755a0535c7dcfead44c9779dfa6a529f814685
languageName: node
linkType: hard
-"@storybook/core@npm:8.4.7":
- version: 8.4.7
- resolution: "@storybook/core@npm:8.4.7"
+"@storybook/core@npm:8.5.8":
+ version: 8.5.8
+ resolution: "@storybook/core@npm:8.5.8"
dependencies:
- "@storybook/csf": "npm:^0.1.11"
+ "@storybook/csf": "npm:0.1.12"
better-opn: "npm:^3.0.2"
browser-assert: "npm:^1.2.1"
- esbuild: "npm:^0.18.0 || ^0.19.0 || ^0.20.0 || ^0.21.0 || ^0.22.0 || ^0.23.0 || ^0.24.0"
+ esbuild: "npm:^0.18.0 || ^0.19.0 || ^0.20.0 || ^0.21.0 || ^0.22.0 || ^0.23.0 || ^0.24.0 || ^0.25.0"
esbuild-register: "npm:^3.5.0"
jsdoc-type-pratt-parser: "npm:^4.0.0"
process: "npm:^0.11.10"
@@ -5994,27 +5987,36 @@ __metadata:
peerDependenciesMeta:
prettier:
optional: true
- checksum: 10c0/0943ea7cd092739834ae4347cb46c66aa1c238ee9494af60345364f11568ee60d6290875a593808cd7aeb79715ae27365c2448e6ae5c644e316cd194af184755
+ checksum: 10c0/bf883e32827668e50dd90bb52ee8f2b419b1beaba3213695ec21afe39f6b880feb107c96768021388222519c4bab8870bba5971415f68a426912a3cb7f5e3d80
languageName: node
linkType: hard
-"@storybook/csf-plugin@npm:8.4.7":
- version: 8.4.7
- resolution: "@storybook/csf-plugin@npm:8.4.7"
+"@storybook/csf-plugin@npm:8.5.8":
+ version: 8.5.8
+ resolution: "@storybook/csf-plugin@npm:8.5.8"
dependencies:
unplugin: "npm:^1.3.1"
peerDependencies:
- storybook: ^8.4.7
- checksum: 10c0/da38e2422e474e323e237e569b3dd678af77d975a4a08fa36108e66c9228858e510246628e18b013bd859a4e674c1a3d0072952a71dac0d7058e03e7c3417b3f
+ storybook: ^8.5.8
+ checksum: 10c0/27d51f0ba97971826bbf3276e568427a1c39c8a7b6ea308ac833e797c1e39a6b3171231513c6ff9880c4677197cb2b18b33e69fce0cfcf294e74e5b1bee6d7c3
+ languageName: node
+ linkType: hard
+
+"@storybook/csf@npm:0.1.12":
+ version: 0.1.12
+ resolution: "@storybook/csf@npm:0.1.12"
+ dependencies:
+ type-fest: "npm:^2.19.0"
+ checksum: 10c0/3d96a976ada67eb683279338d1eb6aa730b228107d4c4f6616ea7b94061899c1fdc11957a756e7bc0708d18cb39af0010c865d124efd84559cd82dcb2d8bc959
languageName: node
linkType: hard
"@storybook/csf@npm:^0.1.11":
- version: 0.1.11
- resolution: "@storybook/csf@npm:0.1.11"
+ version: 0.1.13
+ resolution: "@storybook/csf@npm:0.1.13"
dependencies:
type-fest: "npm:^2.19.0"
- checksum: 10c0/c5329fc13e7d762049b5c91df1bc1c0e510a1a898c401b72b68f1ff64139a85ab64a92f8e681d2fcb226c0a4a55d0f23b569b2bdb517e0f067bd05ea46228356
+ checksum: 10c0/7c57b531ac95ca45239f498d419483d675e58cd8d549e0bac623519cc1ef4f3c9c6b75ec3873aa51cc2872728012db5dd5e1f2c2d8085014241eb4b896480996
languageName: node
linkType: hard
@@ -6026,59 +6028,59 @@ __metadata:
linkType: hard
"@storybook/icons@npm:^1.2.12":
- version: 1.2.12
- resolution: "@storybook/icons@npm:1.2.12"
+ version: 1.3.2
+ resolution: "@storybook/icons@npm:1.3.2"
peerDependencies:
- react: ^16.8.0 || ^17.0.0 || ^18.0.0
- react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
- checksum: 10c0/97f6a7b7841fb5a0d1c8a30c36173469e7b0814a674c8103c7c0fd8803f0f7c2a778545af864012d40883195a533534dbc98541deac2bafe31e6a3fe37fdfc66
+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta
+ react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta
+ checksum: 10c0/83f21af9c95a1431a651d2e87d9ea0a06a9981e19c00e4db61bc6d4272624ef296929c4e93b8a962ee5b7af18beab5368249a37125f6663bc7761fd89a1fd3fe
languageName: node
linkType: hard
-"@storybook/instrumenter@npm:8.4.7":
- version: 8.4.7
- resolution: "@storybook/instrumenter@npm:8.4.7"
+"@storybook/instrumenter@npm:8.5.8":
+ version: 8.5.8
+ resolution: "@storybook/instrumenter@npm:8.5.8"
dependencies:
"@storybook/global": "npm:^5.0.0"
"@vitest/utils": "npm:^2.1.1"
peerDependencies:
- storybook: ^8.4.7
- checksum: 10c0/bc0865fed7f3c8242cd97978257e3d48f1880ad01e9794cc45122c4bcc7cf4a498c6ff8deebffcc70332b4a096e98b00e695ac152e40d0ef2c23160009c86f5d
+ storybook: ^8.5.8
+ checksum: 10c0/d73c497aca597033ef6e1ed0b01429df4c18d522b7723fbb1b80a8e50da9e54a212da6953d5d78fa1959d3eced8e97918668a2ebc0367c2dcbf5a5a5567f89ff
languageName: node
linkType: hard
-"@storybook/manager-api@npm:8.4.7, @storybook/manager-api@npm:^8.4.7":
- version: 8.4.7
- resolution: "@storybook/manager-api@npm:8.4.7"
+"@storybook/manager-api@npm:8.5.8, @storybook/manager-api@npm:^8.4.7":
+ version: 8.5.8
+ resolution: "@storybook/manager-api@npm:8.5.8"
peerDependencies:
storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0
- checksum: 10c0/a3aeed441a2cca1a8fac73336a853b389a00a1e7dbbbbcd54492a90f2f12f86e976235fd1272f27a606532fb7e0f82dec3f7ecd1f2b87b03ffa74b667830152a
+ checksum: 10c0/4045257c2169cef88508cef8087d177faea481fa6bf403ea92d531f6c27291c06107d786bf0bd7bb380631f86a2d87819e60f84598bd7eefdc6c12c85e97b4ab
languageName: node
linkType: hard
-"@storybook/preview-api@npm:8.4.7, @storybook/preview-api@npm:^8.4.7":
- version: 8.4.7
- resolution: "@storybook/preview-api@npm:8.4.7"
+"@storybook/preview-api@npm:8.5.8, @storybook/preview-api@npm:^8.4.7":
+ version: 8.5.8
+ resolution: "@storybook/preview-api@npm:8.5.8"
peerDependencies:
storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0
- checksum: 10c0/86e8dd8e46b20a4cab99655ded093a76ae5a2b2b9ab03af57292022c8143d76e0f76a137f8768b8f6847fd1b522abf3dee8504f0ba5ff16b5779120d3875967c
+ checksum: 10c0/278dff2940ba93c366a2a83a347f8e17dc80d087e0aa44eb868e4fe95f76a23e12d740867f3fd8e65142c47a73e5a66a628847179ce10b5ae22c4b1645910c2c
languageName: node
linkType: hard
-"@storybook/react-dom-shim@npm:8.4.7":
- version: 8.4.7
- resolution: "@storybook/react-dom-shim@npm:8.4.7"
+"@storybook/react-dom-shim@npm:8.5.8":
+ version: 8.5.8
+ resolution: "@storybook/react-dom-shim@npm:8.5.8"
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta
- storybook: ^8.4.7
- checksum: 10c0/5db1306c844a36264587836860d17f3fd44e5981a2417e66ccb0699d2b05364736f29df2ebc605ae19a7f7b9b9d6a19845771c3052b167ce27702e20337cd334
+ storybook: ^8.5.8
+ checksum: 10c0/0d6a7f24bb0ae168dfb7f984e2defd16e15d65dd07b1f9c4251c23e1abe88c11fa58d716125c536199e689266eca371cd054f5514c952ab76863946406fbeedd
languageName: node
linkType: hard
"@storybook/test-runner@npm:^0.21.0":
- version: 0.21.0
- resolution: "@storybook/test-runner@npm:0.21.0"
+ version: 0.21.3
+ resolution: "@storybook/test-runner@npm:0.21.3"
dependencies:
"@babel/core": "npm:^7.22.5"
"@babel/generator": "npm:^7.22.5"
@@ -6103,152 +6105,152 @@ __metadata:
storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0
bin:
test-storybook: dist/test-storybook.js
- checksum: 10c0/376d9dee64547171407947fd0ee7042bf94152af6b45475917d3a7df2a23a89d46212afdaf946217328b2e6f1c1cf9dc921829cb64e197c50061573707cfafe8
+ checksum: 10c0/aec04919852dfc5efd52bc05f74d2e1c3d0f7b207d3e54e05a351cd6727225c4010f9b1c133108460c5868430604fd0732f7200bfd431aad9ece21f0311e8e48
languageName: node
linkType: hard
-"@storybook/test@npm:8.4.7":
- version: 8.4.7
- resolution: "@storybook/test@npm:8.4.7"
+"@storybook/test@npm:8.5.8":
+ version: 8.5.8
+ resolution: "@storybook/test@npm:8.5.8"
dependencies:
- "@storybook/csf": "npm:^0.1.11"
+ "@storybook/csf": "npm:0.1.12"
"@storybook/global": "npm:^5.0.0"
- "@storybook/instrumenter": "npm:8.4.7"
+ "@storybook/instrumenter": "npm:8.5.8"
"@testing-library/dom": "npm:10.4.0"
"@testing-library/jest-dom": "npm:6.5.0"
"@testing-library/user-event": "npm:14.5.2"
"@vitest/expect": "npm:2.0.5"
"@vitest/spy": "npm:2.0.5"
peerDependencies:
- storybook: ^8.4.7
- checksum: 10c0/4b100eacdca6d016a08358b1bf4c17f36450dffc9005557e0184814e546e71d200afccfb652fd2d45404fbd15e75f61fb4b93d869694249769ca919a0a2111f1
+ storybook: ^8.5.8
+ checksum: 10c0/5d7fb8db776bc9806f1cce9165642ee1889dbecafdf36d546d43c54a78b62e7f7813a9acff94852538f158de9c4bafd6539627d6aff77095b2418aefd7de8311
languageName: node
linkType: hard
-"@storybook/theming@npm:8.4.7, @storybook/theming@npm:^8.4.7":
- version: 8.4.7
- resolution: "@storybook/theming@npm:8.4.7"
+"@storybook/theming@npm:8.5.8, @storybook/theming@npm:^8.4.7":
+ version: 8.5.8
+ resolution: "@storybook/theming@npm:8.5.8"
peerDependencies:
storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0
- checksum: 10c0/20a4975478063cea616ce6ab6b1e9ec181af1424280678ed74dc5afc15b828c043e843696a1643601331c4fd266169ec4bcc5bb43fd2f1f3c01c0e21443a658a
+ checksum: 10c0/6a3083fb2f3166a86fd177a24974149cea71d31e44cac1730c5c17b04f22cb17de41f65ead2984adb26a272fdf7bcab6d6ebda791c2ce5a21671e90a07a7d8a9
languageName: node
linkType: hard
"@storybook/web-components-vite@npm:^8.4.7":
- version: 8.4.7
- resolution: "@storybook/web-components-vite@npm:8.4.7"
+ version: 8.5.8
+ resolution: "@storybook/web-components-vite@npm:8.5.8"
dependencies:
- "@storybook/builder-vite": "npm:8.4.7"
- "@storybook/web-components": "npm:8.4.7"
+ "@storybook/builder-vite": "npm:8.5.8"
+ "@storybook/web-components": "npm:8.5.8"
magic-string: "npm:^0.30.0"
peerDependencies:
- storybook: ^8.4.7
- checksum: 10c0/c3dbe86cf132cc3d6a18dc85a6679e1077a246297fc1cba22f5082401b85a359b91ef8efd6e5efc59adac2841a02508263072e40fcf7f2ff6987dec45b47711a
+ storybook: ^8.5.8
+ checksum: 10c0/1c4a016c8957790f2b8c7d6815d9d5d434497d4f668c6b4029d34f44c01720f1cc454fdd53d2cebd4c302d571fc64a27f55716fa6402d0a876e90499a87f9d77
languageName: node
linkType: hard
-"@storybook/web-components@npm:8.4.7":
- version: 8.4.7
- resolution: "@storybook/web-components@npm:8.4.7"
+"@storybook/web-components@npm:8.5.8":
+ version: 8.5.8
+ resolution: "@storybook/web-components@npm:8.5.8"
dependencies:
- "@storybook/components": "npm:8.4.7"
+ "@storybook/components": "npm:8.5.8"
"@storybook/global": "npm:^5.0.0"
- "@storybook/manager-api": "npm:8.4.7"
- "@storybook/preview-api": "npm:8.4.7"
- "@storybook/theming": "npm:8.4.7"
+ "@storybook/manager-api": "npm:8.5.8"
+ "@storybook/preview-api": "npm:8.5.8"
+ "@storybook/theming": "npm:8.5.8"
tiny-invariant: "npm:^1.3.1"
ts-dedent: "npm:^2.0.0"
peerDependencies:
lit: ^2.0.0 || ^3.0.0
- storybook: ^8.4.7
- checksum: 10c0/a5e922a250ac142d9e265ad31a4543433af757fcdf1d3f9ccc2c9a1225eb8b80dbd23833bd7da2b30d0e2862ac0411253383d50c4adedda3c24d33c35903c4a2
+ storybook: ^8.5.8
+ checksum: 10c0/164903cdc3fd15737aa6a3e1bb181a81379b7ea6811e204c6c49004f8173f92f7d9f899a7c76188b353f5cffb5cbce61c19404b5725dac240ce39ec4e4cbf555
languageName: node
linkType: hard
-"@swc/core-darwin-arm64@npm:1.10.7":
- version: 1.10.7
- resolution: "@swc/core-darwin-arm64@npm:1.10.7"
+"@swc/core-darwin-arm64@npm:1.10.18":
+ version: 1.10.18
+ resolution: "@swc/core-darwin-arm64@npm:1.10.18"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard
-"@swc/core-darwin-x64@npm:1.10.7":
- version: 1.10.7
- resolution: "@swc/core-darwin-x64@npm:1.10.7"
+"@swc/core-darwin-x64@npm:1.10.18":
+ version: 1.10.18
+ resolution: "@swc/core-darwin-x64@npm:1.10.18"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard
-"@swc/core-linux-arm-gnueabihf@npm:1.10.7":
- version: 1.10.7
- resolution: "@swc/core-linux-arm-gnueabihf@npm:1.10.7"
+"@swc/core-linux-arm-gnueabihf@npm:1.10.18":
+ version: 1.10.18
+ resolution: "@swc/core-linux-arm-gnueabihf@npm:1.10.18"
conditions: os=linux & cpu=arm
languageName: node
linkType: hard
-"@swc/core-linux-arm64-gnu@npm:1.10.7":
- version: 1.10.7
- resolution: "@swc/core-linux-arm64-gnu@npm:1.10.7"
+"@swc/core-linux-arm64-gnu@npm:1.10.18":
+ version: 1.10.18
+ resolution: "@swc/core-linux-arm64-gnu@npm:1.10.18"
conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node
linkType: hard
-"@swc/core-linux-arm64-musl@npm:1.10.7":
- version: 1.10.7
- resolution: "@swc/core-linux-arm64-musl@npm:1.10.7"
+"@swc/core-linux-arm64-musl@npm:1.10.18":
+ version: 1.10.18
+ resolution: "@swc/core-linux-arm64-musl@npm:1.10.18"
conditions: os=linux & cpu=arm64 & libc=musl
languageName: node
linkType: hard
-"@swc/core-linux-x64-gnu@npm:1.10.7":
- version: 1.10.7
- resolution: "@swc/core-linux-x64-gnu@npm:1.10.7"
+"@swc/core-linux-x64-gnu@npm:1.10.18":
+ version: 1.10.18
+ resolution: "@swc/core-linux-x64-gnu@npm:1.10.18"
conditions: os=linux & cpu=x64 & libc=glibc
languageName: node
linkType: hard
-"@swc/core-linux-x64-musl@npm:1.10.7":
- version: 1.10.7
- resolution: "@swc/core-linux-x64-musl@npm:1.10.7"
+"@swc/core-linux-x64-musl@npm:1.10.18":
+ version: 1.10.18
+ resolution: "@swc/core-linux-x64-musl@npm:1.10.18"
conditions: os=linux & cpu=x64 & libc=musl
languageName: node
linkType: hard
-"@swc/core-win32-arm64-msvc@npm:1.10.7":
- version: 1.10.7
- resolution: "@swc/core-win32-arm64-msvc@npm:1.10.7"
+"@swc/core-win32-arm64-msvc@npm:1.10.18":
+ version: 1.10.18
+ resolution: "@swc/core-win32-arm64-msvc@npm:1.10.18"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard
-"@swc/core-win32-ia32-msvc@npm:1.10.7":
- version: 1.10.7
- resolution: "@swc/core-win32-ia32-msvc@npm:1.10.7"
+"@swc/core-win32-ia32-msvc@npm:1.10.18":
+ version: 1.10.18
+ resolution: "@swc/core-win32-ia32-msvc@npm:1.10.18"
conditions: os=win32 & cpu=ia32
languageName: node
linkType: hard
-"@swc/core-win32-x64-msvc@npm:1.10.7":
- version: 1.10.7
- resolution: "@swc/core-win32-x64-msvc@npm:1.10.7"
+"@swc/core-win32-x64-msvc@npm:1.10.18":
+ version: 1.10.18
+ resolution: "@swc/core-win32-x64-msvc@npm:1.10.18"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
"@swc/core@npm:^1.5.22":
- version: 1.10.7
- resolution: "@swc/core@npm:1.10.7"
- dependencies:
- "@swc/core-darwin-arm64": "npm:1.10.7"
- "@swc/core-darwin-x64": "npm:1.10.7"
- "@swc/core-linux-arm-gnueabihf": "npm:1.10.7"
- "@swc/core-linux-arm64-gnu": "npm:1.10.7"
- "@swc/core-linux-arm64-musl": "npm:1.10.7"
- "@swc/core-linux-x64-gnu": "npm:1.10.7"
- "@swc/core-linux-x64-musl": "npm:1.10.7"
- "@swc/core-win32-arm64-msvc": "npm:1.10.7"
- "@swc/core-win32-ia32-msvc": "npm:1.10.7"
- "@swc/core-win32-x64-msvc": "npm:1.10.7"
+ version: 1.10.18
+ resolution: "@swc/core@npm:1.10.18"
+ dependencies:
+ "@swc/core-darwin-arm64": "npm:1.10.18"
+ "@swc/core-darwin-x64": "npm:1.10.18"
+ "@swc/core-linux-arm-gnueabihf": "npm:1.10.18"
+ "@swc/core-linux-arm64-gnu": "npm:1.10.18"
+ "@swc/core-linux-arm64-musl": "npm:1.10.18"
+ "@swc/core-linux-x64-gnu": "npm:1.10.18"
+ "@swc/core-linux-x64-musl": "npm:1.10.18"
+ "@swc/core-win32-arm64-msvc": "npm:1.10.18"
+ "@swc/core-win32-ia32-msvc": "npm:1.10.18"
+ "@swc/core-win32-x64-msvc": "npm:1.10.18"
"@swc/counter": "npm:^0.1.3"
"@swc/types": "npm:^0.1.17"
peerDependencies:
@@ -6277,7 +6279,7 @@ __metadata:
peerDependenciesMeta:
"@swc/helpers":
optional: true
- checksum: 10c0/73d3b164620590aff57512125e3cfd6dc1bb3346882fa9ad12abf8029f8be01eb71e6afc3c760c3e2cb479a2d7ff3180bf298f907768b93e3eac15fc72e0d855
+ checksum: 10c0/52a3d8e26b838855bb9ece737c756058d00e3635062e436a31651aefe59d6098ecf92c967bcf4a831b99975eb9c591f123db1291e35508d030216e9b936aa1e9
languageName: node
linkType: hard
@@ -6302,11 +6304,11 @@ __metadata:
linkType: hard
"@swc/types@npm:^0.1.17":
- version: 0.1.17
- resolution: "@swc/types@npm:0.1.17"
+ version: 0.1.18
+ resolution: "@swc/types@npm:0.1.18"
dependencies:
"@swc/counter": "npm:^0.1.3"
- checksum: 10c0/29f5c8933a16042956f1adb7383e836ed7646cbf679826e78b53fdd0c08e8572cb42152e527b6b530a9bd1052d33d0972f90f589761ccd252c12652c9b7a72fc
+ checksum: 10c0/0c34ed1670daeb991de87a79c859d68980def32caf02999ef906859d02a2ee13a7f998e84b40022ce970fdceea9f77005e4965038f5139b93035956118aae7ea
languageName: node
linkType: hard
@@ -6443,11 +6445,11 @@ __metadata:
linkType: hard
"@types/conventional-commits-parser@npm:^5.0.0":
- version: 5.0.0
- resolution: "@types/conventional-commits-parser@npm:5.0.0"
+ version: 5.0.1
+ resolution: "@types/conventional-commits-parser@npm:5.0.1"
dependencies:
"@types/node": "npm:*"
- checksum: 10c0/16c748ce01cb3b3ea5947950acd695569c0daa8da62cc7e0eb98b15c4d7f812f95c079fe2c853325509f8aa73cfd388390319ae4621c8dfb21eeacb63accdb25
+ checksum: 10c0/4b7b561f195f779d07f973801a9f15d77cd58ceb67e817459688b11cc735288d30de050f445c91f4cd2c007fa86824e59a6e3cde602d150b828c4474f6e67be5
languageName: node
linkType: hard
@@ -6460,10 +6462,10 @@ __metadata:
languageName: node
linkType: hard
-"@types/estree@npm:1.0.5, @types/estree@npm:^1.0.0":
- version: 1.0.5
- resolution: "@types/estree@npm:1.0.5"
- checksum: 10c0/b3b0e334288ddb407c7b3357ca67dbee75ee22db242ca7c56fe27db4e1a31989cb8af48a84dd401deb787fe10cc6b2ab1ee82dc4783be87ededbe3d53c79c70d
+"@types/estree@npm:1.0.6, @types/estree@npm:^1.0.0":
+ version: 1.0.6
+ resolution: "@types/estree@npm:1.0.6"
+ checksum: 10c0/cdfd751f6f9065442cd40957c07fd80361c962869aa853c1c2fd03e101af8b9389d8ff4955a43a6fcfa223dd387a089937f95be0f3eec21ca527039fd2d9859a
languageName: node
linkType: hard
@@ -6568,11 +6570,11 @@ __metadata:
linkType: hard
"@types/node@npm:*":
- version: 20.14.11
- resolution: "@types/node@npm:20.14.11"
+ version: 22.13.5
+ resolution: "@types/node@npm:22.13.5"
dependencies:
- undici-types: "npm:~5.26.4"
- checksum: 10c0/5306becc0ff41d81b1e31524bd376e958d0741d1ce892dffd586b9ae0cb6553c62b0d62abd16da8bea6b9a2c17572d360450535d7c073794b0cef9cb4e39691e
+ undici-types: "npm:~6.20.0"
+ checksum: 10c0/a2e7ed7bb0690e439004779baedeb05159c5cc41ef6d81c7a6ebea5303fde4033669e1c0e41ff7453b45fd2fea8dbd55fddfcd052950c7fcae3167c970bca725
languageName: node
linkType: hard
@@ -6613,14 +6615,7 @@ __metadata:
languageName: node
linkType: hard
-"@types/unist@npm:^2":
- version: 2.0.10
- resolution: "@types/unist@npm:2.0.10"
- checksum: 10c0/5f247dc2229944355209ad5c8e83cfe29419fa7f0a6d557421b1985a1500444719cc9efcc42c652b55aab63c931813c88033e0202c1ac684bcd4829d66e44731
- languageName: node
- linkType: hard
-
-"@types/unist@npm:^2.0.0":
+"@types/unist@npm:^2, @types/unist@npm:^2.0.0":
version: 2.0.11
resolution: "@types/unist@npm:2.0.11"
checksum: 10c0/24dcdf25a168f453bb70298145eb043cfdbb82472db0bc0b56d6d51cd2e484b9ed8271d4ac93000a80da568f2402e9339723db262d0869e2bf13bc58e081768d
@@ -6660,9 +6655,9 @@ __metadata:
linkType: hard
"@ungap/structured-clone@npm:^1.2.0":
- version: 1.2.0
- resolution: "@ungap/structured-clone@npm:1.2.0"
- checksum: 10c0/8209c937cb39119f44eb63cf90c0b73e7c754209a6411c707be08e50e29ee81356dca1a848a405c8bdeebfe2f5e4f831ad310ae1689eeef65e7445c090c6657d
+ version: 1.3.0
+ resolution: "@ungap/structured-clone@npm:1.3.0"
+ checksum: 10c0/0fc3097c2540ada1fc340ee56d58d96b5b536a2a0dab6e3ec17d4bfc8c4c86db345f61a375a8185f9da96f01c69678f836a2b57eeaa9e4b8eeafd26428e57b0a
languageName: node
linkType: hard
@@ -6709,12 +6704,12 @@ __metadata:
languageName: node
linkType: hard
-"@vitest/pretty-format@npm:2.1.4":
- version: 2.1.4
- resolution: "@vitest/pretty-format@npm:2.1.4"
+"@vitest/pretty-format@npm:2.1.9":
+ version: 2.1.9
+ resolution: "@vitest/pretty-format@npm:2.1.9"
dependencies:
tinyrainbow: "npm:^1.2.0"
- checksum: 10c0/dc20f04f64c95731bf9640fc53ae918d928ab93e70a56d9e03f201700098cdb041b50a8f6a5f30604d4a048c15f315537453f33054e29590a05d5b368ae6849d
+ checksum: 10c0/155f9ede5090eabed2a73361094bb35ed4ec6769ae3546d2a2af139166569aec41bb80e031c25ff2da22b71dd4ed51e5468e66a05e6aeda5f14b32e30bc18f00
languageName: node
linkType: hard
@@ -6740,13 +6735,13 @@ __metadata:
linkType: hard
"@vitest/utils@npm:^2.1.1":
- version: 2.1.4
- resolution: "@vitest/utils@npm:2.1.4"
+ version: 2.1.9
+ resolution: "@vitest/utils@npm:2.1.9"
dependencies:
- "@vitest/pretty-format": "npm:2.1.4"
+ "@vitest/pretty-format": "npm:2.1.9"
loupe: "npm:^3.1.2"
tinyrainbow: "npm:^1.2.0"
- checksum: 10c0/fd632dbc2496d14bcc609230f1dad73039c9f52f4ca533d6b68fa1a04dd448e03510f2a8e4a368fd274cbb8902a6cd800140ab366dd055256beb2c0dcafcd9f2
+ checksum: 10c0/81a346cd72b47941f55411f5df4cc230e5f740d1e97e0d3f771b27f007266fc1f28d0438582f6409ea571bc0030ed37f684c64c58d1947d6298d770c21026fdf
languageName: node
linkType: hard
@@ -6830,6 +6825,13 @@ __metadata:
languageName: node
linkType: hard
+"abbrev@npm:^3.0.0":
+ version: 3.0.0
+ resolution: "abbrev@npm:3.0.0"
+ checksum: 10c0/049704186396f571650eb7b22ed3627b77a5aedf98bb83caf2eac81ca2a3e25e795394b0464cfb2d6076df3db6a5312139eac5b6a126ca296ac53c5008069c28
+ languageName: node
+ linkType: hard
+
"abort-controller@npm:^3.0.0":
version: 3.0.0
resolution: "abort-controller@npm:3.0.0"
@@ -6875,16 +6877,7 @@ __metadata:
languageName: node
linkType: hard
-"acorn-walk@npm:^8.1.1":
- version: 8.3.3
- resolution: "acorn-walk@npm:8.3.3"
- dependencies:
- acorn: "npm:^8.11.0"
- checksum: 10c0/4a9e24313e6a0a7b389e712ba69b66b455b4cb25988903506a8d247e7b126f02060b05a8a5b738a9284214e4ca95f383dd93443a4ba84f1af9b528305c7f243b
- languageName: node
- linkType: hard
-
-"acorn-walk@npm:^8.3.4":
+"acorn-walk@npm:^8.1.1, acorn-walk@npm:^8.3.4":
version: 8.3.4
resolution: "acorn-walk@npm:8.3.4"
dependencies:
@@ -6902,16 +6895,7 @@ __metadata:
languageName: node
linkType: hard
-"acorn@npm:^8.11.0, acorn@npm:^8.12.1":
- version: 8.12.1
- resolution: "acorn@npm:8.12.1"
- bin:
- acorn: bin/acorn
- checksum: 10c0/51fb26cd678f914e13287e886da2d7021f8c2bc0ccc95e03d3e0447ee278dd3b40b9c57dc222acd5881adcf26f3edc40901a4953403232129e3876793cd17386
- languageName: node
- linkType: hard
-
-"acorn@npm:^8.13.0":
+"acorn@npm:^8.11.0, acorn@npm:^8.13.0, acorn@npm:^8.14.0":
version: 8.14.0
resolution: "acorn@npm:8.14.0"
bin:
@@ -6941,7 +6925,7 @@ __metadata:
languageName: node
linkType: hard
-"agent-base@npm:^7.0.2, agent-base@npm:^7.1.0, agent-base@npm:^7.1.1":
+"agent-base@npm:^7.0.2":
version: 7.1.1
resolution: "agent-base@npm:7.1.1"
dependencies:
@@ -6950,7 +6934,7 @@ __metadata:
languageName: node
linkType: hard
-"agent-base@npm:^7.1.2":
+"agent-base@npm:^7.1.0, agent-base@npm:^7.1.2":
version: 7.1.3
resolution: "agent-base@npm:7.1.3"
checksum: 10c0/6192b580c5b1d8fb399b9c62bf8343d76654c2dd62afcb9a52b2cf44a8b6ace1e3b704d3fe3547d91555c857d3df02603341ff2cb961b9cfe2b12f9f3c38ee11
@@ -7060,9 +7044,9 @@ __metadata:
linkType: hard
"ansi-regex@npm:^6.0.1":
- version: 6.0.1
- resolution: "ansi-regex@npm:6.0.1"
- checksum: 10c0/cbe16dbd2c6b2735d1df7976a7070dd277326434f0212f43abf6d87674095d247968209babdaad31bb00882fa68807256ba9be340eec2f1004de14ca75f52a08
+ version: 6.1.0
+ resolution: "ansi-regex@npm:6.1.0"
+ checksum: 10c0/a91daeddd54746338478eef88af3439a7edf30f8e23196e2d6ed182da9add559c601266dbef01c2efa46a958ad6f1f8b176799657616c702b5b02e799e7fd8dc
languageName: node
linkType: hard
@@ -7131,7 +7115,7 @@ __metadata:
languageName: node
linkType: hard
-"anymatch@npm:^3.0.3, anymatch@npm:~3.1.2":
+"anymatch@npm:^3.0.3":
version: 3.1.3
resolution: "anymatch@npm:3.1.3"
dependencies:
@@ -7220,7 +7204,7 @@ __metadata:
languageName: node
linkType: hard
-"aria-query@npm:5.3.0, aria-query@npm:^5.0.0":
+"aria-query@npm:5.3.0":
version: 5.3.0
resolution: "aria-query@npm:5.3.0"
dependencies:
@@ -7229,13 +7213,20 @@ __metadata:
languageName: node
linkType: hard
-"array-buffer-byte-length@npm:^1.0.1":
- version: 1.0.1
- resolution: "array-buffer-byte-length@npm:1.0.1"
+"aria-query@npm:^5.0.0":
+ version: 5.3.2
+ resolution: "aria-query@npm:5.3.2"
+ checksum: 10c0/003c7e3e2cff5540bf7a7893775fc614de82b0c5dde8ae823d47b7a28a9d4da1f7ed85f340bdb93d5649caa927755f0e31ecc7ab63edfdfc00c8ef07e505e03e
+ languageName: node
+ linkType: hard
+
+"array-buffer-byte-length@npm:^1.0.1, array-buffer-byte-length@npm:^1.0.2":
+ version: 1.0.2
+ resolution: "array-buffer-byte-length@npm:1.0.2"
dependencies:
- call-bind: "npm:^1.0.5"
- is-array-buffer: "npm:^3.0.4"
- checksum: 10c0/f5cdf54527cd18a3d2852ddf73df79efec03829e7373a8322ef5df2b4ef546fb365c19c71d6b42d641cb6bfe0f1a2f19bc0ece5b533295f86d7c3d522f228917
+ call-bound: "npm:^1.0.3"
+ is-array-buffer: "npm:^3.0.5"
+ checksum: 10c0/74e1d2d996941c7a1badda9cabb7caab8c449db9086407cad8a1b71d2604cc8abf105db8ca4e02c04579ec58b7be40279ddb09aea4784832984485499f48432d
languageName: node
linkType: hard
@@ -7300,19 +7291,18 @@ __metadata:
languageName: node
linkType: hard
-"arraybuffer.prototype.slice@npm:^1.0.3":
- version: 1.0.3
- resolution: "arraybuffer.prototype.slice@npm:1.0.3"
+"arraybuffer.prototype.slice@npm:^1.0.4":
+ version: 1.0.4
+ resolution: "arraybuffer.prototype.slice@npm:1.0.4"
dependencies:
array-buffer-byte-length: "npm:^1.0.1"
- call-bind: "npm:^1.0.5"
+ call-bind: "npm:^1.0.8"
define-properties: "npm:^1.2.1"
- es-abstract: "npm:^1.22.3"
- es-errors: "npm:^1.2.1"
- get-intrinsic: "npm:^1.2.3"
+ es-abstract: "npm:^1.23.5"
+ es-errors: "npm:^1.3.0"
+ get-intrinsic: "npm:^1.2.6"
is-array-buffer: "npm:^3.0.4"
- is-shared-array-buffer: "npm:^1.0.2"
- checksum: 10c0/d32754045bcb2294ade881d45140a5e52bda2321b9e98fa514797b7f0d252c4c5ab0d1edb34112652c62fa6a9398def568da63a4d7544672229afea283358c36
+ checksum: 10c0/2f2459caa06ae0f7f615003f9104b01f6435cc803e11bd2a655107d52a1781dc040532dc44d93026b694cc18793993246237423e13a5337e86b43ed604932c06
languageName: node
linkType: hard
@@ -7374,6 +7364,13 @@ __metadata:
languageName: node
linkType: hard
+"async-function@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "async-function@npm:1.0.0"
+ checksum: 10c0/669a32c2cb7e45091330c680e92eaeb791bc1d4132d827591e499cd1f776ff5a873e77e5f92d0ce795a8d60f10761dec9ddfe7225a5de680f5d357f67b1aac73
+ languageName: node
+ linkType: hard
+
"async-sema@npm:^3.1.1":
version: 3.1.1
resolution: "async-sema@npm:3.1.1"
@@ -7382,9 +7379,9 @@ __metadata:
linkType: hard
"async@npm:^3.2.3, async@npm:^3.2.4":
- version: 3.2.5
- resolution: "async@npm:3.2.5"
- checksum: 10c0/1408287b26c6db67d45cb346e34892cee555b8b59e6c68e6f8c3e495cad5ca13b4f218180e871f3c2ca30df4ab52693b66f2f6ff43644760cab0b2198bda79c1
+ version: 3.2.6
+ resolution: "async@npm:3.2.6"
+ checksum: 10c0/36484bb15ceddf07078688d95e27076379cc2f87b10c03b6dd8a83e89475a3c8df5848859dd06a4c95af1e4c16fc973de0171a77f18ea00be899aca2a4f85e70
languageName: node
linkType: hard
@@ -7404,25 +7401,7 @@ __metadata:
languageName: node
linkType: hard
-"autoprefixer@npm:^10.4.19":
- version: 10.4.19
- resolution: "autoprefixer@npm:10.4.19"
- dependencies:
- browserslist: "npm:^4.23.0"
- caniuse-lite: "npm:^1.0.30001599"
- fraction.js: "npm:^4.3.7"
- normalize-range: "npm:^0.1.2"
- picocolors: "npm:^1.0.0"
- postcss-value-parser: "npm:^4.2.0"
- peerDependencies:
- postcss: ^8.1.0
- bin:
- autoprefixer: bin/autoprefixer
- checksum: 10c0/fe0178eb8b1da4f15c6535cd329926609b22d1811e047371dccce50563623f8075dd06fb167daff059e4228da651b0bdff6d9b44281541eaf0ce0b79125bfd19
- languageName: node
- linkType: hard
-
-"autoprefixer@npm:^10.4.20":
+"autoprefixer@npm:^10.4.19, autoprefixer@npm:^10.4.20":
version: 10.4.20
resolution: "autoprefixer@npm:10.4.20"
dependencies:
@@ -7523,13 +7502,13 @@ __metadata:
linkType: hard
"axe-core@npm:^4.2.0":
- version: 4.9.1
- resolution: "axe-core@npm:4.9.1"
- checksum: 10c0/ac9e5a0c6fa115a43ebffc32a1d2189e1ca6431b5a78e88cdcf94a72a25c5964185682edd94fe6bdb1cb4266c0d06301b022866e0e50dcdf6e3cefe556470110
+ version: 4.10.2
+ resolution: "axe-core@npm:4.10.2"
+ checksum: 10c0/0e20169077de96946a547fce0df39d9aeebe0077f9d3eeff4896518b96fde857f80b98f0d4279274a7178791744dd5a54bb4f322de45b4f561ffa2586ff9a09d
languageName: node
linkType: hard
-"axios@npm:^1.6.1, axios@npm:^1.7.4":
+"axios@npm:^1.6.1":
version: 1.8.2
resolution: "axios@npm:1.8.2"
dependencies:
@@ -7540,10 +7519,21 @@ __metadata:
languageName: node
linkType: hard
+"axios@npm:^1.7.4":
+ version: 1.7.4
+ resolution: "axios@npm:1.7.4"
+ dependencies:
+ follow-redirects: "npm:^1.15.6"
+ form-data: "npm:^4.0.0"
+ proxy-from-env: "npm:^1.1.0"
+ checksum: 10c0/5ea1a93140ca1d49db25ef8e1bd8cfc59da6f9220159a944168860ad15a2743ea21c5df2967795acb15cbe81362f5b157fdebbea39d53117ca27658bab9f7f17
+ languageName: node
+ linkType: hard
+
"b4a@npm:^1.6.4":
- version: 1.6.6
- resolution: "b4a@npm:1.6.6"
- checksum: 10c0/56f30277666cb511a15829e38d369b114df7dc8cec4cedc09cc5d685bc0f27cb63c7bcfb58e09a19a1b3c4f2541069ab078b5328542e85d74a39620327709a38
+ version: 1.6.7
+ resolution: "b4a@npm:1.6.7"
+ checksum: 10c0/ec2f004d1daae04be8c5a1f8aeb7fea213c34025e279db4958eb0b82c1729ee25f7c6e89f92a5f65c8a9cf2d017ce27e3dda912403341d1781bd74528a4849d4
languageName: node
linkType: hard
@@ -7648,9 +7638,9 @@ __metadata:
linkType: hard
"bare-events@npm:^2.2.0":
- version: 2.4.2
- resolution: "bare-events@npm:2.4.2"
- checksum: 10c0/09fa923061f31f815e83504e2ed4a8ba87732a01db40a7fae703dbb7eef7f05d99264b5e186074cbe9698213990d1af564c62cca07a5ff88baea8099ad9a6303
+ version: 2.5.4
+ resolution: "bare-events@npm:2.5.4"
+ checksum: 10c0/877a9cea73d545e2588cdbd6fd01653e27dac48ad6b44985cdbae73e1f57f292d4ba52e25d1fba53674c1053c463d159f3d5c7bc36a2e6e192e389b499ddd627
languageName: node
linkType: hard
@@ -7686,13 +7676,6 @@ __metadata:
languageName: node
linkType: hard
-"binary-extensions@npm:^2.0.0":
- version: 2.3.0
- resolution: "binary-extensions@npm:2.3.0"
- checksum: 10c0/75a59cafc10fb12a11d510e77110c6c7ae3f4ca22463d52487709ca7f18f69d886aa387557cc9864fbdb10153d0bdb4caacabf11541f55e89ed6e18d12ece2b5
- languageName: node
- linkType: hard
-
"binary@npm:^0.3.0":
version: 0.3.0
resolution: "binary@npm:0.3.0"
@@ -7763,7 +7746,7 @@ __metadata:
languageName: node
linkType: hard
-"braces@npm:^3.0.3, braces@npm:~3.0.2":
+"braces@npm:^3.0.3":
version: 3.0.3
resolution: "braces@npm:3.0.3"
dependencies:
@@ -7786,7 +7769,7 @@ __metadata:
languageName: node
linkType: hard
-"browserslist@npm:^4.0.0, browserslist@npm:^4.23.0":
+"browserslist@npm:^4.0.0":
version: 4.23.2
resolution: "browserslist@npm:4.23.2"
dependencies:
@@ -7989,16 +7972,35 @@ __metadata:
languageName: node
linkType: hard
-"call-bind@npm:^1.0.2, call-bind@npm:^1.0.5, call-bind@npm:^1.0.6, call-bind@npm:^1.0.7":
- version: 1.0.7
- resolution: "call-bind@npm:1.0.7"
+"call-bind-apply-helpers@npm:^1.0.0, call-bind-apply-helpers@npm:^1.0.1, call-bind-apply-helpers@npm:^1.0.2":
+ version: 1.0.2
+ resolution: "call-bind-apply-helpers@npm:1.0.2"
dependencies:
- es-define-property: "npm:^1.0.0"
es-errors: "npm:^1.3.0"
function-bind: "npm:^1.1.2"
+ checksum: 10c0/47bd9901d57b857590431243fea704ff18078b16890a6b3e021e12d279bbf211d039155e27d7566b374d49ee1f8189344bac9833dec7a20cdec370506361c938
+ languageName: node
+ linkType: hard
+
+"call-bind@npm:^1.0.7, call-bind@npm:^1.0.8":
+ version: 1.0.8
+ resolution: "call-bind@npm:1.0.8"
+ dependencies:
+ call-bind-apply-helpers: "npm:^1.0.0"
+ es-define-property: "npm:^1.0.0"
get-intrinsic: "npm:^1.2.4"
- set-function-length: "npm:^1.2.1"
- checksum: 10c0/a3ded2e423b8e2a265983dba81c27e125b48eefb2655e7dfab6be597088da3d47c47976c24bc51b8fd9af1061f8f87b4ab78a314f3c77784b2ae2ba535ad8b8d
+ set-function-length: "npm:^1.2.2"
+ checksum: 10c0/a13819be0681d915144467741b69875ae5f4eba8961eb0bf322aab63ec87f8250eb6d6b0dcbb2e1349876412a56129ca338592b3829ef4343527f5f18a0752d4
+ languageName: node
+ linkType: hard
+
+"call-bound@npm:^1.0.2, call-bound@npm:^1.0.3":
+ version: 1.0.3
+ resolution: "call-bound@npm:1.0.3"
+ dependencies:
+ call-bind-apply-helpers: "npm:^1.0.1"
+ get-intrinsic: "npm:^1.2.6"
+ checksum: 10c0/45257b8e7621067304b30dbd638e856cac913d31e8e00a80d6cf172911acd057846572d0b256b45e652d515db6601e2974a1b1a040e91b4fc36fb3dd86fa69cf
languageName: node
linkType: hard
@@ -8052,7 +8054,21 @@ __metadata:
languageName: node
linkType: hard
-"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001599, caniuse-lite@npm:^1.0.30001640, caniuse-lite@npm:^1.0.30001646, caniuse-lite@npm:^1.0.30001669, caniuse-lite@npm:^1.0.30001688, caniuse-lite@npm:^1.0.30001702":
+"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001646":
+ version: 1.0.30001700
+ resolution: "caniuse-lite@npm:1.0.30001700"
+ checksum: 10c0/3d391bcdd193208166d3ad759de240b9c18ac3759dbd57195770f0fcd2eedcd47d5e853609aba1eee5a2def44b0a14eee457796bdb3451a27de0c8b27355017c
+ languageName: node
+ linkType: hard
+
+"caniuse-lite@npm:^1.0.30001640, caniuse-lite@npm:^1.0.30001669":
+ version: 1.0.30001690
+ resolution: "caniuse-lite@npm:1.0.30001690"
+ checksum: 10c0/646bd469032afa90400a84dec30a2b00a6eda62c03ead358117e3f884cda8aacec02ec058a6dbee5eaf9714f83e483b9b0eb4fb42febb8076569f5ca40f1d347
+ languageName: node
+ linkType: hard
+
+"caniuse-lite@npm:^1.0.30001688, caniuse-lite@npm:^1.0.30001702":
version: 1.0.30001703
resolution: "caniuse-lite@npm:1.0.30001703"
checksum: 10c0/ed88e318da28e9e59c4ac3a2e3c42859558b7b713aebf03696a1f916e4ed4b70734dda82be04635e2b62ec355b8639bbed829b7b12ff528d7f9cc31a3a5bea91
@@ -8110,15 +8126,15 @@ __metadata:
linkType: hard
"chai@npm:^5.1.1":
- version: 5.1.1
- resolution: "chai@npm:5.1.1"
+ version: 5.2.0
+ resolution: "chai@npm:5.2.0"
dependencies:
assertion-error: "npm:^2.0.1"
check-error: "npm:^2.1.1"
deep-eql: "npm:^5.0.1"
loupe: "npm:^3.1.0"
pathval: "npm:^2.0.0"
- checksum: 10c0/e7f00e5881e3d5224f08fe63966ed6566bd9fdde175863c7c16dd5240416de9b34c4a0dd925f4fd64ad56256ca6507d32cf6131c49e1db65c62578eb31d4566c
+ checksum: 10c0/dfd1cb719c7cebb051b727672d382a35338af1470065cb12adb01f4ee451bbf528e0e0f9ab2016af5fc1eea4df6e7f4504dc8443f8f00bd8fb87ad32dc516f7d
languageName: node
linkType: hard
@@ -8175,7 +8191,7 @@ __metadata:
languageName: node
linkType: hard
-"chalk@npm:^5.2.0, chalk@npm:~5.4.1":
+"chalk@npm:^5.2.0, chalk@npm:^5.4.1":
version: 5.4.1
resolution: "chalk@npm:5.4.1"
checksum: 10c0/b23e88132c702f4855ca6d25cb5538b1114343e41472d5263ee8a37cccfccd9c4216d111e1097c6a27830407a1dc81fecdf2a56f2c63033d4dbbd88c10b0dcef
@@ -8292,35 +8308,6 @@ __metadata:
languageName: node
linkType: hard
-"cheerio-select@npm:^2.1.0":
- version: 2.1.0
- resolution: "cheerio-select@npm:2.1.0"
- dependencies:
- boolbase: "npm:^1.0.0"
- css-select: "npm:^5.1.0"
- css-what: "npm:^6.1.0"
- domelementtype: "npm:^2.3.0"
- domhandler: "npm:^5.0.3"
- domutils: "npm:^3.0.1"
- checksum: 10c0/2242097e593919dba4aacb97d7b8275def8b9ec70b00aa1f43335456870cfc9e284eae2080bdc832ed232dabb9eefcf56c722d152da4a154813fb8814a55d282
- languageName: node
- linkType: hard
-
-"cheerio@npm:^1.0.0-rc.2":
- version: 1.0.0-rc.12
- resolution: "cheerio@npm:1.0.0-rc.12"
- dependencies:
- cheerio-select: "npm:^2.1.0"
- dom-serializer: "npm:^2.0.0"
- domhandler: "npm:^5.0.3"
- domutils: "npm:^3.0.1"
- htmlparser2: "npm:^8.0.1"
- parse5: "npm:^7.0.0"
- parse5-htmlparser2-tree-adapter: "npm:^7.0.0"
- checksum: 10c0/c85d2f2461e3f024345b78e0bb16ad8e41492356210470dd1e7d5a91391da9fcf6c0a7cb48a9ba8820330153f0cedb4d0a60c7af15d96ecdb3092299b9d9c0cc
- languageName: node
- linkType: hard
-
"cheerio@npm:v1.0.0-rc.10":
version: 1.0.0-rc.10
resolution: "cheerio@npm:1.0.0-rc.10"
@@ -8336,25 +8323,6 @@ __metadata:
languageName: node
linkType: hard
-"chokidar@npm:^3.6.0":
- version: 3.6.0
- resolution: "chokidar@npm:3.6.0"
- dependencies:
- anymatch: "npm:~3.1.2"
- braces: "npm:~3.0.2"
- fsevents: "npm:~2.3.2"
- glob-parent: "npm:~5.1.2"
- is-binary-path: "npm:~2.1.0"
- is-glob: "npm:~4.0.1"
- normalize-path: "npm:~3.0.0"
- readdirp: "npm:~3.6.0"
- dependenciesMeta:
- fsevents:
- optional: true
- checksum: 10c0/8361dcd013f2ddbe260eacb1f3cb2f2c6f2b0ad118708a343a5ed8158941a39cb8fb1d272e0f389712e74ee90ce8ba864eece9e0e62b9705cb468a2f6d917462
- languageName: node
- linkType: hard
-
"chownr@npm:^2.0.0":
version: 2.0.0
resolution: "chownr@npm:2.0.0"
@@ -8370,8 +8338,8 @@ __metadata:
linkType: hard
"chromatic@npm:^11.15.0":
- version: 11.20.2
- resolution: "chromatic@npm:11.20.2"
+ version: 11.25.2
+ resolution: "chromatic@npm:11.25.2"
peerDependencies:
"@chromatic-com/cypress": ^0.*.* || ^1.0.0
"@chromatic-com/playwright": ^0.*.* || ^1.0.0
@@ -8384,7 +8352,7 @@ __metadata:
chroma: dist/bin.js
chromatic: dist/bin.js
chromatic-cli: dist/bin.js
- checksum: 10c0/9f60e966fc7dc22df920649e3860493dbf7c86ea34d96e9818e4450c7572e47b8554a3ecec273881184303ee9098ca15b4c85d519b37138ee0399387b1356b7d
+ checksum: 10c0/2cb4bb40a062005292a4cd606321f6c9bdaa31e255e66bae12c780bca9b72e883c017ebe48c5a9228db88a010f5977571ef7dfdcdd4195ad0e7b955f9966d7df
languageName: node
linkType: hard
@@ -8422,9 +8390,9 @@ __metadata:
linkType: hard
"ci-info@npm:^4.0.0":
- version: 4.0.0
- resolution: "ci-info@npm:4.0.0"
- checksum: 10c0/ecc003e5b60580bd081d83dd61d398ddb8607537f916313e40af4667f9c92a1243bd8e8a591a5aa78e418afec245dbe8e90a0e26e39ca0825129a99b978dd3f9
+ version: 4.1.0
+ resolution: "ci-info@npm:4.1.0"
+ checksum: 10c0/0f969ce32a974c542bc8abe4454b220d9d9323bb9415054c92a900faa5fdda0bb222eda68c490127c1d78503510d46b6aca614ecaba5a60515b8ac7e170119e6
languageName: node
linkType: hard
@@ -8436,9 +8404,9 @@ __metadata:
linkType: hard
"cjs-module-lexer@npm:^1.0.0":
- version: 1.4.1
- resolution: "cjs-module-lexer@npm:1.4.1"
- checksum: 10c0/5a7d8279629c9ba8ccf38078c2fed75b7737973ced22b9b5a54180efa57fb2fe2bb7bec6aec55e3b8f3f5044f5d7b240347ad9bd285e7c3d0ee5b0a1d0504dfc
+ version: 1.4.3
+ resolution: "cjs-module-lexer@npm:1.4.3"
+ checksum: 10c0/076b3af85adc4d65dbdab1b5b240fe5b45d44fcf0ef9d429044dd94d19be5589376805c44fb2d4b3e684e5fe6a9b7cf3e426476a6507c45283c5fc6ff95240be
languageName: node
linkType: hard
@@ -8467,15 +8435,6 @@ __metadata:
languageName: node
linkType: hard
-"cli-cursor@npm:^4.0.0":
- version: 4.0.0
- resolution: "cli-cursor@npm:4.0.0"
- dependencies:
- restore-cursor: "npm:^4.0.0"
- checksum: 10c0/e776e8c3c6727300d0539b0d25160b2bb56aed1a63942753ba1826b012f337a6f4b7ace3548402e4f2f13b5e16bfd751be672c44b203205e7eca8be94afec42c
- languageName: node
- linkType: hard
-
"cli-cursor@npm:^5.0.0":
version: 5.0.0
resolution: "cli-cursor@npm:5.0.0"
@@ -8673,7 +8632,14 @@ __metadata:
languageName: node
linkType: hard
-"commander@npm:, commander@npm:^12.1.0, commander@npm:~12.1.0":
+"commander@npm:, commander@npm:^13.1.0, commander@npm:~13.1.0":
+ version: 13.1.0
+ resolution: "commander@npm:13.1.0"
+ checksum: 10c0/7b8c5544bba704fbe84b7cab2e043df8586d5c114a4c5b607f83ae5060708940ed0b5bd5838cf8ce27539cde265c1cbd59ce3c8c6b017ed3eec8943e3a415164
+ languageName: node
+ linkType: hard
+
+"commander@npm:^12.1.0":
version: 12.1.0
resolution: "commander@npm:12.1.0"
checksum: 10c0/6e1996680c083b3b897bfc1cfe1c58dfbcd9842fd43e1aaf8a795fbc237f65efcc860a3ef457b318e73f29a4f4a28f6403c3d653d021d960e4632dd45bde54a9
@@ -8708,13 +8674,6 @@ __metadata:
languageName: node
linkType: hard
-"commander@npm:^6.1.0":
- version: 6.2.1
- resolution: "commander@npm:6.2.1"
- checksum: 10c0/85748abd9d18c8bc88febed58b98f66b7c591d9b5017cad459565761d7b29ca13b7783ea2ee5ce84bf235897333706c4ce29adf1ce15c8252780e7000e2ce9ea
- languageName: node
- linkType: hard
-
"commander@npm:^7.2.0":
version: 7.2.0
resolution: "commander@npm:7.2.0"
@@ -8729,13 +8688,6 @@ __metadata:
languageName: node
linkType: hard
-"commander@npm:~13.1.0":
- version: 13.1.0
- resolution: "commander@npm:13.1.0"
- checksum: 10c0/7b8c5544bba704fbe84b7cab2e043df8586d5c114a4c5b607f83ae5060708940ed0b5bd5838cf8ce27539cde265c1cbd59ce3c8c6b017ed3eec8943e3a415164
- languageName: node
- linkType: hard
-
"commander@npm:~2.13.0":
version: 2.13.0
resolution: "commander@npm:2.13.0"
@@ -8973,7 +8925,7 @@ __metadata:
languageName: node
linkType: hard
-"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.1, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3, cross-spawn@npm:^7.0.5":
+"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.1, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3, cross-spawn@npm:^7.0.5, cross-spawn@npm:^7.0.6":
version: 7.0.6
resolution: "cross-spawn@npm:7.0.6"
dependencies:
@@ -9273,36 +9225,36 @@ __metadata:
languageName: node
linkType: hard
-"data-view-buffer@npm:^1.0.1":
- version: 1.0.1
- resolution: "data-view-buffer@npm:1.0.1"
+"data-view-buffer@npm:^1.0.2":
+ version: 1.0.2
+ resolution: "data-view-buffer@npm:1.0.2"
dependencies:
- call-bind: "npm:^1.0.6"
+ call-bound: "npm:^1.0.3"
es-errors: "npm:^1.3.0"
- is-data-view: "npm:^1.0.1"
- checksum: 10c0/8984119e59dbed906a11fcfb417d7d861936f16697a0e7216fe2c6c810f6b5e8f4a5281e73f2c28e8e9259027190ac4a33e2a65fdd7fa86ac06b76e838918583
+ is-data-view: "npm:^1.0.2"
+ checksum: 10c0/7986d40fc7979e9e6241f85db8d17060dd9a71bd53c894fa29d126061715e322a4cd47a00b0b8c710394854183d4120462b980b8554012acc1c0fa49df7ad38c
languageName: node
linkType: hard
-"data-view-byte-length@npm:^1.0.1":
- version: 1.0.1
- resolution: "data-view-byte-length@npm:1.0.1"
+"data-view-byte-length@npm:^1.0.2":
+ version: 1.0.2
+ resolution: "data-view-byte-length@npm:1.0.2"
dependencies:
- call-bind: "npm:^1.0.7"
+ call-bound: "npm:^1.0.3"
es-errors: "npm:^1.3.0"
- is-data-view: "npm:^1.0.1"
- checksum: 10c0/b7d9e48a0cf5aefed9ab7d123559917b2d7e0d65531f43b2fd95b9d3a6b46042dd3fca597c42bba384e66b70d7ad66ff23932f8367b241f53d93af42cfe04ec2
+ is-data-view: "npm:^1.0.2"
+ checksum: 10c0/f8a4534b5c69384d95ac18137d381f18a5cfae1f0fc1df0ef6feef51ef0d568606d970b69e02ea186c6c0f0eac77fe4e6ad96fec2569cc86c3afcc7475068c55
languageName: node
linkType: hard
-"data-view-byte-offset@npm:^1.0.0":
- version: 1.0.0
- resolution: "data-view-byte-offset@npm:1.0.0"
+"data-view-byte-offset@npm:^1.0.1":
+ version: 1.0.1
+ resolution: "data-view-byte-offset@npm:1.0.1"
dependencies:
- call-bind: "npm:^1.0.6"
+ call-bound: "npm:^1.0.2"
es-errors: "npm:^1.3.0"
is-data-view: "npm:^1.0.1"
- checksum: 10c0/21b0d2e53fd6e20cc4257c873bf6d36d77bd6185624b84076c0a1ddaa757b49aaf076254006341d35568e89f52eecd1ccb1a502cfb620f2beca04f48a6a62a8f
+ checksum: 10c0/fa7aa40078025b7810dcffc16df02c480573b7b53ef1205aa6a61533011005c1890e5ba17018c692ce7c900212b547262d33279fde801ad9843edc0863bf78c4
languageName: node
linkType: hard
@@ -9364,7 +9316,7 @@ __metadata:
languageName: node
linkType: hard
-"debug@npm:^4.0.0, debug@npm:^4.1.1, debug@npm:^4.3.7, debug@npm:~4.4.0":
+"debug@npm:^4.0.0, debug@npm:^4.1.1, debug@npm:^4.3.7, debug@npm:^4.4.0":
version: 4.4.0
resolution: "debug@npm:4.4.0"
dependencies:
@@ -9506,7 +9458,7 @@ __metadata:
languageName: node
linkType: hard
-"define-properties@npm:^1.2.0, define-properties@npm:^1.2.1":
+"define-properties@npm:^1.2.1":
version: 1.2.1
resolution: "define-properties@npm:1.2.1"
dependencies:
@@ -9762,13 +9714,13 @@ __metadata:
linkType: hard
"domutils@npm:^3.0.1":
- version: 3.1.0
- resolution: "domutils@npm:3.1.0"
+ version: 3.2.2
+ resolution: "domutils@npm:3.2.2"
dependencies:
dom-serializer: "npm:^2.0.0"
domelementtype: "npm:^2.3.0"
domhandler: "npm:^5.0.3"
- checksum: 10c0/342d64cf4d07b8a0573fb51e0a6312a88fb520c7fefd751870bf72fa5fc0f2e0cb9a3958a573610b1d608c6e2a69b8e9b4b40f0bfb8f87a71bce4f180cca1887
+ checksum: 10c0/47938f473b987ea71cd59e59626eb8666d3aa8feba5266e45527f3b636c7883cca7e582d901531961f742c519d7514636b7973353b648762b2e3bedbf235fada
languageName: node
linkType: hard
@@ -9782,18 +9734,6 @@ __metadata:
languageName: node
linkType: hard
-"dot-object@npm:^2.1.4":
- version: 2.1.5
- resolution: "dot-object@npm:2.1.5"
- dependencies:
- commander: "npm:^6.1.0"
- glob: "npm:^7.1.6"
- bin:
- dot-object: bin/dot-object
- checksum: 10c0/5a9cc1ec156bb3d1363b76946bb84ac062317ceffab52aecb6a751eb13cf2387dbf09fcbe243e4bf16dc47b7531331b25de604729daa5e6bbf105a8ce87418f2
- languageName: node
- linkType: hard
-
"dot-prop@npm:^5.1.0":
version: 5.3.0
resolution: "dot-prop@npm:5.3.0"
@@ -9804,18 +9744,18 @@ __metadata:
linkType: hard
"dotenv-expand@npm:~11.0.6":
- version: 11.0.6
- resolution: "dotenv-expand@npm:11.0.6"
+ version: 11.0.7
+ resolution: "dotenv-expand@npm:11.0.7"
dependencies:
- dotenv: "npm:^16.4.4"
- checksum: 10c0/e22891ec72cb926d46d9a26290ef77f9cc9ddcba92d2f83d5e6f3a803d1590887be68e25b559415d080053000441b6f63f5b36093a565bb8c5c994b992ae49f2
+ dotenv: "npm:^16.4.5"
+ checksum: 10c0/d80b8a7be085edf351270b96ac0e794bc3ddd7f36157912939577cb4d33ba6492ebee349d59798b71b90e36f498d24a2a564fb4aa00073b2ef4c2a3a49c467b1
languageName: node
linkType: hard
-"dotenv@npm:^16.4.4, dotenv@npm:~16.4.5":
- version: 16.4.5
- resolution: "dotenv@npm:16.4.5"
- checksum: 10c0/48d92870076832af0418b13acd6e5a5a3e83bb00df690d9812e94b24aff62b88ade955ac99a05501305b8dc8f1b0ee7638b18493deb6fe93d680e5220936292f
+"dotenv@npm:^16.4.5, dotenv@npm:~16.4.5":
+ version: 16.4.7
+ resolution: "dotenv@npm:16.4.7"
+ checksum: 10c0/be9f597e36a8daf834452daa1f4cc30e5375a5968f98f46d89b16b983c567398a330580c88395069a77473943c06b877d1ca25b4afafcdd6d4adb549e8293462
languageName: node
linkType: hard
@@ -9826,6 +9766,17 @@ __metadata:
languageName: node
linkType: hard
+"dunder-proto@npm:^1.0.0, dunder-proto@npm:^1.0.1":
+ version: 1.0.1
+ resolution: "dunder-proto@npm:1.0.1"
+ dependencies:
+ call-bind-apply-helpers: "npm:^1.0.1"
+ es-errors: "npm:^1.3.0"
+ gopd: "npm:^1.2.0"
+ checksum: 10c0/199f2a0c1c16593ca0a145dbf76a962f8033ce3129f01284d48c45ed4e14fea9bbacd7b3610b6cdc33486cef20385ac054948fefc6272fcce645c09468f93031
+ languageName: node
+ linkType: hard
+
"duplexer@npm:^0.1.1":
version: 0.1.2
resolution: "duplexer@npm:0.1.2"
@@ -9914,16 +9865,16 @@ __metadata:
linkType: hard
"emittery@npm:^1.0.3":
- version: 1.0.3
- resolution: "emittery@npm:1.0.3"
- checksum: 10c0/91605d044f3891dd1f8ab731aeb94b520488b21e707f7064dcbcf5303bac3b4e7133dfa23c343ede1fc970340bd78a9b1aed522b805bc15104606bba630dd71e
+ version: 1.1.0
+ resolution: "emittery@npm:1.1.0"
+ checksum: 10c0/645d4d7307b52c81bb2d2f9f320aa6a3c0225f53a4bfef2d337be8086df975746f7dd619f1dd7b2ffd4f2288103f28019e7b8567718677600e47507496d3af5f
languageName: node
linkType: hard
"emoji-regex@npm:^10.3.0":
- version: 10.3.0
- resolution: "emoji-regex@npm:10.3.0"
- checksum: 10c0/b4838e8dcdceb44cf47f59abe352c25ff4fe7857acaf5fb51097c427f6f75b44d052eb907a7a3b86f86bc4eae3a93f5c2b7460abe79c407307e6212d65c91163
+ version: 10.4.0
+ resolution: "emoji-regex@npm:10.4.0"
+ checksum: 10c0/a3fcedfc58bfcce21a05a5f36a529d81e88d602100145fcca3dc6f795e3c8acc4fc18fe773fbf9b6d6e9371205edb3afa2668ec3473fa2aa7fd47d2a9d46482d
languageName: node
linkType: hard
@@ -10050,57 +10001,62 @@ __metadata:
languageName: node
linkType: hard
-"es-abstract@npm:^1.22.1, es-abstract@npm:^1.22.3, es-abstract@npm:^1.23.0, es-abstract@npm:^1.23.2":
- version: 1.23.3
- resolution: "es-abstract@npm:1.23.3"
+"es-abstract@npm:^1.23.2, es-abstract@npm:^1.23.5, es-abstract@npm:^1.23.9":
+ version: 1.23.9
+ resolution: "es-abstract@npm:1.23.9"
dependencies:
- array-buffer-byte-length: "npm:^1.0.1"
- arraybuffer.prototype.slice: "npm:^1.0.3"
+ array-buffer-byte-length: "npm:^1.0.2"
+ arraybuffer.prototype.slice: "npm:^1.0.4"
available-typed-arrays: "npm:^1.0.7"
- call-bind: "npm:^1.0.7"
- data-view-buffer: "npm:^1.0.1"
- data-view-byte-length: "npm:^1.0.1"
- data-view-byte-offset: "npm:^1.0.0"
- es-define-property: "npm:^1.0.0"
+ call-bind: "npm:^1.0.8"
+ call-bound: "npm:^1.0.3"
+ data-view-buffer: "npm:^1.0.2"
+ data-view-byte-length: "npm:^1.0.2"
+ data-view-byte-offset: "npm:^1.0.1"
+ es-define-property: "npm:^1.0.1"
es-errors: "npm:^1.3.0"
es-object-atoms: "npm:^1.0.0"
- es-set-tostringtag: "npm:^2.0.3"
- es-to-primitive: "npm:^1.2.1"
- function.prototype.name: "npm:^1.1.6"
- get-intrinsic: "npm:^1.2.4"
- get-symbol-description: "npm:^1.0.2"
- globalthis: "npm:^1.0.3"
- gopd: "npm:^1.0.1"
+ es-set-tostringtag: "npm:^2.1.0"
+ es-to-primitive: "npm:^1.3.0"
+ function.prototype.name: "npm:^1.1.8"
+ get-intrinsic: "npm:^1.2.7"
+ get-proto: "npm:^1.0.0"
+ get-symbol-description: "npm:^1.1.0"
+ globalthis: "npm:^1.0.4"
+ gopd: "npm:^1.2.0"
has-property-descriptors: "npm:^1.0.2"
- has-proto: "npm:^1.0.3"
- has-symbols: "npm:^1.0.3"
+ has-proto: "npm:^1.2.0"
+ has-symbols: "npm:^1.1.0"
hasown: "npm:^2.0.2"
- internal-slot: "npm:^1.0.7"
- is-array-buffer: "npm:^3.0.4"
+ internal-slot: "npm:^1.1.0"
+ is-array-buffer: "npm:^3.0.5"
is-callable: "npm:^1.2.7"
- is-data-view: "npm:^1.0.1"
- is-negative-zero: "npm:^2.0.3"
- is-regex: "npm:^1.1.4"
- is-shared-array-buffer: "npm:^1.0.3"
- is-string: "npm:^1.0.7"
- is-typed-array: "npm:^1.1.13"
- is-weakref: "npm:^1.0.2"
- object-inspect: "npm:^1.13.1"
+ is-data-view: "npm:^1.0.2"
+ is-regex: "npm:^1.2.1"
+ is-shared-array-buffer: "npm:^1.0.4"
+ is-string: "npm:^1.1.1"
+ is-typed-array: "npm:^1.1.15"
+ is-weakref: "npm:^1.1.0"
+ math-intrinsics: "npm:^1.1.0"
+ object-inspect: "npm:^1.13.3"
object-keys: "npm:^1.1.1"
- object.assign: "npm:^4.1.5"
- regexp.prototype.flags: "npm:^1.5.2"
- safe-array-concat: "npm:^1.1.2"
- safe-regex-test: "npm:^1.0.3"
- string.prototype.trim: "npm:^1.2.9"
- string.prototype.trimend: "npm:^1.0.8"
+ object.assign: "npm:^4.1.7"
+ own-keys: "npm:^1.0.1"
+ regexp.prototype.flags: "npm:^1.5.3"
+ safe-array-concat: "npm:^1.1.3"
+ safe-push-apply: "npm:^1.0.0"
+ safe-regex-test: "npm:^1.1.0"
+ set-proto: "npm:^1.0.0"
+ string.prototype.trim: "npm:^1.2.10"
+ string.prototype.trimend: "npm:^1.0.9"
string.prototype.trimstart: "npm:^1.0.8"
- typed-array-buffer: "npm:^1.0.2"
- typed-array-byte-length: "npm:^1.0.1"
- typed-array-byte-offset: "npm:^1.0.2"
- typed-array-length: "npm:^1.0.6"
- unbox-primitive: "npm:^1.0.2"
- which-typed-array: "npm:^1.1.15"
- checksum: 10c0/d27e9afafb225c6924bee9971a7f25f20c314f2d6cb93a63cada4ac11dcf42040896a6c22e5fb8f2a10767055ed4ddf400be3b1eb12297d281726de470b75666
+ typed-array-buffer: "npm:^1.0.3"
+ typed-array-byte-length: "npm:^1.0.3"
+ typed-array-byte-offset: "npm:^1.0.4"
+ typed-array-length: "npm:^1.0.7"
+ unbox-primitive: "npm:^1.1.0"
+ which-typed-array: "npm:^1.1.18"
+ checksum: 10c0/1de229c9e08fe13c17fe5abaec8221545dfcd57e51f64909599a6ae896df84b8fd2f7d16c60cb00d7bf495b9298ca3581aded19939d4b7276854a4b066f8422b
languageName: node
linkType: hard
@@ -10111,50 +10067,49 @@ __metadata:
languageName: node
linkType: hard
-"es-define-property@npm:^1.0.0":
- version: 1.0.0
- resolution: "es-define-property@npm:1.0.0"
- dependencies:
- get-intrinsic: "npm:^1.2.4"
- checksum: 10c0/6bf3191feb7ea2ebda48b577f69bdfac7a2b3c9bcf97307f55fd6ef1bbca0b49f0c219a935aca506c993d8c5d8bddd937766cb760cd5e5a1071351f2df9f9aa4
+"es-define-property@npm:^1.0.0, es-define-property@npm:^1.0.1":
+ version: 1.0.1
+ resolution: "es-define-property@npm:1.0.1"
+ checksum: 10c0/3f54eb49c16c18707949ff25a1456728c883e81259f045003499efba399c08bad00deebf65cccde8c0e07908c1a225c9d472b7107e558f2a48e28d530e34527c
languageName: node
linkType: hard
-"es-errors@npm:^1.2.1, es-errors@npm:^1.3.0":
+"es-errors@npm:^1.3.0":
version: 1.3.0
resolution: "es-errors@npm:1.3.0"
checksum: 10c0/0a61325670072f98d8ae3b914edab3559b6caa980f08054a3b872052640d91da01d38df55df797fcc916389d77fc92b8d5906cf028f4db46d7e3003abecbca85
languageName: node
linkType: hard
-"es-object-atoms@npm:^1.0.0":
- version: 1.0.0
- resolution: "es-object-atoms@npm:1.0.0"
+"es-object-atoms@npm:^1.0.0, es-object-atoms@npm:^1.1.1":
+ version: 1.1.1
+ resolution: "es-object-atoms@npm:1.1.1"
dependencies:
es-errors: "npm:^1.3.0"
- checksum: 10c0/1fed3d102eb27ab8d983337bb7c8b159dd2a1e63ff833ec54eea1311c96d5b08223b433060ba240541ca8adba9eee6b0a60cdbf2f80634b784febc9cc8b687b4
+ checksum: 10c0/65364812ca4daf48eb76e2a3b7a89b3f6a2e62a1c420766ce9f692665a29d94fe41fe88b65f24106f449859549711e4b40d9fb8002d862dfd7eb1c512d10be0c
languageName: node
linkType: hard
-"es-set-tostringtag@npm:^2.0.3":
- version: 2.0.3
- resolution: "es-set-tostringtag@npm:2.0.3"
+"es-set-tostringtag@npm:^2.1.0":
+ version: 2.1.0
+ resolution: "es-set-tostringtag@npm:2.1.0"
dependencies:
- get-intrinsic: "npm:^1.2.4"
+ es-errors: "npm:^1.3.0"
+ get-intrinsic: "npm:^1.2.6"
has-tostringtag: "npm:^1.0.2"
- hasown: "npm:^2.0.1"
- checksum: 10c0/f22aff1585eb33569c326323f0b0d175844a1f11618b86e193b386f8be0ea9474cfbe46df39c45d959f7aa8f6c06985dc51dd6bce5401645ec5a74c4ceaa836a
+ hasown: "npm:^2.0.2"
+ checksum: 10c0/ef2ca9ce49afe3931cb32e35da4dcb6d86ab02592cfc2ce3e49ced199d9d0bb5085fc7e73e06312213765f5efa47cc1df553a6a5154584b21448e9fb8355b1af
languageName: node
linkType: hard
-"es-to-primitive@npm:^1.2.1":
- version: 1.2.1
- resolution: "es-to-primitive@npm:1.2.1"
+"es-to-primitive@npm:^1.3.0":
+ version: 1.3.0
+ resolution: "es-to-primitive@npm:1.3.0"
dependencies:
- is-callable: "npm:^1.1.4"
- is-date-object: "npm:^1.0.1"
- is-symbol: "npm:^1.0.2"
- checksum: 10c0/0886572b8dc075cb10e50c0af62a03d03a68e1e69c388bd4f10c0649ee41b1fbb24840a1b7e590b393011b5cdbe0144b776da316762653685432df37d6de60f1
+ is-callable: "npm:^1.2.7"
+ is-date-object: "npm:^1.0.5"
+ is-symbol: "npm:^1.0.4"
+ checksum: 10c0/c7e87467abb0b438639baa8139f701a06537d2b9bc758f23e8622c3b42fd0fdb5bde0f535686119e446dd9d5e4c0f238af4e14960f4771877cf818d023f6730b
languageName: node
linkType: hard
@@ -10166,44 +10121,45 @@ __metadata:
linkType: hard
"esbuild-register@npm:^3.5.0":
- version: 3.5.0
- resolution: "esbuild-register@npm:3.5.0"
+ version: 3.6.0
+ resolution: "esbuild-register@npm:3.6.0"
dependencies:
debug: "npm:^4.3.4"
peerDependencies:
esbuild: ">=0.12 <1"
- checksum: 10c0/9ccd0573cb66018e4cce3c1416eed0f5f3794c7026ce469a94e2f8761335abed8e363fc8e8bb036ab9ad7e579bb4296b8568a04ae5626596c123576b0d9c9bde
- languageName: node
- linkType: hard
-
-"esbuild@npm:^0.18.0 || ^0.19.0 || ^0.20.0 || ^0.21.0 || ^0.22.0 || ^0.23.0 || ^0.24.0":
- version: 0.24.0
- resolution: "esbuild@npm:0.24.0"
- dependencies:
- "@esbuild/aix-ppc64": "npm:0.24.0"
- "@esbuild/android-arm": "npm:0.24.0"
- "@esbuild/android-arm64": "npm:0.24.0"
- "@esbuild/android-x64": "npm:0.24.0"
- "@esbuild/darwin-arm64": "npm:0.24.0"
- "@esbuild/darwin-x64": "npm:0.24.0"
- "@esbuild/freebsd-arm64": "npm:0.24.0"
- "@esbuild/freebsd-x64": "npm:0.24.0"
- "@esbuild/linux-arm": "npm:0.24.0"
- "@esbuild/linux-arm64": "npm:0.24.0"
- "@esbuild/linux-ia32": "npm:0.24.0"
- "@esbuild/linux-loong64": "npm:0.24.0"
- "@esbuild/linux-mips64el": "npm:0.24.0"
- "@esbuild/linux-ppc64": "npm:0.24.0"
- "@esbuild/linux-riscv64": "npm:0.24.0"
- "@esbuild/linux-s390x": "npm:0.24.0"
- "@esbuild/linux-x64": "npm:0.24.0"
- "@esbuild/netbsd-x64": "npm:0.24.0"
- "@esbuild/openbsd-arm64": "npm:0.24.0"
- "@esbuild/openbsd-x64": "npm:0.24.0"
- "@esbuild/sunos-x64": "npm:0.24.0"
- "@esbuild/win32-arm64": "npm:0.24.0"
- "@esbuild/win32-ia32": "npm:0.24.0"
- "@esbuild/win32-x64": "npm:0.24.0"
+ checksum: 10c0/77193b7ca32ba9f81b35ddf3d3d0138efb0b1429d71b39480cfee932e1189dd2e492bd32bf04a4d0bc3adfbc7ec7381ceb5ffd06efe35f3e70904f1f686566d5
+ languageName: node
+ linkType: hard
+
+"esbuild@npm:^0.18.0 || ^0.19.0 || ^0.20.0 || ^0.21.0 || ^0.22.0 || ^0.23.0 || ^0.24.0 || ^0.25.0":
+ version: 0.25.0
+ resolution: "esbuild@npm:0.25.0"
+ dependencies:
+ "@esbuild/aix-ppc64": "npm:0.25.0"
+ "@esbuild/android-arm": "npm:0.25.0"
+ "@esbuild/android-arm64": "npm:0.25.0"
+ "@esbuild/android-x64": "npm:0.25.0"
+ "@esbuild/darwin-arm64": "npm:0.25.0"
+ "@esbuild/darwin-x64": "npm:0.25.0"
+ "@esbuild/freebsd-arm64": "npm:0.25.0"
+ "@esbuild/freebsd-x64": "npm:0.25.0"
+ "@esbuild/linux-arm": "npm:0.25.0"
+ "@esbuild/linux-arm64": "npm:0.25.0"
+ "@esbuild/linux-ia32": "npm:0.25.0"
+ "@esbuild/linux-loong64": "npm:0.25.0"
+ "@esbuild/linux-mips64el": "npm:0.25.0"
+ "@esbuild/linux-ppc64": "npm:0.25.0"
+ "@esbuild/linux-riscv64": "npm:0.25.0"
+ "@esbuild/linux-s390x": "npm:0.25.0"
+ "@esbuild/linux-x64": "npm:0.25.0"
+ "@esbuild/netbsd-arm64": "npm:0.25.0"
+ "@esbuild/netbsd-x64": "npm:0.25.0"
+ "@esbuild/openbsd-arm64": "npm:0.25.0"
+ "@esbuild/openbsd-x64": "npm:0.25.0"
+ "@esbuild/sunos-x64": "npm:0.25.0"
+ "@esbuild/win32-arm64": "npm:0.25.0"
+ "@esbuild/win32-ia32": "npm:0.25.0"
+ "@esbuild/win32-x64": "npm:0.25.0"
dependenciesMeta:
"@esbuild/aix-ppc64":
optional: true
@@ -10239,6 +10195,8 @@ __metadata:
optional: true
"@esbuild/linux-x64":
optional: true
+ "@esbuild/netbsd-arm64":
+ optional: true
"@esbuild/netbsd-x64":
optional: true
"@esbuild/openbsd-arm64":
@@ -10255,7 +10213,7 @@ __metadata:
optional: true
bin:
esbuild: bin/esbuild
- checksum: 10c0/9f1aadd8d64f3bff422ae78387e66e51a5e09de6935a6f987b6e4e189ed00fdc2d1bc03d2e33633b094008529c8b6e06c7ad1a9782fb09fec223bf95998c0683
+ checksum: 10c0/5767b72da46da3cfec51661647ec850ddbf8a8d0662771139f10ef0692a8831396a0004b2be7966cecdb08264fb16bdc16290dcecd92396fac5f12d722fa013d
languageName: node
linkType: hard
@@ -10339,20 +10297,20 @@ __metadata:
languageName: node
linkType: hard
-"escalade@npm:^3.1.1, escalade@npm:^3.1.2":
- version: 3.1.2
- resolution: "escalade@npm:3.1.2"
- checksum: 10c0/6b4adafecd0682f3aa1cd1106b8fff30e492c7015b178bc81b2d2f75106dabea6c6d6e8508fc491bd58e597c74abb0e8e2368f943ecb9393d4162e3c2f3cf287
- languageName: node
- linkType: hard
-
-"escalade@npm:^3.2.0":
+"escalade@npm:^3.1.1, escalade@npm:^3.2.0":
version: 3.2.0
resolution: "escalade@npm:3.2.0"
checksum: 10c0/ced4dd3a78e15897ed3be74e635110bbf3b08877b0a41be50dcb325ee0e0b5f65fc2d50e9845194d7c4633f327e2e1c6cce00a71b617c5673df0374201d67f65
languageName: node
linkType: hard
+"escalade@npm:^3.1.2":
+ version: 3.1.2
+ resolution: "escalade@npm:3.1.2"
+ checksum: 10c0/6b4adafecd0682f3aa1cd1106b8fff30e492c7015b178bc81b2d2f75106dabea6c6d6e8508fc491bd58e597c74abb0e8e2368f943ecb9393d4162e3c2f3cf287
+ languageName: node
+ linkType: hard
+
"escape-string-regexp@npm:5.0.0, escape-string-regexp@npm:^5.0.0":
version: 5.0.0
resolution: "escape-string-regexp@npm:5.0.0"
@@ -10408,8 +10366,8 @@ __metadata:
linkType: hard
"eslint-plugin-jsonc@npm:^2.18.2":
- version: 2.18.2
- resolution: "eslint-plugin-jsonc@npm:2.18.2"
+ version: 2.19.1
+ resolution: "eslint-plugin-jsonc@npm:2.19.1"
dependencies:
"@eslint-community/eslint-utils": "npm:^4.2.0"
eslint-compat-utils: "npm:^0.6.0"
@@ -10421,13 +10379,13 @@ __metadata:
synckit: "npm:^0.6.0"
peerDependencies:
eslint: ">=6.0.0"
- checksum: 10c0/5ba6fa7f5320838066e0a55d6b5b4e1fa5f244b76593be76e60a5e7153bc6c7b05c8faa38873a663acdc7efc892589f1285f367765b4c8934a941324c14dc107
+ checksum: 10c0/256751242bbd1518871cd50a10daa0cf205498b509c3bf99f887a444cbab93adaa3dbf89c8d6e2aeb0707400365d8c7c59bbdb2fa3e53e586b1f4bc583d01473
languageName: node
linkType: hard
"eslint-plugin-prettier@npm:^5.1.3":
- version: 5.2.1
- resolution: "eslint-plugin-prettier@npm:5.2.1"
+ version: 5.2.3
+ resolution: "eslint-plugin-prettier@npm:5.2.3"
dependencies:
prettier-linter-helpers: "npm:^1.0.0"
synckit: "npm:^0.9.1"
@@ -10441,7 +10399,7 @@ __metadata:
optional: true
eslint-config-prettier:
optional: true
- checksum: 10c0/4bc8bbaf5bb556c9c501dcdff369137763c49ccaf544f9fa91400360ed5e3a3f1234ab59690e06beca5b1b7e6f6356978cdd3b02af6aba3edea2ffe69ca6e8b2
+ checksum: 10c0/60d9c03491ec6080ac1d71d0bee1361539ff6beb9b91ac98cfa7176c9ed52b7dbe7119ebee5b441b479d447d17d802a4a492ee06095ef2f22c460e3dd6459302
languageName: node
linkType: hard
@@ -10455,7 +10413,7 @@ __metadata:
languageName: node
linkType: hard
-"eslint-visitor-keys@npm:^3.0.0, eslint-visitor-keys@npm:^3.3.0, eslint-visitor-keys@npm:^3.4.1, eslint-visitor-keys@npm:^3.4.3":
+"eslint-visitor-keys@npm:^3.0.0, eslint-visitor-keys@npm:^3.4.1, eslint-visitor-keys@npm:^3.4.3":
version: 3.4.3
resolution: "eslint-visitor-keys@npm:3.4.3"
checksum: 10c0/92708e882c0a5ffd88c23c0b404ac1628cf20104a108c745f240a13c332a11aac54f49a22d5762efbffc18ecbc9a580d1b7ad034bf5f3cc3307e5cbff2ec9820
@@ -10463,14 +10421,14 @@ __metadata:
linkType: hard
"eslint@npm:^8.57.0":
- version: 8.57.0
- resolution: "eslint@npm:8.57.0"
+ version: 8.57.1
+ resolution: "eslint@npm:8.57.1"
dependencies:
"@eslint-community/eslint-utils": "npm:^4.2.0"
"@eslint-community/regexpp": "npm:^4.6.1"
"@eslint/eslintrc": "npm:^2.1.4"
- "@eslint/js": "npm:8.57.0"
- "@humanwhocodes/config-array": "npm:^0.11.14"
+ "@eslint/js": "npm:8.57.1"
+ "@humanwhocodes/config-array": "npm:^0.13.0"
"@humanwhocodes/module-importer": "npm:^1.0.1"
"@nodelib/fs.walk": "npm:^1.2.8"
"@ungap/structured-clone": "npm:^1.2.0"
@@ -10506,7 +10464,7 @@ __metadata:
text-table: "npm:^0.2.0"
bin:
eslint: bin/eslint.js
- checksum: 10c0/00bb96fd2471039a312435a6776fe1fd557c056755eaa2b96093ef3a8508c92c8775d5f754768be6b1dddd09fdd3379ddb231eeb9b6c579ee17ea7d68000a529
+ checksum: 10c0/1fd31533086c1b72f86770a4d9d7058ee8b4643fd1cfd10c7aac1ecb8725698e88352a87805cf4b2ce890aa35947df4b4da9655fb7fdfa60dbb448a43f6ebcf1
languageName: node
linkType: hard
@@ -10617,7 +10575,7 @@ __metadata:
languageName: node
linkType: hard
-"execa@npm:~8.0.1":
+"execa@npm:^8.0.1":
version: 8.0.1
resolution: "execa@npm:8.0.1"
dependencies:
@@ -10687,9 +10645,9 @@ __metadata:
linkType: hard
"exponential-backoff@npm:^3.1.1":
- version: 3.1.1
- resolution: "exponential-backoff@npm:3.1.1"
- checksum: 10c0/160456d2d647e6019640bd07111634d8c353038d9fa40176afb7cd49b0548bdae83b56d05e907c2cce2300b81cae35d800ef92fefb9d0208e190fa3b7d6bb579
+ version: 3.1.2
+ resolution: "exponential-backoff@npm:3.1.2"
+ checksum: 10c0/d9d3e1eafa21b78464297df91f1776f7fbaa3d5e3f7f0995648ca5b89c069d17055033817348d9f4a43d1c20b0eab84f75af6991751e839df53e4dfd6f22e844
languageName: node
linkType: hard
@@ -10788,20 +10746,7 @@ __metadata:
languageName: node
linkType: hard
-"fast-glob@npm:^3.2.9, fast-glob@npm:^3.3.0, fast-glob@npm:^3.3.2":
- version: 3.3.2
- resolution: "fast-glob@npm:3.3.2"
- dependencies:
- "@nodelib/fs.stat": "npm:^2.0.2"
- "@nodelib/fs.walk": "npm:^1.2.3"
- glob-parent: "npm:^5.1.2"
- merge2: "npm:^1.3.0"
- micromatch: "npm:^4.0.4"
- checksum: 10c0/42baad7b9cd40b63e42039132bde27ca2cb3a4950d0a0f9abe4639ea1aa9d3e3b40f98b1fe31cbc0cc17b664c9ea7447d911a152fa34ec5b72977b125a6fc845
- languageName: node
- linkType: hard
-
-"fast-glob@npm:^3.3.3":
+"fast-glob@npm:^3.2.9, fast-glob@npm:^3.3.0, fast-glob@npm:^3.3.3":
version: 3.3.3
resolution: "fast-glob@npm:3.3.3"
dependencies:
@@ -10836,20 +10781,20 @@ __metadata:
linkType: hard
"fast-uri@npm:^3.0.1":
- version: 3.0.1
- resolution: "fast-uri@npm:3.0.1"
- checksum: 10c0/3cd46d6006083b14ca61ffe9a05b8eef75ef87e9574b6f68f2e17ecf4daa7aaadeff44e3f0f7a0ef4e0f7e7c20fc07beec49ff14dc72d0b500f00386592f2d10
+ version: 3.0.6
+ resolution: "fast-uri@npm:3.0.6"
+ checksum: 10c0/74a513c2af0584448aee71ce56005185f81239eab7a2343110e5bad50c39ad4fb19c5a6f99783ead1cac7ccaf3461a6034fda89fffa2b30b6d99b9f21c2f9d29
languageName: node
linkType: hard
-"fast-xml-parser@npm:^4.3.2":
- version: 4.4.1
- resolution: "fast-xml-parser@npm:4.4.1"
+"fast-xml-parser@npm:^4.4.1":
+ version: 4.5.3
+ resolution: "fast-xml-parser@npm:4.5.3"
dependencies:
- strnum: "npm:^1.0.5"
+ strnum: "npm:^1.1.1"
bin:
fxparser: src/cli/cli.js
- checksum: 10c0/7f334841fe41bfb0bf5d920904ccad09cefc4b5e61eaf4c225bf1e1bb69ee77ef2147d8942f783ee8249e154d1ca8a858e10bda78a5d78b8bed3f48dcee9bf33
+ checksum: 10c0/bf9ccadacfadc95f6e3f0e7882a380a7f219cf0a6f96575149f02cb62bf44c3b7f0daee75b8ff3847bcfd7fbcb201e402c71045936c265cf6d94b141ec4e9327
languageName: node
linkType: hard
@@ -10861,11 +10806,11 @@ __metadata:
linkType: hard
"fastq@npm:^1.6.0":
- version: 1.17.1
- resolution: "fastq@npm:1.17.1"
+ version: 1.19.0
+ resolution: "fastq@npm:1.19.0"
dependencies:
reusify: "npm:^1.0.4"
- checksum: 10c0/1095f16cea45fb3beff558bb3afa74ca7a9250f5a670b65db7ed585f92b4b48381445cd328b3d87323da81e43232b5d5978a8201bde84e0cd514310f1ea6da34
+ checksum: 10c0/d6a001638f1574a696660fcbba5300d017760432372c801632c325ca7c16819604841c92fd3ccadcdacec0966ca336363a5ff57bc5f0be335d8ea7ac6087b98f
languageName: node
linkType: hard
@@ -10968,9 +10913,9 @@ __metadata:
linkType: hard
"filesize@npm:^10.0.12":
- version: 10.1.4
- resolution: "filesize@npm:10.1.4"
- checksum: 10c0/b02a792da0da66fce5525566691369db6f0fadf5407b3626ca14821998dfaec65cf4a69fc3ca3ae999bf963e4afa19a8a787996f935c508506cccff3cc075faf
+ version: 10.1.6
+ resolution: "filesize@npm:10.1.6"
+ checksum: 10c0/9a196d64da4e947b8c0d294be09a3dfa7a634434a1fc5fb3465f1c9acc1237ea0363f245ba6e24477ea612754d942bc964d86e0e500905a72e9e0e17ae1bbdbc
languageName: node
linkType: hard
@@ -11122,19 +11067,12 @@ __metadata:
version: 5.0.2
resolution: "flat@npm:5.0.2"
bin:
- flat: cli.js
- checksum: 10c0/f178b13482f0cd80c7fede05f4d10585b1f2fdebf26e12edc138e32d3150c6ea6482b7f12813a1091143bad52bb6d3596bca51a162257a21163c0ff438baa5fe
- languageName: node
- linkType: hard
-
-"flatted@npm:^3.2.9":
- version: 3.3.1
- resolution: "flatted@npm:3.3.1"
- checksum: 10c0/324166b125ee07d4ca9bcf3a5f98d915d5db4f39d711fba640a3178b959919aae1f7cfd8aabcfef5826ed8aa8a2aa14cc85b2d7d18ff638ddf4ae3df39573eaf
+ flat: cli.js
+ checksum: 10c0/f178b13482f0cd80c7fede05f4d10585b1f2fdebf26e12edc138e32d3150c6ea6482b7f12813a1091143bad52bb6d3596bca51a162257a21163c0ff438baa5fe
languageName: node
linkType: hard
-"flatted@npm:^3.3.3":
+"flatted@npm:^3.2.9, flatted@npm:^3.3.3":
version: 3.3.3
resolution: "flatted@npm:3.3.3"
checksum: 10c0/e957a1c6b0254aa15b8cce8533e24165abd98fadc98575db082b786b5da1b7d72062b81bfdcd1da2f4d46b6ed93bec2434e62333e9b4261d79ef2e75a10dd538
@@ -11142,21 +11080,21 @@ __metadata:
linkType: hard
"follow-redirects@npm:^1.15.6":
- version: 1.15.6
- resolution: "follow-redirects@npm:1.15.6"
+ version: 1.15.9
+ resolution: "follow-redirects@npm:1.15.9"
peerDependenciesMeta:
debug:
optional: true
- checksum: 10c0/9ff767f0d7be6aa6870c82ac79cf0368cd73e01bbc00e9eb1c2a16fbb198ec105e3c9b6628bb98e9f3ac66fe29a957b9645bcb9a490bb7aa0d35f908b6b85071
+ checksum: 10c0/5829165bd112c3c0e82be6c15b1a58fa9dcfaede3b3c54697a82fe4a62dd5ae5e8222956b448d2f98e331525f05d00404aba7d696de9e761ef6e42fdc780244f
languageName: node
linkType: hard
"for-each@npm:^0.3.3":
- version: 0.3.3
- resolution: "for-each@npm:0.3.3"
+ version: 0.3.5
+ resolution: "for-each@npm:0.3.5"
dependencies:
- is-callable: "npm:^1.1.3"
- checksum: 10c0/22330d8a2db728dbf003ec9182c2d421fbcd2969b02b4f97ec288721cda63eb28f2c08585ddccd0f77cb2930af8d958005c9e72f47141dc51816127a118f39aa
+ is-callable: "npm:^1.2.7"
+ checksum: 10c0/0e0b50f6a843a282637d43674d1fb278dda1dd85f4f99b640024cfb10b85058aac0cc781bf689d5fe50b4b7f638e91e548560723a4e76e04fe96ae35ef039cee
languageName: node
linkType: hard
@@ -11187,23 +11125,24 @@ __metadata:
linkType: hard
"foreground-child@npm:^3.1.0, foreground-child@npm:^3.1.1":
- version: 3.2.1
- resolution: "foreground-child@npm:3.2.1"
+ version: 3.3.1
+ resolution: "foreground-child@npm:3.3.1"
dependencies:
- cross-spawn: "npm:^7.0.0"
+ cross-spawn: "npm:^7.0.6"
signal-exit: "npm:^4.0.1"
- checksum: 10c0/9a53a33dbd87090e9576bef65fb4a71de60f6863a8062a7b11bc1cbe3cc86d428677d7c0b9ef61cdac11007ac580006f78bd5638618d564cfd5e6fd713d6878f
+ checksum: 10c0/8986e4af2430896e65bc2788d6679067294d6aee9545daefc84923a0a4b399ad9c7a3ea7bd8c0b2b80fdf4a92de4c69df3f628233ff3224260e9c1541a9e9ed3
languageName: node
linkType: hard
"form-data@npm:^4.0.0":
- version: 4.0.0
- resolution: "form-data@npm:4.0.0"
+ version: 4.0.2
+ resolution: "form-data@npm:4.0.2"
dependencies:
asynckit: "npm:^0.4.0"
combined-stream: "npm:^1.0.8"
+ es-set-tostringtag: "npm:^2.1.0"
mime-types: "npm:^2.1.12"
- checksum: 10c0/cb6f3ac49180be03ff07ba3ff125f9eba2ff0b277fb33c7fc47569fc5e616882c5b1c69b9904c4c4187e97dd0419dd03b134174756f296dec62041e6527e2c6e
+ checksum: 10c0/e534b0cf025c831a0929bf4b9bbe1a9a6b03e273a8161f9947286b9b13bf8fb279c6944aae0070c4c311100c6d6dbb815cd955dc217728caf73fad8dc5b8ee9c
languageName: node
linkType: hard
@@ -11284,13 +11223,13 @@ __metadata:
linkType: hard
"fs-extra@npm:^11.1.1, fs-extra@npm:^11.2.0":
- version: 11.2.0
- resolution: "fs-extra@npm:11.2.0"
+ version: 11.3.0
+ resolution: "fs-extra@npm:11.3.0"
dependencies:
graceful-fs: "npm:^4.2.0"
jsonfile: "npm:^6.0.1"
universalify: "npm:^2.0.0"
- checksum: 10c0/d77a9a9efe60532d2e790e938c81a02c1b24904ef7a3efb3990b835514465ba720e99a6ea56fd5e2db53b4695319b644d76d5a0e9988a2beef80aa7b1da63398
+ checksum: 10c0/5f95e996186ff45463059feb115a22fb048bdaf7e487ecee8a8646c78ed8fdca63630e3077d4c16ce677051f5e60d3355a06f3cd61f3ca43f48cc58822a44d0a
languageName: node
linkType: hard
@@ -11386,15 +11325,17 @@ __metadata:
languageName: node
linkType: hard
-"function.prototype.name@npm:^1.1.6":
- version: 1.1.6
- resolution: "function.prototype.name@npm:1.1.6"
+"function.prototype.name@npm:^1.1.6, function.prototype.name@npm:^1.1.8":
+ version: 1.1.8
+ resolution: "function.prototype.name@npm:1.1.8"
dependencies:
- call-bind: "npm:^1.0.2"
- define-properties: "npm:^1.2.0"
- es-abstract: "npm:^1.22.1"
+ call-bind: "npm:^1.0.8"
+ call-bound: "npm:^1.0.3"
+ define-properties: "npm:^1.2.1"
functions-have-names: "npm:^1.2.3"
- checksum: 10c0/9eae11294905b62cb16874adb4fc687927cda3162285e0ad9612e6a1d04934005d46907362ea9cdb7428edce05a2f2c3dabc3b2d21e9fd343e9bb278230ad94b
+ hasown: "npm:^2.0.2"
+ is-callable: "npm:^1.2.7"
+ checksum: 10c0/e920a2ab52663005f3cbe7ee3373e3c71c1fb5558b0b0548648cdf3e51961085032458e26c71ff1a8c8c20e7ee7caeb03d43a5d1fa8610c459333323a2e71253
languageName: node
linkType: hard
@@ -11436,29 +11377,27 @@ __metadata:
linkType: hard
"get-east-asian-width@npm:^1.0.0":
- version: 1.2.0
- resolution: "get-east-asian-width@npm:1.2.0"
- checksum: 10c0/914b1e217cf38436c24b4c60b4c45289e39a45bf9e65ef9fd343c2815a1a02b8a0215aeec8bf9c07c516089004b6e3826332481f40a09529fcadbf6e579f286b
- languageName: node
- linkType: hard
-
-"get-func-name@npm:^2.0.1":
- version: 2.0.2
- resolution: "get-func-name@npm:2.0.2"
- checksum: 10c0/89830fd07623fa73429a711b9daecdb304386d237c71268007f788f113505ef1d4cc2d0b9680e072c5082490aec9df5d7758bf5ac6f1c37062855e8e3dc0b9df
+ version: 1.3.0
+ resolution: "get-east-asian-width@npm:1.3.0"
+ checksum: 10c0/1a049ba697e0f9a4d5514c4623781c5246982bdb61082da6b5ae6c33d838e52ce6726407df285cdbb27ec1908b333cf2820989bd3e986e37bb20979437fdf34b
languageName: node
linkType: hard
-"get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.1, get-intrinsic@npm:^1.2.3, get-intrinsic@npm:^1.2.4":
- version: 1.2.4
- resolution: "get-intrinsic@npm:1.2.4"
+"get-intrinsic@npm:^1.2.4, get-intrinsic@npm:^1.2.5, get-intrinsic@npm:^1.2.6, get-intrinsic@npm:^1.2.7":
+ version: 1.3.0
+ resolution: "get-intrinsic@npm:1.3.0"
dependencies:
+ call-bind-apply-helpers: "npm:^1.0.2"
+ es-define-property: "npm:^1.0.1"
es-errors: "npm:^1.3.0"
+ es-object-atoms: "npm:^1.1.1"
function-bind: "npm:^1.1.2"
- has-proto: "npm:^1.0.1"
- has-symbols: "npm:^1.0.3"
- hasown: "npm:^2.0.0"
- checksum: 10c0/0a9b82c16696ed6da5e39b1267104475c47e3a9bdbe8b509dfe1710946e38a87be70d759f4bb3cda042d76a41ef47fe769660f3b7c0d1f68750299344ffb15b7
+ get-proto: "npm:^1.0.1"
+ gopd: "npm:^1.2.0"
+ has-symbols: "npm:^1.1.0"
+ hasown: "npm:^2.0.2"
+ math-intrinsics: "npm:^1.1.0"
+ checksum: 10c0/52c81808af9a8130f581e6a6a83e1ba4a9f703359e7a438d1369a5267a25412322f03dcbd7c549edaef0b6214a0630a28511d7df0130c93cfd380f4fa0b5b66a
languageName: node
linkType: hard
@@ -11469,6 +11408,16 @@ __metadata:
languageName: node
linkType: hard
+"get-proto@npm:^1.0.0, get-proto@npm:^1.0.1":
+ version: 1.0.1
+ resolution: "get-proto@npm:1.0.1"
+ dependencies:
+ dunder-proto: "npm:^1.0.1"
+ es-object-atoms: "npm:^1.0.0"
+ checksum: 10c0/9224acb44603c5526955e83510b9da41baf6ae73f7398875fba50edc5e944223a89c4a72b070fcd78beb5f7bdda58ecb6294adc28f7acfc0da05f76a2399643c
+ languageName: node
+ linkType: hard
+
"get-stream@npm:^6.0.0":
version: 6.0.1
resolution: "get-stream@npm:6.0.1"
@@ -11483,14 +11432,14 @@ __metadata:
languageName: node
linkType: hard
-"get-symbol-description@npm:^1.0.2":
- version: 1.0.2
- resolution: "get-symbol-description@npm:1.0.2"
+"get-symbol-description@npm:^1.1.0":
+ version: 1.1.0
+ resolution: "get-symbol-description@npm:1.1.0"
dependencies:
- call-bind: "npm:^1.0.5"
+ call-bound: "npm:^1.0.3"
es-errors: "npm:^1.3.0"
- get-intrinsic: "npm:^1.2.4"
- checksum: 10c0/867be6d63f5e0eb026cb3b0ef695ec9ecf9310febb041072d2e142f260bd91ced9eeb426b3af98791d1064e324e653424afa6fd1af17dee373bea48ae03162bc
+ get-intrinsic: "npm:^1.2.6"
+ checksum: 10c0/d6a7d6afca375779a4b307738c9e80dbf7afc0bdbe5948768d54ab9653c865523d8920e670991a925936eb524b7cb6a6361d199a760b21d0ca7620194455aa4b
languageName: node
linkType: hard
@@ -11525,7 +11474,7 @@ __metadata:
languageName: node
linkType: hard
-"glob-parent@npm:^5.1.2, glob-parent@npm:~5.1.2":
+"glob-parent@npm:^5.1.2":
version: 5.1.2
resolution: "glob-parent@npm:5.1.2"
dependencies:
@@ -11560,8 +11509,8 @@ __metadata:
linkType: hard
"glob@npm:^11.0.0":
- version: 11.0.0
- resolution: "glob@npm:11.0.0"
+ version: 11.0.1
+ resolution: "glob@npm:11.0.1"
dependencies:
foreground-child: "npm:^3.1.0"
jackspeak: "npm:^4.0.1"
@@ -11571,7 +11520,7 @@ __metadata:
path-scurry: "npm:^2.0.0"
bin:
glob: dist/esm/bin.mjs
- checksum: 10c0/419866015d8795258a8ac51de5b9d1a99c72634fc3ead93338e4da388e89773ab21681e494eac0fbc4250b003451ca3110bb4f1c9393d15d14466270094fdb4e
+ checksum: 10c0/2b32588be52e9e90f914c7d8dec32f3144b81b84054b0f70e9adfebf37cd7014570489f2a79d21f7801b9a4bd4cca94f426966bfd00fb64a5b705cfe10da3a03
languageName: node
linkType: hard
@@ -11680,7 +11629,7 @@ __metadata:
languageName: node
linkType: hard
-"globalthis@npm:^1.0.3":
+"globalthis@npm:^1.0.4":
version: 1.0.4
resolution: "globalthis@npm:1.0.4"
dependencies:
@@ -11718,16 +11667,16 @@ __metadata:
linkType: hard
"globby@npm:^14.0.2":
- version: 14.0.2
- resolution: "globby@npm:14.0.2"
+ version: 14.1.0
+ resolution: "globby@npm:14.1.0"
dependencies:
"@sindresorhus/merge-streams": "npm:^2.1.0"
- fast-glob: "npm:^3.3.2"
- ignore: "npm:^5.2.4"
- path-type: "npm:^5.0.0"
+ fast-glob: "npm:^3.3.3"
+ ignore: "npm:^7.0.3"
+ path-type: "npm:^6.0.0"
slash: "npm:^5.1.0"
- unicorn-magic: "npm:^0.1.0"
- checksum: 10c0/3f771cd683b8794db1e7ebc8b6b888d43496d93a82aad4e9d974620f578581210b6c5a6e75ea29573ed16a1345222fab6e9b877a8d1ed56eeb147e09f69c6f78
+ unicorn-magic: "npm:^0.3.0"
+ checksum: 10c0/527a1063c5958255969620c6fa4444a2b2e9278caddd571d46dfbfa307cb15977afb746e84d682ba5b6c94fc081e8997f80ff05dd235441ba1cb16f86153e58e
languageName: node
linkType: hard
@@ -11738,12 +11687,10 @@ __metadata:
languageName: node
linkType: hard
-"gopd@npm:^1.0.1":
- version: 1.0.1
- resolution: "gopd@npm:1.0.1"
- dependencies:
- get-intrinsic: "npm:^1.1.3"
- checksum: 10c0/505c05487f7944c552cee72087bf1567debb470d4355b1335f2c262d218ebbff805cd3715448fe29b4b380bae6912561d0467233e4165830efd28da241418c63
+"gopd@npm:^1.0.1, gopd@npm:^1.2.0":
+ version: 1.2.0
+ resolution: "gopd@npm:1.2.0"
+ checksum: 10c0/50fff1e04ba2b7737c097358534eacadad1e68d24cccee3272e04e007bed008e68d2614f3987788428fd192a5ae3889d08fb2331417e4fc4a9ab366b2043cead
languageName: node
linkType: hard
@@ -11788,10 +11735,10 @@ __metadata:
languageName: node
linkType: hard
-"has-bigints@npm:^1.0.1, has-bigints@npm:^1.0.2":
- version: 1.0.2
- resolution: "has-bigints@npm:1.0.2"
- checksum: 10c0/724eb1485bfa3cdff6f18d95130aa190561f00b3fcf9f19dc640baf8176b5917c143b81ec2123f8cddb6c05164a198c94b13e1377c497705ccc8e1a80306e83b
+"has-bigints@npm:^1.0.2":
+ version: 1.1.0
+ resolution: "has-bigints@npm:1.1.0"
+ checksum: 10c0/2de0cdc4a1ccf7a1e75ffede1876994525ac03cc6f5ae7392d3415dd475cd9eee5bceec63669ab61aa997ff6cceebb50ef75561c7002bed8988de2b9d1b40788
languageName: node
linkType: hard
@@ -11825,17 +11772,19 @@ __metadata:
languageName: node
linkType: hard
-"has-proto@npm:^1.0.1, has-proto@npm:^1.0.3":
- version: 1.0.3
- resolution: "has-proto@npm:1.0.3"
- checksum: 10c0/35a6989f81e9f8022c2f4027f8b48a552de714938765d019dbea6bb547bd49ce5010a3c7c32ec6ddac6e48fc546166a3583b128f5a7add8b058a6d8b4afec205
+"has-proto@npm:^1.2.0":
+ version: 1.2.0
+ resolution: "has-proto@npm:1.2.0"
+ dependencies:
+ dunder-proto: "npm:^1.0.0"
+ checksum: 10c0/46538dddab297ec2f43923c3d35237df45d8c55a6fc1067031e04c13ed8a9a8f94954460632fd4da84c31a1721eefee16d901cbb1ae9602bab93bb6e08f93b95
languageName: node
linkType: hard
-"has-symbols@npm:^1.0.2, has-symbols@npm:^1.0.3":
- version: 1.0.3
- resolution: "has-symbols@npm:1.0.3"
- checksum: 10c0/e6922b4345a3f37069cdfe8600febbca791c94988c01af3394d86ca3360b4b93928bbf395859158f88099cb10b19d98e3bbab7c9ff2c1bd09cf665ee90afa2c3
+"has-symbols@npm:^1.0.3, has-symbols@npm:^1.1.0":
+ version: 1.1.0
+ resolution: "has-symbols@npm:1.1.0"
+ checksum: 10c0/dde0a734b17ae51e84b10986e651c664379018d10b91b6b0e9b293eddb32f0f069688c841fb40f19e9611546130153e0a2a48fd7f512891fb000ddfa36f5a20e
languageName: node
linkType: hard
@@ -11858,7 +11807,7 @@ __metadata:
languageName: node
linkType: hard
-"hasown@npm:^2.0.0, hasown@npm:^2.0.1, hasown@npm:^2.0.2":
+"hasown@npm:^2.0.2":
version: 2.0.2
resolution: "hasown@npm:2.0.2"
dependencies:
@@ -11956,11 +11905,11 @@ __metadata:
linkType: hard
"hosted-git-info@npm:^8.0.0":
- version: 8.0.0
- resolution: "hosted-git-info@npm:8.0.0"
+ version: 8.0.2
+ resolution: "hosted-git-info@npm:8.0.2"
dependencies:
lru-cache: "npm:^10.0.1"
- checksum: 10c0/3eb932a99e8a3c7f3a4513a5a61b81d0789741abf41ebb2d9679644e4b4c730c68e1925fbaeae2c6b35eb0bab57a59027b89c21ab588981c8b0989c454adde46
+ checksum: 10c0/e64f6c1b6db625869934b35c4959aacc365799d9cb1856e0224b5557ee5ecfe224bb8aa850479179a8f3968063ea0f92b8fbb67fe009d46859431dcde7fdc36d
languageName: node
linkType: hard
@@ -12004,18 +11953,6 @@ __metadata:
languageName: node
linkType: hard
-"htmlparser2@npm:^8.0.1":
- version: 8.0.2
- resolution: "htmlparser2@npm:8.0.2"
- dependencies:
- domelementtype: "npm:^2.3.0"
- domhandler: "npm:^5.0.3"
- domutils: "npm:^3.0.1"
- entities: "npm:^4.4.0"
- checksum: 10c0/609cca85886d0bf2c9a5db8c6926a89f3764596877492e2caa7a25a789af4065bc6ee2cdc81807fe6b1d03a87bf8a373b5a754528a4cc05146b713c20575aab4
- languageName: node
- linkType: hard
-
"http-cache-semantics@npm:^4.1.1":
version: 4.1.1
resolution: "http-cache-semantics@npm:4.1.1"
@@ -12033,13 +11970,13 @@ __metadata:
languageName: node
linkType: hard
-"https-proxy-agent@npm:^7.0.0":
- version: 7.0.5
- resolution: "https-proxy-agent@npm:7.0.5"
+"https-proxy-agent@npm:^7.0.0, https-proxy-agent@npm:^7.0.5":
+ version: 7.0.6
+ resolution: "https-proxy-agent@npm:7.0.6"
dependencies:
- agent-base: "npm:^7.0.2"
+ agent-base: "npm:^7.1.2"
debug: "npm:4"
- checksum: 10c0/2490e3acec397abeb88807db52cac59102d5ed758feee6df6112ab3ccd8325e8a1ce8bce6f4b66e5470eca102d31e425ace904242e4fa28dbe0c59c4bafa7b2c
+ checksum: 10c0/f729219bc735edb621fa30e6e84e60ee5d00802b8247aac0d7b79b0bd6d4b3294737a337b93b86a0bd9e68099d031858a39260c976dc14cdbba238ba1f8779ac
languageName: node
linkType: hard
@@ -12053,20 +11990,12 @@ __metadata:
languageName: node
linkType: hard
-"https-proxy-agent@npm:^7.0.5":
- version: 7.0.6
- resolution: "https-proxy-agent@npm:7.0.6"
- dependencies:
- agent-base: "npm:^7.1.2"
- debug: "npm:4"
- checksum: 10c0/f729219bc735edb621fa30e6e84e60ee5d00802b8247aac0d7b79b0bd6d4b3294737a337b93b86a0bd9e68099d031858a39260c976dc14cdbba238ba1f8779ac
- languageName: node
- linkType: hard
-
-"human-id@npm:^1.0.2":
- version: 1.0.2
- resolution: "human-id@npm:1.0.2"
- checksum: 10c0/e4c3be49b3927ff8ac54ae4a95ed77ad94fd793b57be51aff39aa81931c6efe56303ce1ec76a70c74f85748644207c89ccfa63d828def1313eff7526a14c3b3b
+"human-id@npm:^4.1.1":
+ version: 4.1.1
+ resolution: "human-id@npm:4.1.1"
+ bin:
+ human-id: dist/cli.js
+ checksum: 10c0/9a9a18130fb7d6bc707054bacc32cb328289be0de47ba5669fd04995435e7e59931b87c644a223d68473c450221d104175a5fefe93d77f3522822ead8945def8
languageName: node
linkType: hard
@@ -12135,9 +12064,9 @@ __metadata:
linkType: hard
"ignore@npm:^5.0.4, ignore@npm:^5.2.0, ignore@npm:^5.2.4":
- version: 5.3.1
- resolution: "ignore@npm:5.3.1"
- checksum: 10c0/703f7f45ffb2a27fb2c5a8db0c32e7dee66b33a225d28e8db4e1be6474795f606686a6e3bcc50e1aa12f2042db4c9d4a7d60af3250511de74620fbed052ea4cd
+ version: 5.3.2
+ resolution: "ignore@npm:5.3.2"
+ checksum: 10c0/f9f652c957983634ded1e7f02da3b559a0d4cc210fca3792cb67f1b153623c9c42efdc1c4121af171e295444459fc4a9201101fb041b1104a3c000bccb188337
languageName: node
linkType: hard
@@ -12149,12 +12078,12 @@ __metadata:
linkType: hard
"import-fresh@npm:^3.2.1, import-fresh@npm:^3.3.0":
- version: 3.3.0
- resolution: "import-fresh@npm:3.3.0"
+ version: 3.3.1
+ resolution: "import-fresh@npm:3.3.1"
dependencies:
parent-module: "npm:^1.0.0"
resolve-from: "npm:^4.0.0"
- checksum: 10c0/7f882953aa6b740d1f0e384d0547158bc86efbf2eea0f1483b8900a6f65c5a5123c2cf09b0d542cc419d0b98a759ecaeb394237e97ea427f2da221dc3cd80cc3
+ checksum: 10c0/bf8cc494872fef783249709385ae883b447e3eb09db0ebd15dcead7d9afe7224dad7bd7591c6b73b0b19b3c0f9640eb8ee884f01cfaf2887ab995b0b36a0cbec
languageName: node
linkType: hard
@@ -12252,25 +12181,28 @@ __metadata:
linkType: hard
"inquirer@npm:^12.0.0":
- version: 12.3.2
- resolution: "inquirer@npm:12.3.2"
+ version: 12.4.2
+ resolution: "inquirer@npm:12.4.2"
dependencies:
- "@inquirer/core": "npm:^10.1.4"
- "@inquirer/prompts": "npm:^7.2.3"
- "@inquirer/type": "npm:^3.0.2"
+ "@inquirer/core": "npm:^10.1.7"
+ "@inquirer/prompts": "npm:^7.3.2"
+ "@inquirer/type": "npm:^3.0.4"
ansi-escapes: "npm:^4.3.2"
mute-stream: "npm:^2.0.0"
run-async: "npm:^3.0.0"
rxjs: "npm:^7.8.1"
peerDependencies:
"@types/node": ">=18"
- checksum: 10c0/cdded52fa440f2622aec2972eb5775789c9c36cea7d31f3f83d5ef692e328a4c52ae1e039960f41d2d5c8a0e6e728b3fb502c1b552dcb6c422dd0f7adc3906a5
+ peerDependenciesMeta:
+ "@types/node":
+ optional: true
+ checksum: 10c0/5abaa0d02259c98ee7baa7c307b8d23970af46b2dbe6288b633b6675865f5d9c3c0cf924f4765a6ae130cbb8723d5b6d96d872dbdd195f8a917aff7bd1e28e30
languageName: node
linkType: hard
"inquirer@npm:^9.2.10":
- version: 9.3.6
- resolution: "inquirer@npm:9.3.6"
+ version: 9.3.7
+ resolution: "inquirer@npm:9.3.7"
dependencies:
"@inquirer/figures": "npm:^1.0.3"
ansi-escapes: "npm:^4.3.2"
@@ -12284,7 +12216,7 @@ __metadata:
strip-ansi: "npm:^6.0.1"
wrap-ansi: "npm:^6.2.0"
yoctocolors-cjs: "npm:^2.1.2"
- checksum: 10c0/29625ffc98979a862d3db1d006464526e1dd9f62f0aae68ab0231af56a193cbdc7f90d6222541e1dcf1ff1d3c1d36e33883f314b67bb731fd68a7b18999ef6e3
+ checksum: 10c0/7a5b70312a734b579846648365cbf354e8b23ec73f379d46ada30bc2cf3961dc33b7ca59a3c2beed8a8e03744e3d6c12d4998a34b2d3904774aed238d77328b4
languageName: node
linkType: hard
@@ -12311,14 +12243,14 @@ __metadata:
languageName: node
linkType: hard
-"internal-slot@npm:^1.0.7":
- version: 1.0.7
- resolution: "internal-slot@npm:1.0.7"
+"internal-slot@npm:^1.1.0":
+ version: 1.1.0
+ resolution: "internal-slot@npm:1.1.0"
dependencies:
es-errors: "npm:^1.3.0"
- hasown: "npm:^2.0.0"
- side-channel: "npm:^1.0.4"
- checksum: 10c0/f8b294a4e6ea3855fc59551bbf35f2b832cf01fd5e6e2a97f5c201a071cc09b49048f856e484b67a6c721da5e55736c5b6ddafaf19e2dbeb4a3ff1821680de6c
+ hasown: "npm:^2.0.2"
+ side-channel: "npm:^1.1.0"
+ checksum: 10c0/03966f5e259b009a9bf1a78d60da920df198af4318ec004f57b8aef1dd3fe377fbc8cce63a96e8c810010302654de89f9e19de1cd8ad0061d15be28a695465c7
languageName: node
linkType: hard
@@ -12391,22 +12323,23 @@ __metadata:
linkType: hard
"is-arguments@npm:^1.0.4":
- version: 1.1.1
- resolution: "is-arguments@npm:1.1.1"
+ version: 1.2.0
+ resolution: "is-arguments@npm:1.2.0"
dependencies:
- call-bind: "npm:^1.0.2"
- has-tostringtag: "npm:^1.0.0"
- checksum: 10c0/5ff1f341ee4475350adfc14b2328b38962564b7c2076be2f5bac7bd9b61779efba99b9f844a7b82ba7654adccf8e8eb19d1bb0cc6d1c1a085e498f6793d4328f
+ call-bound: "npm:^1.0.2"
+ has-tostringtag: "npm:^1.0.2"
+ checksum: 10c0/6377344b31e9fcb707c6751ee89b11f132f32338e6a782ec2eac9393b0cbd32235dad93052998cda778ee058754860738341d8114910d50ada5615912bb929fc
languageName: node
linkType: hard
-"is-array-buffer@npm:^3.0.4":
- version: 3.0.4
- resolution: "is-array-buffer@npm:3.0.4"
+"is-array-buffer@npm:^3.0.4, is-array-buffer@npm:^3.0.5":
+ version: 3.0.5
+ resolution: "is-array-buffer@npm:3.0.5"
dependencies:
- call-bind: "npm:^1.0.2"
- get-intrinsic: "npm:^1.2.1"
- checksum: 10c0/42a49d006cc6130bc5424eae113e948c146f31f9d24460fc0958f855d9d810e6fd2e4519bf19aab75179af9c298ea6092459d8cafdec523cd19e529b26eab860
+ call-bind: "npm:^1.0.8"
+ call-bound: "npm:^1.0.3"
+ get-intrinsic: "npm:^1.2.6"
+ checksum: 10c0/c5c9f25606e86dbb12e756694afbbff64bc8b348d1bc989324c037e1068695131930199d6ad381952715dad3a9569333817f0b1a72ce5af7f883ce802e49c83d
languageName: node
linkType: hard
@@ -12417,31 +12350,35 @@ __metadata:
languageName: node
linkType: hard
-"is-bigint@npm:^1.0.1":
- version: 1.0.4
- resolution: "is-bigint@npm:1.0.4"
+"is-async-function@npm:^2.0.0":
+ version: 2.1.1
+ resolution: "is-async-function@npm:2.1.1"
dependencies:
- has-bigints: "npm:^1.0.1"
- checksum: 10c0/eb9c88e418a0d195ca545aff2b715c9903d9b0a5033bc5922fec600eb0c3d7b1ee7f882dbf2e0d5a6e694e42391be3683e4368737bd3c4a77f8ac293e7773696
+ async-function: "npm:^1.0.0"
+ call-bound: "npm:^1.0.3"
+ get-proto: "npm:^1.0.1"
+ has-tostringtag: "npm:^1.0.2"
+ safe-regex-test: "npm:^1.1.0"
+ checksum: 10c0/d70c236a5e82de6fc4d44368ffd0c2fee2b088b893511ce21e679da275a5ecc6015ff59a7d7e1bdd7ca39f71a8dbdd253cf8cce5c6b3c91cdd5b42b5ce677298
languageName: node
linkType: hard
-"is-binary-path@npm:~2.1.0":
- version: 2.1.0
- resolution: "is-binary-path@npm:2.1.0"
+"is-bigint@npm:^1.1.0":
+ version: 1.1.0
+ resolution: "is-bigint@npm:1.1.0"
dependencies:
- binary-extensions: "npm:^2.0.0"
- checksum: 10c0/a16eaee59ae2b315ba36fad5c5dcaf8e49c3e27318f8ab8fa3cdb8772bf559c8d1ba750a589c2ccb096113bb64497084361a25960899cb6172a6925ab6123d38
+ has-bigints: "npm:^1.0.2"
+ checksum: 10c0/f4f4b905ceb195be90a6ea7f34323bf1c18e3793f18922e3e9a73c684c29eeeeff5175605c3a3a74cc38185fe27758f07efba3dbae812e5c5afbc0d2316b40e4
languageName: node
linkType: hard
-"is-boolean-object@npm:^1.1.0":
- version: 1.1.2
- resolution: "is-boolean-object@npm:1.1.2"
+"is-boolean-object@npm:^1.2.1":
+ version: 1.2.2
+ resolution: "is-boolean-object@npm:1.2.2"
dependencies:
- call-bind: "npm:^1.0.2"
- has-tostringtag: "npm:^1.0.0"
- checksum: 10c0/6090587f8a8a8534c0f816da868bc94f32810f08807aa72fa7e79f7e11c466d281486ffe7a788178809c2aa71fe3e700b167fe80dd96dad68026bfff8ebf39f7
+ call-bound: "npm:^1.0.3"
+ has-tostringtag: "npm:^1.0.2"
+ checksum: 10c0/36ff6baf6bd18b3130186990026f5a95c709345c39cd368468e6c1b6ab52201e9fd26d8e1f4c066357b4938b0f0401e1a5000e08257787c1a02f3a719457001e
languageName: node
linkType: hard
@@ -12452,37 +12389,40 @@ __metadata:
languageName: node
linkType: hard
-"is-callable@npm:^1.1.3, is-callable@npm:^1.1.4, is-callable@npm:^1.2.7":
+"is-callable@npm:^1.2.7":
version: 1.2.7
resolution: "is-callable@npm:1.2.7"
checksum: 10c0/ceebaeb9d92e8adee604076971dd6000d38d6afc40bb843ea8e45c5579b57671c3f3b50d7f04869618242c6cee08d1b67806a8cb8edaaaf7c0748b3720d6066f
languageName: node
linkType: hard
-"is-core-module@npm:^2.13.0":
- version: 2.15.0
- resolution: "is-core-module@npm:2.15.0"
+"is-core-module@npm:^2.16.0":
+ version: 2.16.1
+ resolution: "is-core-module@npm:2.16.1"
dependencies:
hasown: "npm:^2.0.2"
- checksum: 10c0/da161f3d9906f459486da65609b2f1a2dfdc60887c689c234d04e88a062cb7920fa5be5fb7ab08dc43b732929653c4135ef05bf77888ae2a9040ce76815eb7b1
+ checksum: 10c0/898443c14780a577e807618aaae2b6f745c8538eca5c7bc11388a3f2dc6de82b9902bcc7eb74f07be672b11bbe82dd6a6edded44a00cb3d8f933d0459905eedd
languageName: node
linkType: hard
-"is-data-view@npm:^1.0.1":
- version: 1.0.1
- resolution: "is-data-view@npm:1.0.1"
+"is-data-view@npm:^1.0.1, is-data-view@npm:^1.0.2":
+ version: 1.0.2
+ resolution: "is-data-view@npm:1.0.2"
dependencies:
+ call-bound: "npm:^1.0.2"
+ get-intrinsic: "npm:^1.2.6"
is-typed-array: "npm:^1.1.13"
- checksum: 10c0/a3e6ec84efe303da859107aed9b970e018e2bee7ffcb48e2f8096921a493608134240e672a2072577e5f23a729846241d9634806e8a0e51d9129c56d5f65442d
+ checksum: 10c0/ef3548a99d7e7f1370ce21006baca6d40c73e9f15c941f89f0049c79714c873d03b02dae1c64b3f861f55163ecc16da06506c5b8a1d4f16650b3d9351c380153
languageName: node
linkType: hard
-"is-date-object@npm:^1.0.1":
- version: 1.0.5
- resolution: "is-date-object@npm:1.0.5"
+"is-date-object@npm:^1.0.5, is-date-object@npm:^1.1.0":
+ version: 1.1.0
+ resolution: "is-date-object@npm:1.1.0"
dependencies:
- has-tostringtag: "npm:^1.0.0"
- checksum: 10c0/eed21e5dcc619c48ccef804dfc83a739dbb2abee6ca202838ee1bd5f760fe8d8a93444f0d49012ad19bb7c006186e2884a1b92f6e1c056da7fd23d0a9ad5992e
+ call-bound: "npm:^1.0.2"
+ has-tostringtag: "npm:^1.0.2"
+ checksum: 10c0/1a4d199c8e9e9cac5128d32e6626fa7805175af9df015620ac0d5d45854ccf348ba494679d872d37301032e35a54fc7978fba1687e8721b2139aea7870cafa2f
languageName: node
linkType: hard
@@ -12534,6 +12474,15 @@ __metadata:
languageName: node
linkType: hard
+"is-finalizationregistry@npm:^1.1.0":
+ version: 1.1.1
+ resolution: "is-finalizationregistry@npm:1.1.1"
+ dependencies:
+ call-bound: "npm:^1.0.3"
+ checksum: 10c0/818dff679b64f19e228a8205a1e2d09989a98e98def3a817f889208cfcbf918d321b251aadf2c05918194803ebd2eb01b14fc9d0b2bea53d984f4137bfca5e97
+ languageName: node
+ linkType: hard
+
"is-fullwidth-code-point@npm:^3.0.0":
version: 3.0.0
resolution: "is-fullwidth-code-point@npm:3.0.0"
@@ -12564,6 +12513,18 @@ __metadata:
languageName: node
linkType: hard
+"is-generator-function@npm:^1.0.10":
+ version: 1.1.0
+ resolution: "is-generator-function@npm:1.1.0"
+ dependencies:
+ call-bound: "npm:^1.0.3"
+ get-proto: "npm:^1.0.0"
+ has-tostringtag: "npm:^1.0.2"
+ safe-regex-test: "npm:^1.1.0"
+ checksum: 10c0/fdfa96c8087bf36fc4cd514b474ba2ff404219a4dd4cfa6cf5426404a1eed259bdcdb98f082a71029a48d01f27733e3436ecc6690129a7ec09cb0434bee03a2a
+ languageName: node
+ linkType: hard
+
"is-generator-function@npm:^1.0.7":
version: 1.0.10
resolution: "is-generator-function@npm:1.0.10"
@@ -12573,7 +12534,7 @@ __metadata:
languageName: node
linkType: hard
-"is-glob@npm:^4.0.0, is-glob@npm:^4.0.1, is-glob@npm:^4.0.3, is-glob@npm:~4.0.1":
+"is-glob@npm:^4.0.0, is-glob@npm:^4.0.1, is-glob@npm:^4.0.3":
version: 4.0.3
resolution: "is-glob@npm:4.0.3"
dependencies:
@@ -12628,19 +12589,20 @@ __metadata:
languageName: node
linkType: hard
-"is-negative-zero@npm:^2.0.3":
+"is-map@npm:^2.0.3":
version: 2.0.3
- resolution: "is-negative-zero@npm:2.0.3"
- checksum: 10c0/bcdcf6b8b9714063ffcfa9929c575ac69bfdabb8f4574ff557dfc086df2836cf07e3906f5bbc4f2a5c12f8f3ba56af640c843cdfc74da8caed86c7c7d66fd08e
+ resolution: "is-map@npm:2.0.3"
+ checksum: 10c0/2c4d431b74e00fdda7162cd8e4b763d6f6f217edf97d4f8538b94b8702b150610e2c64961340015fe8df5b1fcee33ccd2e9b62619c4a8a3a155f8de6d6d355fc
languageName: node
linkType: hard
-"is-number-object@npm:^1.0.4":
- version: 1.0.7
- resolution: "is-number-object@npm:1.0.7"
+"is-number-object@npm:^1.1.1":
+ version: 1.1.1
+ resolution: "is-number-object@npm:1.1.1"
dependencies:
- has-tostringtag: "npm:^1.0.0"
- checksum: 10c0/aad266da1e530f1804a2b7bd2e874b4869f71c98590b3964f9d06cc9869b18f8d1f4778f838ecd2a11011bce20aeecb53cb269ba916209b79c24580416b74b1b
+ call-bound: "npm:^1.0.3"
+ has-tostringtag: "npm:^1.0.2"
+ checksum: 10c0/97b451b41f25135ff021d85c436ff0100d84a039bb87ffd799cbcdbea81ef30c464ced38258cdd34f080be08fc3b076ca1f472086286d2aa43521d6ec6a79f53
languageName: node
linkType: hard
@@ -12700,13 +12662,15 @@ __metadata:
languageName: node
linkType: hard
-"is-regex@npm:^1.1.4":
- version: 1.1.4
- resolution: "is-regex@npm:1.1.4"
+"is-regex@npm:^1.2.1":
+ version: 1.2.1
+ resolution: "is-regex@npm:1.2.1"
dependencies:
- call-bind: "npm:^1.0.2"
- has-tostringtag: "npm:^1.0.0"
- checksum: 10c0/bb72aae604a69eafd4a82a93002058c416ace8cde95873589a97fc5dac96a6c6c78a9977d487b7b95426a8f5073969124dd228f043f9f604f041f32fcc465fc1
+ call-bound: "npm:^1.0.2"
+ gopd: "npm:^1.2.0"
+ has-tostringtag: "npm:^1.0.2"
+ hasown: "npm:^2.0.2"
+ checksum: 10c0/1d3715d2b7889932349241680032e85d0b492cfcb045acb75ffc2c3085e8d561184f1f7e84b6f8321935b4aea39bc9c6ba74ed595b57ce4881a51dfdbc214e04
languageName: node
linkType: hard
@@ -12719,12 +12683,19 @@ __metadata:
languageName: node
linkType: hard
-"is-shared-array-buffer@npm:^1.0.2, is-shared-array-buffer@npm:^1.0.3":
- version: 1.0.3
- resolution: "is-shared-array-buffer@npm:1.0.3"
+"is-set@npm:^2.0.3":
+ version: 2.0.3
+ resolution: "is-set@npm:2.0.3"
+ checksum: 10c0/f73732e13f099b2dc879c2a12341cfc22ccaca8dd504e6edae26484bd5707a35d503fba5b4daad530a9b088ced1ae6c9d8200fd92e09b428fe14ea79ce8080b7
+ languageName: node
+ linkType: hard
+
+"is-shared-array-buffer@npm:^1.0.4":
+ version: 1.0.4
+ resolution: "is-shared-array-buffer@npm:1.0.4"
dependencies:
- call-bind: "npm:^1.0.7"
- checksum: 10c0/adc11ab0acbc934a7b9e5e9d6c588d4ec6682f6fea8cda5180721704fa32927582ede5b123349e32517fdadd07958973d24716c80e7ab198970c47acc09e59c7
+ call-bound: "npm:^1.0.3"
+ checksum: 10c0/65158c2feb41ff1edd6bbd6fd8403a69861cf273ff36077982b5d4d68e1d59278c71691216a4a64632bd76d4792d4d1d2553901b6666d84ade13bba5ea7bc7db
languageName: node
linkType: hard
@@ -12742,12 +12713,13 @@ __metadata:
languageName: node
linkType: hard
-"is-string@npm:^1.0.5, is-string@npm:^1.0.7":
- version: 1.0.7
- resolution: "is-string@npm:1.0.7"
+"is-string@npm:^1.0.7, is-string@npm:^1.1.1":
+ version: 1.1.1
+ resolution: "is-string@npm:1.1.1"
dependencies:
- has-tostringtag: "npm:^1.0.0"
- checksum: 10c0/905f805cbc6eedfa678aaa103ab7f626aac9ebbdc8737abb5243acaa61d9820f8edc5819106b8fcd1839e33db21de9f0116ae20de380c8382d16dc2a601921f6
+ call-bound: "npm:^1.0.3"
+ has-tostringtag: "npm:^1.0.2"
+ checksum: 10c0/2f518b4e47886bb81567faba6ffd0d8a8333cf84336e2e78bf160693972e32ad00fe84b0926491cc598dee576fdc55642c92e62d0cbe96bf36f643b6f956f94d
languageName: node
linkType: hard
@@ -12760,12 +12732,14 @@ __metadata:
languageName: node
linkType: hard
-"is-symbol@npm:^1.0.2, is-symbol@npm:^1.0.3":
- version: 1.0.4
- resolution: "is-symbol@npm:1.0.4"
+"is-symbol@npm:^1.0.4, is-symbol@npm:^1.1.1":
+ version: 1.1.1
+ resolution: "is-symbol@npm:1.1.1"
dependencies:
- has-symbols: "npm:^1.0.2"
- checksum: 10c0/9381dd015f7c8906154dbcbf93fad769de16b4b961edc94f88d26eb8c555935caa23af88bda0c93a18e65560f6d7cca0fd5a3f8a8e1df6f1abbb9bead4502ef7
+ call-bound: "npm:^1.0.2"
+ has-symbols: "npm:^1.1.0"
+ safe-regex-test: "npm:^1.1.0"
+ checksum: 10c0/f08f3e255c12442e833f75a9e2b84b2d4882fdfd920513cf2a4a2324f0a5b076c8fd913778e3ea5d258d5183e9d92c0cd20e04b03ab3df05316b049b2670af1e
languageName: node
linkType: hard
@@ -12787,6 +12761,15 @@ __metadata:
languageName: node
linkType: hard
+"is-typed-array@npm:^1.1.14, is-typed-array@npm:^1.1.15":
+ version: 1.1.15
+ resolution: "is-typed-array@npm:1.1.15"
+ dependencies:
+ which-typed-array: "npm:^1.1.16"
+ checksum: 10c0/415511da3669e36e002820584e264997ffe277ff136643a3126cc949197e6ca3334d0f12d084e83b1994af2e9c8141275c741cf2b7da5a2ff62dd0cac26f76c4
+ languageName: node
+ linkType: hard
+
"is-typedarray@npm:^1.0.0":
version: 1.0.0
resolution: "is-typedarray@npm:1.0.0"
@@ -12818,9 +12801,9 @@ __metadata:
linkType: hard
"is-unicode-supported@npm:^2.0.0":
- version: 2.0.0
- resolution: "is-unicode-supported@npm:2.0.0"
- checksum: 10c0/3013dfb8265fe9f9a0d1e9433fc4e766595631a8d85d60876c457b4bedc066768dab1477c553d02e2f626d88a4e019162706e04263c94d74994ef636a33b5f94
+ version: 2.1.0
+ resolution: "is-unicode-supported@npm:2.1.0"
+ checksum: 10c0/a0f53e9a7c1fdbcf2d2ef6e40d4736fdffff1c9f8944c75e15425118ff3610172c87bf7bc6c34d3903b04be59790bb2212ddbe21ee65b5a97030fc50370545a5
languageName: node
linkType: hard
@@ -12831,12 +12814,29 @@ __metadata:
languageName: node
linkType: hard
-"is-weakref@npm:^1.0.2":
- version: 1.0.2
- resolution: "is-weakref@npm:1.0.2"
+"is-weakmap@npm:^2.0.2":
+ version: 2.0.2
+ resolution: "is-weakmap@npm:2.0.2"
+ checksum: 10c0/443c35bb86d5e6cc5929cd9c75a4024bb0fff9586ed50b092f94e700b89c43a33b186b76dbc6d54f3d3d09ece689ab38dcdc1af6a482cbe79c0f2da0a17f1299
+ languageName: node
+ linkType: hard
+
+"is-weakref@npm:^1.0.2, is-weakref@npm:^1.1.0":
+ version: 1.1.1
+ resolution: "is-weakref@npm:1.1.1"
+ dependencies:
+ call-bound: "npm:^1.0.3"
+ checksum: 10c0/8e0a9c07b0c780949a100e2cab2b5560a48ecd4c61726923c1a9b77b6ab0aa0046c9e7fb2206042296817045376dee2c8ab1dabe08c7c3dfbf195b01275a085b
+ languageName: node
+ linkType: hard
+
+"is-weakset@npm:^2.0.3":
+ version: 2.0.4
+ resolution: "is-weakset@npm:2.0.4"
dependencies:
- call-bind: "npm:^1.0.2"
- checksum: 10c0/1545c5d172cb690c392f2136c23eec07d8d78a7f57d0e41f10078aa4f5daf5d7f57b6513a67514ab4f073275ad00c9822fc8935e00229d0a2089e1c02685d4b1
+ call-bound: "npm:^1.0.3"
+ get-intrinsic: "npm:^1.2.6"
+ checksum: 10c0/6491eba08acb8dc9532da23cb226b7d0192ede0b88f16199e592e4769db0a077119c1f5d2283d1e0d16d739115f70046e887e477eb0e66cd90e1bb29f28ba647
languageName: node
linkType: hard
@@ -12887,9 +12887,9 @@ __metadata:
linkType: hard
"isbinaryfile@npm:^5.0.0":
- version: 5.0.2
- resolution: "isbinaryfile@npm:5.0.2"
- checksum: 10c0/9696f20cf995e375ba8bfdba3ff7d1c0435346f6fc5dd9c049a55514c56e9f49342bbf8c240dc9f56e104bd3a69176c0421922bcb34d72b3c943f4117ade3f53
+ version: 5.0.4
+ resolution: "isbinaryfile@npm:5.0.4"
+ checksum: 10c0/fea255bfae67ff4827e8dd2238d6700d4803d02b4d892b72eeac4541487284e901251a3427966af5018d4eb29fa155b036dcb75dd217634146a072991afbc2c2
languageName: node
linkType: hard
@@ -13028,15 +13028,11 @@ __metadata:
linkType: hard
"jackspeak@npm:^4.0.1":
- version: 4.0.1
- resolution: "jackspeak@npm:4.0.1"
+ version: 4.1.0
+ resolution: "jackspeak@npm:4.1.0"
dependencies:
"@isaacs/cliui": "npm:^8.0.2"
- "@pkgjs/parseargs": "npm:^0.11.0"
- dependenciesMeta:
- "@pkgjs/parseargs":
- optional: true
- checksum: 10c0/c87997d9c9c5b7366259b1f2a444ef148692f8eedad5307caca939babbb60af2b47d306e5c63bf9d5fefbab2ab48d4da275188c3de525d0e716cc21b784bbccb
+ checksum: 10c0/08a6a24a366c90b83aef3ad6ec41dcaaa65428ffab8d80bc7172add0fbb8b134a34f415ad288b2a6fbd406526e9a62abdb40ed4f399fbe00cb45c44056d4dce0
languageName: node
linkType: hard
@@ -13569,11 +13565,11 @@ __metadata:
linkType: hard
"jiti@npm:^2.4.1":
- version: 2.4.1
- resolution: "jiti@npm:2.4.1"
+ version: 2.4.2
+ resolution: "jiti@npm:2.4.2"
bin:
jiti: lib/jiti-cli.mjs
- checksum: 10c0/3cf67d1b952a9e8cffbb4f96527880da6cdb58a1eae2a6d2deb4645621dfc8b766d21549f71c6153a2094a40bb635ffafed4cd0dd42f3b3263b187d1ee846225
+ checksum: 10c0/4ceac133a08c8faff7eac84aabb917e85e8257f5ad659e843004ce76e981c457c390a220881748ac67ba1b940b9b729b30fb85cbaf6e7989f04b6002c94da331
languageName: node
linkType: hard
@@ -13649,11 +13645,11 @@ __metadata:
linkType: hard
"jsesc@npm:^3.0.2":
- version: 3.0.2
- resolution: "jsesc@npm:3.0.2"
+ version: 3.1.0
+ resolution: "jsesc@npm:3.1.0"
bin:
jsesc: bin/jsesc
- checksum: 10c0/ef22148f9e793180b14d8a145ee6f9f60f301abf443288117b4b6c53d0ecd58354898dc506ccbb553a5f7827965cd38bc5fb726575aae93c5e8915e2de8290e1
+ checksum: 10c0/531779df5ec94f47e462da26b4cbf05eb88a83d9f08aac2ba04206508fc598527a153d08bd462bae82fc78b3eaa1a908e1a4a79f886e9238641c4cdefaf118b1
languageName: node
linkType: hard
@@ -13881,14 +13877,7 @@ __metadata:
languageName: node
linkType: hard
-"lilconfig@npm:^3.1.1, lilconfig@npm:^3.1.2":
- version: 3.1.2
- resolution: "lilconfig@npm:3.1.2"
- checksum: 10c0/f059630b1a9bddaeba83059db00c672b64dc14074e9f232adce32b38ca1b5686ab737eb665c5ba3c32f147f0002b4bee7311ad0386a9b98547b5623e87071fbe
- languageName: node
- linkType: hard
-
-"lilconfig@npm:~3.1.3":
+"lilconfig@npm:^3.1.1, lilconfig@npm:^3.1.2, lilconfig@npm:^3.1.3":
version: 3.1.3
resolution: "lilconfig@npm:3.1.3"
checksum: 10c0/f5604e7240c5c275743561442fbc5abf2a84ad94da0f5adc71d25e31fa8483048de3dcedcb7a44112a942fed305fd75841cdf6c9681c7f640c63f1049e9a5dcc
@@ -13919,26 +13908,26 @@ __metadata:
linkType: hard
"lint-staged@npm:^15.3.0":
- version: 15.3.0
- resolution: "lint-staged@npm:15.3.0"
- dependencies:
- chalk: "npm:~5.4.1"
- commander: "npm:~12.1.0"
- debug: "npm:~4.4.0"
- execa: "npm:~8.0.1"
- lilconfig: "npm:~3.1.3"
- listr2: "npm:~8.2.5"
- micromatch: "npm:~4.0.8"
- pidtree: "npm:~0.6.0"
- string-argv: "npm:~0.3.2"
- yaml: "npm:~2.6.1"
+ version: 15.4.3
+ resolution: "lint-staged@npm:15.4.3"
+ dependencies:
+ chalk: "npm:^5.4.1"
+ commander: "npm:^13.1.0"
+ debug: "npm:^4.4.0"
+ execa: "npm:^8.0.1"
+ lilconfig: "npm:^3.1.3"
+ listr2: "npm:^8.2.5"
+ micromatch: "npm:^4.0.8"
+ pidtree: "npm:^0.6.0"
+ string-argv: "npm:^0.3.2"
+ yaml: "npm:^2.7.0"
bin:
lint-staged: bin/lint-staged.js
- checksum: 10c0/1ddf9488c523c0b65c85b755428d4ad74fac3aa6ccb2e28e9bff5b8d86503158fe241d20d5433a11146872050b43580644901a5ef4c924b1ad7017c224a07339
+ checksum: 10c0/c1f71f2273bcbd992af929620f5acc6b9f6899da4b395e780e0b3ab33a0d725c239eb961873067c8c842e057c585c71dd4d44c0dc8b25539d3c2e97a3bdd6f30
languageName: node
linkType: hard
-"listr2@npm:~8.2.5":
+"listr2@npm:^8.2.5":
version: 8.2.5
resolution: "listr2@npm:8.2.5"
dependencies:
@@ -13964,13 +13953,13 @@ __metadata:
linkType: hard
"lit-element@npm:^4.1.0":
- version: 4.1.0
- resolution: "lit-element@npm:4.1.0"
+ version: 4.1.1
+ resolution: "lit-element@npm:4.1.1"
dependencies:
"@lit-labs/ssr-dom-shim": "npm:^1.2.0"
"@lit/reactive-element": "npm:^2.0.4"
lit-html: "npm:^3.2.0"
- checksum: 10c0/0394b1fda00495754d505fc63993221bd65195dab8fb2888ce3e088ad97b5ba457a0993b871a92bfafe17c0d8cfb7c190bce22ea191e1d0b47b6ee9991cc617d
+ checksum: 10c0/b3c6c77d60a8239134d7c7e7c002be48414074f5b42f9ad026216749101a4f948266a4db9110a536fb23914044d584dbe4185c87064a4fa98baa4045ba2bbb46
languageName: node
linkType: hard
@@ -13984,11 +13973,11 @@ __metadata:
linkType: hard
"lit-html@npm:^3.2.0":
- version: 3.2.0
- resolution: "lit-html@npm:3.2.0"
+ version: 3.2.1
+ resolution: "lit-html@npm:3.2.1"
dependencies:
"@types/trusted-types": "npm:^2.0.2"
- checksum: 10c0/cc0d58fc581d0d838361b3e46a34113ec458822c6600e6eb8dac9a671e4d983c0d34af07a1b3b60cc257e91b7e87760044779328f14d46742915d2c46fe68688
+ checksum: 10c0/31c02df2148bf9a73545570cbe57aae01c4de1d9b44060b6ff13641837d38e39e6b1abcf92e13882cc84f5fee37605ed79602b91ad479728549014462808118e
languageName: node
linkType: hard
@@ -14219,11 +14208,9 @@ __metadata:
linkType: hard
"loupe@npm:^3.1.0, loupe@npm:^3.1.1":
- version: 3.1.1
- resolution: "loupe@npm:3.1.1"
- dependencies:
- get-func-name: "npm:^2.0.1"
- checksum: 10c0/99f88badc47e894016df0c403de846fedfea61154aadabbf776c8428dd59e8d8378007135d385d737de32ae47980af07d22ba7bec5ef7beebd721de9baa0a0af
+ version: 3.1.3
+ resolution: "loupe@npm:3.1.3"
+ checksum: 10c0/f5dab4144254677de83a35285be1b8aba58b3861439ce4ba65875d0d5f3445a4a496daef63100ccf02b2dbc25bf58c6db84c9cb0b96d6435331e9d0a33b48541
languageName: node
linkType: hard
@@ -14261,9 +14248,9 @@ __metadata:
linkType: hard
"lru-cache@npm:^11.0.0":
- version: 11.0.0
- resolution: "lru-cache@npm:11.0.0"
- checksum: 10c0/827ff0e0739f9b0f30f92f5a5fc97c6a2bd3ae32c0452bc58cb7411d6c589d49536073027293f2d1f02d0c2e72b63b162f238df7e9ff6f4cc0345f92afec4d1d
+ version: 11.0.2
+ resolution: "lru-cache@npm:11.0.2"
+ checksum: 10c0/c993b8e06ead0b24b969c1dbb5b301716aed66e320e9014a80012f5febe280b438f28ff50046b2c55ff404e889351ccb332ff91f8dd175a21f5eae80e3fb155f
languageName: node
linkType: hard
@@ -14295,11 +14282,11 @@ __metadata:
linkType: hard
"magic-string@npm:^0.30.0":
- version: 0.30.10
- resolution: "magic-string@npm:0.30.10"
+ version: 0.30.17
+ resolution: "magic-string@npm:0.30.17"
dependencies:
- "@jridgewell/sourcemap-codec": "npm:^1.4.15"
- checksum: 10c0/aa9ca17eae571a19bce92c8221193b6f93ee8511abb10f085e55ffd398db8e4c089a208d9eac559deee96a08b7b24d636ea4ab92f09c6cf42a7d1af51f7fd62b
+ "@jridgewell/sourcemap-codec": "npm:^1.5.0"
+ checksum: 10c0/16826e415d04b88378f200fe022b53e638e3838b9e496edda6c0e086d7753a44a6ed187adc72d19f3623810589bf139af1a315541cd6a26ae0771a0193eaf7b8
languageName: node
linkType: hard
@@ -14348,9 +14335,9 @@ __metadata:
languageName: node
linkType: hard
-"make-fetch-happen@npm:^14.0.0":
- version: 14.0.1
- resolution: "make-fetch-happen@npm:14.0.1"
+"make-fetch-happen@npm:^14.0.0, make-fetch-happen@npm:^14.0.3":
+ version: 14.0.3
+ resolution: "make-fetch-happen@npm:14.0.3"
dependencies:
"@npmcli/agent": "npm:^3.0.0"
cacache: "npm:^19.0.1"
@@ -14359,11 +14346,11 @@ __metadata:
minipass-fetch: "npm:^4.0.0"
minipass-flush: "npm:^1.0.5"
minipass-pipeline: "npm:^1.2.4"
- negotiator: "npm:^0.6.3"
+ negotiator: "npm:^1.0.0"
proc-log: "npm:^5.0.0"
promise-retry: "npm:^2.0.1"
ssri: "npm:^12.0.0"
- checksum: 10c0/b12fc945abf8be6467eb7f9328a0ec6a861d44c2a4362c86af1aa176c005666d8c4c66362eae7e7d2f8409b09bb13c034b539ade2c0dede5c1152bd766bcebdd
+ checksum: 10c0/c40efb5e5296e7feb8e37155bde8eb70bc57d731b1f7d90e35a092fde403d7697c56fb49334d92d330d6f1ca29a98142036d6480a12681133a0a1453164cb2f0
languageName: node
linkType: hard
@@ -14468,6 +14455,13 @@ __metadata:
languageName: node
linkType: hard
+"math-intrinsics@npm:^1.1.0":
+ version: 1.1.0
+ resolution: "math-intrinsics@npm:1.1.0"
+ checksum: 10c0/7579ff94e899e2f76ab64491d76cf606274c874d8f2af4a442c016bd85688927fcfca157ba6bf74b08e9439dc010b248ce05b96cc7c126a354c3bae7fcb48b7f
+ languageName: node
+ linkType: hard
+
"mathml-tag-names@npm:^2.1.3":
version: 2.1.3
resolution: "mathml-tag-names@npm:2.1.3"
@@ -14530,15 +14524,15 @@ __metadata:
linkType: hard
"mdast-util-gfm-footnote@npm:^2.0.0":
- version: 2.0.0
- resolution: "mdast-util-gfm-footnote@npm:2.0.0"
+ version: 2.1.0
+ resolution: "mdast-util-gfm-footnote@npm:2.1.0"
dependencies:
"@types/mdast": "npm:^4.0.0"
devlop: "npm:^1.1.0"
mdast-util-from-markdown: "npm:^2.0.0"
mdast-util-to-markdown: "npm:^2.0.0"
micromark-util-normalize-identifier: "npm:^2.0.0"
- checksum: 10c0/c673b22bea24740235e74cfd66765b41a2fa540334f7043fa934b94938b06b7d3c93f2d3b33671910c5492b922c0cc98be833be3b04cfed540e0679650a6d2de
+ checksum: 10c0/8ab965ee6be3670d76ec0e95b2ba3101fc7444eec47564943ab483d96ac17d29da2a4e6146a2a288be30c21b48c4f3938a1e54b9a46fbdd321d49a5bc0077ed0
languageName: node
linkType: hard
@@ -14579,8 +14573,8 @@ __metadata:
linkType: hard
"mdast-util-gfm@npm:^3.0.0":
- version: 3.0.0
- resolution: "mdast-util-gfm@npm:3.0.0"
+ version: 3.1.0
+ resolution: "mdast-util-gfm@npm:3.1.0"
dependencies:
mdast-util-from-markdown: "npm:^2.0.0"
mdast-util-gfm-autolink-literal: "npm:^2.0.0"
@@ -14589,7 +14583,7 @@ __metadata:
mdast-util-gfm-table: "npm:^2.0.0"
mdast-util-gfm-task-list-item: "npm:^2.0.0"
mdast-util-to-markdown: "npm:^2.0.0"
- checksum: 10c0/91596fe9bf3e4a0c546d0c57f88106c17956d9afbe88ceb08308e4da2388aff64489d649ddad599caecfdf755fc3ae4c9b82c219b85281bc0586b67599881fca
+ checksum: 10c0/4bedcfb6a20e39901c8772f0d2bb2d7a64ae87a54c13cbd92eec062cf470fbb68c2ad754e149af5b30794e2de61c978ab1de1ace03c0c40f443ca9b9b8044f81
languageName: node
linkType: hard
@@ -14658,11 +14652,11 @@ __metadata:
linkType: hard
"memoize@npm:^10.0.0":
- version: 10.0.0
- resolution: "memoize@npm:10.0.0"
+ version: 10.1.0
+ resolution: "memoize@npm:10.1.0"
dependencies:
- mimic-function: "npm:^5.0.0"
- checksum: 10c0/1584351834564be66b21d47b7afe495851f622669ad49e2f4fa4f35d5633471b93176cf602130a95f71fa0aee65a20179817ffac2dd11fa354aa19a8109a14e8
+ mimic-function: "npm:^5.0.1"
+ checksum: 10c0/6cf71f673b89778b05cd1131f573ba858627daa8fec60f2197328386acf7ab184a89e52527abbd5a605b5ccf5ee12dc0cb96efb651d9a30dcfcc89e9baacc84d
languageName: node
linkType: hard
@@ -15084,7 +15078,7 @@ __metadata:
languageName: node
linkType: hard
-"micromatch@npm:^4.0.4, micromatch@npm:^4.0.8, micromatch@npm:~4.0.8":
+"micromatch@npm:^4.0.4, micromatch@npm:^4.0.8":
version: 4.0.8
resolution: "micromatch@npm:4.0.8"
dependencies:
@@ -15124,7 +15118,7 @@ __metadata:
languageName: node
linkType: hard
-"mimic-function@npm:^5.0.0":
+"mimic-function@npm:^5.0.0, mimic-function@npm:^5.0.1":
version: 5.0.1
resolution: "mimic-function@npm:5.0.1"
checksum: 10c0/f3d9464dd1816ecf6bdf2aec6ba32c0728022039d992f178237d8e289b48764fee4131319e72eedd4f7f094e22ded0af836c3187a7edc4595d28dd74368fd81d
@@ -15411,9 +15405,16 @@ __metadata:
linkType: hard
"negotiator@npm:^0.6.3":
- version: 0.6.3
- resolution: "negotiator@npm:0.6.3"
- checksum: 10c0/3ec9fd413e7bf071c937ae60d572bc67155262068ed522cf4b3be5edbe6ddf67d095ec03a3a14ebf8fc8e95f8e1d61be4869db0dbb0de696f6b837358bd43fc2
+ version: 0.6.4
+ resolution: "negotiator@npm:0.6.4"
+ checksum: 10c0/3e677139c7fb7628a6f36335bf11a885a62c21d5390204590a1a214a5631fcbe5ea74ef6a610b60afe84b4d975cbe0566a23f20ee17c77c73e74b80032108dea
+ languageName: node
+ linkType: hard
+
+"negotiator@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "negotiator@npm:1.0.0"
+ checksum: 10c0/4c559dd52669ea48e1914f9d634227c561221dd54734070791f999c52ed0ff36e437b2e07d5c1f6e32909fc625fe46491c16e4a8f0572567d4dd15c3a4fda04b
languageName: node
linkType: hard
@@ -15481,17 +15482,17 @@ __metadata:
linkType: hard
"node-gyp-build@npm:^4.2.2":
- version: 4.8.1
- resolution: "node-gyp-build@npm:4.8.1"
+ version: 4.8.4
+ resolution: "node-gyp-build@npm:4.8.4"
bin:
node-gyp-build: bin.js
node-gyp-build-optional: optional.js
node-gyp-build-test: build-test.js
- checksum: 10c0/e36ca3d2adf2b9cca316695d7687207c19ac6ed326d6d7c68d7112cebe0de4f82d6733dff139132539fcc01cf5761f6c9082a21864ab9172edf84282bc849ce7
+ checksum: 10c0/444e189907ece2081fe60e75368784f7782cfddb554b60123743dfb89509df89f1f29c03bbfa16b3a3e0be3f48799a4783f487da6203245fa5bed239ba7407e1
languageName: node
linkType: hard
-"node-gyp@npm:^10.1.0, node-gyp@npm:latest":
+"node-gyp@npm:^10.1.0":
version: 10.2.0
resolution: "node-gyp@npm:10.2.0"
dependencies:
@@ -15511,6 +15512,26 @@ __metadata:
languageName: node
linkType: hard
+"node-gyp@npm:latest":
+ version: 11.1.0
+ resolution: "node-gyp@npm:11.1.0"
+ dependencies:
+ env-paths: "npm:^2.2.0"
+ exponential-backoff: "npm:^3.1.1"
+ glob: "npm:^10.3.10"
+ graceful-fs: "npm:^4.2.6"
+ make-fetch-happen: "npm:^14.0.3"
+ nopt: "npm:^8.0.0"
+ proc-log: "npm:^5.0.0"
+ semver: "npm:^7.3.5"
+ tar: "npm:^7.4.3"
+ which: "npm:^5.0.0"
+ bin:
+ node-gyp: bin/node-gyp.js
+ checksum: 10c0/c38977ce502f1ea41ba2b8721bd5b49bc3d5b3f813eabfac8414082faf0620ccb5211e15c4daecc23ed9f5e3e9cc4da00e575a0bcfc2a95a069294f2afa1e0cd
+ languageName: node
+ linkType: hard
+
"node-int64@npm:^0.4.0":
version: 0.4.0
resolution: "node-int64@npm:0.4.0"
@@ -15599,17 +15620,17 @@ __metadata:
linkType: hard
"nopt@npm:^8.0.0":
- version: 8.0.0
- resolution: "nopt@npm:8.0.0"
+ version: 8.1.0
+ resolution: "nopt@npm:8.1.0"
dependencies:
- abbrev: "npm:^2.0.0"
+ abbrev: "npm:^3.0.0"
bin:
nopt: bin/nopt.js
- checksum: 10c0/19cb986f79abaca2d0f0b560021da7b32ee6fcc3de48f3eaeb0c324d36755c17754f886a754c091f01f740c17caf7d6aea8237b7fbaf39f476ae5e30a249f18f
+ checksum: 10c0/62e9ea70c7a3eb91d162d2c706b6606c041e4e7b547cbbb48f8b3695af457dd6479904d7ace600856bf923dd8d1ed0696f06195c8c20f02ac87c1da0e1d315ef
languageName: node
linkType: hard
-"normalize-path@npm:^3.0.0, normalize-path@npm:~3.0.0":
+"normalize-path@npm:^3.0.0":
version: 3.0.0
resolution: "normalize-path@npm:3.0.0"
checksum: 10c0/e008c8142bcc335b5e38cf0d63cfd39d6cf2d97480af9abdbe9a439221fd4d749763bab492a8ee708ce7a194bb00c9da6d0a115018672310850489137b3da046
@@ -15624,14 +15645,14 @@ __metadata:
linkType: hard
"npm-package-arg@npm:^12.0.0":
- version: 12.0.0
- resolution: "npm-package-arg@npm:12.0.0"
+ version: 12.0.2
+ resolution: "npm-package-arg@npm:12.0.2"
dependencies:
hosted-git-info: "npm:^8.0.0"
proc-log: "npm:^5.0.0"
semver: "npm:^7.3.5"
validate-npm-package-name: "npm:^6.0.0"
- checksum: 10c0/a2e4e60b16b52715786ba854ef93c4f489b4379c54aa9179b6dac3f4e44fb6fad0a1d937e25cf04b3496bd61b90fc356b44ecd02ce98a6fe0f348e1563b7b00c
+ checksum: 10c0/a507046ca0999862d6f1a4878d2e22d47a728062b49d670ea7a965b0b555fc84ba4473daf34eb72c711b68aeb02e4f567fdb410d54385535cb7e4d85aaf49544
languageName: node
linkType: hard
@@ -15828,10 +15849,10 @@ __metadata:
languageName: node
linkType: hard
-"object-inspect@npm:^1.13.1":
- version: 1.13.2
- resolution: "object-inspect@npm:1.13.2"
- checksum: 10c0/b97835b4c91ec37b5fd71add84f21c3f1047d1d155d00c0fcd6699516c256d4fcc6ff17a1aced873197fe447f91a3964178fd2a67a1ee2120cdaf60e81a050b4
+"object-inspect@npm:^1.13.3":
+ version: 1.13.4
+ resolution: "object-inspect@npm:1.13.4"
+ checksum: 10c0/d7f8711e803b96ea3191c745d6f8056ce1f2496e530e6a19a0e92d89b0fa3c76d910c31f0aa270432db6bd3b2f85500a376a83aaba849a8d518c8845b3211692
languageName: node
linkType: hard
@@ -15842,15 +15863,17 @@ __metadata:
languageName: node
linkType: hard
-"object.assign@npm:^4.1.5":
- version: 4.1.5
- resolution: "object.assign@npm:4.1.5"
+"object.assign@npm:^4.1.7":
+ version: 4.1.7
+ resolution: "object.assign@npm:4.1.7"
dependencies:
- call-bind: "npm:^1.0.5"
+ call-bind: "npm:^1.0.8"
+ call-bound: "npm:^1.0.3"
define-properties: "npm:^1.2.1"
- has-symbols: "npm:^1.0.3"
+ es-object-atoms: "npm:^1.0.0"
+ has-symbols: "npm:^1.1.0"
object-keys: "npm:^1.1.1"
- checksum: 10c0/60108e1fa2706f22554a4648299b0955236c62b3685c52abf4988d14fffb0e7731e00aa8c6448397e3eb63d087dcc124a9f21e1980f36d0b2667f3c18bacd469
+ checksum: 10c0/3b2732bd860567ea2579d1567525168de925a8d852638612846bd8082b3a1602b7b89b67b09913cbb5b9bd6e95923b2ae73580baa9d99cb4e990564e8cbf5ddc
languageName: node
linkType: hard
@@ -15866,7 +15889,7 @@ __metadata:
languageName: node
linkType: hard
-"object.getownpropertydescriptors@npm:^2.1.6":
+"object.getownpropertydescriptors@npm:^2.1.8":
version: 2.1.8
resolution: "object.getownpropertydescriptors@npm:2.1.8"
dependencies:
@@ -16007,19 +16030,19 @@ __metadata:
linkType: hard
"ora@npm:^8.0.0":
- version: 8.0.1
- resolution: "ora@npm:8.0.1"
+ version: 8.2.0
+ resolution: "ora@npm:8.2.0"
dependencies:
chalk: "npm:^5.3.0"
- cli-cursor: "npm:^4.0.0"
+ cli-cursor: "npm:^5.0.0"
cli-spinners: "npm:^2.9.2"
is-interactive: "npm:^2.0.0"
is-unicode-supported: "npm:^2.0.0"
log-symbols: "npm:^6.0.0"
- stdin-discarder: "npm:^0.2.1"
- string-width: "npm:^7.0.0"
+ stdin-discarder: "npm:^0.2.2"
+ string-width: "npm:^7.2.0"
strip-ansi: "npm:^7.1.0"
- checksum: 10c0/7a94c075a7f182a6ace80c3505b945520ab16e05ebe536a714a3d61e51dd8f777c75c8be920e157e0c60ada6fe89bca37376897fb4d486bea5771229be992097
+ checksum: 10c0/7d9291255db22e293ea164f520b6042a3e906576ab06c9cf408bf9ef5664ba0a9f3bd258baa4ada058cfcc2163ef9b6696d51237a866682ce33295349ba02c3a
languageName: node
linkType: hard
@@ -16044,6 +16067,17 @@ __metadata:
languageName: node
linkType: hard
+"own-keys@npm:^1.0.1":
+ version: 1.0.1
+ resolution: "own-keys@npm:1.0.1"
+ dependencies:
+ get-intrinsic: "npm:^1.2.6"
+ object-keys: "npm:^1.1.1"
+ safe-push-apply: "npm:^1.0.0"
+ checksum: 10c0/6dfeb3455bff92ec3f16a982d4e3e65676345f6902d9f5ded1d8265a6318d0200ce461956d6d1c70053c7fe9f9fe65e552faac03f8140d37ef0fdd108e67013a
+ languageName: node
+ linkType: hard
+
"p-filter@npm:^2.1.0":
version: 2.1.0
resolution: "p-filter@npm:2.1.0"
@@ -16142,9 +16176,9 @@ __metadata:
linkType: hard
"p-map@npm:^7.0.2":
- version: 7.0.2
- resolution: "p-map@npm:7.0.2"
- checksum: 10c0/e10548036648d1c043153f9997112fe5a7de54a319210238628f8ea22ee36587fd6ee740811f88b60bbf29d932e23ae35df7fced40df477116c84c18e797047e
+ version: 7.0.3
+ resolution: "p-map@npm:7.0.3"
+ checksum: 10c0/46091610da2b38ce47bcd1d8b4835a6fa4e832848a6682cf1652bc93915770f4617afc844c10a77d1b3e56d2472bb2d5622353fa3ead01a7f42b04fc8e744a5c
languageName: node
linkType: hard
@@ -16178,16 +16212,16 @@ __metadata:
linkType: hard
"package-json-from-dist@npm:^1.0.0":
- version: 1.0.0
- resolution: "package-json-from-dist@npm:1.0.0"
- checksum: 10c0/e3ffaf6ac1040ab6082a658230c041ad14e72fabe99076a2081bb1d5d41210f11872403fc09082daf4387fc0baa6577f96c9c0e94c90c394fd57794b66aa4033
+ version: 1.0.1
+ resolution: "package-json-from-dist@npm:1.0.1"
+ checksum: 10c0/62ba2785eb655fec084a257af34dbe24292ab74516d6aecef97ef72d4897310bc6898f6c85b5cd22770eaa1ce60d55a0230e150fb6a966e3ecd6c511e23d164b
languageName: node
linkType: hard
"package-manager-detector@npm:^0.2.0":
- version: 0.2.0
- resolution: "package-manager-detector@npm:0.2.0"
- checksum: 10c0/1ad699098018f9425b0f0a197537e085420ebcb7b6c49ef5a8dcff198f50d8de206f52ed10867624b7cb01bebac76396f5ac020dcff96f44154d59e6a5dcf36a
+ version: 0.2.9
+ resolution: "package-manager-detector@npm:0.2.9"
+ checksum: 10c0/5fe1e80743fd110954f1904be4be32f34fc46c17b05e9e47a81e2f5777e474366cb570ed3b697a5ae8290860b53ac4b309898b24919dc1ddeb6d4097429113e1
languageName: node
linkType: hard
@@ -16303,16 +16337,6 @@ __metadata:
languageName: node
linkType: hard
-"parse5-htmlparser2-tree-adapter@npm:^7.0.0":
- version: 7.0.0
- resolution: "parse5-htmlparser2-tree-adapter@npm:7.0.0"
- dependencies:
- domhandler: "npm:^5.0.2"
- parse5: "npm:^7.0.0"
- checksum: 10c0/e820cacb8486e6f7ede403327d18480df086d70e32ede2f6654d8c3a8b4b8dc4a4d5c21c03c18a92ba2466c513b93ca63be4a138dd73cd0995f384eb3b9edf11
- languageName: node
- linkType: hard
-
"parse5@npm:^6.0.1":
version: 6.0.1
resolution: "parse5@npm:6.0.1"
@@ -16320,15 +16344,6 @@ __metadata:
languageName: node
linkType: hard
-"parse5@npm:^7.0.0":
- version: 7.1.2
- resolution: "parse5@npm:7.1.2"
- dependencies:
- entities: "npm:^4.4.0"
- checksum: 10c0/297d7af8224f4b5cb7f6617ecdae98eeaed7f8cbd78956c42785e230505d5a4f07cef352af10d3006fa5c1544b76b57784d3a22d861ae071bbc460c649482bf4
- languageName: node
- linkType: hard
-
"pascal-case@npm:^3.1.2":
version: 3.1.2
resolution: "pascal-case@npm:3.1.2"
@@ -16422,15 +16437,8 @@ __metadata:
resolution: "path-scurry@npm:2.0.0"
dependencies:
lru-cache: "npm:^11.0.0"
- minipass: "npm:^7.1.2"
- checksum: 10c0/3da4adedaa8e7ef8d6dc4f35a0ff8f05a9b4d8365f2b28047752b62d4c1ad73eec21e37b1579ef2d075920157856a3b52ae8309c480a6f1a8bbe06ff8e52b33c
- languageName: node
- linkType: hard
-
-"path-to-regexp@npm:^6.2.0":
- version: 6.3.0
- resolution: "path-to-regexp@npm:6.3.0"
- checksum: 10c0/73b67f4638b41cde56254e6354e46ae3a2ebc08279583f6af3d96fe4664fc75788f74ed0d18ca44fa4a98491b69434f9eee73b97bb5314bd1b5adb700f5c18d6
+ minipass: "npm:^7.1.2"
+ checksum: 10c0/3da4adedaa8e7ef8d6dc4f35a0ff8f05a9b4d8365f2b28047752b62d4c1ad73eec21e37b1579ef2d075920157856a3b52ae8309c480a6f1a8bbe06ff8e52b33c
languageName: node
linkType: hard
@@ -16441,10 +16449,10 @@ __metadata:
languageName: node
linkType: hard
-"path-type@npm:^5.0.0":
- version: 5.0.0
- resolution: "path-type@npm:5.0.0"
- checksum: 10c0/e8f4b15111bf483900c75609e5e74e3fcb79f2ddb73e41470028fcd3e4b5162ec65da9907be077ee5012c18801ff7fffb35f9f37a077f3f81d85a0b7d6578efd
+"path-type@npm:^6.0.0":
+ version: 6.0.0
+ resolution: "path-type@npm:6.0.0"
+ checksum: 10c0/55baa8b1187d6dc683d5a9cfcc866168d6adff58e5db91126795376d818eee46391e00b2a4d53e44d844c7524a7d96aa68cc68f4f3e500d3d069a39e6535481c
languageName: node
linkType: hard
@@ -16455,10 +16463,10 @@ __metadata:
languageName: node
linkType: hard
-"picocolors@npm:^1.0.0, picocolors@npm:^1.0.1":
- version: 1.0.1
- resolution: "picocolors@npm:1.0.1"
- checksum: 10c0/c63cdad2bf812ef0d66c8db29583802355d4ca67b9285d846f390cc15c2f6ccb94e8cb7eb6a6e97fc5990a6d3ad4ae42d86c84d3146e667c739a4234ed50d400
+"picocolors@npm:^1.0.0, picocolors@npm:^1.0.1, picocolors@npm:^1.1.1":
+ version: 1.1.1
+ resolution: "picocolors@npm:1.1.1"
+ checksum: 10c0/e2e3e8170ab9d7c7421969adaa7e1b31434f789afb9b3f115f6b96d91945041ac3ceb02e9ec6fe6510ff036bcc0bf91e69a1772edc0b707e12b19c0f2d6bcf58
languageName: node
linkType: hard
@@ -16469,14 +16477,7 @@ __metadata:
languageName: node
linkType: hard
-"picocolors@npm:^1.1.1":
- version: 1.1.1
- resolution: "picocolors@npm:1.1.1"
- checksum: 10c0/e2e3e8170ab9d7c7421969adaa7e1b31434f789afb9b3f115f6b96d91945041ac3ceb02e9ec6fe6510ff036bcc0bf91e69a1772edc0b707e12b19c0f2d6bcf58
- languageName: node
- linkType: hard
-
-"picomatch@npm:^2.0.4, picomatch@npm:^2.2.1, picomatch@npm:^2.2.3, picomatch@npm:^2.3.1":
+"picomatch@npm:^2.0.4, picomatch@npm:^2.2.3, picomatch@npm:^2.3.1":
version: 2.3.1
resolution: "picomatch@npm:2.3.1"
checksum: 10c0/26c02b8d06f03206fc2ab8d16f19960f2ff9e81a658f831ecb656d8f17d9edc799e8364b1f4a7873e89d9702dff96204be0fa26fe4181f6843f040f819dac4be
@@ -16490,7 +16491,7 @@ __metadata:
languageName: node
linkType: hard
-"pidtree@npm:~0.6.0":
+"pidtree@npm:^0.6.0":
version: 0.6.0
resolution: "pidtree@npm:0.6.0"
bin:
@@ -16529,27 +16530,27 @@ __metadata:
languageName: node
linkType: hard
-"playwright-core@npm:1.49.1, playwright-core@npm:>=1.2.0":
- version: 1.49.1
- resolution: "playwright-core@npm:1.49.1"
+"playwright-core@npm:1.50.1, playwright-core@npm:>=1.2.0":
+ version: 1.50.1
+ resolution: "playwright-core@npm:1.50.1"
bin:
playwright-core: cli.js
- checksum: 10c0/990b619c75715cd98b2c10c1180a126e3a454b247063b8352bc67792fe01183ec07f31d30c8714c3768cefed12886d1d64ac06da701f2baafc2cad9b439e3919
+ checksum: 10c0/c158764257d870897c31807a830ddcc3f5aaf4376719e05aeada3489a01f751650b2dc43e027201a40405a1b075084e89f58cd3730a985a229efe9d8cecfe360
languageName: node
linkType: hard
"playwright@npm:^1.14.0":
- version: 1.49.1
- resolution: "playwright@npm:1.49.1"
+ version: 1.50.1
+ resolution: "playwright@npm:1.50.1"
dependencies:
fsevents: "npm:2.3.2"
- playwright-core: "npm:1.49.1"
+ playwright-core: "npm:1.50.1"
dependenciesMeta:
fsevents:
optional: true
bin:
playwright: cli.js
- checksum: 10c0/2368762c898920d4a0a5788b153dead45f9c36c3f5cf4d2af5228d0b8ea65823e3bbe998877950a2b9bb23a211e4633996f854c6188769dc81a25543ac818ab5
+ checksum: 10c0/b292ee6e0d122748a3d024b85ace86a0d9c848fc4121685d90ffc5d43d6bcf13ed7dc7488b1055f69040599c420052306ccba6fabfe2f69a15fc109c55171207
languageName: node
linkType: hard
@@ -16590,9 +16591,9 @@ __metadata:
linkType: hard
"possible-typed-array-names@npm:^1.0.0":
- version: 1.0.0
- resolution: "possible-typed-array-names@npm:1.0.0"
- checksum: 10c0/d9aa22d31f4f7680e20269db76791b41c3a32c01a373e25f8a4813b4d45f7456bfc2b6d68f752dc4aab0e0bb0721cb3d76fb678c9101cb7a16316664bc2c73fd
+ version: 1.1.0
+ resolution: "possible-typed-array-names@npm:1.1.0"
+ checksum: 10c0/c810983414142071da1d644662ce4caebce890203eb2bc7bf119f37f3fe5796226e117e6cca146b521921fa6531072674174a3325066ac66fce089a53e1e5196
languageName: node
linkType: hard
@@ -16620,14 +16621,14 @@ __metadata:
linkType: hard
"postcss-calc@npm:^10.0.2":
- version: 10.0.2
- resolution: "postcss-calc@npm:10.0.2"
+ version: 10.1.1
+ resolution: "postcss-calc@npm:10.1.1"
dependencies:
- postcss-selector-parser: "npm:^6.1.2"
+ postcss-selector-parser: "npm:^7.0.0"
postcss-value-parser: "npm:^4.2.0"
peerDependencies:
postcss: ^8.4.38
- checksum: 10c0/f57c9db7a7a2f3a0cdf45990089c051248d995bb2b9d1bd1fcd1634507851e92ea85bbc71a3594e359e9e9287ba0a820c90d6d292126a4b735cda364a86ce9cf
+ checksum: 10c0/616d3b7b15a524fa86ff1b2be7d9f2369c7794fd44c946f117380e519b064e9ac8d1414ea29de0238b130f2b2a5eb2fb59758cc5478af40b04a012992fb1075b
languageName: node
linkType: hard
@@ -17426,14 +17427,7 @@ __metadata:
languageName: node
linkType: hard
-"postcss-resolve-nested-selector@npm:^0.1.1":
- version: 0.1.4
- resolution: "postcss-resolve-nested-selector@npm:0.1.4"
- checksum: 10c0/c265c35ddd474968bc4efbe4027e33f28910ef3931ffae9c448878d7c02735aeeea6d33aa6f89902e4c111e6fe87f2cc2aa72dcb3ac242d58809f1f932baa2b6
- languageName: node
- linkType: hard
-
-"postcss-resolve-nested-selector@npm:^0.1.6":
+"postcss-resolve-nested-selector@npm:^0.1.1, postcss-resolve-nested-selector@npm:^0.1.6":
version: 0.1.6
resolution: "postcss-resolve-nested-selector@npm:0.1.6"
checksum: 10c0/84213a2bccce481b1569c595a3c547b25c6ef1cca839fbd6c82c12ab407559966e968613c7454b573aa54f38cfd7e900c1fd603f0efc9f51939ab9f93f115455
@@ -17480,17 +17474,7 @@ __metadata:
languageName: node
linkType: hard
-"postcss-selector-parser@npm:^7.0.0":
- version: 7.0.0
- resolution: "postcss-selector-parser@npm:7.0.0"
- dependencies:
- cssesc: "npm:^3.0.0"
- util-deprecate: "npm:^1.0.2"
- checksum: 10c0/e96e096afcce70bf5c97789f5ea09d7415ae5eb701d82b05b5e8532885d31363b484fcb1ca9488c9a331f30508d9e5bb6c3109eb2eb5067ef3d3919f9928cd9d
- languageName: node
- linkType: hard
-
-"postcss-selector-parser@npm:^7.1.0":
+"postcss-selector-parser@npm:^7.0.0, postcss-selector-parser@npm:^7.1.0":
version: 7.1.0
resolution: "postcss-selector-parser@npm:7.1.0"
dependencies:
@@ -17602,14 +17586,14 @@ __metadata:
languageName: node
linkType: hard
-"postcss@npm:^8.4.24":
- version: 8.4.38
- resolution: "postcss@npm:8.4.38"
+"postcss@npm:^8.4.24, postcss@npm:^8.5.3":
+ version: 8.5.3
+ resolution: "postcss@npm:8.5.3"
dependencies:
- nanoid: "npm:^3.3.7"
- picocolors: "npm:^1.0.0"
- source-map-js: "npm:^1.2.0"
- checksum: 10c0/955407b8f70cf0c14acf35dab3615899a2a60a26718a63c848cf3c29f2467b0533991b985a2b994430d890bd7ec2b1963e36352b0774a19143b5f591540f7c06
+ nanoid: "npm:^3.3.8"
+ picocolors: "npm:^1.1.1"
+ source-map-js: "npm:^1.2.1"
+ checksum: 10c0/b75510d7b28c3ab728c8733dd01538314a18c52af426f199a3c9177e63eb08602a3938bfb66b62dc01350b9aed62087eabbf229af97a1659eb8d3513cec823b3
languageName: node
linkType: hard
@@ -17635,17 +17619,6 @@ __metadata:
languageName: node
linkType: hard
-"postcss@npm:^8.5.3":
- version: 8.5.3
- resolution: "postcss@npm:8.5.3"
- dependencies:
- nanoid: "npm:^3.3.8"
- picocolors: "npm:^1.1.1"
- source-map-js: "npm:^1.2.1"
- checksum: 10c0/b75510d7b28c3ab728c8733dd01538314a18c52af426f199a3c9177e63eb08602a3938bfb66b62dc01350b9aed62087eabbf229af97a1659eb8d3513cec823b3
- languageName: node
- linkType: hard
-
"prelude-ls@npm:^1.2.1":
version: 1.2.1
resolution: "prelude-ls@npm:1.2.1"
@@ -17662,7 +17635,7 @@ __metadata:
languageName: node
linkType: hard
-"prettier@npm:^2.5.1, prettier@npm:^2.7.1":
+"prettier@npm:^2.7.1":
version: 2.8.8
resolution: "prettier@npm:2.8.8"
bin:
@@ -17842,7 +17815,7 @@ __metadata:
languageName: node
linkType: hard
-"queue-tick@npm:^1.0.0, queue-tick@npm:^1.0.1":
+"queue-tick@npm:^1.0.0":
version: 1.0.1
resolution: "queue-tick@npm:1.0.1"
checksum: 10c0/0db998e2c9b15215317dbcf801e9b23e6bcde4044e115155dae34f8e7454b9a783f737c9a725528d677b7a66c775eb7a955cf144fe0b87f62b575ce5bfd515a9
@@ -17857,17 +17830,28 @@ __metadata:
linkType: hard
"react-confetti@npm:^6.1.0":
- version: 6.1.0
- resolution: "react-confetti@npm:6.1.0"
+ version: 6.2.3
+ resolution: "react-confetti@npm:6.2.3"
dependencies:
tween-functions: "npm:^1.2.0"
peerDependencies:
- react: ^16.3.0 || ^17.0.1 || ^18.0.0
- checksum: 10c0/5b4eb23eef564695f6db1d25b294ed31d5fa21ff4092c6a38e641f85cd10e3e0b50014366e3ac0f7cf772e73faaecd14614e5b11a5531336fa769dda8068ab59
+ react: ^16.3.0 || ^17.0.1 || ^18.0.0 || ^19.0.0
+ checksum: 10c0/44d286c6c3d553a9b6fd92e9bdb9b0e0d0e0663b1097a95c5d6931d93185912d4bc660f78cbe5be94f97855f6d78f3a533ad025ce578cd657f7256a264b28a8b
+ languageName: node
+ linkType: hard
+
+"react-dom@npm:^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0":
+ version: 19.0.0
+ resolution: "react-dom@npm:19.0.0"
+ dependencies:
+ scheduler: "npm:^0.25.0"
+ peerDependencies:
+ react: ^19.0.0
+ checksum: 10c0/a36ce7ab507b237ae2759c984cdaad4af4096d8199fb65b3815c16825e5cfeb7293da790a3fc2184b52bfba7ba3ff31c058c01947aff6fd1a3701632aabaa6a9
languageName: node
linkType: hard
-"react-dom@npm:^16.8.0 || ^17.0.0 || ^18.0.0, react-dom@npm:^18.3.1":
+"react-dom@npm:^18.3.1":
version: 18.3.1
resolution: "react-dom@npm:18.3.1"
dependencies:
@@ -17909,7 +17893,14 @@ __metadata:
languageName: node
linkType: hard
-"react@npm:^16.8.0 || ^17.0.0 || ^18.0.0, react@npm:^18.3.1":
+"react@npm:^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0":
+ version: 19.0.0
+ resolution: "react@npm:19.0.0"
+ checksum: 10c0/9cad8f103e8e3a16d15cb18a0d8115d8bd9f9e1ce3420310aea381eb42aa0a4f812cf047bb5441349257a05fba8a291515691e3cb51267279b2d2c3253f38471
+ languageName: node
+ linkType: hard
+
+"react@npm:^18.3.1":
version: 18.3.1
resolution: "react@npm:18.3.1"
dependencies:
@@ -17966,15 +17957,15 @@ __metadata:
linkType: hard
"readable-stream@npm:^4.0.0":
- version: 4.5.2
- resolution: "readable-stream@npm:4.5.2"
+ version: 4.7.0
+ resolution: "readable-stream@npm:4.7.0"
dependencies:
abort-controller: "npm:^3.0.0"
buffer: "npm:^6.0.3"
events: "npm:^3.3.0"
process: "npm:^0.11.10"
string_decoder: "npm:^1.3.0"
- checksum: 10c0/a2c80e0e53aabd91d7df0330929e32d0a73219f9477dbbb18472f6fdd6a11a699fc5d172a1beff98d50eae4f1496c950ffa85b7cc2c4c196963f289a5f39275d
+ checksum: 10c0/fd86d068da21cfdb10f7a4479f2e47d9c0a9b0c862fc0c840a7e5360201580a55ac399c764b12a4f6fa291f8cee74d9c4b7562e0d53b3c4b2769f2c98155d957
languageName: node
linkType: hard
@@ -17987,15 +17978,6 @@ __metadata:
languageName: node
linkType: hard
-"readdirp@npm:~3.6.0":
- version: 3.6.0
- resolution: "readdirp@npm:3.6.0"
- dependencies:
- picomatch: "npm:^2.2.1"
- checksum: 10c0/6fa848cf63d1b82ab4e985f4cf72bd55b7dcfd8e0a376905804e48c3634b7e749170940ba77b32804d5fe93b3cc521aa95a8d7e7d725f830da6d93f3669ce66b
- languageName: node
- linkType: hard
-
"recast@npm:^0.23.5":
version: 0.23.9
resolution: "recast@npm:0.23.9"
@@ -18028,6 +18010,22 @@ __metadata:
languageName: node
linkType: hard
+"reflect.getprototypeof@npm:^1.0.6, reflect.getprototypeof@npm:^1.0.9":
+ version: 1.0.10
+ resolution: "reflect.getprototypeof@npm:1.0.10"
+ dependencies:
+ call-bind: "npm:^1.0.8"
+ define-properties: "npm:^1.2.1"
+ es-abstract: "npm:^1.23.9"
+ es-errors: "npm:^1.3.0"
+ es-object-atoms: "npm:^1.0.0"
+ get-intrinsic: "npm:^1.2.7"
+ get-proto: "npm:^1.0.1"
+ which-builtin-type: "npm:^1.2.1"
+ checksum: 10c0/7facec28c8008876f8ab98e80b7b9cb4b1e9224353fd4756dda5f2a4ab0d30fa0a5074777c6df24e1e0af463a2697513b0a11e548d99cf52f21f7bc6ba48d3ac
+ languageName: node
+ linkType: hard
+
"refractor@npm:^3.6.0":
version: 3.6.0
resolution: "refractor@npm:3.6.0"
@@ -18046,15 +18044,17 @@ __metadata:
languageName: node
linkType: hard
-"regexp.prototype.flags@npm:^1.5.2":
- version: 1.5.2
- resolution: "regexp.prototype.flags@npm:1.5.2"
+"regexp.prototype.flags@npm:^1.5.3":
+ version: 1.5.4
+ resolution: "regexp.prototype.flags@npm:1.5.4"
dependencies:
- call-bind: "npm:^1.0.6"
+ call-bind: "npm:^1.0.8"
define-properties: "npm:^1.2.1"
es-errors: "npm:^1.3.0"
- set-function-name: "npm:^2.0.1"
- checksum: 10c0/0f3fc4f580d9c349f8b560b012725eb9c002f36daa0041b3fbf6f4238cb05932191a4d7d5db3b5e2caa336d5150ad0402ed2be81f711f9308fe7e1a9bf9bd552
+ get-proto: "npm:^1.0.1"
+ gopd: "npm:^1.2.0"
+ set-function-name: "npm:^2.0.2"
+ checksum: 10c0/83b88e6115b4af1c537f8dabf5c3744032cb875d63bc05c288b1b8c0ef37cbe55353f95d8ca817e8843806e3e150b118bc624e4279b24b4776b4198232735a77
languageName: node
linkType: hard
@@ -18068,8 +18068,8 @@ __metadata:
linkType: hard
"remark-gfm@npm:^4.0.0":
- version: 4.0.0
- resolution: "remark-gfm@npm:4.0.0"
+ version: 4.0.1
+ resolution: "remark-gfm@npm:4.0.1"
dependencies:
"@types/mdast": "npm:^4.0.0"
mdast-util-gfm: "npm:^3.0.0"
@@ -18077,7 +18077,7 @@ __metadata:
remark-parse: "npm:^11.0.0"
remark-stringify: "npm:^11.0.0"
unified: "npm:^11.0.0"
- checksum: 10c0/db0aa85ab718d475c2596e27c95be9255d3b0fc730a4eda9af076b919f7dd812f7be3ac020611a8dbe5253fd29671d7b12750b56e529fdc32dfebad6dbf77403
+ checksum: 10c0/427ecc6af3e76222662061a5f670a3e4e33ec5fffe2cabf04034da6a3f9a1bda1fc023e838a636385ba314e66e2bebbf017ca61ebea357eb0f5200fe0625a4b7
languageName: node
linkType: hard
@@ -18185,28 +18185,28 @@ __metadata:
linkType: hard
"resolve@npm:^1.1.7, resolve@npm:^1.20.0, resolve@npm:^1.22.4":
- version: 1.22.8
- resolution: "resolve@npm:1.22.8"
+ version: 1.22.10
+ resolution: "resolve@npm:1.22.10"
dependencies:
- is-core-module: "npm:^2.13.0"
+ is-core-module: "npm:^2.16.0"
path-parse: "npm:^1.0.7"
supports-preserve-symlinks-flag: "npm:^1.0.0"
bin:
resolve: bin/resolve
- checksum: 10c0/07e179f4375e1fd072cfb72ad66d78547f86e6196c4014b31cb0b8bb1db5f7ca871f922d08da0fbc05b94e9fd42206f819648fa3b5b873ebbc8e1dc68fec433a
+ checksum: 10c0/8967e1f4e2cc40f79b7e080b4582b9a8c5ee36ffb46041dccb20e6461161adf69f843b43067b4a375de926a2cd669157e29a29578191def399dd5ef89a1b5203
languageName: node
linkType: hard
"resolve@patch:resolve@npm%3A^1.1.7#optional!builtin, resolve@patch:resolve@npm%3A^1.20.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.4#optional!builtin":
- version: 1.22.8
- resolution: "resolve@patch:resolve@npm%3A1.22.8#optional!builtin::version=1.22.8&hash=c3c19d"
+ version: 1.22.10
+ resolution: "resolve@patch:resolve@npm%3A1.22.10#optional!builtin::version=1.22.10&hash=c3c19d"
dependencies:
- is-core-module: "npm:^2.13.0"
+ is-core-module: "npm:^2.16.0"
path-parse: "npm:^1.0.7"
supports-preserve-symlinks-flag: "npm:^1.0.0"
bin:
resolve: bin/resolve
- checksum: 10c0/0446f024439cd2e50c6c8fa8ba77eaa8370b4180f401a96abf3d1ebc770ac51c1955e12764cde449fde3fff480a61f84388e3505ecdbab778f4bef5f8212c729
+ checksum: 10c0/52a4e505bbfc7925ac8f4cd91fd8c4e096b6a89728b9f46861d3b405ac9a1ccf4dcbf8befb4e89a2e11370dacd0160918163885cbc669369590f2f31f4c58939
languageName: node
linkType: hard
@@ -18220,16 +18220,6 @@ __metadata:
languageName: node
linkType: hard
-"restore-cursor@npm:^4.0.0":
- version: 4.0.0
- resolution: "restore-cursor@npm:4.0.0"
- dependencies:
- onetime: "npm:^5.1.0"
- signal-exit: "npm:^3.0.2"
- checksum: 10c0/6f7da8c5e422ac26aa38354870b1afac09963572cf2879443540449068cb43476e9cbccf6f8de3e0171e0d6f7f533c2bc1a0a008003c9a525bbc098e89041318
- languageName: node
- linkType: hard
-
"restore-cursor@npm:^5.0.0":
version: 5.1.0
resolution: "restore-cursor@npm:5.1.0"
@@ -18273,13 +18263,13 @@ __metadata:
linkType: hard
"rimraf@npm:^5.0.5":
- version: 5.0.9
- resolution: "rimraf@npm:5.0.9"
+ version: 5.0.10
+ resolution: "rimraf@npm:5.0.10"
dependencies:
glob: "npm:^10.3.7"
bin:
rimraf: dist/esm/bin.mjs
- checksum: 10c0/87374682492b9e64de9c6fcbf2c8f209c7a2cd0e9749b3732eef8a62c6f859a9ed996d46f662d9ad5dd38c2c469f8e88de56b6c509026070ee3f06369cac1bc8
+ checksum: 10c0/7da4fd0e15118ee05b918359462cfa1e7fe4b1228c7765195a45b55576e8c15b95db513b8466ec89129666f4af45ad978a3057a02139afba1a63512a2d9644cc
languageName: node
linkType: hard
@@ -18306,26 +18296,29 @@ __metadata:
linkType: hard
"rollup@npm:^4.20.0":
- version: 4.22.4
- resolution: "rollup@npm:4.22.4"
- dependencies:
- "@rollup/rollup-android-arm-eabi": "npm:4.22.4"
- "@rollup/rollup-android-arm64": "npm:4.22.4"
- "@rollup/rollup-darwin-arm64": "npm:4.22.4"
- "@rollup/rollup-darwin-x64": "npm:4.22.4"
- "@rollup/rollup-linux-arm-gnueabihf": "npm:4.22.4"
- "@rollup/rollup-linux-arm-musleabihf": "npm:4.22.4"
- "@rollup/rollup-linux-arm64-gnu": "npm:4.22.4"
- "@rollup/rollup-linux-arm64-musl": "npm:4.22.4"
- "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.22.4"
- "@rollup/rollup-linux-riscv64-gnu": "npm:4.22.4"
- "@rollup/rollup-linux-s390x-gnu": "npm:4.22.4"
- "@rollup/rollup-linux-x64-gnu": "npm:4.22.4"
- "@rollup/rollup-linux-x64-musl": "npm:4.22.4"
- "@rollup/rollup-win32-arm64-msvc": "npm:4.22.4"
- "@rollup/rollup-win32-ia32-msvc": "npm:4.22.4"
- "@rollup/rollup-win32-x64-msvc": "npm:4.22.4"
- "@types/estree": "npm:1.0.5"
+ version: 4.34.8
+ resolution: "rollup@npm:4.34.8"
+ dependencies:
+ "@rollup/rollup-android-arm-eabi": "npm:4.34.8"
+ "@rollup/rollup-android-arm64": "npm:4.34.8"
+ "@rollup/rollup-darwin-arm64": "npm:4.34.8"
+ "@rollup/rollup-darwin-x64": "npm:4.34.8"
+ "@rollup/rollup-freebsd-arm64": "npm:4.34.8"
+ "@rollup/rollup-freebsd-x64": "npm:4.34.8"
+ "@rollup/rollup-linux-arm-gnueabihf": "npm:4.34.8"
+ "@rollup/rollup-linux-arm-musleabihf": "npm:4.34.8"
+ "@rollup/rollup-linux-arm64-gnu": "npm:4.34.8"
+ "@rollup/rollup-linux-arm64-musl": "npm:4.34.8"
+ "@rollup/rollup-linux-loongarch64-gnu": "npm:4.34.8"
+ "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.34.8"
+ "@rollup/rollup-linux-riscv64-gnu": "npm:4.34.8"
+ "@rollup/rollup-linux-s390x-gnu": "npm:4.34.8"
+ "@rollup/rollup-linux-x64-gnu": "npm:4.34.8"
+ "@rollup/rollup-linux-x64-musl": "npm:4.34.8"
+ "@rollup/rollup-win32-arm64-msvc": "npm:4.34.8"
+ "@rollup/rollup-win32-ia32-msvc": "npm:4.34.8"
+ "@rollup/rollup-win32-x64-msvc": "npm:4.34.8"
+ "@types/estree": "npm:1.0.6"
fsevents: "npm:~2.3.2"
dependenciesMeta:
"@rollup/rollup-android-arm-eabi":
@@ -18336,6 +18329,10 @@ __metadata:
optional: true
"@rollup/rollup-darwin-x64":
optional: true
+ "@rollup/rollup-freebsd-arm64":
+ optional: true
+ "@rollup/rollup-freebsd-x64":
+ optional: true
"@rollup/rollup-linux-arm-gnueabihf":
optional: true
"@rollup/rollup-linux-arm-musleabihf":
@@ -18344,6 +18341,8 @@ __metadata:
optional: true
"@rollup/rollup-linux-arm64-musl":
optional: true
+ "@rollup/rollup-linux-loongarch64-gnu":
+ optional: true
"@rollup/rollup-linux-powerpc64le-gnu":
optional: true
"@rollup/rollup-linux-riscv64-gnu":
@@ -18364,7 +18363,7 @@ __metadata:
optional: true
bin:
rollup: dist/bin/rollup
- checksum: 10c0/4c96b6e2e0c5dbe73b4ba899cea894a05115ab8c65ccff631fbbb944e2b3a9f2eb3b99c2dce3dd91b179647df1892ffc44ecee29381ccf155ba8000b22712a32
+ checksum: 10c0/b9e711e33413112fbb761107c3fddc4561dfc74335c393542a829a85ccfb2763bfd17bf2422d84a2e9bee7646e5367018973e97005fdf64e49c2e209612f0eb6
languageName: node
linkType: hard
@@ -18413,23 +18412,24 @@ __metadata:
linkType: hard
"rxjs@npm:^7.2.0, rxjs@npm:^7.5.6, rxjs@npm:^7.8.1":
- version: 7.8.1
- resolution: "rxjs@npm:7.8.1"
+ version: 7.8.2
+ resolution: "rxjs@npm:7.8.2"
dependencies:
tslib: "npm:^2.1.0"
- checksum: 10c0/3c49c1ecd66170b175c9cacf5cef67f8914dcbc7cd0162855538d365c83fea631167cacb644b3ce533b2ea0e9a4d0b12175186985f89d75abe73dbd8f7f06f68
+ checksum: 10c0/1fcd33d2066ada98ba8f21fcbbcaee9f0b271de1d38dc7f4e256bfbc6ffcdde68c8bfb69093de7eeb46f24b1fb820620bf0223706cff26b4ab99a7ff7b2e2c45
languageName: node
linkType: hard
-"safe-array-concat@npm:^1.0.0, safe-array-concat@npm:^1.1.2":
- version: 1.1.2
- resolution: "safe-array-concat@npm:1.1.2"
+"safe-array-concat@npm:^1.1.2, safe-array-concat@npm:^1.1.3":
+ version: 1.1.3
+ resolution: "safe-array-concat@npm:1.1.3"
dependencies:
- call-bind: "npm:^1.0.7"
- get-intrinsic: "npm:^1.2.4"
- has-symbols: "npm:^1.0.3"
+ call-bind: "npm:^1.0.8"
+ call-bound: "npm:^1.0.2"
+ get-intrinsic: "npm:^1.2.6"
+ has-symbols: "npm:^1.1.0"
isarray: "npm:^2.0.5"
- checksum: 10c0/12f9fdb01c8585e199a347eacc3bae7b5164ae805cdc8c6707199dbad5b9e30001a50a43c4ee24dc9ea32dbb7279397850e9208a7e217f4d8b1cf5d90129dec9
+ checksum: 10c0/43c86ffdddc461fb17ff8a17c5324f392f4868f3c7dd2c6a5d9f5971713bc5fd755667212c80eab9567595f9a7509cc2f83e590ddaebd1bd19b780f9c79f9a8d
languageName: node
linkType: hard
@@ -18447,14 +18447,24 @@ __metadata:
languageName: node
linkType: hard
-"safe-regex-test@npm:^1.0.3":
- version: 1.0.3
- resolution: "safe-regex-test@npm:1.0.3"
+"safe-push-apply@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "safe-push-apply@npm:1.0.0"
+ dependencies:
+ es-errors: "npm:^1.3.0"
+ isarray: "npm:^2.0.5"
+ checksum: 10c0/831f1c9aae7436429e7862c7e46f847dfe490afac20d0ee61bae06108dbf5c745a0de3568ada30ccdd3eeb0864ca8331b2eef703abd69bfea0745b21fd320750
+ languageName: node
+ linkType: hard
+
+"safe-regex-test@npm:^1.1.0":
+ version: 1.1.0
+ resolution: "safe-regex-test@npm:1.1.0"
dependencies:
- call-bind: "npm:^1.0.6"
+ call-bound: "npm:^1.0.2"
es-errors: "npm:^1.3.0"
- is-regex: "npm:^1.1.4"
- checksum: 10c0/900bf7c98dc58f08d8523b7012b468e4eb757afa624f198902c0643d7008ba777b0bdc35810ba0b758671ce887617295fb742b3f3968991b178ceca54cb07603
+ is-regex: "npm:^1.2.1"
+ checksum: 10c0/f2c25281bbe5d39cddbbce7f86fca5ea9b3ce3354ea6cd7c81c31b006a5a9fff4286acc5450a3b9122c56c33eba69c56b9131ad751457b2b4a585825e6a10665
languageName: node
linkType: hard
@@ -18491,6 +18501,13 @@ __metadata:
languageName: node
linkType: hard
+"scheduler@npm:^0.25.0":
+ version: 0.25.0
+ resolution: "scheduler@npm:0.25.0"
+ checksum: 10c0/a4bb1da406b613ce72c1299db43759526058fdcc413999c3c3e0db8956df7633acf395cb20eb2303b6a65d658d66b6585d344460abaee8080b4aa931f10eaafe
+ languageName: node
+ linkType: hard
+
"semver@npm:^6.0.0, semver@npm:^6.3.0, semver@npm:^6.3.1":
version: 6.3.1
resolution: "semver@npm:6.3.1"
@@ -18500,16 +18517,7 @@ __metadata:
languageName: node
linkType: hard
-"semver@npm:^7.3.2, semver@npm:^7.3.5, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:^7.6.0, semver@npm:^7.6.2":
- version: 7.6.3
- resolution: "semver@npm:7.6.3"
- bin:
- semver: bin/semver.js
- checksum: 10c0/88f33e148b210c153873cb08cfe1e281d518aaa9a666d4d148add6560db5cd3c582f3a08ccb91f38d5f379ead256da9931234ed122057f40bb5766e65e58adaf
- languageName: node
- linkType: hard
-
-"semver@npm:^7.7.1":
+"semver@npm:^7.3.2, semver@npm:^7.3.5, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:^7.6.0, semver@npm:^7.6.2, semver@npm:^7.7.1":
version: 7.7.1
resolution: "semver@npm:7.7.1"
bin:
@@ -18545,7 +18553,7 @@ __metadata:
languageName: node
linkType: hard
-"set-function-length@npm:^1.2.1":
+"set-function-length@npm:^1.2.2":
version: 1.2.2
resolution: "set-function-length@npm:1.2.2"
dependencies:
@@ -18559,7 +18567,7 @@ __metadata:
languageName: node
linkType: hard
-"set-function-name@npm:^2.0.1":
+"set-function-name@npm:^2.0.2":
version: 2.0.2
resolution: "set-function-name@npm:2.0.2"
dependencies:
@@ -18571,6 +18579,17 @@ __metadata:
languageName: node
linkType: hard
+"set-proto@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "set-proto@npm:1.0.0"
+ dependencies:
+ dunder-proto: "npm:^1.0.1"
+ es-errors: "npm:^1.3.0"
+ es-object-atoms: "npm:^1.0.0"
+ checksum: 10c0/ca5c3ccbba479d07c30460e367e66337cec825560b11e8ba9c5ebe13a2a0d6021ae34eddf94ff3dfe17a3104dc1f191519cb6c48378b503e5c3f36393938776a
+ languageName: node
+ linkType: hard
+
"shebang-command@npm:^2.0.0":
version: 2.0.0
resolution: "shebang-command@npm:2.0.0"
@@ -18594,15 +18613,51 @@ __metadata:
languageName: node
linkType: hard
-"side-channel@npm:^1.0.4":
- version: 1.0.6
- resolution: "side-channel@npm:1.0.6"
+"side-channel-list@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "side-channel-list@npm:1.0.0"
dependencies:
- call-bind: "npm:^1.0.7"
es-errors: "npm:^1.3.0"
- get-intrinsic: "npm:^1.2.4"
- object-inspect: "npm:^1.13.1"
- checksum: 10c0/d2afd163dc733cc0a39aa6f7e39bf0c436293510dbccbff446733daeaf295857dbccf94297092ec8c53e2503acac30f0b78830876f0485991d62a90e9cad305f
+ object-inspect: "npm:^1.13.3"
+ checksum: 10c0/644f4ac893456c9490ff388bf78aea9d333d5e5bfc64cfb84be8f04bf31ddc111a8d4b83b85d7e7e8a7b845bc185a9ad02c052d20e086983cf59f0be517d9b3d
+ languageName: node
+ linkType: hard
+
+"side-channel-map@npm:^1.0.1":
+ version: 1.0.1
+ resolution: "side-channel-map@npm:1.0.1"
+ dependencies:
+ call-bound: "npm:^1.0.2"
+ es-errors: "npm:^1.3.0"
+ get-intrinsic: "npm:^1.2.5"
+ object-inspect: "npm:^1.13.3"
+ checksum: 10c0/010584e6444dd8a20b85bc926d934424bd809e1a3af941cace229f7fdcb751aada0fb7164f60c2e22292b7fa3c0ff0bce237081fd4cdbc80de1dc68e95430672
+ languageName: node
+ linkType: hard
+
+"side-channel-weakmap@npm:^1.0.2":
+ version: 1.0.2
+ resolution: "side-channel-weakmap@npm:1.0.2"
+ dependencies:
+ call-bound: "npm:^1.0.2"
+ es-errors: "npm:^1.3.0"
+ get-intrinsic: "npm:^1.2.5"
+ object-inspect: "npm:^1.13.3"
+ side-channel-map: "npm:^1.0.1"
+ checksum: 10c0/71362709ac233e08807ccd980101c3e2d7efe849edc51455030327b059f6c4d292c237f94dc0685031dd11c07dd17a68afde235d6cf2102d949567f98ab58185
+ languageName: node
+ linkType: hard
+
+"side-channel@npm:^1.1.0":
+ version: 1.1.0
+ resolution: "side-channel@npm:1.1.0"
+ dependencies:
+ es-errors: "npm:^1.3.0"
+ object-inspect: "npm:^1.13.3"
+ side-channel-list: "npm:^1.0.0"
+ side-channel-map: "npm:^1.0.1"
+ side-channel-weakmap: "npm:^1.0.2"
+ checksum: 10c0/cb20dad41eb032e6c24c0982e1e5a24963a28aa6122b4f05b3f3d6bf8ae7fd5474ef382c8f54a6a3ab86e0cac4d41a23bd64ede3970e5bfb50326ba02a7996e6
languageName: node
linkType: hard
@@ -18713,40 +18768,40 @@ __metadata:
linkType: hard
"socks-proxy-agent@npm:^8.0.3":
- version: 8.0.4
- resolution: "socks-proxy-agent@npm:8.0.4"
+ version: 8.0.5
+ resolution: "socks-proxy-agent@npm:8.0.5"
dependencies:
- agent-base: "npm:^7.1.1"
+ agent-base: "npm:^7.1.2"
debug: "npm:^4.3.4"
socks: "npm:^2.8.3"
- checksum: 10c0/345593bb21b95b0508e63e703c84da11549f0a2657d6b4e3ee3612c312cb3a907eac10e53b23ede3557c6601d63252103494caa306b66560f43af7b98f53957a
+ checksum: 10c0/5d2c6cecba6821389aabf18728325730504bf9bb1d9e342e7987a5d13badd7a98838cc9a55b8ed3cb866ad37cc23e1086f09c4d72d93105ce9dfe76330e9d2a6
languageName: node
linkType: hard
"socks@npm:^2.8.3":
- version: 2.8.3
- resolution: "socks@npm:2.8.3"
+ version: 2.8.4
+ resolution: "socks@npm:2.8.4"
dependencies:
ip-address: "npm:^9.0.5"
smart-buffer: "npm:^4.2.0"
- checksum: 10c0/d54a52bf9325165770b674a67241143a3d8b4e4c8884560c4e0e078aace2a728dffc7f70150660f51b85797c4e1a3b82f9b7aa25e0a0ceae1a243365da5c51a7
+ checksum: 10c0/00c3271e233ccf1fb83a3dd2060b94cc37817e0f797a93c560b9a7a86c4a0ec2961fb31263bdd24a3c28945e24868b5f063cd98744171d9e942c513454b50ae5
languageName: node
linkType: hard
-"source-map-js@npm:^1.0.1, source-map-js@npm:^1.2.0":
- version: 1.2.0
- resolution: "source-map-js@npm:1.2.0"
- checksum: 10c0/7e5f896ac10a3a50fe2898e5009c58ff0dc102dcb056ed27a354623a0ece8954d4b2649e1a1b2b52ef2e161d26f8859c7710350930751640e71e374fe2d321a4
- languageName: node
- linkType: hard
-
-"source-map-js@npm:^1.2.1":
+"source-map-js@npm:^1.0.1, source-map-js@npm:^1.2.1":
version: 1.2.1
resolution: "source-map-js@npm:1.2.1"
checksum: 10c0/7bda1fc4c197e3c6ff17de1b8b2c20e60af81b63a52cb32ec5a5d67a20a7d42651e2cb34ebe93833c5a2a084377e17455854fee3e21e7925c64a51b6a52b0faf
languageName: node
linkType: hard
+"source-map-js@npm:^1.2.0":
+ version: 1.2.0
+ resolution: "source-map-js@npm:1.2.0"
+ checksum: 10c0/7e5f896ac10a3a50fe2898e5009c58ff0dc102dcb056ed27a354623a0ece8954d4b2649e1a1b2b52ef2e161d26f8859c7710350930751640e71e374fe2d321a4
+ languageName: node
+ linkType: hard
+
"source-map-support@npm:0.5.13":
version: 0.5.13
resolution: "source-map-support@npm:0.5.13"
@@ -18893,7 +18948,7 @@ __metadata:
languageName: node
linkType: hard
-"stdin-discarder@npm:^0.2.1":
+"stdin-discarder@npm:^0.2.2":
version: 0.2.2
resolution: "stdin-discarder@npm:0.2.2"
checksum: 10c0/c78375e82e956d7a64be6e63c809c7f058f5303efcaf62ea48350af072bacdb99c06cba39209b45a071c1acbd49116af30df1df9abb448df78a6005b72f10537
@@ -18901,10 +18956,10 @@ __metadata:
linkType: hard
"storybook@npm:^8.4.7":
- version: 8.4.7
- resolution: "storybook@npm:8.4.7"
+ version: 8.5.8
+ resolution: "storybook@npm:8.5.8"
dependencies:
- "@storybook/core": "npm:8.4.7"
+ "@storybook/core": "npm:8.5.8"
peerDependencies:
prettier: ^2 || ^3
peerDependenciesMeta:
@@ -18914,26 +18969,25 @@ __metadata:
getstorybook: ./bin/index.cjs
sb: ./bin/index.cjs
storybook: ./bin/index.cjs
- checksum: 10c0/795b79950b88b41ee0158fe2e2583a8ce97ff843c054f91e3c55310967b9e5c4e4d72814773380b543c33bd6d57ce6b5f377ce93ce73962e803b250a751be37c
+ checksum: 10c0/a02ccf3132c05341139deb23dd7731191b4542b80d0d4ed772d06f483373be5713e3db1003fddb8823da417c5c9353273032d30d61cfa6084a04b9b33dc764cc
languageName: node
linkType: hard
"streamx@npm:^2.15.0":
- version: 2.18.0
- resolution: "streamx@npm:2.18.0"
+ version: 2.22.0
+ resolution: "streamx@npm:2.22.0"
dependencies:
bare-events: "npm:^2.2.0"
fast-fifo: "npm:^1.3.2"
- queue-tick: "npm:^1.0.1"
text-decoder: "npm:^1.1.0"
dependenciesMeta:
bare-events:
optional: true
- checksum: 10c0/ef50f419252a73dd35abcde72329eafbf5ad9cd2e27f0cc3abebeff6e0dbea124ac6d3e16acbdf081cce41b4125393ac22f9848fcfa19e640830734883e622ba
+ checksum: 10c0/f5017998a5b6360ba652599d20ef308c8c8ab0e26c8e5f624f0706f0ea12624e94fdf1ec18318124498529a1b106a1ab1c94a1b1e1ad6c2eec7cb9c8ac1b9198
languageName: node
linkType: hard
-"string-argv@npm:~0.3.2":
+"string-argv@npm:^0.3.2":
version: 0.3.2
resolution: "string-argv@npm:0.3.2"
checksum: 10c0/75c02a83759ad1722e040b86823909d9a2fc75d15dd71ec4b537c3560746e33b5f5a07f7332d1e3f88319909f82190843aa2f0a0d8c8d591ec08e93d5b8dec82
@@ -19008,7 +19062,7 @@ __metadata:
languageName: node
linkType: hard
-"string-width@npm:^7.0.0":
+"string-width@npm:^7.0.0, string-width@npm:^7.2.0":
version: 7.2.0
resolution: "string-width@npm:7.2.0"
dependencies:
@@ -19019,26 +19073,30 @@ __metadata:
languageName: node
linkType: hard
-"string.prototype.trim@npm:^1.2.9":
- version: 1.2.9
- resolution: "string.prototype.trim@npm:1.2.9"
+"string.prototype.trim@npm:^1.2.10":
+ version: 1.2.10
+ resolution: "string.prototype.trim@npm:1.2.10"
dependencies:
- call-bind: "npm:^1.0.7"
+ call-bind: "npm:^1.0.8"
+ call-bound: "npm:^1.0.2"
+ define-data-property: "npm:^1.1.4"
define-properties: "npm:^1.2.1"
- es-abstract: "npm:^1.23.0"
+ es-abstract: "npm:^1.23.5"
es-object-atoms: "npm:^1.0.0"
- checksum: 10c0/dcef1a0fb61d255778155006b372dff8cc6c4394bc39869117e4241f41a2c52899c0d263ffc7738a1f9e61488c490b05c0427faa15151efad721e1a9fb2663c2
+ has-property-descriptors: "npm:^1.0.2"
+ checksum: 10c0/8a8854241c4b54a948e992eb7dd6b8b3a97185112deb0037a134f5ba57541d8248dd610c966311887b6c2fd1181a3877bffb14d873ce937a344535dabcc648f8
languageName: node
linkType: hard
-"string.prototype.trimend@npm:^1.0.8":
- version: 1.0.8
- resolution: "string.prototype.trimend@npm:1.0.8"
+"string.prototype.trimend@npm:^1.0.9":
+ version: 1.0.9
+ resolution: "string.prototype.trimend@npm:1.0.9"
dependencies:
- call-bind: "npm:^1.0.7"
+ call-bind: "npm:^1.0.8"
+ call-bound: "npm:^1.0.2"
define-properties: "npm:^1.2.1"
es-object-atoms: "npm:^1.0.0"
- checksum: 10c0/0a0b54c17c070551b38e756ae271865ac6cc5f60dabf2e7e343cceae7d9b02e1a1120a824e090e79da1b041a74464e8477e2da43e2775c85392be30a6f60963c
+ checksum: 10c0/59e1a70bf9414cb4c536a6e31bef5553c8ceb0cf44d8b4d0ed65c9653358d1c64dd0ec203b100df83d0413bbcde38b8c5d49e14bc4b86737d74adc593a0d35b6
languageName: node
linkType: hard
@@ -19158,10 +19216,10 @@ __metadata:
languageName: node
linkType: hard
-"strnum@npm:^1.0.5":
- version: 1.0.5
- resolution: "strnum@npm:1.0.5"
- checksum: 10c0/64fb8cc2effbd585a6821faa73ad97d4b553c8927e49086a162ffd2cc818787643390b89d567460a8e74300148d11ac052e21c921ef2049f2987f4b1b89a7ff1
+"strnum@npm:^1.1.1":
+ version: 1.1.1
+ resolution: "strnum@npm:1.1.1"
+ checksum: 10c0/c016034f9896ea99c4a22a8a8142d1ec72dba8d514ddec399f96998d5d2ab9f9e5b6c75c761d9730c3244b794022b1a63ec293f0da41ab0a994e3584020ba1ad
languageName: node
linkType: hard
@@ -19422,15 +19480,6 @@ __metadata:
languageName: node
linkType: hard
-"svgcombiner@npm:^1.0.1":
- version: 1.0.1
- resolution: "svgcombiner@npm:1.0.1"
- dependencies:
- cheerio: "npm:^1.0.0-rc.2"
- checksum: 10c0/1258087f33723967aa7f74f9f2507cf0d254d9b56842bfa663f32ffe3cf6cb6ebbbd705945c938a7e01e4e1cf5753ea03ec78aedc1462220979f09955699324d
- languageName: node
- linkType: hard
-
"svgo@npm:^3.3.2":
version: 3.3.2
resolution: "svgo@npm:3.3.2"
@@ -19467,12 +19516,12 @@ __metadata:
linkType: hard
"synckit@npm:^0.9.1":
- version: 0.9.1
- resolution: "synckit@npm:0.9.1"
+ version: 0.9.2
+ resolution: "synckit@npm:0.9.2"
dependencies:
"@pkgr/core": "npm:^0.1.0"
tslib: "npm:^2.6.2"
- checksum: 10c0/d8b89e1bf30ba3ffb469d8418c836ad9c0c062bf47028406b4d06548bc66af97155ea2303b96c93bf5c7c0f0d66153a6fbd6924c76521b434e6a9898982abc2e
+ checksum: 10c0/e0c262817444e5b872708adb6f5ad37951ba33f6b2d1d4477d45db1f57573a784618ceed5e6614e0225db330632b1f6b95bb74d21e4d013e45ad4bde03d0cb59
languageName: node
linkType: hard
@@ -19578,11 +19627,11 @@ __metadata:
linkType: hard
"text-decoder@npm:^1.1.0":
- version: 1.1.1
- resolution: "text-decoder@npm:1.1.1"
+ version: 1.2.3
+ resolution: "text-decoder@npm:1.2.3"
dependencies:
b4a: "npm:^1.6.4"
- checksum: 10c0/e527d05454b59c0fa77456495de68c88e560a122de3dd28b3ebdbf81828aabeaa7e9bb8054b9eb52bc5029ccb5899ad04f466cbba3c53b2685270599d1710cee
+ checksum: 10c0/569d776b9250158681c83656ef2c3e0a5d5c660c27ca69f87eedef921749a4fbf02095e5f9a0f862a25cf35258379b06e31dee9c125c9f72e273b7ca1a6d1977
languageName: node
linkType: hard
@@ -19636,9 +19685,9 @@ __metadata:
linkType: hard
"tinyexec@npm:^0.3.0":
- version: 0.3.0
- resolution: "tinyexec@npm:0.3.0"
- checksum: 10c0/138a4f4241aea6b6312559508468ab275a31955e66e2f57ed206e0aaabecee622624f208c5740345f0a66e33478fd065e359ed1eb1269eb6fd4fa25d44d0ba3b
+ version: 0.3.2
+ resolution: "tinyexec@npm:0.3.2"
+ checksum: 10c0/3efbf791a911be0bf0821eab37a3445c2ba07acc1522b1fa84ae1e55f10425076f1290f680286345ed919549ad67527d07281f1c19d584df3b74326909eb1f90
languageName: node
linkType: hard
@@ -19826,16 +19875,6 @@ __metadata:
languageName: node
linkType: hard
-"ts-poet@npm:^4.5.0":
- version: 4.15.0
- resolution: "ts-poet@npm:4.15.0"
- dependencies:
- lodash: "npm:^4.17.15"
- prettier: "npm:^2.5.1"
- checksum: 10c0/87ce3589f071a66a9701c88ee830ce778f2e4c43bcfdee9308a8f38bb53b8fb36e7b5900749389b4bb8aaddf67e87043d51c2fbf36ec25aa98bcfff90bf6d742
- languageName: node
- linkType: hard
-
"tsconfig-paths@npm:^4.1.2":
version: 4.2.0
resolution: "tsconfig-paths@npm:4.2.0"
@@ -19847,14 +19886,7 @@ __metadata:
languageName: node
linkType: hard
-"tslib@npm:^2.0.1, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.2.0, tslib@npm:^2.3.0, tslib@npm:^2.3.1, tslib@npm:^2.4.0, tslib@npm:^2.6.2":
- version: 2.6.3
- resolution: "tslib@npm:2.6.3"
- checksum: 10c0/2598aef53d9dbe711af75522464b2104724d6467b26a60f2bdac8297d2b5f1f6b86a71f61717384aa8fd897240467aaa7bcc36a0700a0faf751293d1331db39a
- languageName: node
- linkType: hard
-
-"tslib@npm:^2.8.1":
+"tslib@npm:^2.0.1, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.2.0, tslib@npm:^2.3.0, tslib@npm:^2.3.1, tslib@npm:^2.4.0, tslib@npm:^2.6.2, tslib@npm:^2.8.1":
version: 2.8.1
resolution: "tslib@npm:2.8.1"
checksum: 10c0/9c4759110a19c53f992d9aae23aac5ced636e99887b51b9e61def52611732872ff7668757d4e4c61f19691e36f4da981cd9485e869b4a7408d689f6bf1f14e62
@@ -19875,30 +19907,6 @@ __metadata:
languageName: node
linkType: hard
-"twirp-ts@npm:^2.5.0":
- version: 2.5.0
- resolution: "twirp-ts@npm:2.5.0"
- dependencies:
- "@protobuf-ts/plugin-framework": "npm:^2.0.7"
- camel-case: "npm:^4.1.2"
- dot-object: "npm:^2.1.4"
- path-to-regexp: "npm:^6.2.0"
- ts-poet: "npm:^4.5.0"
- yaml: "npm:^1.10.2"
- peerDependencies:
- "@protobuf-ts/plugin": ^2.5.0
- ts-proto: ^1.81.3
- peerDependenciesMeta:
- "@protobuf-ts/plugin":
- optional: true
- ts-proto:
- optional: true
- bin:
- protoc-gen-twirp_ts: protoc-gen-twirp_ts
- checksum: 10c0/046ef483420105e92bb8429931e754d7046516fd4fc4f5eeeacbf57dd26ec06ab9c69eba934e587e525f24f49177b03667d18dea78741c408b3e69e1c9774bbd
- languageName: node
- linkType: hard
-
"type-check@npm:^0.4.0, type-check@npm:~0.4.0":
version: 0.4.0
resolution: "type-check@npm:0.4.0"
@@ -19959,55 +19967,56 @@ __metadata:
languageName: node
linkType: hard
-"typed-array-buffer@npm:^1.0.2":
- version: 1.0.2
- resolution: "typed-array-buffer@npm:1.0.2"
+"typed-array-buffer@npm:^1.0.3":
+ version: 1.0.3
+ resolution: "typed-array-buffer@npm:1.0.3"
dependencies:
- call-bind: "npm:^1.0.7"
+ call-bound: "npm:^1.0.3"
es-errors: "npm:^1.3.0"
- is-typed-array: "npm:^1.1.13"
- checksum: 10c0/9e043eb38e1b4df4ddf9dde1aa64919ae8bb909571c1cc4490ba777d55d23a0c74c7d73afcdd29ec98616d91bb3ae0f705fad4421ea147e1daf9528200b562da
+ is-typed-array: "npm:^1.1.14"
+ checksum: 10c0/1105071756eb248774bc71646bfe45b682efcad93b55532c6ffa4518969fb6241354e4aa62af679ae83899ec296d69ef88f1f3763657cdb3a4d29321f7b83079
languageName: node
linkType: hard
-"typed-array-byte-length@npm:^1.0.1":
- version: 1.0.1
- resolution: "typed-array-byte-length@npm:1.0.1"
+"typed-array-byte-length@npm:^1.0.3":
+ version: 1.0.3
+ resolution: "typed-array-byte-length@npm:1.0.3"
dependencies:
- call-bind: "npm:^1.0.7"
+ call-bind: "npm:^1.0.8"
for-each: "npm:^0.3.3"
- gopd: "npm:^1.0.1"
- has-proto: "npm:^1.0.3"
- is-typed-array: "npm:^1.1.13"
- checksum: 10c0/fcebeffb2436c9f355e91bd19e2368273b88c11d1acc0948a2a306792f1ab672bce4cfe524ab9f51a0505c9d7cd1c98eff4235c4f6bfef6a198f6cfc4ff3d4f3
+ gopd: "npm:^1.2.0"
+ has-proto: "npm:^1.2.0"
+ is-typed-array: "npm:^1.1.14"
+ checksum: 10c0/6ae083c6f0354f1fce18b90b243343b9982affd8d839c57bbd2c174a5d5dc71be9eb7019ffd12628a96a4815e7afa85d718d6f1e758615151d5f35df841ffb3e
languageName: node
linkType: hard
-"typed-array-byte-offset@npm:^1.0.2":
- version: 1.0.2
- resolution: "typed-array-byte-offset@npm:1.0.2"
+"typed-array-byte-offset@npm:^1.0.4":
+ version: 1.0.4
+ resolution: "typed-array-byte-offset@npm:1.0.4"
dependencies:
available-typed-arrays: "npm:^1.0.7"
- call-bind: "npm:^1.0.7"
+ call-bind: "npm:^1.0.8"
for-each: "npm:^0.3.3"
- gopd: "npm:^1.0.1"
- has-proto: "npm:^1.0.3"
- is-typed-array: "npm:^1.1.13"
- checksum: 10c0/d2628bc739732072e39269389a758025f75339de2ed40c4f91357023c5512d237f255b633e3106c461ced41907c1bf9a533c7e8578066b0163690ca8bc61b22f
+ gopd: "npm:^1.2.0"
+ has-proto: "npm:^1.2.0"
+ is-typed-array: "npm:^1.1.15"
+ reflect.getprototypeof: "npm:^1.0.9"
+ checksum: 10c0/3d805b050c0c33b51719ee52de17c1cd8e6a571abdf0fffb110e45e8dd87a657e8b56eee94b776b13006d3d347a0c18a730b903cf05293ab6d92e99ff8f77e53
languageName: node
linkType: hard
-"typed-array-length@npm:^1.0.6":
- version: 1.0.6
- resolution: "typed-array-length@npm:1.0.6"
+"typed-array-length@npm:^1.0.7":
+ version: 1.0.7
+ resolution: "typed-array-length@npm:1.0.7"
dependencies:
call-bind: "npm:^1.0.7"
for-each: "npm:^0.3.3"
gopd: "npm:^1.0.1"
- has-proto: "npm:^1.0.3"
is-typed-array: "npm:^1.1.13"
possible-typed-array-names: "npm:^1.0.0"
- checksum: 10c0/74253d7dc488eb28b6b2711cf31f5a9dcefc9c41b0681fd1c178ed0a1681b4468581a3626d39cd4df7aee3d3927ab62be06aa9ca74e5baf81827f61641445b77
+ reflect.getprototypeof: "npm:^1.0.6"
+ checksum: 10c0/e38f2ae3779584c138a2d8adfa8ecf749f494af3cd3cdafe4e688ce51418c7d2c5c88df1bd6be2bbea099c3f7cea58c02ca02ed438119e91f162a9de23f61295
languageName: node
linkType: hard
@@ -20068,23 +20077,23 @@ __metadata:
linkType: hard
"uglify-js@npm:^3.1.4":
- version: 3.19.0
- resolution: "uglify-js@npm:3.19.0"
+ version: 3.19.3
+ resolution: "uglify-js@npm:3.19.3"
bin:
uglifyjs: bin/uglifyjs
- checksum: 10c0/c27d7a4734a59c5e2c08a6efd68bc534d559619f80ad437b1009ed56a7b1a8f6d6cbd5892a15879e0413d724e785b7227487ccca8d3e07261ba92d469c1447d3
+ checksum: 10c0/83b0a90eca35f778e07cad9622b80c448b6aad457c9ff8e568afed978212b42930a95f9e1be943a1ffa4258a3340fbb899f41461131c05bb1d0a9c303aed8479
languageName: node
linkType: hard
-"unbox-primitive@npm:^1.0.2":
- version: 1.0.2
- resolution: "unbox-primitive@npm:1.0.2"
+"unbox-primitive@npm:^1.1.0":
+ version: 1.1.0
+ resolution: "unbox-primitive@npm:1.1.0"
dependencies:
- call-bind: "npm:^1.0.2"
+ call-bound: "npm:^1.0.3"
has-bigints: "npm:^1.0.2"
- has-symbols: "npm:^1.0.3"
- which-boxed-primitive: "npm:^1.0.2"
- checksum: 10c0/81ca2e81134167cc8f75fa79fbcc8a94379d6c61de67090986a2273850989dd3bae8440c163121b77434b68263e34787a675cbdcb34bb2f764c6b9c843a11b66
+ has-symbols: "npm:^1.1.0"
+ which-boxed-primitive: "npm:^1.1.1"
+ checksum: 10c0/7dbd35ab02b0e05fe07136c72cb9355091242455473ec15057c11430129bab38b7b3624019b8778d02a881c13de44d63cd02d122ee782fb519e1de7775b5b982
languageName: node
linkType: hard
@@ -20095,10 +20104,10 @@ __metadata:
languageName: node
linkType: hard
-"undici-types@npm:~5.26.4":
- version: 5.26.5
- resolution: "undici-types@npm:5.26.5"
- checksum: 10c0/bb673d7876c2d411b6eb6c560e0c571eef4a01c1c19925175d16e3a30c4c428181fb8d7ae802a261f283e4166a0ac435e2f505743aa9e45d893f9a3df017b501
+"undici-types@npm:~6.20.0":
+ version: 6.20.0
+ resolution: "undici-types@npm:6.20.0"
+ checksum: 10c0/68e659a98898d6a836a9a59e6adf14a5d799707f5ea629433e025ac90d239f75e408e2e5ff086afc3cace26f8b26ee52155293564593fbb4a2f666af57fc59bf
languageName: node
linkType: hard
@@ -20125,6 +20134,13 @@ __metadata:
languageName: node
linkType: hard
+"unicorn-magic@npm:^0.3.0":
+ version: 0.3.0
+ resolution: "unicorn-magic@npm:0.3.0"
+ checksum: 10c0/0a32a997d6c15f1c2a077a15b1c4ca6f268d574cf5b8975e778bb98e6f8db4ef4e86dfcae4e158cd4c7e38fb4dd383b93b13eefddc7f178dea13d3ac8a603271
+ languageName: node
+ linkType: hard
+
"unified@npm:^11.0.0":
version: 11.0.5
resolution: "unified@npm:11.0.5"
@@ -20237,14 +20253,12 @@ __metadata:
linkType: hard
"unplugin@npm:^1.3.1":
- version: 1.12.0
- resolution: "unplugin@npm:1.12.0"
+ version: 1.16.1
+ resolution: "unplugin@npm:1.16.1"
dependencies:
- acorn: "npm:^8.12.1"
- chokidar: "npm:^3.6.0"
- webpack-sources: "npm:^3.2.3"
+ acorn: "npm:^8.14.0"
webpack-virtual-modules: "npm:^0.6.2"
- checksum: 10c0/d4ca9508adbc3724fbafe0eec50e346b3772d3bca7881f20b29d403c576fae5ac2f1224cc84481913396e9c52cba5e934d2815d1b2a206c439fdc52ec39889b8
+ checksum: 10c0/dd5f8c5727d0135847da73cf03fb199107f1acf458167034886fda3405737dab871ad3926431b4f70e1e82cdac482ac1383cea4019d782a68515c8e3e611b6cc
languageName: node
linkType: hard
@@ -20273,16 +20287,16 @@ __metadata:
linkType: hard
"update-browserslist-db@npm:^1.1.1":
- version: 1.1.1
- resolution: "update-browserslist-db@npm:1.1.1"
+ version: 1.1.2
+ resolution: "update-browserslist-db@npm:1.1.2"
dependencies:
escalade: "npm:^3.2.0"
- picocolors: "npm:^1.1.0"
+ picocolors: "npm:^1.1.1"
peerDependencies:
browserslist: ">= 4.21.0"
bin:
update-browserslist-db: cli.js
- checksum: 10c0/536a2979adda2b4be81b07e311bd2f3ad5e978690987956bc5f514130ad50cac87cd22c710b686d79731e00fbee8ef43efe5fcd72baa241045209195d43dcc80
+ checksum: 10c0/9cb353998d6d7d6ba1e46b8fa3db888822dd972212da4eda609d185eb5c3557a93fd59780ceb757afd4d84240518df08542736969e6a5d6d6ce2d58e9363aac6
languageName: node
linkType: hard
@@ -20321,17 +20335,22 @@ __metadata:
linkType: hard
"util.promisify@npm:^1.0.0":
- version: 1.1.2
- resolution: "util.promisify@npm:1.1.2"
+ version: 1.1.3
+ resolution: "util.promisify@npm:1.1.3"
dependencies:
- call-bind: "npm:^1.0.2"
- define-properties: "npm:^1.2.0"
+ call-bind: "npm:^1.0.8"
+ call-bound: "npm:^1.0.3"
+ define-data-property: "npm:^1.1.4"
+ define-properties: "npm:^1.2.1"
+ es-errors: "npm:^1.3.0"
+ es-object-atoms: "npm:^1.0.0"
for-each: "npm:^0.3.3"
- has-proto: "npm:^1.0.1"
- has-symbols: "npm:^1.0.3"
- object.getownpropertydescriptors: "npm:^2.1.6"
- safe-array-concat: "npm:^1.0.0"
- checksum: 10c0/cc9bf4912b89ea8e095b5746d945607884b4635d219cb1935c028259e86be6af92d7b7b1e702776805d81f7d387ffa436037299e9bf01ce076267e217b54ae3e
+ get-intrinsic: "npm:^1.2.6"
+ has-proto: "npm:^1.2.0"
+ has-symbols: "npm:^1.1.0"
+ object.getownpropertydescriptors: "npm:^2.1.8"
+ safe-array-concat: "npm:^1.1.3"
+ checksum: 10c0/b7a2f721222ffc26f8a12a1cdc44a81b16a614b81f2d6f71f50c8b214a20afe8324d5f0700f04759d6ea33446ba0730e4ef0b4e2c4f4ef5adca16dabd502fa2b
languageName: node
linkType: hard
@@ -20419,8 +20438,8 @@ __metadata:
linkType: hard
"vite@npm:^5.4.11":
- version: 5.4.11
- resolution: "vite@npm:5.4.11"
+ version: 5.4.14
+ resolution: "vite@npm:5.4.14"
dependencies:
esbuild: "npm:^0.21.3"
fsevents: "npm:~2.3.3"
@@ -20457,7 +20476,7 @@ __metadata:
optional: true
bin:
vite: bin/vite.js
- checksum: 10c0/d536bb7af57dd0eca2a808f95f5ff1d7b7ffb8d86e17c6893087680a0448bd0d15e07475270c8a6de65cb5115592d037130a1dd979dc76bcef8c1dda202a1874
+ checksum: 10c0/8842933bd70ca6a98489a0bb9c8464bec373de00f9a97c8c7a4e64b24d15c88bfaa8c1acb38a68c3e5eb49072ffbccb146842c2d4edcdd036a9802964cffe3d1
languageName: node
linkType: hard
@@ -20523,13 +20542,6 @@ __metadata:
languageName: node
linkType: hard
-"webpack-sources@npm:^3.2.3":
- version: 3.2.3
- resolution: "webpack-sources@npm:3.2.3"
- checksum: 10c0/2ef63d77c4fad39de4a6db17323d75eb92897b32674e97d76f0a1e87c003882fc038571266ad0ef581ac734cbe20952912aaa26155f1905e96ce251adbb1eb4e
- languageName: node
- linkType: hard
-
"webpack-virtual-modules@npm:^0.6.2":
version: 0.6.2
resolution: "webpack-virtual-modules@npm:0.6.2"
@@ -20554,16 +20566,49 @@ __metadata:
languageName: node
linkType: hard
-"which-boxed-primitive@npm:^1.0.2":
+"which-boxed-primitive@npm:^1.1.0, which-boxed-primitive@npm:^1.1.1":
+ version: 1.1.1
+ resolution: "which-boxed-primitive@npm:1.1.1"
+ dependencies:
+ is-bigint: "npm:^1.1.0"
+ is-boolean-object: "npm:^1.2.1"
+ is-number-object: "npm:^1.1.1"
+ is-string: "npm:^1.1.1"
+ is-symbol: "npm:^1.1.1"
+ checksum: 10c0/aceea8ede3b08dede7dce168f3883323f7c62272b49801716e8332ff750e7ae59a511ae088840bc6874f16c1b7fd296c05c949b0e5b357bfe3c431b98c417abe
+ languageName: node
+ linkType: hard
+
+"which-builtin-type@npm:^1.2.1":
+ version: 1.2.1
+ resolution: "which-builtin-type@npm:1.2.1"
+ dependencies:
+ call-bound: "npm:^1.0.2"
+ function.prototype.name: "npm:^1.1.6"
+ has-tostringtag: "npm:^1.0.2"
+ is-async-function: "npm:^2.0.0"
+ is-date-object: "npm:^1.1.0"
+ is-finalizationregistry: "npm:^1.1.0"
+ is-generator-function: "npm:^1.0.10"
+ is-regex: "npm:^1.2.1"
+ is-weakref: "npm:^1.0.2"
+ isarray: "npm:^2.0.5"
+ which-boxed-primitive: "npm:^1.1.0"
+ which-collection: "npm:^1.0.2"
+ which-typed-array: "npm:^1.1.16"
+ checksum: 10c0/8dcf323c45e5c27887800df42fbe0431d0b66b1163849bb7d46b5a730ad6a96ee8bfe827d078303f825537844ebf20c02459de41239a0a9805e2fcb3cae0d471
+ languageName: node
+ linkType: hard
+
+"which-collection@npm:^1.0.2":
version: 1.0.2
- resolution: "which-boxed-primitive@npm:1.0.2"
+ resolution: "which-collection@npm:1.0.2"
dependencies:
- is-bigint: "npm:^1.0.1"
- is-boolean-object: "npm:^1.1.0"
- is-number-object: "npm:^1.0.4"
- is-string: "npm:^1.0.5"
- is-symbol: "npm:^1.0.3"
- checksum: 10c0/0a62a03c00c91dd4fb1035b2f0733c341d805753b027eebd3a304b9cb70e8ce33e25317add2fe9b5fea6f53a175c0633ae701ff812e604410ddd049777cd435e
+ is-map: "npm:^2.0.3"
+ is-set: "npm:^2.0.3"
+ is-weakmap: "npm:^2.0.2"
+ is-weakset: "npm:^2.0.3"
+ checksum: 10c0/3345fde20964525a04cdf7c4a96821f85f0cc198f1b2ecb4576e08096746d129eb133571998fe121c77782ac8f21cbd67745a3d35ce100d26d4e684c142ea1f2
languageName: node
linkType: hard
@@ -20574,7 +20619,7 @@ __metadata:
languageName: node
linkType: hard
-"which-typed-array@npm:^1.1.14, which-typed-array@npm:^1.1.15, which-typed-array@npm:^1.1.2":
+"which-typed-array@npm:^1.1.14":
version: 1.1.15
resolution: "which-typed-array@npm:1.1.15"
dependencies:
@@ -20587,6 +20632,20 @@ __metadata:
languageName: node
linkType: hard
+"which-typed-array@npm:^1.1.16, which-typed-array@npm:^1.1.18, which-typed-array@npm:^1.1.2":
+ version: 1.1.18
+ resolution: "which-typed-array@npm:1.1.18"
+ dependencies:
+ available-typed-arrays: "npm:^1.0.7"
+ call-bind: "npm:^1.0.8"
+ call-bound: "npm:^1.0.3"
+ for-each: "npm:^0.3.3"
+ gopd: "npm:^1.2.0"
+ has-tostringtag: "npm:^1.0.2"
+ checksum: 10c0/0412f4a91880ca1a2a63056187c2e3de6b129b2b5b6c17bc3729f0f7041047ae48fb7424813e51506addb2c97320003ee18b8c57469d2cde37983ef62126143c
+ languageName: node
+ linkType: hard
+
"which@npm:^1.2.12, which@npm:^1.2.14, which@npm:^1.3.1":
version: 1.3.1
resolution: "which@npm:1.3.1"
@@ -20620,6 +20679,17 @@ __metadata:
languageName: node
linkType: hard
+"which@npm:^5.0.0":
+ version: 5.0.0
+ resolution: "which@npm:5.0.0"
+ dependencies:
+ isexe: "npm:^3.1.1"
+ bin:
+ node-which: bin/which.js
+ checksum: 10c0/e556e4cd8b7dbf5df52408c9a9dd5ac6518c8c5267c8953f5b0564073c66ed5bf9503b14d876d0e9c7844d4db9725fb0dcf45d6e911e17e26ab363dc3965ae7b
+ languageName: node
+ linkType: hard
+
"word-wrap@npm:^1.2.5":
version: 1.2.5
resolution: "word-wrap@npm:1.2.5"
@@ -20728,8 +20798,8 @@ __metadata:
linkType: hard
"ws@npm:^8.2.3":
- version: 8.18.0
- resolution: "ws@npm:8.18.0"
+ version: 8.18.1
+ resolution: "ws@npm:8.18.1"
peerDependencies:
bufferutil: ^4.0.1
utf-8-validate: ">=5.0.2"
@@ -20738,7 +20808,7 @@ __metadata:
optional: true
utf-8-validate:
optional: true
- checksum: 10c0/25eb33aff17edcb90721ed6b0eb250976328533ad3cd1a28a274bd263682e7296a6591ff1436d6cbc50fa67463158b062f9d1122013b361cec99a05f84680e06
+ checksum: 10c0/e498965d6938c63058c4310ffb6967f07d4fa06789d3364829028af380d299fe05762961742971c764973dce3d1f6a2633fe8b2d9410c9b52e534b4b882a99fa
languageName: node
linkType: hard
@@ -20842,19 +20912,12 @@ __metadata:
languageName: node
linkType: hard
-"yaml@npm:^1.10.2":
- version: 1.10.2
- resolution: "yaml@npm:1.10.2"
- checksum: 10c0/5c28b9eb7adc46544f28d9a8d20c5b3cb1215a886609a2fd41f51628d8aaa5878ccd628b755dbcd29f6bb4921bd04ffbc6dcc370689bb96e594e2f9813d2605f
- languageName: node
- linkType: hard
-
-"yaml@npm:~2.6.1":
- version: 2.6.1
- resolution: "yaml@npm:2.6.1"
+"yaml@npm:^2.7.0":
+ version: 2.7.0
+ resolution: "yaml@npm:2.7.0"
bin:
yaml: bin.mjs
- checksum: 10c0/aebf07f61c72b38c74d2b60c3a3ccf89ee4da45bcd94b2bfb7899ba07a5257625a7c9f717c65a6fc511563d48001e01deb1d9e55f0133f3e2edf86039c8c1be7
+ checksum: 10c0/886a7d2abbd70704b79f1d2d05fe9fb0aa63aefb86e1cb9991837dced65193d300f5554747a872b4b10ae9a12bc5d5327e4d04205f70336e863e35e89d8f4ea9
languageName: node
linkType: hard